From fb8548e79f61faf00b1c0204f0ecaf35b34be710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Wed, 27 Sep 2023 14:34:23 +0200 Subject: [PATCH] lsteamclient: Wrap parameters in structures. CW-Bug-Id: #22729 --- ...List_STEAMAPPLIST_INTERFACE_VERSION001.cpp | 30 +- ...ppList_STEAMAPPLIST_INTERFACE_VERSION001.h | 49 +- ...et_STEAMAPPTICKET_INTERFACE_VERSION001.cpp | 6 +- ...cket_STEAMAPPTICKET_INTERFACE_VERSION001.h | 15 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION001.cpp | 6 +- ...SteamApps_STEAMAPPS_INTERFACE_VERSION001.h | 12 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION002.cpp | 42 +- ...SteamApps_STEAMAPPS_INTERFACE_VERSION002.h | 57 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION003.cpp | 48 +- ...SteamApps_STEAMAPPS_INTERFACE_VERSION003.h | 66 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION004.cpp | 80 +- ...SteamApps_STEAMAPPS_INTERFACE_VERSION004.h | 120 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION005.cpp | 114 +- ...SteamApps_STEAMAPPS_INTERFACE_VERSION005.h | 177 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION006.cpp | 126 +- ...SteamApps_STEAMAPPS_INTERFACE_VERSION006.h | 195 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION007.cpp | 138 +- ...SteamApps_STEAMAPPS_INTERFACE_VERSION007.h | 214 +- ...eamApps_STEAMAPPS_INTERFACE_VERSION008.cpp | 172 +- ...SteamApps_STEAMAPPS_INTERFACE_VERSION008.h | 267 +- .../cppISteamClient_SteamClient006.cpp | 121 +- lsteamclient/cppISteamClient_SteamClient006.h | 204 +- .../cppISteamClient_SteamClient007.cpp | 127 +- lsteamclient/cppISteamClient_SteamClient007.h | 218 +- .../cppISteamClient_SteamClient008.cpp | 121 +- lsteamclient/cppISteamClient_SteamClient008.h | 208 +- .../cppISteamClient_SteamClient009.cpp | 127 +- lsteamclient/cppISteamClient_SteamClient009.h | 219 +- .../cppISteamClient_SteamClient010.cpp | 140 +- lsteamclient/cppISteamClient_SteamClient010.h | 238 +- .../cppISteamClient_SteamClient011.cpp | 146 +- lsteamclient/cppISteamClient_SteamClient011.h | 249 +- .../cppISteamClient_SteamClient012.cpp | 158 +- lsteamclient/cppISteamClient_SteamClient012.h | 271 +- .../cppISteamClient_SteamClient013.cpp | 176 +- lsteamclient/cppISteamClient_SteamClient013.h | 304 +- .../cppISteamClient_SteamClient014.cpp | 170 +- lsteamclient/cppISteamClient_SteamClient014.h | 293 +- .../cppISteamClient_SteamClient015.cpp | 176 +- lsteamclient/cppISteamClient_SteamClient015.h | 304 +- .../cppISteamClient_SteamClient016.cpp | 196 +- lsteamclient/cppISteamClient_SteamClient016.h | 339 +- .../cppISteamClient_SteamClient017.cpp | 214 +- lsteamclient/cppISteamClient_SteamClient017.h | 372 +- .../cppISteamClient_SteamClient018.cpp | 232 +- lsteamclient/cppISteamClient_SteamClient018.h | 405 +- .../cppISteamClient_SteamClient019.cpp | 238 +- lsteamclient/cppISteamClient_SteamClient019.h | 416 +- .../cppISteamClient_SteamClient020.cpp | 242 +- lsteamclient/cppISteamClient_SteamClient020.h | 423 +- ...ller_STEAMCONTROLLER_INTERFACE_VERSION.cpp | 30 +- ...roller_STEAMCONTROLLER_INTERFACE_VERSION.h | 52 +- ...cppISteamController_SteamController003.cpp | 92 +- .../cppISteamController_SteamController003.h | 162 +- ...cppISteamController_SteamController004.cpp | 122 +- .../cppISteamController_SteamController004.h | 215 +- ...cppISteamController_SteamController005.cpp | 136 +- .../cppISteamController_SteamController005.h | 255 +- ...cppISteamController_SteamController006.cpp | 160 +- .../cppISteamController_SteamController006.h | 300 +- ...cppISteamController_SteamController007.cpp | 172 +- .../cppISteamController_SteamController007.h | 323 +- ...cppISteamController_SteamController008.cpp | 172 +- .../cppISteamController_SteamController008.h | 323 +- .../cppISteamFriends_SteamFriends001.cpp | 150 +- .../cppISteamFriends_SteamFriends001.h | 257 +- .../cppISteamFriends_SteamFriends002.cpp | 170 +- .../cppISteamFriends_SteamFriends002.h | 283 +- .../cppISteamFriends_SteamFriends003.cpp | 114 +- .../cppISteamFriends_SteamFriends003.h | 184 +- .../cppISteamFriends_SteamFriends004.cpp | 114 +- .../cppISteamFriends_SteamFriends004.h | 185 +- .../cppISteamFriends_SteamFriends005.cpp | 130 +- .../cppISteamFriends_SteamFriends005.h | 215 +- .../cppISteamFriends_SteamFriends006.cpp | 140 +- .../cppISteamFriends_SteamFriends006.h | 232 +- .../cppISteamFriends_SteamFriends007.cpp | 152 +- .../cppISteamFriends_SteamFriends007.h | 249 +- .../cppISteamFriends_SteamFriends008.cpp | 188 +- .../cppISteamFriends_SteamFriends008.h | 304 +- .../cppISteamFriends_SteamFriends009.cpp | 246 +- .../cppISteamFriends_SteamFriends009.h | 395 +- .../cppISteamFriends_SteamFriends010.cpp | 336 +- .../cppISteamFriends_SteamFriends010.h | 547 +- .../cppISteamFriends_SteamFriends011.cpp | 358 +- .../cppISteamFriends_SteamFriends011.h | 582 +- .../cppISteamFriends_SteamFriends012.cpp | 360 +- .../cppISteamFriends_SteamFriends012.h | 583 +- .../cppISteamFriends_SteamFriends013.cpp | 360 +- .../cppISteamFriends_SteamFriends013.h | 584 +- .../cppISteamFriends_SteamFriends014.cpp | 366 +- .../cppISteamFriends_SteamFriends014.h | 593 +- .../cppISteamFriends_SteamFriends015.cpp | 412 +- .../cppISteamFriends_SteamFriends015.h | 665 +- .../cppISteamFriends_SteamFriends017.cpp | 456 +- .../cppISteamFriends_SteamFriends017.h | 740 +- ...ameCoordinator_SteamGameCoordinator001.cpp | 18 +- ...mGameCoordinator_SteamGameCoordinator001.h | 32 +- ...teamGameSearch_SteamMatchGameSearch001.cpp | 84 +- ...ISteamGameSearch_SteamMatchGameSearch001.h | 134 +- ...ameServerStats_SteamGameServerStats001.cpp | 60 +- ...mGameServerStats_SteamGameServerStats001.h | 105 +- ...cppISteamGameServer_SteamGameServer002.cpp | 116 +- .../cppISteamGameServer_SteamGameServer002.h | 226 +- ...cppISteamGameServer_SteamGameServer003.cpp | 92 +- .../cppISteamGameServer_SteamGameServer003.h | 166 +- ...cppISteamGameServer_SteamGameServer004.cpp | 70 +- .../cppISteamGameServer_SteamGameServer004.h | 132 +- ...cppISteamGameServer_SteamGameServer005.cpp | 72 +- .../cppISteamGameServer_SteamGameServer005.h | 132 +- ...cppISteamGameServer_SteamGameServer008.cpp | 88 +- .../cppISteamGameServer_SteamGameServer008.h | 157 +- ...cppISteamGameServer_SteamGameServer009.cpp | 98 +- .../cppISteamGameServer_SteamGameServer009.h | 175 +- ...cppISteamGameServer_SteamGameServer010.cpp | 118 +- .../cppISteamGameServer_SteamGameServer010.h | 211 +- ...cppISteamGameServer_SteamGameServer011.cpp | 212 +- .../cppISteamGameServer_SteamGameServer011.h | 382 +- ...cppISteamGameServer_SteamGameServer012.cpp | 212 +- .../cppISteamGameServer_SteamGameServer012.h | 381 +- ...cppISteamGameServer_SteamGameServer013.cpp | 212 +- .../cppISteamGameServer_SteamGameServer013.h | 381 +- ...cppISteamGameServer_SteamGameServer014.cpp | 212 +- .../cppISteamGameServer_SteamGameServer014.h | 381 +- ...cppISteamGameServer_SteamGameServer015.cpp | 212 +- .../cppISteamGameServer_SteamGameServer015.h | 382 +- .../cppISteamGameStats_SteamGameStats001.cpp | 78 +- .../cppISteamGameStats_SteamGameStats001.h | 140 +- ...STEAMHTMLSURFACE_INTERFACE_VERSION_001.cpp | 138 +- ...e_STEAMHTMLSURFACE_INTERFACE_VERSION_001.h | 288 +- ...STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp | 146 +- ...e_STEAMHTMLSURFACE_INTERFACE_VERSION_002.h | 313 +- ...STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp | 150 +- ...e_STEAMHTMLSURFACE_INTERFACE_VERSION_003.h | 322 +- ...STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp | 154 +- ...e_STEAMHTMLSURFACE_INTERFACE_VERSION_004.h | 331 +- ...STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp | 158 +- ...e_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h | 340 +- ...eamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp | 90 +- ...SteamHTTP_STEAMHTTP_INTERFACE_VERSION001.h | 155 +- ...eamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp | 150 +- ...SteamHTTP_STEAMHTTP_INTERFACE_VERSION002.h | 257 +- ...eamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp | 150 +- ...SteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h | 257 +- lsteamclient/cppISteamInput_SteamInput001.cpp | 178 +- lsteamclient/cppISteamInput_SteamInput001.h | 332 +- lsteamclient/cppISteamInput_SteamInput002.cpp | 178 +- lsteamclient/cppISteamInput_SteamInput002.h | 332 +- lsteamclient/cppISteamInput_SteamInput005.cpp | 226 +- lsteamclient/cppISteamInput_SteamInput005.h | 448 +- lsteamclient/cppISteamInput_SteamInput006.cpp | 230 +- lsteamclient/cppISteamInput_SteamInput006.h | 457 +- ...nventory_STEAMINVENTORY_INTERFACE_V001.cpp | 140 +- ...mInventory_STEAMINVENTORY_INTERFACE_V001.h | 253 +- ...nventory_STEAMINVENTORY_INTERFACE_V002.cpp | 218 +- ...mInventory_STEAMINVENTORY_INTERFACE_V002.h | 391 +- ...nventory_STEAMINVENTORY_INTERFACE_V003.cpp | 224 +- ...mInventory_STEAMINVENTORY_INTERFACE_V003.h | 403 +- ...verUpdater_SteamMasterServerUpdater001.cpp | 70 +- ...erverUpdater_SteamMasterServerUpdater001.h | 129 +- ...kingServers_SteamMatchMakingServers001.cpp | 76 +- ...makingServers_SteamMatchMakingServers001.h | 158 +- ...kingServers_SteamMatchMakingServers002.cpp | 92 +- ...makingServers_SteamMatchMakingServers002.h | 172 +- ...pISteamMatchmaking_SteamMatchMaking001.cpp | 124 +- ...cppISteamMatchmaking_SteamMatchMaking001.h | 239 +- ...pISteamMatchmaking_SteamMatchMaking002.cpp | 108 +- ...cppISteamMatchmaking_SteamMatchMaking002.h | 206 +- ...pISteamMatchmaking_SteamMatchMaking003.cpp | 148 +- ...cppISteamMatchmaking_SteamMatchMaking003.h | 280 +- ...pISteamMatchmaking_SteamMatchMaking004.cpp | 144 +- ...cppISteamMatchmaking_SteamMatchMaking004.h | 271 +- ...pISteamMatchmaking_SteamMatchMaking005.cpp | 166 +- ...cppISteamMatchmaking_SteamMatchMaking005.h | 308 +- ...pISteamMatchmaking_SteamMatchMaking006.cpp | 156 +- ...cppISteamMatchmaking_SteamMatchMaking006.h | 287 +- ...pISteamMatchmaking_SteamMatchMaking007.cpp | 190 +- ...cppISteamMatchmaking_SteamMatchMaking007.h | 350 +- ...pISteamMatchmaking_SteamMatchMaking008.cpp | 198 +- ...cppISteamMatchmaking_SteamMatchMaking008.h | 366 +- ...pISteamMatchmaking_SteamMatchMaking009.cpp | 208 +- ...cppISteamMatchmaking_SteamMatchMaking009.h | 384 +- ..._STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp | 192 +- ...te_STEAMMUSICREMOTE_INTERFACE_VERSION001.h | 284 +- ...mMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp | 44 +- ...eamMusic_STEAMMUSIC_INTERFACE_VERSION001.h | 68 +- ...eUDPPort_SteamNetworkingFakeUDPPort001.cpp | 10 +- ...akeUDPPort_SteamNetworkingFakeUDPPort001.h | 37 +- ...ingMessages_SteamNetworkingMessages002.cpp | 30 +- ...rkingMessages_SteamNetworkingMessages002.h | 63 +- ...ed_SteamNetworkingSocketsSerialized002.cpp | 40 +- ...ized_SteamNetworkingSocketsSerialized002.h | 77 +- ...ed_SteamNetworkingSocketsSerialized003.cpp | 40 +- ...ized_SteamNetworkingSocketsSerialized003.h | 78 +- ...rkingSockets_SteamNetworkingSockets002.cpp | 154 +- ...workingSockets_SteamNetworkingSockets002.h | 278 +- ...rkingSockets_SteamNetworkingSockets004.cpp | 172 +- ...workingSockets_SteamNetworkingSockets004.h | 306 +- ...rkingSockets_SteamNetworkingSockets006.cpp | 184 +- ...workingSockets_SteamNetworkingSockets006.h | 352 +- ...rkingSockets_SteamNetworkingSockets008.cpp | 214 +- ...workingSockets_SteamNetworkingSockets008.h | 401 +- ...rkingSockets_SteamNetworkingSockets009.cpp | 218 +- ...workingSockets_SteamNetworkingSockets009.h | 409 +- ...rkingSockets_SteamNetworkingSockets012.cpp | 250 +- ...workingSockets_SteamNetworkingSockets012.h | 479 +- ...etworkingUtils_SteamNetworkingUtils001.cpp | 120 +- ...mNetworkingUtils_SteamNetworkingUtils001.h | 208 +- ...etworkingUtils_SteamNetworkingUtils002.cpp | 120 +- ...mNetworkingUtils_SteamNetworkingUtils002.h | 209 +- ...etworkingUtils_SteamNetworkingUtils003.cpp | 114 +- ...mNetworkingUtils_SteamNetworkingUtils003.h | 218 +- ...etworkingUtils_SteamNetworkingUtils004.cpp | 132 +- ...mNetworkingUtils_SteamNetworkingUtils004.h | 246 +- ...cppISteamNetworking_SteamNetworking001.cpp | 72 +- .../cppISteamNetworking_SteamNetworking001.h | 135 +- ...cppISteamNetworking_SteamNetworking002.cpp | 84 +- .../cppISteamNetworking_SteamNetworking002.h | 155 +- ...cppISteamNetworking_SteamNetworking003.cpp | 120 +- .../cppISteamNetworking_SteamNetworking003.h | 216 +- ...cppISteamNetworking_SteamNetworking004.cpp | 120 +- .../cppISteamNetworking_SteamNetworking004.h | 219 +- ...cppISteamNetworking_SteamNetworking005.cpp | 132 +- .../cppISteamNetworking_SteamNetworking005.h | 238 +- ...cppISteamNetworking_SteamNetworking006.cpp | 132 +- .../cppISteamNetworking_SteamNetworking006.h | 238 +- ...MPARENTALSETTINGS_INTERFACE_VERSION001.cpp | 36 +- ...EAMPARENTALSETTINGS_INTERFACE_VERSION001.h | 52 +- .../cppISteamParties_SteamParties002.cpp | 82 +- .../cppISteamParties_SteamParties002.h | 119 +- ...y_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp | 42 +- ...lay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h | 64 +- ...y_STEAMREMOTEPLAY_INTERFACE_VERSION002.cpp | 48 +- ...lay_STEAMREMOTEPLAY_INTERFACE_VERSION002.h | 73 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION001.cpp | 48 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION001.h | 77 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp | 42 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION002.h | 68 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION003.cpp | 118 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION003.h | 187 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp | 130 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION004.h | 206 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp | 184 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION005.h | 298 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp | 280 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION006.h | 464 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION007.cpp | 280 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION007.h | 466 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp | 304 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION008.h | 504 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION009.cpp | 304 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION009.h | 505 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp | 310 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION010.h | 517 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp | 310 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION011.h | 518 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp | 310 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION012.h | 519 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp | 328 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION013.h | 552 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp | 328 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION014.h | 552 +- ...TEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp | 352 +- ..._STEAMREMOTESTORAGE_INTERFACE_VERSION016.h | 587 +- ..._STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp | 32 +- ...ts_STEAMSCREENSHOTS_INTERFACE_VERSION001.h | 59 +- ..._STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp | 38 +- ...ts_STEAMSCREENSHOTS_INTERFACE_VERSION002.h | 69 +- ..._STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp | 50 +- ...ts_STEAMSCREENSHOTS_INTERFACE_VERSION003.h | 88 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp | 88 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION001.h | 146 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp | 190 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION002.h | 319 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp | 190 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION003.h | 320 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION004.cpp | 202 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION004.h | 337 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp | 280 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION005.h | 479 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION006.cpp | 304 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION006.h | 518 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp | 350 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION007.h | 603 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp | 380 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION008.h | 658 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp | 404 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION009.h | 696 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp | 446 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION010.h | 764 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION012.cpp | 458 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION012.h | 787 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp | 470 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION013.h | 809 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION014.cpp | 476 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION014.h | 819 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp | 506 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION015.h | 871 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION016.cpp | 518 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION016.h | 893 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION017.cpp | 536 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION017.h | 925 +- ...SteamUGC_STEAMUGC_INTERFACE_VERSION018.cpp | 542 +- ...pISteamUGC_STEAMUGC_INTERFACE_VERSION018.h | 936 +- ...AMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp | 30 +- ...TEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h | 55 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION001.cpp | 132 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION001.h | 224 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION002.cpp | 108 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION002.h | 186 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION003.cpp | 78 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION003.h | 125 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION004.cpp | 102 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION004.h | 167 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION005.cpp | 162 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION005.h | 269 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION006.cpp | 168 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION006.h | 278 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION007.cpp | 180 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION007.h | 301 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION008.cpp | 190 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION008.h | 311 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION009.cpp | 196 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION009.h | 322 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION010.cpp | 250 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION010.h | 416 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION011.cpp | 262 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION011.h | 433 +- ...ts_STEAMUSERSTATS_INTERFACE_VERSION012.cpp | 274 +- ...tats_STEAMUSERSTATS_INTERFACE_VERSION012.h | 455 +- lsteamclient/cppISteamUser_SteamUser004.cpp | 136 +- lsteamclient/cppISteamUser_SteamUser004.h | 237 +- lsteamclient/cppISteamUser_SteamUser005.cpp | 208 +- lsteamclient/cppISteamUser_SteamUser005.h | 369 +- lsteamclient/cppISteamUser_SteamUser006.cpp | 64 +- lsteamclient/cppISteamUser_SteamUser006.h | 118 +- lsteamclient/cppISteamUser_SteamUser007.cpp | 68 +- lsteamclient/cppISteamUser_SteamUser007.h | 127 +- lsteamclient/cppISteamUser_SteamUser008.cpp | 30 +- lsteamclient/cppISteamUser_SteamUser008.h | 67 +- lsteamclient/cppISteamUser_SteamUser009.cpp | 36 +- lsteamclient/cppISteamUser_SteamUser009.h | 65 +- lsteamclient/cppISteamUser_SteamUser010.cpp | 32 +- lsteamclient/cppISteamUser_SteamUser010.h | 57 +- lsteamclient/cppISteamUser_SteamUser011.cpp | 58 +- lsteamclient/cppISteamUser_SteamUser011.h | 105 +- lsteamclient/cppISteamUser_SteamUser012.cpp | 84 +- lsteamclient/cppISteamUser_SteamUser012.h | 153 +- lsteamclient/cppISteamUser_SteamUser013.cpp | 90 +- lsteamclient/cppISteamUser_SteamUser013.h | 168 +- lsteamclient/cppISteamUser_SteamUser014.cpp | 112 +- lsteamclient/cppISteamUser_SteamUser014.h | 207 +- lsteamclient/cppISteamUser_SteamUser015.cpp | 118 +- lsteamclient/cppISteamUser_SteamUser015.h | 216 +- lsteamclient/cppISteamUser_SteamUser016.cpp | 118 +- lsteamclient/cppISteamUser_SteamUser016.h | 218 +- lsteamclient/cppISteamUser_SteamUser017.cpp | 130 +- lsteamclient/cppISteamUser_SteamUser017.h | 236 +- lsteamclient/cppISteamUser_SteamUser018.cpp | 136 +- lsteamclient/cppISteamUser_SteamUser018.h | 245 +- lsteamclient/cppISteamUser_SteamUser019.cpp | 160 +- lsteamclient/cppISteamUser_SteamUser019.h | 277 +- lsteamclient/cppISteamUser_SteamUser020.cpp | 172 +- lsteamclient/cppISteamUser_SteamUser020.h | 293 +- lsteamclient/cppISteamUser_SteamUser021.cpp | 178 +- lsteamclient/cppISteamUser_SteamUser021.h | 302 +- lsteamclient/cppISteamUser_SteamUser022.cpp | 178 +- lsteamclient/cppISteamUser_SteamUser022.h | 303 +- lsteamclient/cppISteamUser_SteamUser023.cpp | 184 +- lsteamclient/cppISteamUser_SteamUser023.h | 312 +- lsteamclient/cppISteamUtils_SteamUtils002.cpp | 82 +- lsteamclient/cppISteamUtils_SteamUtils002.h | 128 +- lsteamclient/cppISteamUtils_SteamUtils004.cpp | 104 +- lsteamclient/cppISteamUtils_SteamUtils004.h | 159 +- lsteamclient/cppISteamUtils_SteamUtils005.cpp | 134 +- lsteamclient/cppISteamUtils_SteamUtils005.h | 206 +- lsteamclient/cppISteamUtils_SteamUtils006.cpp | 146 +- lsteamclient/cppISteamUtils_SteamUtils006.h | 222 +- lsteamclient/cppISteamUtils_SteamUtils007.cpp | 150 +- lsteamclient/cppISteamUtils_SteamUtils007.h | 232 +- lsteamclient/cppISteamUtils_SteamUtils008.cpp | 160 +- lsteamclient/cppISteamUtils_SteamUtils008.h | 247 +- lsteamclient/cppISteamUtils_SteamUtils009.cpp | 194 +- lsteamclient/cppISteamUtils_SteamUtils009.h | 300 +- lsteamclient/cppISteamUtils_SteamUtils010.cpp | 216 +- lsteamclient/cppISteamUtils_SteamUtils010.h | 339 +- ...pISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp | 10 +- ...cppISteamVideo_STEAMVIDEO_INTERFACE_V001.h | 17 +- ...pISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp | 20 +- ...cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h | 36 +- lsteamclient/gen_wrapper.py | 134 +- lsteamclient/steamclient_manual_099y.cpp | 21 +- lsteamclient/steamclient_manual_141.cpp | 12 +- lsteamclient/steamclient_manual_142.cpp | 12 +- lsteamclient/steamclient_manual_144.cpp | 29 +- lsteamclient/steamclient_manual_146.cpp | 29 +- lsteamclient/steamclient_manual_147.cpp | 58 +- lsteamclient/steamclient_manual_148a.cpp | 70 +- lsteamclient/steamclient_manual_150.cpp | 167 +- lsteamclient/steamclient_manual_151.cpp | 19 +- lsteamclient/steamclient_manual_152.cpp | 63 +- lsteamclient/steamclient_manual_153a.cpp | 199 +- lsteamclient/winISteamAppList.c | 56 +- lsteamclient/winISteamAppTicket.c | 16 +- lsteamclient/winISteamApps.c | 1216 +- lsteamclient/winISteamClient.c | 5306 +++++-- lsteamclient/winISteamController.c | 1704 ++- lsteamclient/winISteamFriends.c | 7065 ++++++--- lsteamclient/winISteamGameCoordinator.c | 35 +- lsteamclient/winISteamGameSearch.c | 148 +- lsteamclient/winISteamGameServer.c | 3095 +++- lsteamclient/winISteamGameServerStats.c | 115 +- lsteamclient/winISteamGameStats.c | 153 +- lsteamclient/winISteamHTMLSurface.c | 1490 +- lsteamclient/winISteamHTTP.c | 734 +- lsteamclient/winISteamInput.c | 1644 ++- lsteamclient/winISteamInventory.c | 1134 +- lsteamclient/winISteamMasterServerUpdater.c | 129 +- lsteamclient/winISteamMatchmaking.c | 2813 +++- lsteamclient/winISteamMatchmakingServers.c | 333 +- lsteamclient/winISteamMusic.c | 67 +- lsteamclient/winISteamMusicRemote.c | 316 +- lsteamclient/winISteamNetworking.c | 1311 +- lsteamclient/winISteamNetworkingFakeUDPPort.c | 37 +- lsteamclient/winISteamNetworkingMessages.c | 69 +- lsteamclient/winISteamNetworkingSockets.c | 2416 ++- .../winISteamNetworkingSocketsSerialized.c | 155 +- lsteamclient/winISteamNetworkingUtils.c | 938 +- lsteamclient/winISteamParentalSettings.c | 58 +- lsteamclient/winISteamParties.c | 127 +- lsteamclient/winISteamRemotePlay.c | 152 +- lsteamclient/winISteamRemoteStorage.c | 6835 ++++++--- lsteamclient/winISteamScreenshots.c | 258 +- lsteamclient/winISteamUGC.c | 12217 +++++++++++----- lsteamclient/winISteamUnifiedMessages.c | 60 +- lsteamclient/winISteamUser.c | 4274 ++++-- lsteamclient/winISteamUserStats.c | 3834 +++-- lsteamclient/winISteamUtils.c | 2135 ++- lsteamclient/winISteamVideo.c | 53 +- 439 files changed, 109952 insertions(+), 43685 deletions(-) diff --git a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp index bdf39603..81fae4b8 100644 --- a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp @@ -12,39 +12,29 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h" -uint32 cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(void *linux_side) +void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params *params ) { - uint32 _ret; - _ret = ((ISteamAppList*)linux_side)->GetNumInstalledApps(); - return (_ret); + params->_ret = ((ISteamAppList*)params->linux_side)->GetNumInstalledApps( ); } -uint32 cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps(void *linux_side, AppId_t *pvecAppID, uint32 unMaxAppIDs) +void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps_params *params ) { - uint32 _ret; - _ret = ((ISteamAppList*)linux_side)->GetInstalledApps((AppId_t *)pvecAppID, (uint32)unMaxAppIDs); - return (_ret); + params->_ret = ((ISteamAppList*)params->linux_side)->GetInstalledApps( (AppId_t *)params->pvecAppID, (uint32)params->unMaxAppIDs ); } -int cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName(void *linux_side, AppId_t nAppID, char *pchName, int cchNameMax) +void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName_params *params ) { - int _ret; - _ret = ((ISteamAppList*)linux_side)->GetAppName((AppId_t)nAppID, (char *)pchName, (int)cchNameMax); - return (_ret); + params->_ret = ((ISteamAppList*)params->linux_side)->GetAppName( (AppId_t)params->nAppID, (char *)params->pchName, (int)params->cchNameMax ); } -int cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir(void *linux_side, AppId_t nAppID, char *pchDirectory, int cchNameMax) +void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir_params *params ) { - int _ret; - _ret = ((ISteamAppList*)linux_side)->GetAppInstallDir((AppId_t)nAppID, (char *)pchDirectory, (int)cchNameMax); - return (_ret); + params->_ret = ((ISteamAppList*)params->linux_side)->GetAppInstallDir( (AppId_t)params->nAppID, (char *)params->pchDirectory, (int)params->cchNameMax ); } -int cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId(void *linux_side, AppId_t nAppID) +void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId_params *params ) { - int _ret; - _ret = ((ISteamAppList*)linux_side)->GetAppBuildId((AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamAppList*)params->linux_side)->GetAppBuildId( (AppId_t)params->nAppID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h index 58e40fd9..ef5bd664 100644 --- a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h +++ b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h @@ -1,5 +1,44 @@ -extern uint32 cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(void *); -extern uint32 cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps(void *, AppId_t *, uint32); -extern int cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName(void *, AppId_t, char *, int); -extern int cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir(void *, AppId_t, char *, int); -extern int cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId(void *, AppId_t); +struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params *params ); + +struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps_params +{ + void *linux_side; + uint32 _ret; + AppId_t *pvecAppID; + uint32 unMaxAppIDs; +}; +extern void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps_params *params ); + +struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName_params +{ + void *linux_side; + int _ret; + AppId_t nAppID; + char *pchName; + int cchNameMax; +}; +extern void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName_params *params ); + +struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir_params +{ + void *linux_side; + int _ret; + AppId_t nAppID; + char *pchDirectory; + int cchNameMax; +}; +extern void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir_params *params ); + +struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId_params +{ + void *linux_side; + int _ret; + AppId_t nAppID; +}; +extern void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId_params *params ); + diff --git a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp index be1fad7e..e1364394 100644 --- a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp @@ -13,11 +13,9 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.h" -uint32 cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData(void *linux_side, uint32 nAppID, void *pvBuffer, uint32 cbBufferLength, uint32 *piAppId, uint32 *piSteamId, uint32 *piSignature, uint32 *pcbSignature) +void cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData( struct cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData_params *params ) { - uint32 _ret; - _ret = ((ISteamAppTicket*)linux_side)->GetAppOwnershipTicketData((uint32)nAppID, (void *)pvBuffer, (uint32)cbBufferLength, (uint32 *)piAppId, (uint32 *)piSteamId, (uint32 *)piSignature, (uint32 *)pcbSignature); - return (_ret); + params->_ret = ((ISteamAppTicket*)params->linux_side)->GetAppOwnershipTicketData( (uint32)params->nAppID, (void *)params->pvBuffer, (uint32)params->cbBufferLength, (uint32 *)params->piAppId, (uint32 *)params->piSteamId, (uint32 *)params->piSignature, (uint32 *)params->pcbSignature ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.h b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.h index 2824abdc..35738989 100644 --- a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.h +++ b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.h @@ -1 +1,14 @@ -extern uint32 cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData(void *, uint32, void *, uint32, uint32 *, uint32 *, uint32 *, uint32 *); +struct cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData_params +{ + void *linux_side; + uint32 _ret; + uint32 nAppID; + void *pvBuffer; + uint32 cbBufferLength; + uint32 *piAppId; + uint32 *piSteamId; + uint32 *piSignature; + uint32 *pcbSignature; +}; +extern void cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData( struct cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData_params *params ); + diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.cpp index 034bbd52..779bd813 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.cpp @@ -11,11 +11,9 @@ extern "C" { #define SDKVER_100 #include "struct_converters.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h" -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData(void *linux_side, AppId_t nAppID, const char *pchKey, char *pchValue, int cchValueMax) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData_params *params ) { - int _ret; - _ret = ((ISteamApps*)linux_side)->GetAppData((AppId_t)nAppID, (const char *)pchKey, (char *)pchValue, (int)cchValueMax); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAppData( (AppId_t)params->nAppID, (const char *)params->pchKey, (char *)params->pchValue, (int)params->cchValueMax ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h index 75ec1d58..1f39f6bd 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h @@ -1 +1,11 @@ -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData(void *, AppId_t, const char *, char *, int); +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData_params +{ + void *linux_side; + int _ret; + AppId_t nAppID; + const char *pchKey; + char *pchValue; + int cchValueMax; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData_params *params ); + diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.cpp index a16ea691..7191b888 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.cpp @@ -11,53 +11,39 @@ extern "C" { #define SDKVER_103 #include "struct_converters.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribed(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribed( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsLowViolence(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsLowViolence( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsCybercafe(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsCybercafe( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsVACBanned(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsVACBanned( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetCurrentGameLanguage( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAvailableGameLanguages( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedApp( (AppId_t)params->appID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.h index 8aef587b..93e9062c 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.h +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.h @@ -1,7 +1,50 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp(void *, AppId_t); +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp_params *params ); + diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.cpp index c0c277d5..a7b16ec2 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.cpp @@ -11,60 +11,44 @@ extern "C" { #define SDKVER_111 #include "struct_converters.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribed(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribed( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsLowViolence(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsLowViolence( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsCybercafe(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsCybercafe( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsVACBanned(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsVACBanned( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetCurrentGameLanguage( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAvailableGameLanguages( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedApp( (AppId_t)params->appID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsDlcInstalled( (AppId_t)params->appID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.h index d3161dc4..1cc4d8e4 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.h +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.h @@ -1,8 +1,58 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled(void *, AppId_t); +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled_params *params ); + diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.cpp index 2d8eb552..ff1a18fc 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.cpp @@ -11,98 +11,74 @@ extern "C" { #define SDKVER_117 #include "struct_converters.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribed(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribed( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsLowViolence(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsLowViolence( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsCybercafe(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsCybercafe( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsVACBanned(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsVACBanned( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetCurrentGameLanguage( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAvailableGameLanguages( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedApp( (AppId_t)params->appID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsDlcInstalled( (AppId_t)params->appID ); } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime_params *params ) { - uint32 _ret; - _ret = ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetEarliestPurchaseUnixTime( (AppId_t)params->nAppID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedFromFreeWeekend( ); } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount_params *params ) { - int _ret; - _ret = ((ISteamApps*)linux_side)->GetDLCCount(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetDLCCount( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex(void *linux_side, int iDLC, AppId_t *pAppID, bool *pbAvailable, char *pchName, int cchNameBufferSize) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BGetDLCDataByIndex( (int)params->iDLC, (AppId_t *)params->pAppID, (bool *)params->pbAvailable, (char *)params->pchName, (int)params->cchNameBufferSize ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC_params *params ) { - ((ISteamApps*)linux_side)->InstallDLC((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->InstallDLC( (AppId_t)params->nAppID ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC_params *params ) { - ((ISteamApps*)linux_side)->UninstallDLC((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->UninstallDLC( (AppId_t)params->nAppID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.h index 7150cba4..5a310556 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.h +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.h @@ -1,14 +1,106 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled(void *, AppId_t); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend(void *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex(void *, int, AppId_t *, bool *, char *, int); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC(void *, AppId_t); +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime_params +{ + void *linux_side; + uint32 _ret; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex_params +{ + void *linux_side; + bool _ret; + int iDLC; + AppId_t *pAppID; + bool *pbAvailable; + char *pchName; + int cchNameBufferSize; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC_params *params ); + diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.cpp index 9eab12c4..a63808ee 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.cpp @@ -11,138 +11,104 @@ extern "C" { #define SDKVER_125 #include "struct_converters.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribed(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribed( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsLowViolence(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsLowViolence( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsCybercafe(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsCybercafe( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsVACBanned(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsVACBanned( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetCurrentGameLanguage( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAvailableGameLanguages( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedApp( (AppId_t)params->appID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsDlcInstalled( (AppId_t)params->appID ); } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime_params *params ) { - uint32 _ret; - _ret = ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetEarliestPurchaseUnixTime( (AppId_t)params->nAppID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedFromFreeWeekend( ); } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount_params *params ) { - int _ret; - _ret = ((ISteamApps*)linux_side)->GetDLCCount(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetDLCCount( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex(void *linux_side, int iDLC, AppId_t *pAppID, bool *pbAvailable, char *pchName, int cchNameBufferSize) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BGetDLCDataByIndex( (int)params->iDLC, (AppId_t *)params->pAppID, (bool *)params->pbAvailable, (char *)params->pchName, (int)params->cchNameBufferSize ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC_params *params ) { - ((ISteamApps*)linux_side)->InstallDLC((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->InstallDLC( (AppId_t)params->nAppID ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC_params *params ) { - ((ISteamApps*)linux_side)->UninstallDLC((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->UninstallDLC( (AppId_t)params->nAppID ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey_params *params ) { - ((ISteamApps*)linux_side)->RequestAppProofOfPurchaseKey((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->RequestAppProofOfPurchaseKey( (AppId_t)params->nAppID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName(void *linux_side, char *pchName, int cchNameBufferSize) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->GetCurrentBetaName((char *)pchName, (int)cchNameBufferSize); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetCurrentBetaName( (char *)params->pchName, (int)params->cchNameBufferSize ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt(void *linux_side, bool bMissingFilesOnly) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->MarkContentCorrupt((bool)bMissingFilesOnly); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->MarkContentCorrupt( (bool)params->bMissingFilesOnly ); } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots(void *linux_side, DepotId_t *pvecDepots, uint32 cMaxDepots) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots_params *params ) { - uint32 _ret; - _ret = ((ISteamApps*)linux_side)->GetInstalledDepots((DepotId_t *)pvecDepots, (uint32)cMaxDepots); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetInstalledDepots( (DepotId_t *)params->pvecDepots, (uint32)params->cMaxDepots ); } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir(void *linux_side, AppId_t appID, char *pchFolder, uint32 cchFolderBufferSize) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir_params *params ) { - uint32 _ret; - _ret = ((ISteamApps*)linux_side)->GetAppInstallDir((AppId_t)appID, (char *)pchFolder, (uint32)cchFolderBufferSize); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAppInstallDir( (AppId_t)params->appID, (char *)params->pchFolder, (uint32)params->cchFolderBufferSize ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsAppInstalled((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsAppInstalled( (AppId_t)params->appID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.h index 71172144..5e767ef8 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.h +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.h @@ -1,20 +1,157 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled(void *, AppId_t); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend(void *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex(void *, int, AppId_t *, bool *, char *, int); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName(void *, char *, int); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt(void *, bool); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots(void *, DepotId_t *, uint32); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir(void *, AppId_t, char *, uint32); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled(void *, AppId_t); +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime_params +{ + void *linux_side; + uint32 _ret; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex_params +{ + void *linux_side; + bool _ret; + int iDLC; + AppId_t *pAppID; + bool *pbAvailable; + char *pchName; + int cchNameBufferSize; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName_params +{ + void *linux_side; + bool _ret; + char *pchName; + int cchNameBufferSize; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt_params +{ + void *linux_side; + bool _ret; + bool bMissingFilesOnly; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots_params +{ + void *linux_side; + uint32 _ret; + DepotId_t *pvecDepots; + uint32 cMaxDepots; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir_params +{ + void *linux_side; + uint32 _ret; + AppId_t appID; + char *pchFolder; + uint32 cchFolderBufferSize; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled_params *params ); + diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.cpp index 355f2709..9fa4cbf4 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.cpp @@ -11,152 +11,114 @@ extern "C" { #define SDKVER_131 #include "struct_converters.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribed(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribed( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsLowViolence(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsLowViolence( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsCybercafe(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsCybercafe( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsVACBanned(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsVACBanned( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetCurrentGameLanguage( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAvailableGameLanguages( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedApp( (AppId_t)params->appID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsDlcInstalled( (AppId_t)params->appID ); } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime_params *params ) { - uint32 _ret; - _ret = ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetEarliestPurchaseUnixTime( (AppId_t)params->nAppID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedFromFreeWeekend( ); } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount_params *params ) { - int _ret; - _ret = ((ISteamApps*)linux_side)->GetDLCCount(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetDLCCount( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex(void *linux_side, int iDLC, AppId_t *pAppID, bool *pbAvailable, char *pchName, int cchNameBufferSize) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BGetDLCDataByIndex( (int)params->iDLC, (AppId_t *)params->pAppID, (bool *)params->pbAvailable, (char *)params->pchName, (int)params->cchNameBufferSize ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC_params *params ) { - ((ISteamApps*)linux_side)->InstallDLC((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->InstallDLC( (AppId_t)params->nAppID ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC_params *params ) { - ((ISteamApps*)linux_side)->UninstallDLC((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->UninstallDLC( (AppId_t)params->nAppID ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey_params *params ) { - ((ISteamApps*)linux_side)->RequestAppProofOfPurchaseKey((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->RequestAppProofOfPurchaseKey( (AppId_t)params->nAppID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName(void *linux_side, char *pchName, int cchNameBufferSize) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->GetCurrentBetaName((char *)pchName, (int)cchNameBufferSize); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetCurrentBetaName( (char *)params->pchName, (int)params->cchNameBufferSize ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt(void *linux_side, bool bMissingFilesOnly) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->MarkContentCorrupt((bool)bMissingFilesOnly); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->MarkContentCorrupt( (bool)params->bMissingFilesOnly ); } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots(void *linux_side, AppId_t appID, DepotId_t *pvecDepots, uint32 cMaxDepots) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots_params *params ) { - uint32 _ret; - _ret = ((ISteamApps*)linux_side)->GetInstalledDepots((AppId_t)appID, (DepotId_t *)pvecDepots, (uint32)cMaxDepots); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetInstalledDepots( (AppId_t)params->appID, (DepotId_t *)params->pvecDepots, (uint32)params->cMaxDepots ); } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir(void *linux_side, AppId_t appID, char *pchFolder, uint32 cchFolderBufferSize) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir_params *params ) { - uint32 _ret; - _ret = ((ISteamApps*)linux_side)->GetAppInstallDir((AppId_t)appID, (char *)pchFolder, (uint32)cchFolderBufferSize); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAppInstallDir( (AppId_t)params->appID, (char *)params->pchFolder, (uint32)params->cchFolderBufferSize ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsAppInstalled((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsAppInstalled( (AppId_t)params->appID ); } -CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamApps*)linux_side)->GetAppOwner(); - return (_ret); + *params->_ret = ((ISteamApps*)params->linux_side)->GetAppOwner( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam(void *linux_side, const char *pchKey) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetLaunchQueryParam((const char *)pchKey); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetLaunchQueryParam( (const char *)params->pchKey ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.h index c2538b97..faf87192 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.h +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.h @@ -1,22 +1,173 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled(void *, AppId_t); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend(void *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex(void *, int, AppId_t *, bool *, char *, int); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName(void *, char *, int); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt(void *, bool); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots(void *, AppId_t, DepotId_t *, uint32); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir(void *, AppId_t, char *, uint32); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled(void *, AppId_t); -extern CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam(void *, const char *); +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime_params +{ + void *linux_side; + uint32 _ret; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex_params +{ + void *linux_side; + bool _ret; + int iDLC; + AppId_t *pAppID; + bool *pbAvailable; + char *pchName; + int cchNameBufferSize; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName_params +{ + void *linux_side; + bool _ret; + char *pchName; + int cchNameBufferSize; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt_params +{ + void *linux_side; + bool _ret; + bool bMissingFilesOnly; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots_params +{ + void *linux_side; + uint32 _ret; + AppId_t appID; + DepotId_t *pvecDepots; + uint32 cMaxDepots; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir_params +{ + void *linux_side; + uint32 _ret; + AppId_t appID; + char *pchFolder; + uint32 cchFolderBufferSize; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam_params +{ + void *linux_side; + const char *_ret; + const char *pchKey; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam_params *params ); + diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.cpp index 99062949..8d1e9c22 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.cpp @@ -11,166 +11,124 @@ extern "C" { #define SDKVER_136 #include "struct_converters.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribed(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribed( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsLowViolence(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsLowViolence( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsCybercafe(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsCybercafe( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsVACBanned(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsVACBanned( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetCurrentGameLanguage( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAvailableGameLanguages( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedApp( (AppId_t)params->appID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsDlcInstalled( (AppId_t)params->appID ); } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime_params *params ) { - uint32 _ret; - _ret = ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetEarliestPurchaseUnixTime( (AppId_t)params->nAppID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedFromFreeWeekend( ); } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount_params *params ) { - int _ret; - _ret = ((ISteamApps*)linux_side)->GetDLCCount(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetDLCCount( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex(void *linux_side, int iDLC, AppId_t *pAppID, bool *pbAvailable, char *pchName, int cchNameBufferSize) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BGetDLCDataByIndex( (int)params->iDLC, (AppId_t *)params->pAppID, (bool *)params->pbAvailable, (char *)params->pchName, (int)params->cchNameBufferSize ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC_params *params ) { - ((ISteamApps*)linux_side)->InstallDLC((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->InstallDLC( (AppId_t)params->nAppID ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC_params *params ) { - ((ISteamApps*)linux_side)->UninstallDLC((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->UninstallDLC( (AppId_t)params->nAppID ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey_params *params ) { - ((ISteamApps*)linux_side)->RequestAppProofOfPurchaseKey((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->RequestAppProofOfPurchaseKey( (AppId_t)params->nAppID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName(void *linux_side, char *pchName, int cchNameBufferSize) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->GetCurrentBetaName((char *)pchName, (int)cchNameBufferSize); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetCurrentBetaName( (char *)params->pchName, (int)params->cchNameBufferSize ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt(void *linux_side, bool bMissingFilesOnly) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->MarkContentCorrupt((bool)bMissingFilesOnly); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->MarkContentCorrupt( (bool)params->bMissingFilesOnly ); } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots(void *linux_side, AppId_t appID, DepotId_t *pvecDepots, uint32 cMaxDepots) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots_params *params ) { - uint32 _ret; - _ret = ((ISteamApps*)linux_side)->GetInstalledDepots((AppId_t)appID, (DepotId_t *)pvecDepots, (uint32)cMaxDepots); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetInstalledDepots( (AppId_t)params->appID, (DepotId_t *)params->pvecDepots, (uint32)params->cMaxDepots ); } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir(void *linux_side, AppId_t appID, char *pchFolder, uint32 cchFolderBufferSize) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir_params *params ) { - uint32 _ret; - _ret = ((ISteamApps*)linux_side)->GetAppInstallDir((AppId_t)appID, (char *)pchFolder, (uint32)cchFolderBufferSize); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAppInstallDir( (AppId_t)params->appID, (char *)params->pchFolder, (uint32)params->cchFolderBufferSize ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsAppInstalled((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsAppInstalled( (AppId_t)params->appID ); } -CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamApps*)linux_side)->GetAppOwner(); - return (_ret); + *params->_ret = ((ISteamApps*)params->linux_side)->GetAppOwner( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam(void *linux_side, const char *pchKey) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetLaunchQueryParam((const char *)pchKey); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetLaunchQueryParam( (const char *)params->pchKey ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress(void *linux_side, AppId_t nAppID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->GetDlcDownloadProgress((AppId_t)nAppID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetDlcDownloadProgress( (AppId_t)params->nAppID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId_params *params ) { - int _ret; - _ret = ((ISteamApps*)linux_side)->GetAppBuildId(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAppBuildId( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.h index 64143337..6489865a 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.h +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.h @@ -1,24 +1,190 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled(void *, AppId_t); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend(void *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex(void *, int, AppId_t *, bool *, char *, int); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName(void *, char *, int); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt(void *, bool); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots(void *, AppId_t, DepotId_t *, uint32); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir(void *, AppId_t, char *, uint32); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled(void *, AppId_t); -extern CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam(void *, const char *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress(void *, AppId_t, uint64 *, uint64 *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId(void *); +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime_params +{ + void *linux_side; + uint32 _ret; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex_params +{ + void *linux_side; + bool _ret; + int iDLC; + AppId_t *pAppID; + bool *pbAvailable; + char *pchName; + int cchNameBufferSize; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName_params +{ + void *linux_side; + bool _ret; + char *pchName; + int cchNameBufferSize; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt_params +{ + void *linux_side; + bool _ret; + bool bMissingFilesOnly; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots_params +{ + void *linux_side; + uint32 _ret; + AppId_t appID; + DepotId_t *pvecDepots; + uint32 cMaxDepots; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir_params +{ + void *linux_side; + uint32 _ret; + AppId_t appID; + char *pchFolder; + uint32 cchFolderBufferSize; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam_params +{ + void *linux_side; + const char *_ret; + const char *pchKey; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress_params +{ + void *linux_side; + bool _ret; + AppId_t nAppID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId_params *params ); + diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp index f206cf92..6e641293 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp @@ -12,206 +12,154 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribed(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribed( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsLowViolence(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsLowViolence( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsCybercafe(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsCybercafe( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsVACBanned(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsVACBanned( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetCurrentGameLanguage( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAvailableGameLanguages( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedApp( (AppId_t)params->appID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsDlcInstalled( (AppId_t)params->appID ); } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime_params *params ) { - uint32 _ret; - _ret = ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetEarliestPurchaseUnixTime( (AppId_t)params->nAppID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedFromFreeWeekend( ); } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount_params *params ) { - int _ret; - _ret = ((ISteamApps*)linux_side)->GetDLCCount(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetDLCCount( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex(void *linux_side, int iDLC, AppId_t *pAppID, bool *pbAvailable, char *pchName, int cchNameBufferSize) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BGetDLCDataByIndex( (int)params->iDLC, (AppId_t *)params->pAppID, (bool *)params->pbAvailable, (char *)params->pchName, (int)params->cchNameBufferSize ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC_params *params ) { - ((ISteamApps*)linux_side)->InstallDLC((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->InstallDLC( (AppId_t)params->nAppID ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC_params *params ) { - ((ISteamApps*)linux_side)->UninstallDLC((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->UninstallDLC( (AppId_t)params->nAppID ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey_params *params ) { - ((ISteamApps*)linux_side)->RequestAppProofOfPurchaseKey((AppId_t)nAppID); + ((ISteamApps*)params->linux_side)->RequestAppProofOfPurchaseKey( (AppId_t)params->nAppID ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName(void *linux_side, char *pchName, int cchNameBufferSize) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->GetCurrentBetaName((char *)pchName, (int)cchNameBufferSize); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetCurrentBetaName( (char *)params->pchName, (int)params->cchNameBufferSize ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt(void *linux_side, bool bMissingFilesOnly) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->MarkContentCorrupt((bool)bMissingFilesOnly); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->MarkContentCorrupt( (bool)params->bMissingFilesOnly ); } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots(void *linux_side, AppId_t appID, DepotId_t *pvecDepots, uint32 cMaxDepots) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots_params *params ) { - uint32 _ret; - _ret = ((ISteamApps*)linux_side)->GetInstalledDepots((AppId_t)appID, (DepotId_t *)pvecDepots, (uint32)cMaxDepots); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetInstalledDepots( (AppId_t)params->appID, (DepotId_t *)params->pvecDepots, (uint32)params->cMaxDepots ); } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir(void *linux_side, AppId_t appID, char *pchFolder, uint32 cchFolderBufferSize) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir_params *params ) { - uint32 _ret; - _ret = ((ISteamApps*)linux_side)->GetAppInstallDir((AppId_t)appID, (char *)pchFolder, (uint32)cchFolderBufferSize); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAppInstallDir( (AppId_t)params->appID, (char *)params->pchFolder, (uint32)params->cchFolderBufferSize ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled(void *linux_side, AppId_t appID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsAppInstalled((AppId_t)appID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsAppInstalled( (AppId_t)params->appID ); } -CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamApps*)linux_side)->GetAppOwner(); - return (_ret); + *params->_ret = ((ISteamApps*)params->linux_side)->GetAppOwner( ); } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam(void *linux_side, const char *pchKey) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam_params *params ) { - const char *_ret; - _ret = ((ISteamApps*)linux_side)->GetLaunchQueryParam((const char *)pchKey); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetLaunchQueryParam( (const char *)params->pchKey ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress(void *linux_side, AppId_t nAppID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->GetDlcDownloadProgress((AppId_t)nAppID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetDlcDownloadProgress( (AppId_t)params->nAppID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId_params *params ) { - int _ret; - _ret = ((ISteamApps*)linux_side)->GetAppBuildId(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetAppBuildId( ); } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys_params *params ) { - ((ISteamApps*)linux_side)->RequestAllProofOfPurchaseKeys(); + ((ISteamApps*)params->linux_side)->RequestAllProofOfPurchaseKeys( ); } -SteamAPICall_t cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails(void *linux_side, const char *pszFileName) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamApps*)linux_side)->GetFileDetails((const char *)pszFileName); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetFileDetails( (const char *)params->pszFileName ); } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine(void *linux_side, char *pszCommandLine, int cubCommandLine) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine_params *params ) { - int _ret; - _ret = ((ISteamApps*)linux_side)->GetLaunchCommandLine((char *)pszCommandLine, (int)cubCommandLine); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->GetLaunchCommandLine( (char *)params->pszCommandLine, (int)params->cubCommandLine ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing(void *linux_side) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsSubscribedFromFamilySharing(); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedFromFamilySharing( ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial(void *linux_side, uint32 *punSecondsAllowed, uint32 *punSecondsPlayed) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->BIsTimedTrial((uint32 *)punSecondsAllowed, (uint32 *)punSecondsPlayed); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->BIsTimedTrial( (uint32 *)params->punSecondsAllowed, (uint32 *)params->punSecondsPlayed ); } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext(void *linux_side, AppId_t nAppID) +void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext_params *params ) { - bool _ret; - _ret = ((ISteamApps*)linux_side)->SetDlcContext((AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamApps*)params->linux_side)->SetDlcContext( (AppId_t)params->nAppID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h index 2c33292e..9a89355f 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h @@ -1,30 +1,237 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled(void *, AppId_t); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend(void *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex(void *, int, AppId_t *, bool *, char *, int); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName(void *, char *, int); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt(void *, bool); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots(void *, AppId_t, DepotId_t *, uint32); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir(void *, AppId_t, char *, uint32); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled(void *, AppId_t); -extern CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam(void *, const char *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress(void *, AppId_t, uint64 *, uint64 *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId(void *); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys(void *); -extern SteamAPICall_t cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails(void *, const char *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine(void *, char *, int); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial(void *, uint32 *, uint32 *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext(void *, AppId_t); +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime_params +{ + void *linux_side; + uint32 _ret; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex_params +{ + void *linux_side; + bool _ret; + int iDLC; + AppId_t *pAppID; + bool *pbAvailable; + char *pchName; + int cchNameBufferSize; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName_params +{ + void *linux_side; + bool _ret; + char *pchName; + int cchNameBufferSize; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt_params +{ + void *linux_side; + bool _ret; + bool bMissingFilesOnly; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots_params +{ + void *linux_side; + uint32 _ret; + AppId_t appID; + DepotId_t *pvecDepots; + uint32 cMaxDepots; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir_params +{ + void *linux_side; + uint32 _ret; + AppId_t appID; + char *pchFolder; + uint32 cchFolderBufferSize; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled_params +{ + void *linux_side; + bool _ret; + AppId_t appID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam_params +{ + void *linux_side; + const char *_ret; + const char *pchKey; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress_params +{ + void *linux_side; + bool _ret; + AppId_t nAppID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys_params +{ + void *linux_side; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pszFileName; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine_params +{ + void *linux_side; + int _ret; + char *pszCommandLine; + int cubCommandLine; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial_params +{ + void *linux_side; + bool _ret; + uint32 *punSecondsAllowed; + uint32 *punSecondsPlayed; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial_params *params ); + +struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext_params +{ + void *linux_side; + bool _ret; + AppId_t nAppID; +}; +extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient006.cpp b/lsteamclient/cppISteamClient_SteamClient006.cpp index 94f7a810..4504bf79 100644 --- a/lsteamclient/cppISteamClient_SteamClient006.cpp +++ b/lsteamclient/cppISteamClient_SteamClient006.cpp @@ -11,145 +11,110 @@ extern "C" { #define SDKVER_099y #include "struct_converters.h" #include "cppISteamClient_SteamClient006.h" -HSteamPipe cppISteamClient_SteamClient006_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient006_CreateSteamPipe( struct cppISteamClient_SteamClient006_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient006_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient006_BReleaseSteamPipe( struct cppISteamClient_SteamClient006_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient006_CreateGlobalUser(void *linux_side, HSteamPipe *phSteamPipe) +void cppISteamClient_SteamClient006_CreateGlobalUser( struct cppISteamClient_SteamClient006_CreateGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateGlobalUser((HSteamPipe *)phSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateGlobalUser( (HSteamPipe *)params->phSteamPipe ); } -HSteamUser cppISteamClient_SteamClient006_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient006_ConnectToGlobalUser( struct cppISteamClient_SteamClient006_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient006_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe) +void cppISteamClient_SteamClient006_CreateLocalUser( struct cppISteamClient_SteamClient006_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe ); } -void cppISteamClient_SteamClient006_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient006_ReleaseUser( struct cppISteamClient_SteamClient006_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient006_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient006_GetISteamUser( struct cppISteamClient_SteamClient006_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient006_GetIVAC(void *linux_side, HSteamUser hSteamUser) +void cppISteamClient_SteamClient006_GetIVAC( struct cppISteamClient_SteamClient006_GetIVAC_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetIVAC((HSteamUser)hSteamUser); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIVAC( (HSteamUser)params->hSteamUser ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient006_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient006_GetISteamGameServer( struct cppISteamClient_SteamClient006_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient006_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient006_SetLocalIPBinding( struct cppISteamClient_SteamClient006_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -const char * cppISteamClient_SteamClient006_GetUniverseName(void *linux_side, EUniverse eUniverse) +void cppISteamClient_SteamClient006_GetUniverseName( struct cppISteamClient_SteamClient006_GetUniverseName_params *params ) { - const char *_ret; - _ret = ((ISteamClient*)linux_side)->GetUniverseName((EUniverse)eUniverse); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetUniverseName( (EUniverse)params->eUniverse ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient006_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient006_GetISteamFriends( struct cppISteamClient_SteamClient006_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient006_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient006_GetISteamUtils( struct cppISteamClient_SteamClient006_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient006_GetISteamBilling(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient006_GetISteamBilling( struct cppISteamClient_SteamClient006_GetISteamBilling_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamBilling((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamBilling( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient006_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient006_GetISteamMatchmaking( struct cppISteamClient_SteamClient006_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient006_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient006_GetISteamApps( struct cppISteamClient_SteamClient006_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamContentServer*/ * cppISteamClient_SteamClient006_GetISteamContentServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient006_GetISteamContentServer( struct cppISteamClient_SteamClient006_GetISteamContentServer_params *params ) { - void /*ISteamContentServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamContentServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamContentServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMasterServerUpdater*/ * cppISteamClient_SteamClient006_GetISteamMasterServerUpdater(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient006_GetISteamMasterServerUpdater( struct cppISteamClient_SteamClient006_GetISteamMasterServerUpdater_params *params ) { - void /*ISteamMasterServerUpdater*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMasterServerUpdater((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMasterServerUpdater( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient006_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient006_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient006_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient006_RunFrame(void *linux_side) +void cppISteamClient_SteamClient006_RunFrame( struct cppISteamClient_SteamClient006_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient006_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient006_GetIPCCallCount( struct cppISteamClient_SteamClient006_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient006.h b/lsteamclient/cppISteamClient_SteamClient006.h index 531b1600..099657fb 100644 --- a/lsteamclient/cppISteamClient_SteamClient006.h +++ b/lsteamclient/cppISteamClient_SteamClient006.h @@ -1,21 +1,183 @@ -extern HSteamPipe cppISteamClient_SteamClient006_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient006_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient006_CreateGlobalUser(void *, HSteamPipe *); -extern HSteamUser cppISteamClient_SteamClient006_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient006_CreateLocalUser(void *, HSteamPipe *); -extern void cppISteamClient_SteamClient006_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient006_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient006_GetIVAC(void *, HSteamUser); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient006_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient006_SetLocalIPBinding(void *, uint32, uint16); -extern const char * cppISteamClient_SteamClient006_GetUniverseName(void *, EUniverse); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient006_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient006_GetISteamUtils(void *, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient006_GetISteamBilling(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient006_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient006_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamContentServer*/ * cppISteamClient_SteamClient006_GetISteamContentServer(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMasterServerUpdater*/ * cppISteamClient_SteamClient006_GetISteamMasterServerUpdater(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient006_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient006_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient006_GetIPCCallCount(void *); +struct cppISteamClient_SteamClient006_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient006_CreateSteamPipe( struct cppISteamClient_SteamClient006_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient006_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient006_BReleaseSteamPipe( struct cppISteamClient_SteamClient006_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient006_CreateGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; +}; +extern void cppISteamClient_SteamClient006_CreateGlobalUser( struct cppISteamClient_SteamClient006_CreateGlobalUser_params *params ); + +struct cppISteamClient_SteamClient006_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient006_ConnectToGlobalUser( struct cppISteamClient_SteamClient006_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient006_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; +}; +extern void cppISteamClient_SteamClient006_CreateLocalUser( struct cppISteamClient_SteamClient006_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient006_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient006_ReleaseUser( struct cppISteamClient_SteamClient006_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient006_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient006_GetISteamUser( struct cppISteamClient_SteamClient006_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient006_GetIVAC_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; +}; +extern void cppISteamClient_SteamClient006_GetIVAC( struct cppISteamClient_SteamClient006_GetIVAC_params *params ); + +struct cppISteamClient_SteamClient006_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient006_GetISteamGameServer( struct cppISteamClient_SteamClient006_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient006_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient006_SetLocalIPBinding( struct cppISteamClient_SteamClient006_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient006_GetUniverseName_params +{ + void *linux_side; + const char *_ret; + EUniverse eUniverse; +}; +extern void cppISteamClient_SteamClient006_GetUniverseName( struct cppISteamClient_SteamClient006_GetUniverseName_params *params ); + +struct cppISteamClient_SteamClient006_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient006_GetISteamFriends( struct cppISteamClient_SteamClient006_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient006_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient006_GetISteamUtils( struct cppISteamClient_SteamClient006_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient006_GetISteamBilling_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient006_GetISteamBilling( struct cppISteamClient_SteamClient006_GetISteamBilling_params *params ); + +struct cppISteamClient_SteamClient006_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient006_GetISteamMatchmaking( struct cppISteamClient_SteamClient006_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient006_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient006_GetISteamApps( struct cppISteamClient_SteamClient006_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient006_GetISteamContentServer_params +{ + void *linux_side; + void /*ISteamContentServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient006_GetISteamContentServer( struct cppISteamClient_SteamClient006_GetISteamContentServer_params *params ); + +struct cppISteamClient_SteamClient006_GetISteamMasterServerUpdater_params +{ + void *linux_side; + void /*ISteamMasterServerUpdater*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient006_GetISteamMasterServerUpdater( struct cppISteamClient_SteamClient006_GetISteamMasterServerUpdater_params *params ); + +struct cppISteamClient_SteamClient006_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient006_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient006_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient006_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient006_RunFrame( struct cppISteamClient_SteamClient006_RunFrame_params *params ); + +struct cppISteamClient_SteamClient006_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient006_GetIPCCallCount( struct cppISteamClient_SteamClient006_GetIPCCallCount_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient007.cpp b/lsteamclient/cppISteamClient_SteamClient007.cpp index adf86894..21f89008 100644 --- a/lsteamclient/cppISteamClient_SteamClient007.cpp +++ b/lsteamclient/cppISteamClient_SteamClient007.cpp @@ -11,151 +11,116 @@ extern "C" { #define SDKVER_103 #include "struct_converters.h" #include "cppISteamClient_SteamClient007.h" -HSteamPipe cppISteamClient_SteamClient007_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient007_CreateSteamPipe( struct cppISteamClient_SteamClient007_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient007_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient007_BReleaseSteamPipe( struct cppISteamClient_SteamClient007_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient007_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient007_ConnectToGlobalUser( struct cppISteamClient_SteamClient007_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient007_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe) +void cppISteamClient_SteamClient007_CreateLocalUser( struct cppISteamClient_SteamClient007_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe ); } -void cppISteamClient_SteamClient007_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient007_ReleaseUser( struct cppISteamClient_SteamClient007_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient007_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient007_GetISteamUser( struct cppISteamClient_SteamClient007_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient007_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient007_GetISteamGameServer( struct cppISteamClient_SteamClient007_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient007_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient007_SetLocalIPBinding( struct cppISteamClient_SteamClient007_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient007_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient007_GetISteamFriends( struct cppISteamClient_SteamClient007_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient007_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient007_GetISteamUtils( struct cppISteamClient_SteamClient007_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient007_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient007_GetISteamMatchmaking( struct cppISteamClient_SteamClient007_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamContentServer*/ * cppISteamClient_SteamClient007_GetISteamContentServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient007_GetISteamContentServer( struct cppISteamClient_SteamClient007_GetISteamContentServer_params *params ) { - void /*ISteamContentServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamContentServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamContentServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMasterServerUpdater*/ * cppISteamClient_SteamClient007_GetISteamMasterServerUpdater(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient007_GetISteamMasterServerUpdater( struct cppISteamClient_SteamClient007_GetISteamMasterServerUpdater_params *params ) { - void /*ISteamMasterServerUpdater*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMasterServerUpdater((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMasterServerUpdater( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient007_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient007_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient007_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient007_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient007_GetISteamGenericInterface( struct cppISteamClient_SteamClient007_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient007_RunFrame(void *linux_side) +void cppISteamClient_SteamClient007_RunFrame( struct cppISteamClient_SteamClient007_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient007_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient007_GetIPCCallCount( struct cppISteamClient_SteamClient007_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient007_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient007_GetISteamUserStats( struct cppISteamClient_SteamClient007_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient007_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient007_GetISteamApps( struct cppISteamClient_SteamClient007_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient007_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient007_GetISteamNetworking( struct cppISteamClient_SteamClient007_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient007_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient007_SetWarningMessageHook( struct cppISteamClient_SteamClient007_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient007_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient007_GetISteamRemoteStorage( struct cppISteamClient_SteamClient007_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient007.h b/lsteamclient/cppISteamClient_SteamClient007.h index 611fdc28..62b023e9 100644 --- a/lsteamclient/cppISteamClient_SteamClient007.h +++ b/lsteamclient/cppISteamClient_SteamClient007.h @@ -1,22 +1,196 @@ -extern HSteamPipe cppISteamClient_SteamClient007_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient007_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient007_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient007_CreateLocalUser(void *, HSteamPipe *); -extern void cppISteamClient_SteamClient007_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient007_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient007_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient007_SetLocalIPBinding(void *, uint32, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient007_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient007_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient007_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamContentServer*/ * cppISteamClient_SteamClient007_GetISteamContentServer(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMasterServerUpdater*/ * cppISteamClient_SteamClient007_GetISteamMasterServerUpdater(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient007_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient007_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient007_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient007_GetIPCCallCount(void *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient007_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient007_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient007_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient007_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient007_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); +struct cppISteamClient_SteamClient007_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient007_CreateSteamPipe( struct cppISteamClient_SteamClient007_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient007_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient007_BReleaseSteamPipe( struct cppISteamClient_SteamClient007_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient007_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient007_ConnectToGlobalUser( struct cppISteamClient_SteamClient007_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient007_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; +}; +extern void cppISteamClient_SteamClient007_CreateLocalUser( struct cppISteamClient_SteamClient007_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient007_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient007_ReleaseUser( struct cppISteamClient_SteamClient007_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient007_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient007_GetISteamUser( struct cppISteamClient_SteamClient007_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient007_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient007_GetISteamGameServer( struct cppISteamClient_SteamClient007_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient007_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient007_SetLocalIPBinding( struct cppISteamClient_SteamClient007_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient007_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient007_GetISteamFriends( struct cppISteamClient_SteamClient007_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient007_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient007_GetISteamUtils( struct cppISteamClient_SteamClient007_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient007_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient007_GetISteamMatchmaking( struct cppISteamClient_SteamClient007_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient007_GetISteamContentServer_params +{ + void *linux_side; + void /*ISteamContentServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient007_GetISteamContentServer( struct cppISteamClient_SteamClient007_GetISteamContentServer_params *params ); + +struct cppISteamClient_SteamClient007_GetISteamMasterServerUpdater_params +{ + void *linux_side; + void /*ISteamMasterServerUpdater*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient007_GetISteamMasterServerUpdater( struct cppISteamClient_SteamClient007_GetISteamMasterServerUpdater_params *params ); + +struct cppISteamClient_SteamClient007_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient007_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient007_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient007_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient007_GetISteamGenericInterface( struct cppISteamClient_SteamClient007_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient007_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient007_RunFrame( struct cppISteamClient_SteamClient007_RunFrame_params *params ); + +struct cppISteamClient_SteamClient007_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient007_GetIPCCallCount( struct cppISteamClient_SteamClient007_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient007_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient007_GetISteamUserStats( struct cppISteamClient_SteamClient007_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient007_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient007_GetISteamApps( struct cppISteamClient_SteamClient007_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient007_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient007_GetISteamNetworking( struct cppISteamClient_SteamClient007_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient007_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient007_SetWarningMessageHook( struct cppISteamClient_SteamClient007_SetWarningMessageHook_params *params ); + +struct cppISteamClient_SteamClient007_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient007_GetISteamRemoteStorage( struct cppISteamClient_SteamClient007_GetISteamRemoteStorage_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient008.cpp b/lsteamclient/cppISteamClient_SteamClient008.cpp index 66a5d080..13f71167 100644 --- a/lsteamclient/cppISteamClient_SteamClient008.cpp +++ b/lsteamclient/cppISteamClient_SteamClient008.cpp @@ -11,144 +11,111 @@ extern "C" { #define SDKVER_107 #include "struct_converters.h" #include "cppISteamClient_SteamClient008.h" -HSteamPipe cppISteamClient_SteamClient008_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient008_CreateSteamPipe( struct cppISteamClient_SteamClient008_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient008_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient008_BReleaseSteamPipe( struct cppISteamClient_SteamClient008_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient008_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient008_ConnectToGlobalUser( struct cppISteamClient_SteamClient008_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient008_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType) +void cppISteamClient_SteamClient008_CreateLocalUser( struct cppISteamClient_SteamClient008_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe, (EAccountType)params->eAccountType ); } -void cppISteamClient_SteamClient008_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient008_ReleaseUser( struct cppISteamClient_SteamClient008_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient008_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient008_GetISteamUser( struct cppISteamClient_SteamClient008_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient008_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient008_GetISteamGameServer( struct cppISteamClient_SteamClient008_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient008_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient008_SetLocalIPBinding( struct cppISteamClient_SteamClient008_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient008_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient008_GetISteamFriends( struct cppISteamClient_SteamClient008_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient008_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient008_GetISteamUtils( struct cppISteamClient_SteamClient008_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient008_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient008_GetISteamMatchmaking( struct cppISteamClient_SteamClient008_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMasterServerUpdater*/ * cppISteamClient_SteamClient008_GetISteamMasterServerUpdater(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient008_GetISteamMasterServerUpdater( struct cppISteamClient_SteamClient008_GetISteamMasterServerUpdater_params *params ) { - void /*ISteamMasterServerUpdater*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMasterServerUpdater((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMasterServerUpdater( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient008_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient008_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient008_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient008_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient008_GetISteamGenericInterface( struct cppISteamClient_SteamClient008_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient008_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient008_GetISteamUserStats( struct cppISteamClient_SteamClient008_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient008_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient008_GetISteamApps( struct cppISteamClient_SteamClient008_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient008_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient008_GetISteamNetworking( struct cppISteamClient_SteamClient008_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient008_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient008_GetISteamRemoteStorage( struct cppISteamClient_SteamClient008_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient008_RunFrame(void *linux_side) +void cppISteamClient_SteamClient008_RunFrame( struct cppISteamClient_SteamClient008_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient008_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient008_GetIPCCallCount( struct cppISteamClient_SteamClient008_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamClient_SteamClient008_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient008_SetWarningMessageHook( struct cppISteamClient_SteamClient008_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient008.h b/lsteamclient/cppISteamClient_SteamClient008.h index 5a73a509..4b6f74c4 100644 --- a/lsteamclient/cppISteamClient_SteamClient008.h +++ b/lsteamclient/cppISteamClient_SteamClient008.h @@ -1,21 +1,187 @@ -extern HSteamPipe cppISteamClient_SteamClient008_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient008_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient008_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient008_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient008_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient008_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient008_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient008_SetLocalIPBinding(void *, uint32, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient008_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient008_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient008_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMasterServerUpdater*/ * cppISteamClient_SteamClient008_GetISteamMasterServerUpdater(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient008_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient008_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient008_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient008_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient008_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient008_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient008_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient008_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient008_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); +struct cppISteamClient_SteamClient008_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient008_CreateSteamPipe( struct cppISteamClient_SteamClient008_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient008_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient008_BReleaseSteamPipe( struct cppISteamClient_SteamClient008_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient008_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient008_ConnectToGlobalUser( struct cppISteamClient_SteamClient008_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient008_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; + EAccountType eAccountType; +}; +extern void cppISteamClient_SteamClient008_CreateLocalUser( struct cppISteamClient_SteamClient008_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient008_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient008_ReleaseUser( struct cppISteamClient_SteamClient008_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient008_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient008_GetISteamUser( struct cppISteamClient_SteamClient008_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient008_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient008_GetISteamGameServer( struct cppISteamClient_SteamClient008_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient008_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient008_SetLocalIPBinding( struct cppISteamClient_SteamClient008_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient008_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient008_GetISteamFriends( struct cppISteamClient_SteamClient008_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient008_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient008_GetISteamUtils( struct cppISteamClient_SteamClient008_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient008_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient008_GetISteamMatchmaking( struct cppISteamClient_SteamClient008_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient008_GetISteamMasterServerUpdater_params +{ + void *linux_side; + void /*ISteamMasterServerUpdater*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient008_GetISteamMasterServerUpdater( struct cppISteamClient_SteamClient008_GetISteamMasterServerUpdater_params *params ); + +struct cppISteamClient_SteamClient008_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient008_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient008_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient008_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient008_GetISteamGenericInterface( struct cppISteamClient_SteamClient008_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient008_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient008_GetISteamUserStats( struct cppISteamClient_SteamClient008_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient008_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient008_GetISteamApps( struct cppISteamClient_SteamClient008_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient008_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient008_GetISteamNetworking( struct cppISteamClient_SteamClient008_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient008_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient008_GetISteamRemoteStorage( struct cppISteamClient_SteamClient008_GetISteamRemoteStorage_params *params ); + +struct cppISteamClient_SteamClient008_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient008_RunFrame( struct cppISteamClient_SteamClient008_RunFrame_params *params ); + +struct cppISteamClient_SteamClient008_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient008_GetIPCCallCount( struct cppISteamClient_SteamClient008_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient008_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient008_SetWarningMessageHook( struct cppISteamClient_SteamClient008_SetWarningMessageHook_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient009.cpp b/lsteamclient/cppISteamClient_SteamClient009.cpp index 1ae0ea75..4d65c338 100644 --- a/lsteamclient/cppISteamClient_SteamClient009.cpp +++ b/lsteamclient/cppISteamClient_SteamClient009.cpp @@ -11,151 +11,116 @@ extern "C" { #define SDKVER_111 #include "struct_converters.h" #include "cppISteamClient_SteamClient009.h" -HSteamPipe cppISteamClient_SteamClient009_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient009_CreateSteamPipe( struct cppISteamClient_SteamClient009_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient009_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient009_BReleaseSteamPipe( struct cppISteamClient_SteamClient009_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient009_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient009_ConnectToGlobalUser( struct cppISteamClient_SteamClient009_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient009_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType) +void cppISteamClient_SteamClient009_CreateLocalUser( struct cppISteamClient_SteamClient009_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe, (EAccountType)params->eAccountType ); } -void cppISteamClient_SteamClient009_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient009_ReleaseUser( struct cppISteamClient_SteamClient009_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient009_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient009_GetISteamUser( struct cppISteamClient_SteamClient009_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient009_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient009_GetISteamGameServer( struct cppISteamClient_SteamClient009_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient009_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient009_SetLocalIPBinding( struct cppISteamClient_SteamClient009_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient009_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient009_GetISteamFriends( struct cppISteamClient_SteamClient009_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient009_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient009_GetISteamUtils( struct cppISteamClient_SteamClient009_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient009_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient009_GetISteamMatchmaking( struct cppISteamClient_SteamClient009_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMasterServerUpdater*/ * cppISteamClient_SteamClient009_GetISteamMasterServerUpdater(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient009_GetISteamMasterServerUpdater( struct cppISteamClient_SteamClient009_GetISteamMasterServerUpdater_params *params ) { - void /*ISteamMasterServerUpdater*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMasterServerUpdater((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMasterServerUpdater( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient009_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient009_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient009_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient009_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient009_GetISteamGenericInterface( struct cppISteamClient_SteamClient009_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient009_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient009_GetISteamUserStats( struct cppISteamClient_SteamClient009_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient009_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient009_GetISteamGameServerStats( struct cppISteamClient_SteamClient009_GetISteamGameServerStats_params *params ) { - void /*ISteamGameServerStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServerStats( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient009_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient009_GetISteamApps( struct cppISteamClient_SteamClient009_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient009_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient009_GetISteamNetworking( struct cppISteamClient_SteamClient009_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient009_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient009_GetISteamRemoteStorage( struct cppISteamClient_SteamClient009_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient009_RunFrame(void *linux_side) +void cppISteamClient_SteamClient009_RunFrame( struct cppISteamClient_SteamClient009_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient009_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient009_GetIPCCallCount( struct cppISteamClient_SteamClient009_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamClient_SteamClient009_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient009_SetWarningMessageHook( struct cppISteamClient_SteamClient009_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient009.h b/lsteamclient/cppISteamClient_SteamClient009.h index c32058ea..8055d514 100644 --- a/lsteamclient/cppISteamClient_SteamClient009.h +++ b/lsteamclient/cppISteamClient_SteamClient009.h @@ -1,22 +1,197 @@ -extern HSteamPipe cppISteamClient_SteamClient009_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient009_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient009_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient009_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient009_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient009_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient009_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient009_SetLocalIPBinding(void *, uint32, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient009_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient009_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient009_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMasterServerUpdater*/ * cppISteamClient_SteamClient009_GetISteamMasterServerUpdater(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient009_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient009_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient009_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient009_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient009_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient009_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient009_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient009_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient009_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient009_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); +struct cppISteamClient_SteamClient009_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient009_CreateSteamPipe( struct cppISteamClient_SteamClient009_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient009_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient009_BReleaseSteamPipe( struct cppISteamClient_SteamClient009_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient009_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient009_ConnectToGlobalUser( struct cppISteamClient_SteamClient009_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient009_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; + EAccountType eAccountType; +}; +extern void cppISteamClient_SteamClient009_CreateLocalUser( struct cppISteamClient_SteamClient009_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient009_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient009_ReleaseUser( struct cppISteamClient_SteamClient009_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient009_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient009_GetISteamUser( struct cppISteamClient_SteamClient009_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient009_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient009_GetISteamGameServer( struct cppISteamClient_SteamClient009_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient009_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient009_SetLocalIPBinding( struct cppISteamClient_SteamClient009_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient009_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient009_GetISteamFriends( struct cppISteamClient_SteamClient009_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient009_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient009_GetISteamUtils( struct cppISteamClient_SteamClient009_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient009_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient009_GetISteamMatchmaking( struct cppISteamClient_SteamClient009_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient009_GetISteamMasterServerUpdater_params +{ + void *linux_side; + void /*ISteamMasterServerUpdater*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient009_GetISteamMasterServerUpdater( struct cppISteamClient_SteamClient009_GetISteamMasterServerUpdater_params *params ); + +struct cppISteamClient_SteamClient009_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient009_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient009_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient009_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient009_GetISteamGenericInterface( struct cppISteamClient_SteamClient009_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient009_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient009_GetISteamUserStats( struct cppISteamClient_SteamClient009_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient009_GetISteamGameServerStats_params +{ + void *linux_side; + void /*ISteamGameServerStats*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient009_GetISteamGameServerStats( struct cppISteamClient_SteamClient009_GetISteamGameServerStats_params *params ); + +struct cppISteamClient_SteamClient009_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient009_GetISteamApps( struct cppISteamClient_SteamClient009_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient009_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient009_GetISteamNetworking( struct cppISteamClient_SteamClient009_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient009_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient009_GetISteamRemoteStorage( struct cppISteamClient_SteamClient009_GetISteamRemoteStorage_params *params ); + +struct cppISteamClient_SteamClient009_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient009_RunFrame( struct cppISteamClient_SteamClient009_RunFrame_params *params ); + +struct cppISteamClient_SteamClient009_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient009_GetIPCCallCount( struct cppISteamClient_SteamClient009_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient009_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient009_SetWarningMessageHook( struct cppISteamClient_SteamClient009_SetWarningMessageHook_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient010.cpp b/lsteamclient/cppISteamClient_SteamClient010.cpp index 9feb9e86..fc27c7f3 100644 --- a/lsteamclient/cppISteamClient_SteamClient010.cpp +++ b/lsteamclient/cppISteamClient_SteamClient010.cpp @@ -11,165 +11,127 @@ extern "C" { #define SDKVER_115 #include "struct_converters.h" #include "cppISteamClient_SteamClient010.h" -HSteamPipe cppISteamClient_SteamClient010_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient010_CreateSteamPipe( struct cppISteamClient_SteamClient010_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient010_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient010_BReleaseSteamPipe( struct cppISteamClient_SteamClient010_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient010_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient010_ConnectToGlobalUser( struct cppISteamClient_SteamClient010_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient010_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType) +void cppISteamClient_SteamClient010_CreateLocalUser( struct cppISteamClient_SteamClient010_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe, (EAccountType)params->eAccountType ); } -void cppISteamClient_SteamClient010_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient010_ReleaseUser( struct cppISteamClient_SteamClient010_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient010_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamUser( struct cppISteamClient_SteamClient010_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient010_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamGameServer( struct cppISteamClient_SteamClient010_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient010_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient010_SetLocalIPBinding( struct cppISteamClient_SteamClient010_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient010_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamFriends( struct cppISteamClient_SteamClient010_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient010_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamUtils( struct cppISteamClient_SteamClient010_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient010_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamMatchmaking( struct cppISteamClient_SteamClient010_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMasterServerUpdater*/ * cppISteamClient_SteamClient010_GetISteamMasterServerUpdater(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamMasterServerUpdater( struct cppISteamClient_SteamClient010_GetISteamMasterServerUpdater_params *params ) { - void /*ISteamMasterServerUpdater*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMasterServerUpdater((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMasterServerUpdater( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient010_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient010_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient010_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamGenericInterface( struct cppISteamClient_SteamClient010_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient010_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamUserStats( struct cppISteamClient_SteamClient010_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient010_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamGameServerStats( struct cppISteamClient_SteamClient010_GetISteamGameServerStats_params *params ) { - void /*ISteamGameServerStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServerStats( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient010_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamApps( struct cppISteamClient_SteamClient010_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient010_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamNetworking( struct cppISteamClient_SteamClient010_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient010_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamRemoteStorage( struct cppISteamClient_SteamClient010_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient010_RunFrame(void *linux_side) +void cppISteamClient_SteamClient010_RunFrame( struct cppISteamClient_SteamClient010_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient010_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient010_GetIPCCallCount( struct cppISteamClient_SteamClient010_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamClient_SteamClient010_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient010_SetWarningMessageHook( struct cppISteamClient_SteamClient010_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed(void *linux_side) +void cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed(); - return after_shutdown(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BShutdownIfAllPipesClosed( ); + params->_ret = after_shutdown( params->_ret ); } -void /*ISteamHTTP*/ * cppISteamClient_SteamClient010_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient010_GetISteamHTTP( struct cppISteamClient_SteamClient010_GetISteamHTTP_params *params ) { - void /*ISteamHTTP*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTTP( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient010.h b/lsteamclient/cppISteamClient_SteamClient010.h index cca18530..35bb9032 100644 --- a/lsteamclient/cppISteamClient_SteamClient010.h +++ b/lsteamclient/cppISteamClient_SteamClient010.h @@ -1,24 +1,214 @@ -extern HSteamPipe cppISteamClient_SteamClient010_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient010_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient010_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient010_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient010_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient010_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient010_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient010_SetLocalIPBinding(void *, uint32, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient010_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient010_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient010_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMasterServerUpdater*/ * cppISteamClient_SteamClient010_GetISteamMasterServerUpdater(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient010_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient010_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient010_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient010_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient010_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient010_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient010_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient010_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient010_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient010_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed(void *); -extern void /*ISteamHTTP*/ * cppISteamClient_SteamClient010_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); +struct cppISteamClient_SteamClient010_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient010_CreateSteamPipe( struct cppISteamClient_SteamClient010_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient010_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient010_BReleaseSteamPipe( struct cppISteamClient_SteamClient010_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient010_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient010_ConnectToGlobalUser( struct cppISteamClient_SteamClient010_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient010_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; + EAccountType eAccountType; +}; +extern void cppISteamClient_SteamClient010_CreateLocalUser( struct cppISteamClient_SteamClient010_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient010_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient010_ReleaseUser( struct cppISteamClient_SteamClient010_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamUser( struct cppISteamClient_SteamClient010_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamGameServer( struct cppISteamClient_SteamClient010_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient010_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient010_SetLocalIPBinding( struct cppISteamClient_SteamClient010_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamFriends( struct cppISteamClient_SteamClient010_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamUtils( struct cppISteamClient_SteamClient010_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamMatchmaking( struct cppISteamClient_SteamClient010_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamMasterServerUpdater_params +{ + void *linux_side; + void /*ISteamMasterServerUpdater*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamMasterServerUpdater( struct cppISteamClient_SteamClient010_GetISteamMasterServerUpdater_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient010_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamGenericInterface( struct cppISteamClient_SteamClient010_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamUserStats( struct cppISteamClient_SteamClient010_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamGameServerStats_params +{ + void *linux_side; + void /*ISteamGameServerStats*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamGameServerStats( struct cppISteamClient_SteamClient010_GetISteamGameServerStats_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamApps( struct cppISteamClient_SteamClient010_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamNetworking( struct cppISteamClient_SteamClient010_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamRemoteStorage( struct cppISteamClient_SteamClient010_GetISteamRemoteStorage_params *params ); + +struct cppISteamClient_SteamClient010_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient010_RunFrame( struct cppISteamClient_SteamClient010_RunFrame_params *params ); + +struct cppISteamClient_SteamClient010_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient010_GetIPCCallCount( struct cppISteamClient_SteamClient010_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient010_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient010_SetWarningMessageHook( struct cppISteamClient_SteamClient010_SetWarningMessageHook_params *params ); + +struct cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed_params *params ); + +struct cppISteamClient_SteamClient010_GetISteamHTTP_params +{ + void *linux_side; + void /*ISteamHTTP*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient010_GetISteamHTTP( struct cppISteamClient_SteamClient010_GetISteamHTTP_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient011.cpp b/lsteamclient/cppISteamClient_SteamClient011.cpp index 809e97dd..b0fbcf5b 100644 --- a/lsteamclient/cppISteamClient_SteamClient011.cpp +++ b/lsteamclient/cppISteamClient_SteamClient011.cpp @@ -11,172 +11,132 @@ extern "C" { #define SDKVER_116 #include "struct_converters.h" #include "cppISteamClient_SteamClient011.h" -HSteamPipe cppISteamClient_SteamClient011_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient011_CreateSteamPipe( struct cppISteamClient_SteamClient011_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient011_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient011_BReleaseSteamPipe( struct cppISteamClient_SteamClient011_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient011_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient011_ConnectToGlobalUser( struct cppISteamClient_SteamClient011_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient011_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType) +void cppISteamClient_SteamClient011_CreateLocalUser( struct cppISteamClient_SteamClient011_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe, (EAccountType)params->eAccountType ); } -void cppISteamClient_SteamClient011_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient011_ReleaseUser( struct cppISteamClient_SteamClient011_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient011_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamUser( struct cppISteamClient_SteamClient011_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient011_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamGameServer( struct cppISteamClient_SteamClient011_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient011_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient011_SetLocalIPBinding( struct cppISteamClient_SteamClient011_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient011_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamFriends( struct cppISteamClient_SteamClient011_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient011_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamUtils( struct cppISteamClient_SteamClient011_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient011_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamMatchmaking( struct cppISteamClient_SteamClient011_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMasterServerUpdater*/ * cppISteamClient_SteamClient011_GetISteamMasterServerUpdater(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamMasterServerUpdater( struct cppISteamClient_SteamClient011_GetISteamMasterServerUpdater_params *params ) { - void /*ISteamMasterServerUpdater*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMasterServerUpdater((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMasterServerUpdater( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient011_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient011_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient011_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamGenericInterface( struct cppISteamClient_SteamClient011_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient011_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamUserStats( struct cppISteamClient_SteamClient011_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient011_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamGameServerStats( struct cppISteamClient_SteamClient011_GetISteamGameServerStats_params *params ) { - void /*ISteamGameServerStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServerStats( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient011_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamApps( struct cppISteamClient_SteamClient011_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient011_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamNetworking( struct cppISteamClient_SteamClient011_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient011_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamRemoteStorage( struct cppISteamClient_SteamClient011_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamScreenshots*/ * cppISteamClient_SteamClient011_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamScreenshots( struct cppISteamClient_SteamClient011_GetISteamScreenshots_params *params ) { - void /*ISteamScreenshots*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamScreenshots( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient011_RunFrame(void *linux_side) +void cppISteamClient_SteamClient011_RunFrame( struct cppISteamClient_SteamClient011_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient011_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient011_GetIPCCallCount( struct cppISteamClient_SteamClient011_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamClient_SteamClient011_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient011_SetWarningMessageHook( struct cppISteamClient_SteamClient011_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamClient_SteamClient011_BShutdownIfAllPipesClosed(void *linux_side) +void cppISteamClient_SteamClient011_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient011_BShutdownIfAllPipesClosed_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed(); - return after_shutdown(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BShutdownIfAllPipesClosed( ); + params->_ret = after_shutdown( params->_ret ); } -void /*ISteamHTTP*/ * cppISteamClient_SteamClient011_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient011_GetISteamHTTP( struct cppISteamClient_SteamClient011_GetISteamHTTP_params *params ) { - void /*ISteamHTTP*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTTP( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient011.h b/lsteamclient/cppISteamClient_SteamClient011.h index 5d5735ed..fbf34600 100644 --- a/lsteamclient/cppISteamClient_SteamClient011.h +++ b/lsteamclient/cppISteamClient_SteamClient011.h @@ -1,25 +1,224 @@ -extern HSteamPipe cppISteamClient_SteamClient011_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient011_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient011_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient011_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient011_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient011_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient011_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient011_SetLocalIPBinding(void *, uint32, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient011_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient011_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient011_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMasterServerUpdater*/ * cppISteamClient_SteamClient011_GetISteamMasterServerUpdater(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient011_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient011_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient011_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient011_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient011_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient011_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient011_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamScreenshots*/ * cppISteamClient_SteamClient011_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient011_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient011_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient011_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient011_BShutdownIfAllPipesClosed(void *); -extern void /*ISteamHTTP*/ * cppISteamClient_SteamClient011_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); +struct cppISteamClient_SteamClient011_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient011_CreateSteamPipe( struct cppISteamClient_SteamClient011_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient011_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient011_BReleaseSteamPipe( struct cppISteamClient_SteamClient011_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient011_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient011_ConnectToGlobalUser( struct cppISteamClient_SteamClient011_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient011_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; + EAccountType eAccountType; +}; +extern void cppISteamClient_SteamClient011_CreateLocalUser( struct cppISteamClient_SteamClient011_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient011_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient011_ReleaseUser( struct cppISteamClient_SteamClient011_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamUser( struct cppISteamClient_SteamClient011_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamGameServer( struct cppISteamClient_SteamClient011_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient011_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient011_SetLocalIPBinding( struct cppISteamClient_SteamClient011_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamFriends( struct cppISteamClient_SteamClient011_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamUtils( struct cppISteamClient_SteamClient011_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamMatchmaking( struct cppISteamClient_SteamClient011_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamMasterServerUpdater_params +{ + void *linux_side; + void /*ISteamMasterServerUpdater*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamMasterServerUpdater( struct cppISteamClient_SteamClient011_GetISteamMasterServerUpdater_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient011_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamGenericInterface( struct cppISteamClient_SteamClient011_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamUserStats( struct cppISteamClient_SteamClient011_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamGameServerStats_params +{ + void *linux_side; + void /*ISteamGameServerStats*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamGameServerStats( struct cppISteamClient_SteamClient011_GetISteamGameServerStats_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamApps( struct cppISteamClient_SteamClient011_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamNetworking( struct cppISteamClient_SteamClient011_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamRemoteStorage( struct cppISteamClient_SteamClient011_GetISteamRemoteStorage_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamScreenshots_params +{ + void *linux_side; + void /*ISteamScreenshots*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamScreenshots( struct cppISteamClient_SteamClient011_GetISteamScreenshots_params *params ); + +struct cppISteamClient_SteamClient011_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient011_RunFrame( struct cppISteamClient_SteamClient011_RunFrame_params *params ); + +struct cppISteamClient_SteamClient011_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient011_GetIPCCallCount( struct cppISteamClient_SteamClient011_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient011_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient011_SetWarningMessageHook( struct cppISteamClient_SteamClient011_SetWarningMessageHook_params *params ); + +struct cppISteamClient_SteamClient011_BShutdownIfAllPipesClosed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamClient_SteamClient011_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient011_BShutdownIfAllPipesClosed_params *params ); + +struct cppISteamClient_SteamClient011_GetISteamHTTP_params +{ + void *linux_side; + void /*ISteamHTTP*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient011_GetISteamHTTP( struct cppISteamClient_SteamClient011_GetISteamHTTP_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient012.cpp b/lsteamclient/cppISteamClient_SteamClient012.cpp index e04c8fc7..eb248691 100644 --- a/lsteamclient/cppISteamClient_SteamClient012.cpp +++ b/lsteamclient/cppISteamClient_SteamClient012.cpp @@ -11,186 +11,142 @@ extern "C" { #define SDKVER_128 #include "struct_converters.h" #include "cppISteamClient_SteamClient012.h" -HSteamPipe cppISteamClient_SteamClient012_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient012_CreateSteamPipe( struct cppISteamClient_SteamClient012_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient012_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient012_BReleaseSteamPipe( struct cppISteamClient_SteamClient012_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient012_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient012_ConnectToGlobalUser( struct cppISteamClient_SteamClient012_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient012_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType) +void cppISteamClient_SteamClient012_CreateLocalUser( struct cppISteamClient_SteamClient012_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe, (EAccountType)params->eAccountType ); } -void cppISteamClient_SteamClient012_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient012_ReleaseUser( struct cppISteamClient_SteamClient012_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient012_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamUser( struct cppISteamClient_SteamClient012_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient012_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamGameServer( struct cppISteamClient_SteamClient012_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient012_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient012_SetLocalIPBinding( struct cppISteamClient_SteamClient012_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient012_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamFriends( struct cppISteamClient_SteamClient012_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient012_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamUtils( struct cppISteamClient_SteamClient012_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient012_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamMatchmaking( struct cppISteamClient_SteamClient012_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient012_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient012_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient012_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamGenericInterface( struct cppISteamClient_SteamClient012_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient012_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamUserStats( struct cppISteamClient_SteamClient012_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient012_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamGameServerStats( struct cppISteamClient_SteamClient012_GetISteamGameServerStats_params *params ) { - void /*ISteamGameServerStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServerStats( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient012_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamApps( struct cppISteamClient_SteamClient012_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient012_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamNetworking( struct cppISteamClient_SteamClient012_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient012_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamRemoteStorage( struct cppISteamClient_SteamClient012_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamScreenshots*/ * cppISteamClient_SteamClient012_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamScreenshots( struct cppISteamClient_SteamClient012_GetISteamScreenshots_params *params ) { - void /*ISteamScreenshots*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamScreenshots( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient012_RunFrame(void *linux_side) +void cppISteamClient_SteamClient012_RunFrame( struct cppISteamClient_SteamClient012_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient012_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient012_GetIPCCallCount( struct cppISteamClient_SteamClient012_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamClient_SteamClient012_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient012_SetWarningMessageHook( struct cppISteamClient_SteamClient012_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamClient_SteamClient012_BShutdownIfAllPipesClosed(void *linux_side) +void cppISteamClient_SteamClient012_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient012_BShutdownIfAllPipesClosed_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed(); - return after_shutdown(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BShutdownIfAllPipesClosed( ); + params->_ret = after_shutdown( params->_ret ); } -void /*ISteamHTTP*/ * cppISteamClient_SteamClient012_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamHTTP( struct cppISteamClient_SteamClient012_GetISteamHTTP_params *params ) { - void /*ISteamHTTP*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTTP( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUnifiedMessages*/ * cppISteamClient_SteamClient012_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient012_GetISteamUnifiedMessages_params *params ) { - void /*ISteamUnifiedMessages*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUnifiedMessages( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamController*/ * cppISteamClient_SteamClient012_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamController( struct cppISteamClient_SteamClient012_GetISteamController_params *params ) { - void /*ISteamController*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamController( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUGC*/ * cppISteamClient_SteamClient012_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient012_GetISteamUGC( struct cppISteamClient_SteamClient012_GetISteamUGC_params *params ) { - void /*ISteamUGC*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUGC( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient012.h b/lsteamclient/cppISteamClient_SteamClient012.h index 5bbfe4cf..5d8c5131 100644 --- a/lsteamclient/cppISteamClient_SteamClient012.h +++ b/lsteamclient/cppISteamClient_SteamClient012.h @@ -1,27 +1,244 @@ -extern HSteamPipe cppISteamClient_SteamClient012_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient012_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient012_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient012_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient012_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient012_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient012_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient012_SetLocalIPBinding(void *, uint32, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient012_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient012_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient012_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient012_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient012_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient012_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient012_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient012_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient012_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient012_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamScreenshots*/ * cppISteamClient_SteamClient012_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient012_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient012_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient012_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient012_BShutdownIfAllPipesClosed(void *); -extern void /*ISteamHTTP*/ * cppISteamClient_SteamClient012_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUnifiedMessages*/ * cppISteamClient_SteamClient012_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamController*/ * cppISteamClient_SteamClient012_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUGC*/ * cppISteamClient_SteamClient012_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); +struct cppISteamClient_SteamClient012_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient012_CreateSteamPipe( struct cppISteamClient_SteamClient012_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient012_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient012_BReleaseSteamPipe( struct cppISteamClient_SteamClient012_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient012_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient012_ConnectToGlobalUser( struct cppISteamClient_SteamClient012_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient012_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; + EAccountType eAccountType; +}; +extern void cppISteamClient_SteamClient012_CreateLocalUser( struct cppISteamClient_SteamClient012_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient012_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient012_ReleaseUser( struct cppISteamClient_SteamClient012_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamUser( struct cppISteamClient_SteamClient012_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamGameServer( struct cppISteamClient_SteamClient012_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient012_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient012_SetLocalIPBinding( struct cppISteamClient_SteamClient012_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamFriends( struct cppISteamClient_SteamClient012_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamUtils( struct cppISteamClient_SteamClient012_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamMatchmaking( struct cppISteamClient_SteamClient012_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient012_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamGenericInterface( struct cppISteamClient_SteamClient012_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamUserStats( struct cppISteamClient_SteamClient012_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamGameServerStats_params +{ + void *linux_side; + void /*ISteamGameServerStats*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamGameServerStats( struct cppISteamClient_SteamClient012_GetISteamGameServerStats_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamApps( struct cppISteamClient_SteamClient012_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamNetworking( struct cppISteamClient_SteamClient012_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamRemoteStorage( struct cppISteamClient_SteamClient012_GetISteamRemoteStorage_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamScreenshots_params +{ + void *linux_side; + void /*ISteamScreenshots*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamScreenshots( struct cppISteamClient_SteamClient012_GetISteamScreenshots_params *params ); + +struct cppISteamClient_SteamClient012_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient012_RunFrame( struct cppISteamClient_SteamClient012_RunFrame_params *params ); + +struct cppISteamClient_SteamClient012_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient012_GetIPCCallCount( struct cppISteamClient_SteamClient012_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient012_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient012_SetWarningMessageHook( struct cppISteamClient_SteamClient012_SetWarningMessageHook_params *params ); + +struct cppISteamClient_SteamClient012_BShutdownIfAllPipesClosed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamClient_SteamClient012_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient012_BShutdownIfAllPipesClosed_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamHTTP_params +{ + void *linux_side; + void /*ISteamHTTP*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamHTTP( struct cppISteamClient_SteamClient012_GetISteamHTTP_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamUnifiedMessages_params +{ + void *linux_side; + void /*ISteamUnifiedMessages*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient012_GetISteamUnifiedMessages_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamController_params +{ + void *linux_side; + void /*ISteamController*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamController( struct cppISteamClient_SteamClient012_GetISteamController_params *params ); + +struct cppISteamClient_SteamClient012_GetISteamUGC_params +{ + void *linux_side; + void /*ISteamUGC*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient012_GetISteamUGC( struct cppISteamClient_SteamClient012_GetISteamUGC_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient013.cpp b/lsteamclient/cppISteamClient_SteamClient013.cpp index bdf13c85..d1093e4e 100644 --- a/lsteamclient/cppISteamClient_SteamClient013.cpp +++ b/lsteamclient/cppISteamClient_SteamClient013.cpp @@ -11,207 +11,157 @@ extern "C" { #define SDKVER_128x #include "struct_converters.h" #include "cppISteamClient_SteamClient013.h" -HSteamPipe cppISteamClient_SteamClient013_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient013_CreateSteamPipe( struct cppISteamClient_SteamClient013_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient013_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient013_BReleaseSteamPipe( struct cppISteamClient_SteamClient013_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient013_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient013_ConnectToGlobalUser( struct cppISteamClient_SteamClient013_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient013_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType) +void cppISteamClient_SteamClient013_CreateLocalUser( struct cppISteamClient_SteamClient013_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe, (EAccountType)params->eAccountType ); } -void cppISteamClient_SteamClient013_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient013_ReleaseUser( struct cppISteamClient_SteamClient013_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient013_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamUser( struct cppISteamClient_SteamClient013_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient013_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamGameServer( struct cppISteamClient_SteamClient013_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient013_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient013_SetLocalIPBinding( struct cppISteamClient_SteamClient013_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient013_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamFriends( struct cppISteamClient_SteamClient013_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient013_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamUtils( struct cppISteamClient_SteamClient013_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient013_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamMatchmaking( struct cppISteamClient_SteamClient013_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient013_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient013_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient013_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamGenericInterface( struct cppISteamClient_SteamClient013_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient013_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamUserStats( struct cppISteamClient_SteamClient013_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient013_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamGameServerStats( struct cppISteamClient_SteamClient013_GetISteamGameServerStats_params *params ) { - void /*ISteamGameServerStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServerStats( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient013_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamApps( struct cppISteamClient_SteamClient013_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient013_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamNetworking( struct cppISteamClient_SteamClient013_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient013_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamRemoteStorage( struct cppISteamClient_SteamClient013_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamScreenshots*/ * cppISteamClient_SteamClient013_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamScreenshots( struct cppISteamClient_SteamClient013_GetISteamScreenshots_params *params ) { - void /*ISteamScreenshots*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamScreenshots( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient013_RunFrame(void *linux_side) +void cppISteamClient_SteamClient013_RunFrame( struct cppISteamClient_SteamClient013_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient013_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient013_GetIPCCallCount( struct cppISteamClient_SteamClient013_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamClient_SteamClient013_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient013_SetWarningMessageHook( struct cppISteamClient_SteamClient013_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed(void *linux_side) +void cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed(); - return after_shutdown(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BShutdownIfAllPipesClosed( ); + params->_ret = after_shutdown( params->_ret ); } -void /*ISteamHTTP*/ * cppISteamClient_SteamClient013_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamHTTP( struct cppISteamClient_SteamClient013_GetISteamHTTP_params *params ) { - void /*ISteamHTTP*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTTP( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUnifiedMessages*/ * cppISteamClient_SteamClient013_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient013_GetISteamUnifiedMessages_params *params ) { - void /*ISteamUnifiedMessages*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUnifiedMessages( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamController*/ * cppISteamClient_SteamClient013_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamController( struct cppISteamClient_SteamClient013_GetISteamController_params *params ) { - void /*ISteamController*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamController( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUGC*/ * cppISteamClient_SteamClient013_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamUGC( struct cppISteamClient_SteamClient013_GetISteamUGC_params *params ) { - void /*ISteamUGC*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUGC( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient013_GetISteamInventory(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamInventory( struct cppISteamClient_SteamClient013_GetISteamInventory_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamInventory((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamInventory( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient013_GetISteamVideo(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamVideo( struct cppISteamClient_SteamClient013_GetISteamVideo_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamVideo((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamVideo( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamAppList*/ * cppISteamClient_SteamClient013_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient013_GetISteamAppList( struct cppISteamClient_SteamClient013_GetISteamAppList_params *params ) { - void /*ISteamAppList*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamAppList( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient013.h b/lsteamclient/cppISteamClient_SteamClient013.h index 1a53edb3..d51097d5 100644 --- a/lsteamclient/cppISteamClient_SteamClient013.h +++ b/lsteamclient/cppISteamClient_SteamClient013.h @@ -1,30 +1,274 @@ -extern HSteamPipe cppISteamClient_SteamClient013_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient013_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient013_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient013_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient013_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient013_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient013_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient013_SetLocalIPBinding(void *, uint32, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient013_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient013_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient013_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient013_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient013_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient013_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient013_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient013_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient013_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient013_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamScreenshots*/ * cppISteamClient_SteamClient013_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient013_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient013_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient013_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed(void *); -extern void /*ISteamHTTP*/ * cppISteamClient_SteamClient013_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUnifiedMessages*/ * cppISteamClient_SteamClient013_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamController*/ * cppISteamClient_SteamClient013_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUGC*/ * cppISteamClient_SteamClient013_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient013_GetISteamInventory(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient013_GetISteamVideo(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamAppList*/ * cppISteamClient_SteamClient013_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); +struct cppISteamClient_SteamClient013_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient013_CreateSteamPipe( struct cppISteamClient_SteamClient013_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient013_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient013_BReleaseSteamPipe( struct cppISteamClient_SteamClient013_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient013_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient013_ConnectToGlobalUser( struct cppISteamClient_SteamClient013_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient013_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; + EAccountType eAccountType; +}; +extern void cppISteamClient_SteamClient013_CreateLocalUser( struct cppISteamClient_SteamClient013_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient013_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient013_ReleaseUser( struct cppISteamClient_SteamClient013_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamUser( struct cppISteamClient_SteamClient013_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamGameServer( struct cppISteamClient_SteamClient013_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient013_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient013_SetLocalIPBinding( struct cppISteamClient_SteamClient013_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamFriends( struct cppISteamClient_SteamClient013_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamUtils( struct cppISteamClient_SteamClient013_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamMatchmaking( struct cppISteamClient_SteamClient013_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient013_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamGenericInterface( struct cppISteamClient_SteamClient013_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamUserStats( struct cppISteamClient_SteamClient013_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamGameServerStats_params +{ + void *linux_side; + void /*ISteamGameServerStats*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamGameServerStats( struct cppISteamClient_SteamClient013_GetISteamGameServerStats_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamApps( struct cppISteamClient_SteamClient013_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamNetworking( struct cppISteamClient_SteamClient013_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamRemoteStorage( struct cppISteamClient_SteamClient013_GetISteamRemoteStorage_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamScreenshots_params +{ + void *linux_side; + void /*ISteamScreenshots*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamScreenshots( struct cppISteamClient_SteamClient013_GetISteamScreenshots_params *params ); + +struct cppISteamClient_SteamClient013_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient013_RunFrame( struct cppISteamClient_SteamClient013_RunFrame_params *params ); + +struct cppISteamClient_SteamClient013_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient013_GetIPCCallCount( struct cppISteamClient_SteamClient013_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient013_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient013_SetWarningMessageHook( struct cppISteamClient_SteamClient013_SetWarningMessageHook_params *params ); + +struct cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamHTTP_params +{ + void *linux_side; + void /*ISteamHTTP*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamHTTP( struct cppISteamClient_SteamClient013_GetISteamHTTP_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamUnifiedMessages_params +{ + void *linux_side; + void /*ISteamUnifiedMessages*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient013_GetISteamUnifiedMessages_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamController_params +{ + void *linux_side; + void /*ISteamController*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamController( struct cppISteamClient_SteamClient013_GetISteamController_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamUGC_params +{ + void *linux_side; + void /*ISteamUGC*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamUGC( struct cppISteamClient_SteamClient013_GetISteamUGC_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamInventory_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamInventory( struct cppISteamClient_SteamClient013_GetISteamInventory_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamVideo_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamVideo( struct cppISteamClient_SteamClient013_GetISteamVideo_params *params ); + +struct cppISteamClient_SteamClient013_GetISteamAppList_params +{ + void *linux_side; + void /*ISteamAppList*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient013_GetISteamAppList( struct cppISteamClient_SteamClient013_GetISteamAppList_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient014.cpp b/lsteamclient/cppISteamClient_SteamClient014.cpp index fe1d26df..c3b5fe66 100644 --- a/lsteamclient/cppISteamClient_SteamClient014.cpp +++ b/lsteamclient/cppISteamClient_SteamClient014.cpp @@ -11,200 +11,152 @@ extern "C" { #define SDKVER_129a #include "struct_converters.h" #include "cppISteamClient_SteamClient014.h" -HSteamPipe cppISteamClient_SteamClient014_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient014_CreateSteamPipe( struct cppISteamClient_SteamClient014_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient014_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient014_BReleaseSteamPipe( struct cppISteamClient_SteamClient014_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient014_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient014_ConnectToGlobalUser( struct cppISteamClient_SteamClient014_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient014_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType) +void cppISteamClient_SteamClient014_CreateLocalUser( struct cppISteamClient_SteamClient014_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe, (EAccountType)params->eAccountType ); } -void cppISteamClient_SteamClient014_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient014_ReleaseUser( struct cppISteamClient_SteamClient014_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient014_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamUser( struct cppISteamClient_SteamClient014_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient014_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamGameServer( struct cppISteamClient_SteamClient014_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient014_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient014_SetLocalIPBinding( struct cppISteamClient_SteamClient014_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient014_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamFriends( struct cppISteamClient_SteamClient014_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient014_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamUtils( struct cppISteamClient_SteamClient014_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient014_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamMatchmaking( struct cppISteamClient_SteamClient014_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient014_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient014_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient014_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamGenericInterface( struct cppISteamClient_SteamClient014_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient014_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamUserStats( struct cppISteamClient_SteamClient014_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient014_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamGameServerStats( struct cppISteamClient_SteamClient014_GetISteamGameServerStats_params *params ) { - void /*ISteamGameServerStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServerStats( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient014_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamApps( struct cppISteamClient_SteamClient014_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient014_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamNetworking( struct cppISteamClient_SteamClient014_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient014_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamRemoteStorage( struct cppISteamClient_SteamClient014_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamScreenshots*/ * cppISteamClient_SteamClient014_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamScreenshots( struct cppISteamClient_SteamClient014_GetISteamScreenshots_params *params ) { - void /*ISteamScreenshots*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamScreenshots( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient014_RunFrame(void *linux_side) +void cppISteamClient_SteamClient014_RunFrame( struct cppISteamClient_SteamClient014_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient014_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient014_GetIPCCallCount( struct cppISteamClient_SteamClient014_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamClient_SteamClient014_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient014_SetWarningMessageHook( struct cppISteamClient_SteamClient014_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamClient_SteamClient014_BShutdownIfAllPipesClosed(void *linux_side) +void cppISteamClient_SteamClient014_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient014_BShutdownIfAllPipesClosed_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed(); - return after_shutdown(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BShutdownIfAllPipesClosed( ); + params->_ret = after_shutdown( params->_ret ); } -void /*ISteamHTTP*/ * cppISteamClient_SteamClient014_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamHTTP( struct cppISteamClient_SteamClient014_GetISteamHTTP_params *params ) { - void /*ISteamHTTP*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTTP( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUnifiedMessages*/ * cppISteamClient_SteamClient014_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient014_GetISteamUnifiedMessages_params *params ) { - void /*ISteamUnifiedMessages*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUnifiedMessages( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamController*/ * cppISteamClient_SteamClient014_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamController( struct cppISteamClient_SteamClient014_GetISteamController_params *params ) { - void /*ISteamController*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamController( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUGC*/ * cppISteamClient_SteamClient014_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamUGC( struct cppISteamClient_SteamClient014_GetISteamUGC_params *params ) { - void /*ISteamUGC*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUGC( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamAppList*/ * cppISteamClient_SteamClient014_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamAppList( struct cppISteamClient_SteamClient014_GetISteamAppList_params *params ) { - void /*ISteamAppList*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamAppList( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMusic*/ * cppISteamClient_SteamClient014_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient014_GetISteamMusic( struct cppISteamClient_SteamClient014_GetISteamMusic_params *params ) { - void /*ISteamMusic*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMusic( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient014.h b/lsteamclient/cppISteamClient_SteamClient014.h index 073fe086..747ddd71 100644 --- a/lsteamclient/cppISteamClient_SteamClient014.h +++ b/lsteamclient/cppISteamClient_SteamClient014.h @@ -1,29 +1,264 @@ -extern HSteamPipe cppISteamClient_SteamClient014_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient014_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient014_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient014_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient014_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient014_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient014_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient014_SetLocalIPBinding(void *, uint32, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient014_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient014_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient014_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient014_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient014_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient014_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient014_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient014_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient014_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient014_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamScreenshots*/ * cppISteamClient_SteamClient014_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient014_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient014_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient014_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient014_BShutdownIfAllPipesClosed(void *); -extern void /*ISteamHTTP*/ * cppISteamClient_SteamClient014_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUnifiedMessages*/ * cppISteamClient_SteamClient014_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamController*/ * cppISteamClient_SteamClient014_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUGC*/ * cppISteamClient_SteamClient014_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamAppList*/ * cppISteamClient_SteamClient014_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMusic*/ * cppISteamClient_SteamClient014_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); +struct cppISteamClient_SteamClient014_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient014_CreateSteamPipe( struct cppISteamClient_SteamClient014_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient014_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient014_BReleaseSteamPipe( struct cppISteamClient_SteamClient014_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient014_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient014_ConnectToGlobalUser( struct cppISteamClient_SteamClient014_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient014_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; + EAccountType eAccountType; +}; +extern void cppISteamClient_SteamClient014_CreateLocalUser( struct cppISteamClient_SteamClient014_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient014_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient014_ReleaseUser( struct cppISteamClient_SteamClient014_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamUser( struct cppISteamClient_SteamClient014_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamGameServer( struct cppISteamClient_SteamClient014_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient014_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient014_SetLocalIPBinding( struct cppISteamClient_SteamClient014_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamFriends( struct cppISteamClient_SteamClient014_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamUtils( struct cppISteamClient_SteamClient014_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamMatchmaking( struct cppISteamClient_SteamClient014_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient014_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamGenericInterface( struct cppISteamClient_SteamClient014_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamUserStats( struct cppISteamClient_SteamClient014_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamGameServerStats_params +{ + void *linux_side; + void /*ISteamGameServerStats*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamGameServerStats( struct cppISteamClient_SteamClient014_GetISteamGameServerStats_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamApps( struct cppISteamClient_SteamClient014_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamNetworking( struct cppISteamClient_SteamClient014_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamRemoteStorage( struct cppISteamClient_SteamClient014_GetISteamRemoteStorage_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamScreenshots_params +{ + void *linux_side; + void /*ISteamScreenshots*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamScreenshots( struct cppISteamClient_SteamClient014_GetISteamScreenshots_params *params ); + +struct cppISteamClient_SteamClient014_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient014_RunFrame( struct cppISteamClient_SteamClient014_RunFrame_params *params ); + +struct cppISteamClient_SteamClient014_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient014_GetIPCCallCount( struct cppISteamClient_SteamClient014_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient014_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient014_SetWarningMessageHook( struct cppISteamClient_SteamClient014_SetWarningMessageHook_params *params ); + +struct cppISteamClient_SteamClient014_BShutdownIfAllPipesClosed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamClient_SteamClient014_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient014_BShutdownIfAllPipesClosed_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamHTTP_params +{ + void *linux_side; + void /*ISteamHTTP*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamHTTP( struct cppISteamClient_SteamClient014_GetISteamHTTP_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamUnifiedMessages_params +{ + void *linux_side; + void /*ISteamUnifiedMessages*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient014_GetISteamUnifiedMessages_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamController_params +{ + void *linux_side; + void /*ISteamController*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamController( struct cppISteamClient_SteamClient014_GetISteamController_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamUGC_params +{ + void *linux_side; + void /*ISteamUGC*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamUGC( struct cppISteamClient_SteamClient014_GetISteamUGC_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamAppList_params +{ + void *linux_side; + void /*ISteamAppList*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamAppList( struct cppISteamClient_SteamClient014_GetISteamAppList_params *params ); + +struct cppISteamClient_SteamClient014_GetISteamMusic_params +{ + void *linux_side; + void /*ISteamMusic*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient014_GetISteamMusic( struct cppISteamClient_SteamClient014_GetISteamMusic_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient015.cpp b/lsteamclient/cppISteamClient_SteamClient015.cpp index d84b1ef3..8fbf5a0e 100644 --- a/lsteamclient/cppISteamClient_SteamClient015.cpp +++ b/lsteamclient/cppISteamClient_SteamClient015.cpp @@ -11,207 +11,157 @@ extern "C" { #define SDKVER_130 #include "struct_converters.h" #include "cppISteamClient_SteamClient015.h" -HSteamPipe cppISteamClient_SteamClient015_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient015_CreateSteamPipe( struct cppISteamClient_SteamClient015_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient015_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient015_BReleaseSteamPipe( struct cppISteamClient_SteamClient015_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient015_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient015_ConnectToGlobalUser( struct cppISteamClient_SteamClient015_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient015_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType) +void cppISteamClient_SteamClient015_CreateLocalUser( struct cppISteamClient_SteamClient015_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe, (EAccountType)params->eAccountType ); } -void cppISteamClient_SteamClient015_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient015_ReleaseUser( struct cppISteamClient_SteamClient015_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient015_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamUser( struct cppISteamClient_SteamClient015_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient015_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamGameServer( struct cppISteamClient_SteamClient015_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient015_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient015_SetLocalIPBinding( struct cppISteamClient_SteamClient015_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient015_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamFriends( struct cppISteamClient_SteamClient015_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient015_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamUtils( struct cppISteamClient_SteamClient015_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient015_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamMatchmaking( struct cppISteamClient_SteamClient015_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient015_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient015_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient015_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamGenericInterface( struct cppISteamClient_SteamClient015_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient015_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamUserStats( struct cppISteamClient_SteamClient015_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient015_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamGameServerStats( struct cppISteamClient_SteamClient015_GetISteamGameServerStats_params *params ) { - void /*ISteamGameServerStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServerStats( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient015_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamApps( struct cppISteamClient_SteamClient015_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient015_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamNetworking( struct cppISteamClient_SteamClient015_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient015_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamRemoteStorage( struct cppISteamClient_SteamClient015_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamScreenshots*/ * cppISteamClient_SteamClient015_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamScreenshots( struct cppISteamClient_SteamClient015_GetISteamScreenshots_params *params ) { - void /*ISteamScreenshots*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamScreenshots( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient015_RunFrame(void *linux_side) +void cppISteamClient_SteamClient015_RunFrame( struct cppISteamClient_SteamClient015_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient015_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient015_GetIPCCallCount( struct cppISteamClient_SteamClient015_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamClient_SteamClient015_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient015_SetWarningMessageHook( struct cppISteamClient_SteamClient015_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamClient_SteamClient015_BShutdownIfAllPipesClosed(void *linux_side) +void cppISteamClient_SteamClient015_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient015_BShutdownIfAllPipesClosed_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed(); - return after_shutdown(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BShutdownIfAllPipesClosed( ); + params->_ret = after_shutdown( params->_ret ); } -void /*ISteamHTTP*/ * cppISteamClient_SteamClient015_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamHTTP( struct cppISteamClient_SteamClient015_GetISteamHTTP_params *params ) { - void /*ISteamHTTP*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTTP( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUnifiedMessages*/ * cppISteamClient_SteamClient015_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient015_GetISteamUnifiedMessages_params *params ) { - void /*ISteamUnifiedMessages*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUnifiedMessages( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamController*/ * cppISteamClient_SteamClient015_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamController( struct cppISteamClient_SteamClient015_GetISteamController_params *params ) { - void /*ISteamController*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamController( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUGC*/ * cppISteamClient_SteamClient015_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamUGC( struct cppISteamClient_SteamClient015_GetISteamUGC_params *params ) { - void /*ISteamUGC*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUGC( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamAppList*/ * cppISteamClient_SteamClient015_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamAppList( struct cppISteamClient_SteamClient015_GetISteamAppList_params *params ) { - void /*ISteamAppList*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamAppList( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMusic*/ * cppISteamClient_SteamClient015_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamMusic( struct cppISteamClient_SteamClient015_GetISteamMusic_params *params ) { - void /*ISteamMusic*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMusic( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMusicRemote*/ * cppISteamClient_SteamClient015_GetISteamMusicRemote(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient015_GetISteamMusicRemote( struct cppISteamClient_SteamClient015_GetISteamMusicRemote_params *params ) { - void /*ISteamMusicRemote*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMusicRemote((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMusicRemote( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient015.h b/lsteamclient/cppISteamClient_SteamClient015.h index 2a23b307..1ab732b1 100644 --- a/lsteamclient/cppISteamClient_SteamClient015.h +++ b/lsteamclient/cppISteamClient_SteamClient015.h @@ -1,30 +1,274 @@ -extern HSteamPipe cppISteamClient_SteamClient015_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient015_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient015_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient015_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient015_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient015_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient015_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient015_SetLocalIPBinding(void *, uint32, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient015_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient015_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient015_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient015_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient015_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient015_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient015_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient015_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient015_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient015_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamScreenshots*/ * cppISteamClient_SteamClient015_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient015_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient015_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient015_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient015_BShutdownIfAllPipesClosed(void *); -extern void /*ISteamHTTP*/ * cppISteamClient_SteamClient015_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUnifiedMessages*/ * cppISteamClient_SteamClient015_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamController*/ * cppISteamClient_SteamClient015_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUGC*/ * cppISteamClient_SteamClient015_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamAppList*/ * cppISteamClient_SteamClient015_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMusic*/ * cppISteamClient_SteamClient015_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMusicRemote*/ * cppISteamClient_SteamClient015_GetISteamMusicRemote(void *, HSteamUser, HSteamPipe, const char *); +struct cppISteamClient_SteamClient015_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient015_CreateSteamPipe( struct cppISteamClient_SteamClient015_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient015_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient015_BReleaseSteamPipe( struct cppISteamClient_SteamClient015_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient015_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient015_ConnectToGlobalUser( struct cppISteamClient_SteamClient015_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient015_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; + EAccountType eAccountType; +}; +extern void cppISteamClient_SteamClient015_CreateLocalUser( struct cppISteamClient_SteamClient015_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient015_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient015_ReleaseUser( struct cppISteamClient_SteamClient015_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamUser( struct cppISteamClient_SteamClient015_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamGameServer( struct cppISteamClient_SteamClient015_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient015_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient015_SetLocalIPBinding( struct cppISteamClient_SteamClient015_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamFriends( struct cppISteamClient_SteamClient015_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamUtils( struct cppISteamClient_SteamClient015_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamMatchmaking( struct cppISteamClient_SteamClient015_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient015_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamGenericInterface( struct cppISteamClient_SteamClient015_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamUserStats( struct cppISteamClient_SteamClient015_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamGameServerStats_params +{ + void *linux_side; + void /*ISteamGameServerStats*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamGameServerStats( struct cppISteamClient_SteamClient015_GetISteamGameServerStats_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamApps( struct cppISteamClient_SteamClient015_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamNetworking( struct cppISteamClient_SteamClient015_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamRemoteStorage( struct cppISteamClient_SteamClient015_GetISteamRemoteStorage_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamScreenshots_params +{ + void *linux_side; + void /*ISteamScreenshots*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamScreenshots( struct cppISteamClient_SteamClient015_GetISteamScreenshots_params *params ); + +struct cppISteamClient_SteamClient015_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient015_RunFrame( struct cppISteamClient_SteamClient015_RunFrame_params *params ); + +struct cppISteamClient_SteamClient015_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient015_GetIPCCallCount( struct cppISteamClient_SteamClient015_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient015_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient015_SetWarningMessageHook( struct cppISteamClient_SteamClient015_SetWarningMessageHook_params *params ); + +struct cppISteamClient_SteamClient015_BShutdownIfAllPipesClosed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamClient_SteamClient015_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient015_BShutdownIfAllPipesClosed_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamHTTP_params +{ + void *linux_side; + void /*ISteamHTTP*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamHTTP( struct cppISteamClient_SteamClient015_GetISteamHTTP_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamUnifiedMessages_params +{ + void *linux_side; + void /*ISteamUnifiedMessages*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient015_GetISteamUnifiedMessages_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamController_params +{ + void *linux_side; + void /*ISteamController*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamController( struct cppISteamClient_SteamClient015_GetISteamController_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamUGC_params +{ + void *linux_side; + void /*ISteamUGC*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamUGC( struct cppISteamClient_SteamClient015_GetISteamUGC_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamAppList_params +{ + void *linux_side; + void /*ISteamAppList*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamAppList( struct cppISteamClient_SteamClient015_GetISteamAppList_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamMusic_params +{ + void *linux_side; + void /*ISteamMusic*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamMusic( struct cppISteamClient_SteamClient015_GetISteamMusic_params *params ); + +struct cppISteamClient_SteamClient015_GetISteamMusicRemote_params +{ + void *linux_side; + void /*ISteamMusicRemote*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient015_GetISteamMusicRemote( struct cppISteamClient_SteamClient015_GetISteamMusicRemote_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient016.cpp b/lsteamclient/cppISteamClient_SteamClient016.cpp index 6bb1a112..76afb481 100644 --- a/lsteamclient/cppISteamClient_SteamClient016.cpp +++ b/lsteamclient/cppISteamClient_SteamClient016.cpp @@ -11,230 +11,178 @@ extern "C" { #define SDKVER_131 #include "struct_converters.h" #include "cppISteamClient_SteamClient016.h" -HSteamPipe cppISteamClient_SteamClient016_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient016_CreateSteamPipe( struct cppISteamClient_SteamClient016_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient016_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient016_BReleaseSteamPipe( struct cppISteamClient_SteamClient016_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient016_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient016_ConnectToGlobalUser( struct cppISteamClient_SteamClient016_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient016_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType) +void cppISteamClient_SteamClient016_CreateLocalUser( struct cppISteamClient_SteamClient016_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe, (EAccountType)params->eAccountType ); } -void cppISteamClient_SteamClient016_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient016_ReleaseUser( struct cppISteamClient_SteamClient016_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient016_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamUser( struct cppISteamClient_SteamClient016_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient016_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamGameServer( struct cppISteamClient_SteamClient016_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient016_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient016_SetLocalIPBinding( struct cppISteamClient_SteamClient016_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient016_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamFriends( struct cppISteamClient_SteamClient016_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient016_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamUtils( struct cppISteamClient_SteamClient016_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient016_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamMatchmaking( struct cppISteamClient_SteamClient016_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient016_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient016_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient016_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamGenericInterface( struct cppISteamClient_SteamClient016_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient016_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamUserStats( struct cppISteamClient_SteamClient016_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient016_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamGameServerStats( struct cppISteamClient_SteamClient016_GetISteamGameServerStats_params *params ) { - void /*ISteamGameServerStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServerStats( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient016_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamApps( struct cppISteamClient_SteamClient016_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient016_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamNetworking( struct cppISteamClient_SteamClient016_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient016_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamRemoteStorage( struct cppISteamClient_SteamClient016_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamScreenshots*/ * cppISteamClient_SteamClient016_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamScreenshots( struct cppISteamClient_SteamClient016_GetISteamScreenshots_params *params ) { - void /*ISteamScreenshots*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamScreenshots( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient016_RunFrame(void *linux_side) +void cppISteamClient_SteamClient016_RunFrame( struct cppISteamClient_SteamClient016_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient016_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient016_GetIPCCallCount( struct cppISteamClient_SteamClient016_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamClient_SteamClient016_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient016_SetWarningMessageHook( struct cppISteamClient_SteamClient016_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamClient_SteamClient016_BShutdownIfAllPipesClosed(void *linux_side) +void cppISteamClient_SteamClient016_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient016_BShutdownIfAllPipesClosed_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed(); - return after_shutdown(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BShutdownIfAllPipesClosed( ); + params->_ret = after_shutdown( params->_ret ); } -void /*ISteamHTTP*/ * cppISteamClient_SteamClient016_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamHTTP( struct cppISteamClient_SteamClient016_GetISteamHTTP_params *params ) { - void /*ISteamHTTP*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTTP( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUnifiedMessages*/ * cppISteamClient_SteamClient016_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient016_GetISteamUnifiedMessages_params *params ) { - void /*ISteamUnifiedMessages*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUnifiedMessages( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamController*/ * cppISteamClient_SteamClient016_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamController( struct cppISteamClient_SteamClient016_GetISteamController_params *params ) { - void /*ISteamController*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamController( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUGC*/ * cppISteamClient_SteamClient016_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamUGC( struct cppISteamClient_SteamClient016_GetISteamUGC_params *params ) { - void /*ISteamUGC*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUGC( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamAppList*/ * cppISteamClient_SteamClient016_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamAppList( struct cppISteamClient_SteamClient016_GetISteamAppList_params *params ) { - void /*ISteamAppList*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamAppList( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMusic*/ * cppISteamClient_SteamClient016_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamMusic( struct cppISteamClient_SteamClient016_GetISteamMusic_params *params ) { - void /*ISteamMusic*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMusic( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMusicRemote*/ * cppISteamClient_SteamClient016_GetISteamMusicRemote(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamMusicRemote( struct cppISteamClient_SteamClient016_GetISteamMusicRemote_params *params ) { - void /*ISteamMusicRemote*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMusicRemote((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMusicRemote( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamHTMLSurface*/ * cppISteamClient_SteamClient016_GetISteamHTMLSurface(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient016_GetISteamHTMLSurface( struct cppISteamClient_SteamClient016_GetISteamHTMLSurface_params *params ) { - void /*ISteamHTMLSurface*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTMLSurface((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTMLSurface( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess(void *linux_side, SteamAPI_PostAPIResultInProcess_t func) +void cppISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess_params *params ) { - ((ISteamClient*)linux_side)->Set_SteamAPI_CPostAPIResultInProcess((SteamAPI_PostAPIResultInProcess_t)func); + ((ISteamClient*)params->linux_side)->Set_SteamAPI_CPostAPIResultInProcess( (SteamAPI_PostAPIResultInProcess_t)params->func ); } -void cppISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess(void *linux_side, SteamAPI_PostAPIResultInProcess_t func) +void cppISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess_params *params ) { - ((ISteamClient*)linux_side)->Remove_SteamAPI_CPostAPIResultInProcess((SteamAPI_PostAPIResultInProcess_t)func); + ((ISteamClient*)params->linux_side)->Remove_SteamAPI_CPostAPIResultInProcess( (SteamAPI_PostAPIResultInProcess_t)params->func ); } -void cppISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *linux_side, SteamAPI_CheckCallbackRegistered_t func) +void cppISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess( struct cppISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params ) { - func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t((void*)func); - ((ISteamClient*)linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess((SteamAPI_CheckCallbackRegistered_t)func); + params->func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t( (void *)params->func ); + ((ISteamClient*)params->linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess( (SteamAPI_CheckCallbackRegistered_t)params->func ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient016.h b/lsteamclient/cppISteamClient_SteamClient016.h index 8556cc11..5f1549c1 100644 --- a/lsteamclient/cppISteamClient_SteamClient016.h +++ b/lsteamclient/cppISteamClient_SteamClient016.h @@ -1,34 +1,305 @@ -extern HSteamPipe cppISteamClient_SteamClient016_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient016_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient016_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient016_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient016_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient016_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient016_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient016_SetLocalIPBinding(void *, uint32, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient016_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient016_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient016_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient016_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient016_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient016_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient016_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient016_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient016_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient016_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamScreenshots*/ * cppISteamClient_SteamClient016_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient016_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient016_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient016_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient016_BShutdownIfAllPipesClosed(void *); -extern void /*ISteamHTTP*/ * cppISteamClient_SteamClient016_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUnifiedMessages*/ * cppISteamClient_SteamClient016_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamController*/ * cppISteamClient_SteamClient016_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUGC*/ * cppISteamClient_SteamClient016_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamAppList*/ * cppISteamClient_SteamClient016_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMusic*/ * cppISteamClient_SteamClient016_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMusicRemote*/ * cppISteamClient_SteamClient016_GetISteamMusicRemote(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamHTMLSurface*/ * cppISteamClient_SteamClient016_GetISteamHTMLSurface(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess(void *, SteamAPI_PostAPIResultInProcess_t); -extern void cppISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess(void *, SteamAPI_PostAPIResultInProcess_t); -extern void cppISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *, SteamAPI_CheckCallbackRegistered_t); +struct cppISteamClient_SteamClient016_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient016_CreateSteamPipe( struct cppISteamClient_SteamClient016_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient016_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient016_BReleaseSteamPipe( struct cppISteamClient_SteamClient016_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient016_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient016_ConnectToGlobalUser( struct cppISteamClient_SteamClient016_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient016_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; + EAccountType eAccountType; +}; +extern void cppISteamClient_SteamClient016_CreateLocalUser( struct cppISteamClient_SteamClient016_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient016_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient016_ReleaseUser( struct cppISteamClient_SteamClient016_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamUser( struct cppISteamClient_SteamClient016_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamGameServer( struct cppISteamClient_SteamClient016_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient016_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient016_SetLocalIPBinding( struct cppISteamClient_SteamClient016_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamFriends( struct cppISteamClient_SteamClient016_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamUtils( struct cppISteamClient_SteamClient016_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamMatchmaking( struct cppISteamClient_SteamClient016_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient016_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamGenericInterface( struct cppISteamClient_SteamClient016_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamUserStats( struct cppISteamClient_SteamClient016_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamGameServerStats_params +{ + void *linux_side; + void /*ISteamGameServerStats*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamGameServerStats( struct cppISteamClient_SteamClient016_GetISteamGameServerStats_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamApps( struct cppISteamClient_SteamClient016_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamNetworking( struct cppISteamClient_SteamClient016_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamRemoteStorage( struct cppISteamClient_SteamClient016_GetISteamRemoteStorage_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamScreenshots_params +{ + void *linux_side; + void /*ISteamScreenshots*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamScreenshots( struct cppISteamClient_SteamClient016_GetISteamScreenshots_params *params ); + +struct cppISteamClient_SteamClient016_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient016_RunFrame( struct cppISteamClient_SteamClient016_RunFrame_params *params ); + +struct cppISteamClient_SteamClient016_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient016_GetIPCCallCount( struct cppISteamClient_SteamClient016_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient016_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient016_SetWarningMessageHook( struct cppISteamClient_SteamClient016_SetWarningMessageHook_params *params ); + +struct cppISteamClient_SteamClient016_BShutdownIfAllPipesClosed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamClient_SteamClient016_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient016_BShutdownIfAllPipesClosed_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamHTTP_params +{ + void *linux_side; + void /*ISteamHTTP*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamHTTP( struct cppISteamClient_SteamClient016_GetISteamHTTP_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamUnifiedMessages_params +{ + void *linux_side; + void /*ISteamUnifiedMessages*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient016_GetISteamUnifiedMessages_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamController_params +{ + void *linux_side; + void /*ISteamController*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamController( struct cppISteamClient_SteamClient016_GetISteamController_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamUGC_params +{ + void *linux_side; + void /*ISteamUGC*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamUGC( struct cppISteamClient_SteamClient016_GetISteamUGC_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamAppList_params +{ + void *linux_side; + void /*ISteamAppList*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamAppList( struct cppISteamClient_SteamClient016_GetISteamAppList_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamMusic_params +{ + void *linux_side; + void /*ISteamMusic*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamMusic( struct cppISteamClient_SteamClient016_GetISteamMusic_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamMusicRemote_params +{ + void *linux_side; + void /*ISteamMusicRemote*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamMusicRemote( struct cppISteamClient_SteamClient016_GetISteamMusicRemote_params *params ); + +struct cppISteamClient_SteamClient016_GetISteamHTMLSurface_params +{ + void *linux_side; + void /*ISteamHTMLSurface*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient016_GetISteamHTMLSurface( struct cppISteamClient_SteamClient016_GetISteamHTMLSurface_params *params ); + +struct cppISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess_params +{ + void *linux_side; + SteamAPI_PostAPIResultInProcess_t func; +}; +extern void cppISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess_params *params ); + +struct cppISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess_params +{ + void *linux_side; + SteamAPI_PostAPIResultInProcess_t func; +}; +extern void cppISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess_params *params ); + +struct cppISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params +{ + void *linux_side; + SteamAPI_CheckCallbackRegistered_t func; +}; +extern void cppISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess( struct cppISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient017.cpp b/lsteamclient/cppISteamClient_SteamClient017.cpp index 740c1474..63b72f8c 100644 --- a/lsteamclient/cppISteamClient_SteamClient017.cpp +++ b/lsteamclient/cppISteamClient_SteamClient017.cpp @@ -11,251 +11,193 @@ extern "C" { #define SDKVER_142 #include "struct_converters.h" #include "cppISteamClient_SteamClient017.h" -HSteamPipe cppISteamClient_SteamClient017_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient017_CreateSteamPipe( struct cppISteamClient_SteamClient017_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient017_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient017_BReleaseSteamPipe( struct cppISteamClient_SteamClient017_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient017_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient017_ConnectToGlobalUser( struct cppISteamClient_SteamClient017_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient017_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType) +void cppISteamClient_SteamClient017_CreateLocalUser( struct cppISteamClient_SteamClient017_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe, (EAccountType)params->eAccountType ); } -void cppISteamClient_SteamClient017_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient017_ReleaseUser( struct cppISteamClient_SteamClient017_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient017_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamUser( struct cppISteamClient_SteamClient017_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient017_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamGameServer( struct cppISteamClient_SteamClient017_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient017_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient017_SetLocalIPBinding( struct cppISteamClient_SteamClient017_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient017_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamFriends( struct cppISteamClient_SteamClient017_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient017_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamUtils( struct cppISteamClient_SteamClient017_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient017_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamMatchmaking( struct cppISteamClient_SteamClient017_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient017_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient017_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient017_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamGenericInterface( struct cppISteamClient_SteamClient017_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient017_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamUserStats( struct cppISteamClient_SteamClient017_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient017_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamGameServerStats( struct cppISteamClient_SteamClient017_GetISteamGameServerStats_params *params ) { - void /*ISteamGameServerStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServerStats( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient017_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamApps( struct cppISteamClient_SteamClient017_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient017_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamNetworking( struct cppISteamClient_SteamClient017_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient017_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamRemoteStorage( struct cppISteamClient_SteamClient017_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamScreenshots*/ * cppISteamClient_SteamClient017_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamScreenshots( struct cppISteamClient_SteamClient017_GetISteamScreenshots_params *params ) { - void /*ISteamScreenshots*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamScreenshots( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient017_RunFrame(void *linux_side) +void cppISteamClient_SteamClient017_RunFrame( struct cppISteamClient_SteamClient017_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient017_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient017_GetIPCCallCount( struct cppISteamClient_SteamClient017_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamClient_SteamClient017_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient017_SetWarningMessageHook( struct cppISteamClient_SteamClient017_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamClient_SteamClient017_BShutdownIfAllPipesClosed(void *linux_side) +void cppISteamClient_SteamClient017_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient017_BShutdownIfAllPipesClosed_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed(); - return after_shutdown(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BShutdownIfAllPipesClosed( ); + params->_ret = after_shutdown( params->_ret ); } -void /*ISteamHTTP*/ * cppISteamClient_SteamClient017_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamHTTP( struct cppISteamClient_SteamClient017_GetISteamHTTP_params *params ) { - void /*ISteamHTTP*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTTP( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->DEPRECATED_GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->DEPRECATED_GetISteamUnifiedMessages( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamController*/ * cppISteamClient_SteamClient017_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamController( struct cppISteamClient_SteamClient017_GetISteamController_params *params ) { - void /*ISteamController*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamController( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUGC*/ * cppISteamClient_SteamClient017_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamUGC( struct cppISteamClient_SteamClient017_GetISteamUGC_params *params ) { - void /*ISteamUGC*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUGC( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamAppList*/ * cppISteamClient_SteamClient017_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamAppList( struct cppISteamClient_SteamClient017_GetISteamAppList_params *params ) { - void /*ISteamAppList*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamAppList( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMusic*/ * cppISteamClient_SteamClient017_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamMusic( struct cppISteamClient_SteamClient017_GetISteamMusic_params *params ) { - void /*ISteamMusic*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMusic( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMusicRemote*/ * cppISteamClient_SteamClient017_GetISteamMusicRemote(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamMusicRemote( struct cppISteamClient_SteamClient017_GetISteamMusicRemote_params *params ) { - void /*ISteamMusicRemote*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMusicRemote((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMusicRemote( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamHTMLSurface*/ * cppISteamClient_SteamClient017_GetISteamHTMLSurface(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamHTMLSurface( struct cppISteamClient_SteamClient017_GetISteamHTMLSurface_params *params ) { - void /*ISteamHTMLSurface*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTMLSurface((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTMLSurface( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *linux_side, void *_a) +void cppISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *params ) { - ((ISteamClient*)linux_side)->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + ((ISteamClient*)params->linux_side)->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( (void (*)())params->_a ); } -void cppISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *linux_side, void *_a) +void cppISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *params ) { - ((ISteamClient*)linux_side)->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + ((ISteamClient*)params->linux_side)->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( (void (*)())params->_a ); } -void cppISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *linux_side, SteamAPI_CheckCallbackRegistered_t func) +void cppISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess( struct cppISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params ) { - func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t((void*)func); - ((ISteamClient*)linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess((SteamAPI_CheckCallbackRegistered_t)func); + params->func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t( (void *)params->func ); + ((ISteamClient*)params->linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess( (SteamAPI_CheckCallbackRegistered_t)params->func ); } -void /*ISteamInventory*/ * cppISteamClient_SteamClient017_GetISteamInventory(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamInventory( struct cppISteamClient_SteamClient017_GetISteamInventory_params *params ) { - void /*ISteamInventory*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamInventory((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamInventory( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamVideo*/ * cppISteamClient_SteamClient017_GetISteamVideo(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamVideo( struct cppISteamClient_SteamClient017_GetISteamVideo_params *params ) { - void /*ISteamVideo*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamVideo((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamVideo( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamParentalSettings*/ * cppISteamClient_SteamClient017_GetISteamParentalSettings(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient017_GetISteamParentalSettings( struct cppISteamClient_SteamClient017_GetISteamParentalSettings_params *params ) { - void /*ISteamParentalSettings*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamParentalSettings((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamParentalSettings( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient017.h b/lsteamclient/cppISteamClient_SteamClient017.h index b548a2b5..7b72b611 100644 --- a/lsteamclient/cppISteamClient_SteamClient017.h +++ b/lsteamclient/cppISteamClient_SteamClient017.h @@ -1,37 +1,335 @@ -extern HSteamPipe cppISteamClient_SteamClient017_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient017_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient017_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient017_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient017_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient017_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient017_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient017_SetLocalIPBinding(void *, uint32, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient017_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient017_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient017_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient017_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient017_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient017_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient017_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient017_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient017_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient017_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamScreenshots*/ * cppISteamClient_SteamClient017_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient017_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient017_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient017_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient017_BShutdownIfAllPipesClosed(void *); -extern void /*ISteamHTTP*/ * cppISteamClient_SteamClient017_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamController*/ * cppISteamClient_SteamClient017_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUGC*/ * cppISteamClient_SteamClient017_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamAppList*/ * cppISteamClient_SteamClient017_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMusic*/ * cppISteamClient_SteamClient017_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMusicRemote*/ * cppISteamClient_SteamClient017_GetISteamMusicRemote(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamHTMLSurface*/ * cppISteamClient_SteamClient017_GetISteamHTMLSurface(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *, SteamAPI_CheckCallbackRegistered_t); -extern void /*ISteamInventory*/ * cppISteamClient_SteamClient017_GetISteamInventory(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamVideo*/ * cppISteamClient_SteamClient017_GetISteamVideo(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamParentalSettings*/ * cppISteamClient_SteamClient017_GetISteamParentalSettings(void *, HSteamUser, HSteamPipe, const char *); +struct cppISteamClient_SteamClient017_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient017_CreateSteamPipe( struct cppISteamClient_SteamClient017_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient017_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient017_BReleaseSteamPipe( struct cppISteamClient_SteamClient017_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient017_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient017_ConnectToGlobalUser( struct cppISteamClient_SteamClient017_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient017_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; + EAccountType eAccountType; +}; +extern void cppISteamClient_SteamClient017_CreateLocalUser( struct cppISteamClient_SteamClient017_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient017_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient017_ReleaseUser( struct cppISteamClient_SteamClient017_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamUser( struct cppISteamClient_SteamClient017_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamGameServer( struct cppISteamClient_SteamClient017_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient017_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient017_SetLocalIPBinding( struct cppISteamClient_SteamClient017_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamFriends( struct cppISteamClient_SteamClient017_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamUtils( struct cppISteamClient_SteamClient017_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamMatchmaking( struct cppISteamClient_SteamClient017_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient017_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamGenericInterface( struct cppISteamClient_SteamClient017_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamUserStats( struct cppISteamClient_SteamClient017_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamGameServerStats_params +{ + void *linux_side; + void /*ISteamGameServerStats*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamGameServerStats( struct cppISteamClient_SteamClient017_GetISteamGameServerStats_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamApps( struct cppISteamClient_SteamClient017_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamNetworking( struct cppISteamClient_SteamClient017_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamRemoteStorage( struct cppISteamClient_SteamClient017_GetISteamRemoteStorage_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamScreenshots_params +{ + void *linux_side; + void /*ISteamScreenshots*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamScreenshots( struct cppISteamClient_SteamClient017_GetISteamScreenshots_params *params ); + +struct cppISteamClient_SteamClient017_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient017_RunFrame( struct cppISteamClient_SteamClient017_RunFrame_params *params ); + +struct cppISteamClient_SteamClient017_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient017_GetIPCCallCount( struct cppISteamClient_SteamClient017_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient017_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient017_SetWarningMessageHook( struct cppISteamClient_SteamClient017_SetWarningMessageHook_params *params ); + +struct cppISteamClient_SteamClient017_BShutdownIfAllPipesClosed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamClient_SteamClient017_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient017_BShutdownIfAllPipesClosed_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamHTTP_params +{ + void *linux_side; + void /*ISteamHTTP*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamHTTP( struct cppISteamClient_SteamClient017_GetISteamHTTP_params *params ); + +struct cppISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamController_params +{ + void *linux_side; + void /*ISteamController*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamController( struct cppISteamClient_SteamClient017_GetISteamController_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamUGC_params +{ + void *linux_side; + void /*ISteamUGC*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamUGC( struct cppISteamClient_SteamClient017_GetISteamUGC_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamAppList_params +{ + void *linux_side; + void /*ISteamAppList*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamAppList( struct cppISteamClient_SteamClient017_GetISteamAppList_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamMusic_params +{ + void *linux_side; + void /*ISteamMusic*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamMusic( struct cppISteamClient_SteamClient017_GetISteamMusic_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamMusicRemote_params +{ + void *linux_side; + void /*ISteamMusicRemote*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamMusicRemote( struct cppISteamClient_SteamClient017_GetISteamMusicRemote_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamHTMLSurface_params +{ + void *linux_side; + void /*ISteamHTMLSurface*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamHTMLSurface( struct cppISteamClient_SteamClient017_GetISteamHTMLSurface_params *params ); + +struct cppISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params +{ + void *linux_side; + void *_a; +}; +extern void cppISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *params ); + +struct cppISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params +{ + void *linux_side; + void *_a; +}; +extern void cppISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *params ); + +struct cppISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params +{ + void *linux_side; + SteamAPI_CheckCallbackRegistered_t func; +}; +extern void cppISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess( struct cppISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamInventory_params +{ + void *linux_side; + void /*ISteamInventory*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamInventory( struct cppISteamClient_SteamClient017_GetISteamInventory_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamVideo_params +{ + void *linux_side; + void /*ISteamVideo*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamVideo( struct cppISteamClient_SteamClient017_GetISteamVideo_params *params ); + +struct cppISteamClient_SteamClient017_GetISteamParentalSettings_params +{ + void *linux_side; + void /*ISteamParentalSettings*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient017_GetISteamParentalSettings( struct cppISteamClient_SteamClient017_GetISteamParentalSettings_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient018.cpp b/lsteamclient/cppISteamClient_SteamClient018.cpp index 222be1d1..9de6af64 100644 --- a/lsteamclient/cppISteamClient_SteamClient018.cpp +++ b/lsteamclient/cppISteamClient_SteamClient018.cpp @@ -12,272 +12,208 @@ extern "C" { #define SDKVER_145 #include "struct_converters.h" #include "cppISteamClient_SteamClient018.h" -HSteamPipe cppISteamClient_SteamClient018_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient018_CreateSteamPipe( struct cppISteamClient_SteamClient018_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient018_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient018_BReleaseSteamPipe( struct cppISteamClient_SteamClient018_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient018_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient018_ConnectToGlobalUser( struct cppISteamClient_SteamClient018_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient018_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType) +void cppISteamClient_SteamClient018_CreateLocalUser( struct cppISteamClient_SteamClient018_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe, (EAccountType)params->eAccountType ); } -void cppISteamClient_SteamClient018_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient018_ReleaseUser( struct cppISteamClient_SteamClient018_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient018_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamUser( struct cppISteamClient_SteamClient018_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient018_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamGameServer( struct cppISteamClient_SteamClient018_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient018_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient018_SetLocalIPBinding( struct cppISteamClient_SteamClient018_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient018_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamFriends( struct cppISteamClient_SteamClient018_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient018_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamUtils( struct cppISteamClient_SteamClient018_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient018_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamMatchmaking( struct cppISteamClient_SteamClient018_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient018_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient018_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient018_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamGenericInterface( struct cppISteamClient_SteamClient018_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient018_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamUserStats( struct cppISteamClient_SteamClient018_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient018_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamGameServerStats( struct cppISteamClient_SteamClient018_GetISteamGameServerStats_params *params ) { - void /*ISteamGameServerStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServerStats( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient018_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamApps( struct cppISteamClient_SteamClient018_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient018_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamNetworking( struct cppISteamClient_SteamClient018_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient018_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamRemoteStorage( struct cppISteamClient_SteamClient018_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamScreenshots*/ * cppISteamClient_SteamClient018_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamScreenshots( struct cppISteamClient_SteamClient018_GetISteamScreenshots_params *params ) { - void /*ISteamScreenshots*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamScreenshots( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameSearch*/ * cppISteamClient_SteamClient018_GetISteamGameSearch(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamGameSearch( struct cppISteamClient_SteamClient018_GetISteamGameSearch_params *params ) { - void /*ISteamGameSearch*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameSearch((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameSearch( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient018_RunFrame(void *linux_side) +void cppISteamClient_SteamClient018_RunFrame( struct cppISteamClient_SteamClient018_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient018_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient018_GetIPCCallCount( struct cppISteamClient_SteamClient018_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamClient_SteamClient018_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient018_SetWarningMessageHook( struct cppISteamClient_SteamClient018_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed(void *linux_side) +void cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed(); - return after_shutdown(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BShutdownIfAllPipesClosed( ); + params->_ret = after_shutdown( params->_ret ); } -void /*ISteamHTTP*/ * cppISteamClient_SteamClient018_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamHTTP( struct cppISteamClient_SteamClient018_GetISteamHTTP_params *params ) { - void /*ISteamHTTP*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTTP( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->DEPRECATED_GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->DEPRECATED_GetISteamUnifiedMessages( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamController*/ * cppISteamClient_SteamClient018_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamController( struct cppISteamClient_SteamClient018_GetISteamController_params *params ) { - void /*ISteamController*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamController( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUGC*/ * cppISteamClient_SteamClient018_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamUGC( struct cppISteamClient_SteamClient018_GetISteamUGC_params *params ) { - void /*ISteamUGC*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUGC( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamAppList*/ * cppISteamClient_SteamClient018_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamAppList( struct cppISteamClient_SteamClient018_GetISteamAppList_params *params ) { - void /*ISteamAppList*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamAppList( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMusic*/ * cppISteamClient_SteamClient018_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamMusic( struct cppISteamClient_SteamClient018_GetISteamMusic_params *params ) { - void /*ISteamMusic*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMusic( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMusicRemote*/ * cppISteamClient_SteamClient018_GetISteamMusicRemote(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamMusicRemote( struct cppISteamClient_SteamClient018_GetISteamMusicRemote_params *params ) { - void /*ISteamMusicRemote*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMusicRemote((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMusicRemote( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamHTMLSurface*/ * cppISteamClient_SteamClient018_GetISteamHTMLSurface(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamHTMLSurface( struct cppISteamClient_SteamClient018_GetISteamHTMLSurface_params *params ) { - void /*ISteamHTMLSurface*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTMLSurface((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTMLSurface( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *linux_side, void *_a) +void cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *params ) { - ((ISteamClient*)linux_side)->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + ((ISteamClient*)params->linux_side)->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( (void (*)())params->_a ); } -void cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *linux_side, void *_a) +void cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *params ) { - ((ISteamClient*)linux_side)->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + ((ISteamClient*)params->linux_side)->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( (void (*)())params->_a ); } -void cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *linux_side, SteamAPI_CheckCallbackRegistered_t func) +void cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess( struct cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params ) { - func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t((void*)func); - ((ISteamClient*)linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess((SteamAPI_CheckCallbackRegistered_t)func); + params->func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t( (void *)params->func ); + ((ISteamClient*)params->linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess( (SteamAPI_CheckCallbackRegistered_t)params->func ); } -void /*ISteamInventory*/ * cppISteamClient_SteamClient018_GetISteamInventory(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamInventory( struct cppISteamClient_SteamClient018_GetISteamInventory_params *params ) { - void /*ISteamInventory*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamInventory((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamInventory( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamVideo*/ * cppISteamClient_SteamClient018_GetISteamVideo(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamVideo( struct cppISteamClient_SteamClient018_GetISteamVideo_params *params ) { - void /*ISteamVideo*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamVideo((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamVideo( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamParentalSettings*/ * cppISteamClient_SteamClient018_GetISteamParentalSettings(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamParentalSettings( struct cppISteamClient_SteamClient018_GetISteamParentalSettings_params *params ) { - void /*ISteamParentalSettings*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamParentalSettings((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamParentalSettings( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamInput*/ * cppISteamClient_SteamClient018_GetISteamInput(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamInput( struct cppISteamClient_SteamClient018_GetISteamInput_params *params ) { - void /*ISteamInput*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamInput((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamInput( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamParties*/ * cppISteamClient_SteamClient018_GetISteamParties(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient018_GetISteamParties( struct cppISteamClient_SteamClient018_GetISteamParties_params *params ) { - void /*ISteamParties*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamParties((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamParties( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient018.h b/lsteamclient/cppISteamClient_SteamClient018.h index aa37bd4a..3a110231 100644 --- a/lsteamclient/cppISteamClient_SteamClient018.h +++ b/lsteamclient/cppISteamClient_SteamClient018.h @@ -1,40 +1,365 @@ -extern HSteamPipe cppISteamClient_SteamClient018_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient018_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient018_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient018_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient018_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient018_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient018_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient018_SetLocalIPBinding(void *, uint32, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient018_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient018_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient018_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient018_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient018_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient018_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient018_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient018_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient018_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient018_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamScreenshots*/ * cppISteamClient_SteamClient018_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameSearch*/ * cppISteamClient_SteamClient018_GetISteamGameSearch(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient018_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient018_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient018_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed(void *); -extern void /*ISteamHTTP*/ * cppISteamClient_SteamClient018_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamController*/ * cppISteamClient_SteamClient018_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUGC*/ * cppISteamClient_SteamClient018_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamAppList*/ * cppISteamClient_SteamClient018_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMusic*/ * cppISteamClient_SteamClient018_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMusicRemote*/ * cppISteamClient_SteamClient018_GetISteamMusicRemote(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamHTMLSurface*/ * cppISteamClient_SteamClient018_GetISteamHTMLSurface(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *, SteamAPI_CheckCallbackRegistered_t); -extern void /*ISteamInventory*/ * cppISteamClient_SteamClient018_GetISteamInventory(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamVideo*/ * cppISteamClient_SteamClient018_GetISteamVideo(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamParentalSettings*/ * cppISteamClient_SteamClient018_GetISteamParentalSettings(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamInput*/ * cppISteamClient_SteamClient018_GetISteamInput(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamParties*/ * cppISteamClient_SteamClient018_GetISteamParties(void *, HSteamUser, HSteamPipe, const char *); +struct cppISteamClient_SteamClient018_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient018_CreateSteamPipe( struct cppISteamClient_SteamClient018_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient018_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient018_BReleaseSteamPipe( struct cppISteamClient_SteamClient018_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient018_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient018_ConnectToGlobalUser( struct cppISteamClient_SteamClient018_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient018_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; + EAccountType eAccountType; +}; +extern void cppISteamClient_SteamClient018_CreateLocalUser( struct cppISteamClient_SteamClient018_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient018_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient018_ReleaseUser( struct cppISteamClient_SteamClient018_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamUser( struct cppISteamClient_SteamClient018_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamGameServer( struct cppISteamClient_SteamClient018_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient018_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient018_SetLocalIPBinding( struct cppISteamClient_SteamClient018_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamFriends( struct cppISteamClient_SteamClient018_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamUtils( struct cppISteamClient_SteamClient018_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamMatchmaking( struct cppISteamClient_SteamClient018_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient018_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamGenericInterface( struct cppISteamClient_SteamClient018_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamUserStats( struct cppISteamClient_SteamClient018_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamGameServerStats_params +{ + void *linux_side; + void /*ISteamGameServerStats*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamGameServerStats( struct cppISteamClient_SteamClient018_GetISteamGameServerStats_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamApps( struct cppISteamClient_SteamClient018_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamNetworking( struct cppISteamClient_SteamClient018_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamRemoteStorage( struct cppISteamClient_SteamClient018_GetISteamRemoteStorage_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamScreenshots_params +{ + void *linux_side; + void /*ISteamScreenshots*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamScreenshots( struct cppISteamClient_SteamClient018_GetISteamScreenshots_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamGameSearch_params +{ + void *linux_side; + void /*ISteamGameSearch*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamGameSearch( struct cppISteamClient_SteamClient018_GetISteamGameSearch_params *params ); + +struct cppISteamClient_SteamClient018_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient018_RunFrame( struct cppISteamClient_SteamClient018_RunFrame_params *params ); + +struct cppISteamClient_SteamClient018_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient018_GetIPCCallCount( struct cppISteamClient_SteamClient018_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient018_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient018_SetWarningMessageHook( struct cppISteamClient_SteamClient018_SetWarningMessageHook_params *params ); + +struct cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamHTTP_params +{ + void *linux_side; + void /*ISteamHTTP*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamHTTP( struct cppISteamClient_SteamClient018_GetISteamHTTP_params *params ); + +struct cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamController_params +{ + void *linux_side; + void /*ISteamController*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamController( struct cppISteamClient_SteamClient018_GetISteamController_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamUGC_params +{ + void *linux_side; + void /*ISteamUGC*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamUGC( struct cppISteamClient_SteamClient018_GetISteamUGC_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamAppList_params +{ + void *linux_side; + void /*ISteamAppList*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamAppList( struct cppISteamClient_SteamClient018_GetISteamAppList_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamMusic_params +{ + void *linux_side; + void /*ISteamMusic*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamMusic( struct cppISteamClient_SteamClient018_GetISteamMusic_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamMusicRemote_params +{ + void *linux_side; + void /*ISteamMusicRemote*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamMusicRemote( struct cppISteamClient_SteamClient018_GetISteamMusicRemote_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamHTMLSurface_params +{ + void *linux_side; + void /*ISteamHTMLSurface*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamHTMLSurface( struct cppISteamClient_SteamClient018_GetISteamHTMLSurface_params *params ); + +struct cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params +{ + void *linux_side; + void *_a; +}; +extern void cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *params ); + +struct cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params +{ + void *linux_side; + void *_a; +}; +extern void cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *params ); + +struct cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params +{ + void *linux_side; + SteamAPI_CheckCallbackRegistered_t func; +}; +extern void cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess( struct cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamInventory_params +{ + void *linux_side; + void /*ISteamInventory*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamInventory( struct cppISteamClient_SteamClient018_GetISteamInventory_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamVideo_params +{ + void *linux_side; + void /*ISteamVideo*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamVideo( struct cppISteamClient_SteamClient018_GetISteamVideo_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamParentalSettings_params +{ + void *linux_side; + void /*ISteamParentalSettings*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamParentalSettings( struct cppISteamClient_SteamClient018_GetISteamParentalSettings_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamInput_params +{ + void *linux_side; + void /*ISteamInput*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamInput( struct cppISteamClient_SteamClient018_GetISteamInput_params *params ); + +struct cppISteamClient_SteamClient018_GetISteamParties_params +{ + void *linux_side; + void /*ISteamParties*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient018_GetISteamParties( struct cppISteamClient_SteamClient018_GetISteamParties_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient019.cpp b/lsteamclient/cppISteamClient_SteamClient019.cpp index e923443a..4d1cc5b5 100644 --- a/lsteamclient/cppISteamClient_SteamClient019.cpp +++ b/lsteamclient/cppISteamClient_SteamClient019.cpp @@ -12,279 +12,213 @@ extern "C" { #define SDKVER_146 #include "struct_converters.h" #include "cppISteamClient_SteamClient019.h" -HSteamPipe cppISteamClient_SteamClient019_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient019_CreateSteamPipe( struct cppISteamClient_SteamClient019_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient019_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient019_BReleaseSteamPipe( struct cppISteamClient_SteamClient019_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient019_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient019_ConnectToGlobalUser( struct cppISteamClient_SteamClient019_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient019_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType) +void cppISteamClient_SteamClient019_CreateLocalUser( struct cppISteamClient_SteamClient019_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe, (EAccountType)params->eAccountType ); } -void cppISteamClient_SteamClient019_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient019_ReleaseUser( struct cppISteamClient_SteamClient019_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient019_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamUser( struct cppISteamClient_SteamClient019_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient019_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamGameServer( struct cppISteamClient_SteamClient019_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient019_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +void cppISteamClient_SteamClient019_SetLocalIPBinding( struct cppISteamClient_SteamClient019_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( (uint32)params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient019_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamFriends( struct cppISteamClient_SteamClient019_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient019_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamUtils( struct cppISteamClient_SteamClient019_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient019_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamMatchmaking( struct cppISteamClient_SteamClient019_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient019_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient019_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient019_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamGenericInterface( struct cppISteamClient_SteamClient019_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient019_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamUserStats( struct cppISteamClient_SteamClient019_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient019_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamGameServerStats( struct cppISteamClient_SteamClient019_GetISteamGameServerStats_params *params ) { - void /*ISteamGameServerStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServerStats( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient019_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamApps( struct cppISteamClient_SteamClient019_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient019_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamNetworking( struct cppISteamClient_SteamClient019_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient019_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamRemoteStorage( struct cppISteamClient_SteamClient019_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamScreenshots*/ * cppISteamClient_SteamClient019_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamScreenshots( struct cppISteamClient_SteamClient019_GetISteamScreenshots_params *params ) { - void /*ISteamScreenshots*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamScreenshots( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameSearch*/ * cppISteamClient_SteamClient019_GetISteamGameSearch(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamGameSearch( struct cppISteamClient_SteamClient019_GetISteamGameSearch_params *params ) { - void /*ISteamGameSearch*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameSearch((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameSearch( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient019_RunFrame(void *linux_side) +void cppISteamClient_SteamClient019_RunFrame( struct cppISteamClient_SteamClient019_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient019_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient019_GetIPCCallCount( struct cppISteamClient_SteamClient019_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamClient_SteamClient019_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient019_SetWarningMessageHook( struct cppISteamClient_SteamClient019_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamClient_SteamClient019_BShutdownIfAllPipesClosed(void *linux_side) +void cppISteamClient_SteamClient019_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient019_BShutdownIfAllPipesClosed_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed(); - return after_shutdown(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BShutdownIfAllPipesClosed( ); + params->_ret = after_shutdown( params->_ret ); } -void /*ISteamHTTP*/ * cppISteamClient_SteamClient019_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamHTTP( struct cppISteamClient_SteamClient019_GetISteamHTTP_params *params ) { - void /*ISteamHTTP*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTTP( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->DEPRECATED_GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->DEPRECATED_GetISteamUnifiedMessages( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamController*/ * cppISteamClient_SteamClient019_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamController( struct cppISteamClient_SteamClient019_GetISteamController_params *params ) { - void /*ISteamController*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamController( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUGC*/ * cppISteamClient_SteamClient019_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamUGC( struct cppISteamClient_SteamClient019_GetISteamUGC_params *params ) { - void /*ISteamUGC*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUGC( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamAppList*/ * cppISteamClient_SteamClient019_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamAppList( struct cppISteamClient_SteamClient019_GetISteamAppList_params *params ) { - void /*ISteamAppList*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamAppList( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMusic*/ * cppISteamClient_SteamClient019_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamMusic( struct cppISteamClient_SteamClient019_GetISteamMusic_params *params ) { - void /*ISteamMusic*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMusic( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMusicRemote*/ * cppISteamClient_SteamClient019_GetISteamMusicRemote(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamMusicRemote( struct cppISteamClient_SteamClient019_GetISteamMusicRemote_params *params ) { - void /*ISteamMusicRemote*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMusicRemote((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMusicRemote( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamHTMLSurface*/ * cppISteamClient_SteamClient019_GetISteamHTMLSurface(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamHTMLSurface( struct cppISteamClient_SteamClient019_GetISteamHTMLSurface_params *params ) { - void /*ISteamHTMLSurface*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTMLSurface((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTMLSurface( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *linux_side, void *_a) +void cppISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *params ) { - ((ISteamClient*)linux_side)->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + ((ISteamClient*)params->linux_side)->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( (void (*)())params->_a ); } -void cppISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *linux_side, void *_a) +void cppISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *params ) { - ((ISteamClient*)linux_side)->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + ((ISteamClient*)params->linux_side)->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( (void (*)())params->_a ); } -void cppISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *linux_side, SteamAPI_CheckCallbackRegistered_t func) +void cppISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess( struct cppISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params ) { - func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t((void*)func); - ((ISteamClient*)linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess((SteamAPI_CheckCallbackRegistered_t)func); + params->func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t( (void *)params->func ); + ((ISteamClient*)params->linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess( (SteamAPI_CheckCallbackRegistered_t)params->func ); } -void /*ISteamInventory*/ * cppISteamClient_SteamClient019_GetISteamInventory(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamInventory( struct cppISteamClient_SteamClient019_GetISteamInventory_params *params ) { - void /*ISteamInventory*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamInventory((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamInventory( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamVideo*/ * cppISteamClient_SteamClient019_GetISteamVideo(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamVideo( struct cppISteamClient_SteamClient019_GetISteamVideo_params *params ) { - void /*ISteamVideo*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamVideo((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamVideo( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamParentalSettings*/ * cppISteamClient_SteamClient019_GetISteamParentalSettings(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamParentalSettings( struct cppISteamClient_SteamClient019_GetISteamParentalSettings_params *params ) { - void /*ISteamParentalSettings*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamParentalSettings((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamParentalSettings( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamInput*/ * cppISteamClient_SteamClient019_GetISteamInput(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamInput( struct cppISteamClient_SteamClient019_GetISteamInput_params *params ) { - void /*ISteamInput*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamInput((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamInput( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamParties*/ * cppISteamClient_SteamClient019_GetISteamParties(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamParties( struct cppISteamClient_SteamClient019_GetISteamParties_params *params ) { - void /*ISteamParties*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamParties((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamParties( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemotePlay*/ * cppISteamClient_SteamClient019_GetISteamRemotePlay(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient019_GetISteamRemotePlay( struct cppISteamClient_SteamClient019_GetISteamRemotePlay_params *params ) { - void /*ISteamRemotePlay*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemotePlay((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemotePlay( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient019.h b/lsteamclient/cppISteamClient_SteamClient019.h index 2a0ee0be..7e5045a1 100644 --- a/lsteamclient/cppISteamClient_SteamClient019.h +++ b/lsteamclient/cppISteamClient_SteamClient019.h @@ -1,41 +1,375 @@ -extern HSteamPipe cppISteamClient_SteamClient019_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient019_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient019_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient019_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient019_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient019_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient019_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient019_SetLocalIPBinding(void *, uint32, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient019_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient019_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient019_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient019_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient019_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient019_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient019_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient019_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient019_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient019_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamScreenshots*/ * cppISteamClient_SteamClient019_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameSearch*/ * cppISteamClient_SteamClient019_GetISteamGameSearch(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient019_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient019_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient019_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient019_BShutdownIfAllPipesClosed(void *); -extern void /*ISteamHTTP*/ * cppISteamClient_SteamClient019_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamController*/ * cppISteamClient_SteamClient019_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUGC*/ * cppISteamClient_SteamClient019_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamAppList*/ * cppISteamClient_SteamClient019_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMusic*/ * cppISteamClient_SteamClient019_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMusicRemote*/ * cppISteamClient_SteamClient019_GetISteamMusicRemote(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamHTMLSurface*/ * cppISteamClient_SteamClient019_GetISteamHTMLSurface(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *, SteamAPI_CheckCallbackRegistered_t); -extern void /*ISteamInventory*/ * cppISteamClient_SteamClient019_GetISteamInventory(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamVideo*/ * cppISteamClient_SteamClient019_GetISteamVideo(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamParentalSettings*/ * cppISteamClient_SteamClient019_GetISteamParentalSettings(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamInput*/ * cppISteamClient_SteamClient019_GetISteamInput(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamParties*/ * cppISteamClient_SteamClient019_GetISteamParties(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemotePlay*/ * cppISteamClient_SteamClient019_GetISteamRemotePlay(void *, HSteamUser, HSteamPipe, const char *); +struct cppISteamClient_SteamClient019_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient019_CreateSteamPipe( struct cppISteamClient_SteamClient019_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient019_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient019_BReleaseSteamPipe( struct cppISteamClient_SteamClient019_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient019_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient019_ConnectToGlobalUser( struct cppISteamClient_SteamClient019_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient019_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; + EAccountType eAccountType; +}; +extern void cppISteamClient_SteamClient019_CreateLocalUser( struct cppISteamClient_SteamClient019_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient019_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient019_ReleaseUser( struct cppISteamClient_SteamClient019_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamUser( struct cppISteamClient_SteamClient019_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamGameServer( struct cppISteamClient_SteamClient019_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient019_SetLocalIPBinding_params +{ + void *linux_side; + uint32 unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient019_SetLocalIPBinding( struct cppISteamClient_SteamClient019_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamFriends( struct cppISteamClient_SteamClient019_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamUtils( struct cppISteamClient_SteamClient019_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamMatchmaking( struct cppISteamClient_SteamClient019_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient019_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamGenericInterface( struct cppISteamClient_SteamClient019_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamUserStats( struct cppISteamClient_SteamClient019_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamGameServerStats_params +{ + void *linux_side; + void /*ISteamGameServerStats*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamGameServerStats( struct cppISteamClient_SteamClient019_GetISteamGameServerStats_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamApps( struct cppISteamClient_SteamClient019_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamNetworking( struct cppISteamClient_SteamClient019_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamRemoteStorage( struct cppISteamClient_SteamClient019_GetISteamRemoteStorage_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamScreenshots_params +{ + void *linux_side; + void /*ISteamScreenshots*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamScreenshots( struct cppISteamClient_SteamClient019_GetISteamScreenshots_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamGameSearch_params +{ + void *linux_side; + void /*ISteamGameSearch*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamGameSearch( struct cppISteamClient_SteamClient019_GetISteamGameSearch_params *params ); + +struct cppISteamClient_SteamClient019_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient019_RunFrame( struct cppISteamClient_SteamClient019_RunFrame_params *params ); + +struct cppISteamClient_SteamClient019_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient019_GetIPCCallCount( struct cppISteamClient_SteamClient019_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient019_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient019_SetWarningMessageHook( struct cppISteamClient_SteamClient019_SetWarningMessageHook_params *params ); + +struct cppISteamClient_SteamClient019_BShutdownIfAllPipesClosed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamClient_SteamClient019_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient019_BShutdownIfAllPipesClosed_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamHTTP_params +{ + void *linux_side; + void /*ISteamHTTP*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamHTTP( struct cppISteamClient_SteamClient019_GetISteamHTTP_params *params ); + +struct cppISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamController_params +{ + void *linux_side; + void /*ISteamController*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamController( struct cppISteamClient_SteamClient019_GetISteamController_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamUGC_params +{ + void *linux_side; + void /*ISteamUGC*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamUGC( struct cppISteamClient_SteamClient019_GetISteamUGC_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamAppList_params +{ + void *linux_side; + void /*ISteamAppList*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamAppList( struct cppISteamClient_SteamClient019_GetISteamAppList_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamMusic_params +{ + void *linux_side; + void /*ISteamMusic*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamMusic( struct cppISteamClient_SteamClient019_GetISteamMusic_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamMusicRemote_params +{ + void *linux_side; + void /*ISteamMusicRemote*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamMusicRemote( struct cppISteamClient_SteamClient019_GetISteamMusicRemote_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamHTMLSurface_params +{ + void *linux_side; + void /*ISteamHTMLSurface*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamHTMLSurface( struct cppISteamClient_SteamClient019_GetISteamHTMLSurface_params *params ); + +struct cppISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params +{ + void *linux_side; + void *_a; +}; +extern void cppISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *params ); + +struct cppISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params +{ + void *linux_side; + void *_a; +}; +extern void cppISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *params ); + +struct cppISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params +{ + void *linux_side; + SteamAPI_CheckCallbackRegistered_t func; +}; +extern void cppISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess( struct cppISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamInventory_params +{ + void *linux_side; + void /*ISteamInventory*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamInventory( struct cppISteamClient_SteamClient019_GetISteamInventory_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamVideo_params +{ + void *linux_side; + void /*ISteamVideo*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamVideo( struct cppISteamClient_SteamClient019_GetISteamVideo_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamParentalSettings_params +{ + void *linux_side; + void /*ISteamParentalSettings*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamParentalSettings( struct cppISteamClient_SteamClient019_GetISteamParentalSettings_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamInput_params +{ + void *linux_side; + void /*ISteamInput*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamInput( struct cppISteamClient_SteamClient019_GetISteamInput_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamParties_params +{ + void *linux_side; + void /*ISteamParties*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamParties( struct cppISteamClient_SteamClient019_GetISteamParties_params *params ); + +struct cppISteamClient_SteamClient019_GetISteamRemotePlay_params +{ + void *linux_side; + void /*ISteamRemotePlay*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient019_GetISteamRemotePlay( struct cppISteamClient_SteamClient019_GetISteamRemotePlay_params *params ); + diff --git a/lsteamclient/cppISteamClient_SteamClient020.cpp b/lsteamclient/cppISteamClient_SteamClient020.cpp index ed6b9c83..7009e4eb 100644 --- a/lsteamclient/cppISteamClient_SteamClient020.cpp +++ b/lsteamclient/cppISteamClient_SteamClient020.cpp @@ -12,284 +12,218 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamClient_SteamClient020.h" -HSteamPipe cppISteamClient_SteamClient020_CreateSteamPipe(void *linux_side) +void cppISteamClient_SteamClient020_CreateSteamPipe( struct cppISteamClient_SteamClient020_CreateSteamPipe_params *params ) { - HSteamPipe _ret; - _ret = ((ISteamClient*)linux_side)->CreateSteamPipe(); - return after_steam_pipe_create(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateSteamPipe( ); + params->_ret = after_steam_pipe_create( params->_ret ); } -bool cppISteamClient_SteamClient020_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient020_BReleaseSteamPipe( struct cppISteamClient_SteamClient020_BReleaseSteamPipe_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BReleaseSteamPipe( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient020_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +void cppISteamClient_SteamClient020_ConnectToGlobalUser( struct cppISteamClient_SteamClient020_ConnectToGlobalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->ConnectToGlobalUser( (HSteamPipe)params->hSteamPipe ); } -HSteamUser cppISteamClient_SteamClient020_CreateLocalUser(void *linux_side, HSteamPipe *phSteamPipe, EAccountType eAccountType) +void cppISteamClient_SteamClient020_CreateLocalUser( struct cppISteamClient_SteamClient020_CreateLocalUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->CreateLocalUser( (HSteamPipe *)params->phSteamPipe, (EAccountType)params->eAccountType ); } -void cppISteamClient_SteamClient020_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +void cppISteamClient_SteamClient020_ReleaseUser( struct cppISteamClient_SteamClient020_ReleaseUser_params *params ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + ((ISteamClient*)params->linux_side)->ReleaseUser( (HSteamPipe)params->hSteamPipe, (HSteamUser)params->hUser ); } -void /*ISteamUser*/ * cppISteamClient_SteamClient020_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamUser( struct cppISteamClient_SteamClient020_GetISteamUser_params *params ) { - void /*ISteamUser*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUser( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServer*/ * cppISteamClient_SteamClient020_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamGameServer( struct cppISteamClient_SteamClient020_GetISteamGameServer_params *params ) { - void /*ISteamGameServer*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServer( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient020_SetLocalIPBinding(void *linux_side, const SteamIPAddress_t *unIP, uint16 usPort) +void cppISteamClient_SteamClient020_SetLocalIPBinding( struct cppISteamClient_SteamClient020_SetLocalIPBinding_params *params ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding(*unIP, (uint16)usPort); + ((ISteamClient*)params->linux_side)->SetLocalIPBinding( *params->unIP, (uint16)params->usPort ); } -void /*ISteamFriends*/ * cppISteamClient_SteamClient020_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamFriends( struct cppISteamClient_SteamClient020_GetISteamFriends_params *params ) { - void /*ISteamFriends*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamFriends( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUtils*/ * cppISteamClient_SteamClient020_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamUtils( struct cppISteamClient_SteamClient020_GetISteamUtils_params *params ) { - void /*ISteamUtils*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUtils( (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient020_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamMatchmaking( struct cppISteamClient_SteamClient020_GetISteamMatchmaking_params *params ) { - void /*ISteamMatchmaking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmaking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient020_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient020_GetISteamMatchmakingServers_params *params ) { - void /*ISteamMatchmakingServers*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMatchmakingServers( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient020_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamGenericInterface( struct cppISteamClient_SteamClient020_GetISteamGenericInterface_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGenericInterface( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUserStats*/ * cppISteamClient_SteamClient020_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamUserStats( struct cppISteamClient_SteamClient020_GetISteamUserStats_params *params ) { - void /*ISteamUserStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUserStats( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient020_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamGameServerStats( struct cppISteamClient_SteamClient020_GetISteamGameServerStats_params *params ) { - void /*ISteamGameServerStats*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameServerStats( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamApps*/ * cppISteamClient_SteamClient020_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamApps( struct cppISteamClient_SteamClient020_GetISteamApps_params *params ) { - void /*ISteamApps*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamApps( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamNetworking*/ * cppISteamClient_SteamClient020_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamNetworking( struct cppISteamClient_SteamClient020_GetISteamNetworking_params *params ) { - void /*ISteamNetworking*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamNetworking( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient020_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamRemoteStorage( struct cppISteamClient_SteamClient020_GetISteamRemoteStorage_params *params ) { - void /*ISteamRemoteStorage*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemoteStorage( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamScreenshots*/ * cppISteamClient_SteamClient020_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamScreenshots( struct cppISteamClient_SteamClient020_GetISteamScreenshots_params *params ) { - void /*ISteamScreenshots*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamScreenshots( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamGameSearch*/ * cppISteamClient_SteamClient020_GetISteamGameSearch(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamGameSearch( struct cppISteamClient_SteamClient020_GetISteamGameSearch_params *params ) { - void /*ISteamGameSearch*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamGameSearch((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamGameSearch( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient020_RunFrame(void *linux_side) +void cppISteamClient_SteamClient020_RunFrame( struct cppISteamClient_SteamClient020_RunFrame_params *params ) { - ((ISteamClient*)linux_side)->RunFrame(); + ((ISteamClient*)params->linux_side)->RunFrame( ); } -uint32 cppISteamClient_SteamClient020_GetIPCCallCount(void *linux_side) +void cppISteamClient_SteamClient020_GetIPCCallCount( struct cppISteamClient_SteamClient020_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamClient*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamClient_SteamClient020_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamClient_SteamClient020_SetWarningMessageHook( struct cppISteamClient_SteamClient020_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamClient*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed(void *linux_side) +void cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed_params *params ) { - bool _ret; - _ret = ((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed(); - return after_shutdown(_ret); + params->_ret = ((ISteamClient*)params->linux_side)->BShutdownIfAllPipesClosed( ); + params->_ret = after_shutdown( params->_ret ); } -void /*ISteamHTTP*/ * cppISteamClient_SteamClient020_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamHTTP( struct cppISteamClient_SteamClient020_GetISteamHTTP_params *params ) { - void /*ISteamHTTP*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTTP( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void * cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages_params *params ) { - void *_ret; - _ret = ((ISteamClient*)linux_side)->DEPRECATED_GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->DEPRECATED_GetISteamUnifiedMessages( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamController*/ * cppISteamClient_SteamClient020_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamController( struct cppISteamClient_SteamClient020_GetISteamController_params *params ) { - void /*ISteamController*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamController( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamUGC*/ * cppISteamClient_SteamClient020_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamUGC( struct cppISteamClient_SteamClient020_GetISteamUGC_params *params ) { - void /*ISteamUGC*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamUGC( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamAppList*/ * cppISteamClient_SteamClient020_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamAppList( struct cppISteamClient_SteamClient020_GetISteamAppList_params *params ) { - void /*ISteamAppList*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamAppList( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMusic*/ * cppISteamClient_SteamClient020_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamMusic( struct cppISteamClient_SteamClient020_GetISteamMusic_params *params ) { - void /*ISteamMusic*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMusic( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamMusicRemote*/ * cppISteamClient_SteamClient020_GetISteamMusicRemote(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamMusicRemote( struct cppISteamClient_SteamClient020_GetISteamMusicRemote_params *params ) { - void /*ISteamMusicRemote*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamMusicRemote((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamMusicRemote( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamHTMLSurface*/ * cppISteamClient_SteamClient020_GetISteamHTMLSurface(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamHTMLSurface( struct cppISteamClient_SteamClient020_GetISteamHTMLSurface_params *params ) { - void /*ISteamHTMLSurface*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamHTMLSurface((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamHTMLSurface( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *linux_side, void *_a) +void cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *params ) { - ((ISteamClient*)linux_side)->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + ((ISteamClient*)params->linux_side)->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( (void (*)())params->_a ); } -void cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *linux_side, void *_a) +void cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *params ) { - ((ISteamClient*)linux_side)->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + ((ISteamClient*)params->linux_side)->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( (void (*)())params->_a ); } -void cppISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *linux_side, SteamAPI_CheckCallbackRegistered_t func) +void cppISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess( struct cppISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params ) { - func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t((void*)func); - ((ISteamClient*)linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess((SteamAPI_CheckCallbackRegistered_t)func); + params->func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t( (void *)params->func ); + ((ISteamClient*)params->linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess( (SteamAPI_CheckCallbackRegistered_t)params->func ); } -void /*ISteamInventory*/ * cppISteamClient_SteamClient020_GetISteamInventory(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamInventory( struct cppISteamClient_SteamClient020_GetISteamInventory_params *params ) { - void /*ISteamInventory*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamInventory((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamInventory( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamVideo*/ * cppISteamClient_SteamClient020_GetISteamVideo(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamVideo( struct cppISteamClient_SteamClient020_GetISteamVideo_params *params ) { - void /*ISteamVideo*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamVideo((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamVideo( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamParentalSettings*/ * cppISteamClient_SteamClient020_GetISteamParentalSettings(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamParentalSettings( struct cppISteamClient_SteamClient020_GetISteamParentalSettings_params *params ) { - void /*ISteamParentalSettings*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamParentalSettings((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamParentalSettings( (HSteamUser)params->hSteamuser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamInput*/ * cppISteamClient_SteamClient020_GetISteamInput(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamInput( struct cppISteamClient_SteamClient020_GetISteamInput_params *params ) { - void /*ISteamInput*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamInput((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamInput( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamParties*/ * cppISteamClient_SteamClient020_GetISteamParties(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamParties( struct cppISteamClient_SteamClient020_GetISteamParties_params *params ) { - void /*ISteamParties*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamParties((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamParties( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void /*ISteamRemotePlay*/ * cppISteamClient_SteamClient020_GetISteamRemotePlay(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) +void cppISteamClient_SteamClient020_GetISteamRemotePlay( struct cppISteamClient_SteamClient020_GetISteamRemotePlay_params *params ) { - void /*ISteamRemotePlay*/ *_ret; - _ret = ((ISteamClient*)linux_side)->GetISteamRemotePlay((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamClient*)params->linux_side)->GetISteamRemotePlay( (HSteamUser)params->hSteamUser, (HSteamPipe)params->hSteamPipe, (const char *)params->pchVersion ); } -void cppISteamClient_SteamClient020_DestroyAllInterfaces(void *linux_side) +void cppISteamClient_SteamClient020_DestroyAllInterfaces( struct cppISteamClient_SteamClient020_DestroyAllInterfaces_params *params ) { - ((ISteamClient*)linux_side)->DestroyAllInterfaces(); + ((ISteamClient*)params->linux_side)->DestroyAllInterfaces( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamClient_SteamClient020.h b/lsteamclient/cppISteamClient_SteamClient020.h index e1cd9011..5705d7ad 100644 --- a/lsteamclient/cppISteamClient_SteamClient020.h +++ b/lsteamclient/cppISteamClient_SteamClient020.h @@ -1,42 +1,381 @@ -extern HSteamPipe cppISteamClient_SteamClient020_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient020_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient020_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient020_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient020_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void /*ISteamUser*/ * cppISteamClient_SteamClient020_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServer*/ * cppISteamClient_SteamClient020_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient020_SetLocalIPBinding(void *, const SteamIPAddress_t *, uint16); -extern void /*ISteamFriends*/ * cppISteamClient_SteamClient020_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUtils*/ * cppISteamClient_SteamClient020_GetISteamUtils(void *, HSteamPipe, const char *); -extern void /*ISteamMatchmaking*/ * cppISteamClient_SteamClient020_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMatchmakingServers*/ * cppISteamClient_SteamClient020_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient020_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUserStats*/ * cppISteamClient_SteamClient020_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameServerStats*/ * cppISteamClient_SteamClient020_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamApps*/ * cppISteamClient_SteamClient020_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamNetworking*/ * cppISteamClient_SteamClient020_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemoteStorage*/ * cppISteamClient_SteamClient020_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamScreenshots*/ * cppISteamClient_SteamClient020_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamGameSearch*/ * cppISteamClient_SteamClient020_GetISteamGameSearch(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient020_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient020_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient020_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed(void *); -extern void /*ISteamHTTP*/ * cppISteamClient_SteamClient020_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamController*/ * cppISteamClient_SteamClient020_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamUGC*/ * cppISteamClient_SteamClient020_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamAppList*/ * cppISteamClient_SteamClient020_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMusic*/ * cppISteamClient_SteamClient020_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamMusicRemote*/ * cppISteamClient_SteamClient020_GetISteamMusicRemote(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamHTMLSurface*/ * cppISteamClient_SteamClient020_GetISteamHTMLSurface(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *, SteamAPI_CheckCallbackRegistered_t); -extern void /*ISteamInventory*/ * cppISteamClient_SteamClient020_GetISteamInventory(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamVideo*/ * cppISteamClient_SteamClient020_GetISteamVideo(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamParentalSettings*/ * cppISteamClient_SteamClient020_GetISteamParentalSettings(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamInput*/ * cppISteamClient_SteamClient020_GetISteamInput(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamParties*/ * cppISteamClient_SteamClient020_GetISteamParties(void *, HSteamUser, HSteamPipe, const char *); -extern void /*ISteamRemotePlay*/ * cppISteamClient_SteamClient020_GetISteamRemotePlay(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient020_DestroyAllInterfaces(void *); +struct cppISteamClient_SteamClient020_CreateSteamPipe_params +{ + void *linux_side; + HSteamPipe _ret; +}; +extern void cppISteamClient_SteamClient020_CreateSteamPipe( struct cppISteamClient_SteamClient020_CreateSteamPipe_params *params ); + +struct cppISteamClient_SteamClient020_BReleaseSteamPipe_params +{ + void *linux_side; + bool _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient020_BReleaseSteamPipe( struct cppISteamClient_SteamClient020_BReleaseSteamPipe_params *params ); + +struct cppISteamClient_SteamClient020_ConnectToGlobalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe hSteamPipe; +}; +extern void cppISteamClient_SteamClient020_ConnectToGlobalUser( struct cppISteamClient_SteamClient020_ConnectToGlobalUser_params *params ); + +struct cppISteamClient_SteamClient020_CreateLocalUser_params +{ + void *linux_side; + HSteamUser _ret; + HSteamPipe *phSteamPipe; + EAccountType eAccountType; +}; +extern void cppISteamClient_SteamClient020_CreateLocalUser( struct cppISteamClient_SteamClient020_CreateLocalUser_params *params ); + +struct cppISteamClient_SteamClient020_ReleaseUser_params +{ + void *linux_side; + HSteamPipe hSteamPipe; + HSteamUser hUser; +}; +extern void cppISteamClient_SteamClient020_ReleaseUser( struct cppISteamClient_SteamClient020_ReleaseUser_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamUser_params +{ + void *linux_side; + void /*ISteamUser*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamUser( struct cppISteamClient_SteamClient020_GetISteamUser_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamGameServer_params +{ + void *linux_side; + void /*ISteamGameServer*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamGameServer( struct cppISteamClient_SteamClient020_GetISteamGameServer_params *params ); + +struct cppISteamClient_SteamClient020_SetLocalIPBinding_params +{ + void *linux_side; + const SteamIPAddress_t *unIP; + uint16 usPort; +}; +extern void cppISteamClient_SteamClient020_SetLocalIPBinding( struct cppISteamClient_SteamClient020_SetLocalIPBinding_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamFriends_params +{ + void *linux_side; + void /*ISteamFriends*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamFriends( struct cppISteamClient_SteamClient020_GetISteamFriends_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamUtils_params +{ + void *linux_side; + void /*ISteamUtils*/ *_ret; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamUtils( struct cppISteamClient_SteamClient020_GetISteamUtils_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamMatchmaking_params +{ + void *linux_side; + void /*ISteamMatchmaking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamMatchmaking( struct cppISteamClient_SteamClient020_GetISteamMatchmaking_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamMatchmakingServers_params +{ + void *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient020_GetISteamMatchmakingServers_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamGenericInterface_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamGenericInterface( struct cppISteamClient_SteamClient020_GetISteamGenericInterface_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamUserStats_params +{ + void *linux_side; + void /*ISteamUserStats*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamUserStats( struct cppISteamClient_SteamClient020_GetISteamUserStats_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamGameServerStats_params +{ + void *linux_side; + void /*ISteamGameServerStats*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamGameServerStats( struct cppISteamClient_SteamClient020_GetISteamGameServerStats_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamApps_params +{ + void *linux_side; + void /*ISteamApps*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamApps( struct cppISteamClient_SteamClient020_GetISteamApps_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamNetworking_params +{ + void *linux_side; + void /*ISteamNetworking*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamNetworking( struct cppISteamClient_SteamClient020_GetISteamNetworking_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamRemoteStorage_params +{ + void *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamRemoteStorage( struct cppISteamClient_SteamClient020_GetISteamRemoteStorage_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamScreenshots_params +{ + void *linux_side; + void /*ISteamScreenshots*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamScreenshots( struct cppISteamClient_SteamClient020_GetISteamScreenshots_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamGameSearch_params +{ + void *linux_side; + void /*ISteamGameSearch*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamGameSearch( struct cppISteamClient_SteamClient020_GetISteamGameSearch_params *params ); + +struct cppISteamClient_SteamClient020_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient020_RunFrame( struct cppISteamClient_SteamClient020_RunFrame_params *params ); + +struct cppISteamClient_SteamClient020_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamClient_SteamClient020_GetIPCCallCount( struct cppISteamClient_SteamClient020_GetIPCCallCount_params *params ); + +struct cppISteamClient_SteamClient020_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamClient_SteamClient020_SetWarningMessageHook( struct cppISteamClient_SteamClient020_SetWarningMessageHook_params *params ); + +struct cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamHTTP_params +{ + void *linux_side; + void /*ISteamHTTP*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamHTTP( struct cppISteamClient_SteamClient020_GetISteamHTTP_params *params ); + +struct cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages_params +{ + void *linux_side; + void *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamController_params +{ + void *linux_side; + void /*ISteamController*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamController( struct cppISteamClient_SteamClient020_GetISteamController_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamUGC_params +{ + void *linux_side; + void /*ISteamUGC*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamUGC( struct cppISteamClient_SteamClient020_GetISteamUGC_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamAppList_params +{ + void *linux_side; + void /*ISteamAppList*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamAppList( struct cppISteamClient_SteamClient020_GetISteamAppList_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamMusic_params +{ + void *linux_side; + void /*ISteamMusic*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamMusic( struct cppISteamClient_SteamClient020_GetISteamMusic_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamMusicRemote_params +{ + void *linux_side; + void /*ISteamMusicRemote*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamMusicRemote( struct cppISteamClient_SteamClient020_GetISteamMusicRemote_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamHTMLSurface_params +{ + void *linux_side; + void /*ISteamHTMLSurface*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamHTMLSurface( struct cppISteamClient_SteamClient020_GetISteamHTMLSurface_params *params ); + +struct cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params +{ + void *linux_side; + void *_a; +}; +extern void cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *params ); + +struct cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params +{ + void *linux_side; + void *_a; +}; +extern void cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *params ); + +struct cppISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params +{ + void *linux_side; + SteamAPI_CheckCallbackRegistered_t func; +}; +extern void cppISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess( struct cppISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamInventory_params +{ + void *linux_side; + void /*ISteamInventory*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamInventory( struct cppISteamClient_SteamClient020_GetISteamInventory_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamVideo_params +{ + void *linux_side; + void /*ISteamVideo*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamVideo( struct cppISteamClient_SteamClient020_GetISteamVideo_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamParentalSettings_params +{ + void *linux_side; + void /*ISteamParentalSettings*/ *_ret; + HSteamUser hSteamuser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamParentalSettings( struct cppISteamClient_SteamClient020_GetISteamParentalSettings_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamInput_params +{ + void *linux_side; + void /*ISteamInput*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamInput( struct cppISteamClient_SteamClient020_GetISteamInput_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamParties_params +{ + void *linux_side; + void /*ISteamParties*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamParties( struct cppISteamClient_SteamClient020_GetISteamParties_params *params ); + +struct cppISteamClient_SteamClient020_GetISteamRemotePlay_params +{ + void *linux_side; + void /*ISteamRemotePlay*/ *_ret; + HSteamUser hSteamUser; + HSteamPipe hSteamPipe; + const char *pchVersion; +}; +extern void cppISteamClient_SteamClient020_GetISteamRemotePlay( struct cppISteamClient_SteamClient020_GetISteamRemotePlay_params *params ); + +struct cppISteamClient_SteamClient020_DestroyAllInterfaces_params +{ + void *linux_side; +}; +extern void cppISteamClient_SteamClient020_DestroyAllInterfaces( struct cppISteamClient_SteamClient020_DestroyAllInterfaces_params *params ); + diff --git a/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.cpp b/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.cpp index fb92bff5..fb9d306c 100644 --- a/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.cpp +++ b/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.cpp @@ -11,40 +11,34 @@ extern "C" { #define SDKVER_134 #include "struct_converters.h" #include "cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.h" -bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init(void *linux_side, const char *pchAbsolutePathToControllerConfigVDF) +void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init( struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Init((const char *)pchAbsolutePathToControllerConfigVDF); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Init( (const char *)params->pchAbsolutePathToControllerConfigVDF ); } -bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown(void *linux_side) +void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown( struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Shutdown( ); } -void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame(void *linux_side) +void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame( struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame_params *params ) { - ((ISteamController*)linux_side)->RunFrame(); + ((ISteamController*)params->linux_side)->RunFrame( ); } -bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState(void *linux_side, uint32 unControllerIndex, SteamControllerState001_t *pState) +void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState( struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->GetControllerState((uint32)unControllerIndex, (SteamControllerState001_t *)pState); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetControllerState( (uint32)params->unControllerIndex, (SteamControllerState001_t *)params->pState ); } -void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse(void *linux_side, uint32 unControllerIndex, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse( struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse_params *params ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((uint32)unControllerIndex, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + ((ISteamController*)params->linux_side)->TriggerHapticPulse( (uint32)params->unControllerIndex, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec ); } -void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode(void *linux_side, const char *pchMode) +void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode( struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode_params *params ) { - ((ISteamController*)linux_side)->SetOverrideMode((const char *)pchMode); + ((ISteamController*)params->linux_side)->SetOverrideMode( (const char *)params->pchMode ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.h b/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.h index 8bde17c9..20b9a403 100644 --- a/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.h +++ b/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.h @@ -1,6 +1,46 @@ -extern bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init(void *, const char *); -extern bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown(void *); -extern void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame(void *); -extern bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState(void *, uint32, SteamControllerState001_t *); -extern void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse(void *, uint32, ESteamControllerPad, unsigned short); -extern void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode(void *, const char *); +struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init_params +{ + void *linux_side; + bool _ret; + const char *pchAbsolutePathToControllerConfigVDF; +}; +extern void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init( struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init_params *params ); + +struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown( struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown_params *params ); + +struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame( struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame_params *params ); + +struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState_params +{ + void *linux_side; + bool _ret; + uint32 unControllerIndex; + SteamControllerState001_t *pState; +}; +extern void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState( struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState_params *params ); + +struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse_params +{ + void *linux_side; + uint32 unControllerIndex; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; +}; +extern void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse( struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse_params *params ); + +struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode_params +{ + void *linux_side; + const char *pchMode; +}; +extern void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode( struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode_params *params ); + diff --git a/lsteamclient/cppISteamController_SteamController003.cpp b/lsteamclient/cppISteamController_SteamController003.cpp index 03291b13..eb1c0a57 100644 --- a/lsteamclient/cppISteamController_SteamController003.cpp +++ b/lsteamclient/cppISteamController_SteamController003.cpp @@ -11,113 +11,89 @@ extern "C" { #define SDKVER_137 #include "struct_converters.h" #include "cppISteamController_SteamController003.h" -bool cppISteamController_SteamController003_Init(void *linux_side) +void cppISteamController_SteamController003_Init( struct cppISteamController_SteamController003_Init_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Init(); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Init( ); } -bool cppISteamController_SteamController003_Shutdown(void *linux_side) +void cppISteamController_SteamController003_Shutdown( struct cppISteamController_SteamController003_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Shutdown( ); } -void cppISteamController_SteamController003_RunFrame(void *linux_side) +void cppISteamController_SteamController003_RunFrame( struct cppISteamController_SteamController003_RunFrame_params *params ) { - ((ISteamController*)linux_side)->RunFrame(); + ((ISteamController*)params->linux_side)->RunFrame( ); } -int cppISteamController_SteamController003_GetConnectedControllers(void *linux_side, ControllerHandle_t *handlesOut) +void cppISteamController_SteamController003_GetConnectedControllers( struct cppISteamController_SteamController003_GetConnectedControllers_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetConnectedControllers((ControllerHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetConnectedControllers( (ControllerHandle_t *)params->handlesOut ); } -bool cppISteamController_SteamController003_ShowBindingPanel(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController003_ShowBindingPanel( struct cppISteamController_SteamController003_ShowBindingPanel_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->ShowBindingPanel((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->ShowBindingPanel( (ControllerHandle_t)params->controllerHandle ); } -ControllerActionSetHandle_t cppISteamController_SteamController003_GetActionSetHandle(void *linux_side, const char *pszActionSetName) +void cppISteamController_SteamController003_GetActionSetHandle( struct cppISteamController_SteamController003_GetActionSetHandle_params *params ) { - ControllerActionSetHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetActionSetHandle( (const char *)params->pszActionSetName ); } -void cppISteamController_SteamController003_ActivateActionSet(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +void cppISteamController_SteamController003_ActivateActionSet( struct cppISteamController_SteamController003_ActivateActionSet_params *params ) { - ((ISteamController*)linux_side)->ActivateActionSet((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle); + ((ISteamController*)params->linux_side)->ActivateActionSet( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle ); } -ControllerActionSetHandle_t cppISteamController_SteamController003_GetCurrentActionSet(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController003_GetCurrentActionSet( struct cppISteamController_SteamController003_GetCurrentActionSet_params *params ) { - ControllerActionSetHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetCurrentActionSet((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetCurrentActionSet( (ControllerHandle_t)params->controllerHandle ); } -ControllerDigitalActionHandle_t cppISteamController_SteamController003_GetDigitalActionHandle(void *linux_side, const char *pszActionName) +void cppISteamController_SteamController003_GetDigitalActionHandle( struct cppISteamController_SteamController003_GetDigitalActionHandle_params *params ) { - ControllerDigitalActionHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionHandle( (const char *)params->pszActionName ); } -ControllerDigitalActionData_t cppISteamController_SteamController003_GetDigitalActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +void cppISteamController_SteamController003_GetDigitalActionData( struct cppISteamController_SteamController003_GetDigitalActionData_params *params ) { - ControllerDigitalActionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionData((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionData( (ControllerHandle_t)params->controllerHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle ); } -int cppISteamController_SteamController003_GetDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin *originsOut) +void cppISteamController_SteamController003_GetDigitalActionOrigins( struct cppISteamController_SteamController003_GetDigitalActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (EControllerActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle, (EControllerActionOrigin *)params->originsOut ); } -ControllerAnalogActionHandle_t cppISteamController_SteamController003_GetAnalogActionHandle(void *linux_side, const char *pszActionName) +void cppISteamController_SteamController003_GetAnalogActionHandle( struct cppISteamController_SteamController003_GetAnalogActionHandle_params *params ) { - ControllerAnalogActionHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionHandle( (const char *)params->pszActionName ); } -ControllerAnalogActionData_t cppISteamController_SteamController003_GetAnalogActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +void cppISteamController_SteamController003_GetAnalogActionData( struct cppISteamController_SteamController003_GetAnalogActionData_params *params ) { - ControllerAnalogActionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionData((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionData( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle ); } -int cppISteamController_SteamController003_GetAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin *originsOut) +void cppISteamController_SteamController003_GetAnalogActionOrigins( struct cppISteamController_SteamController003_GetAnalogActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (EControllerActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle, (EControllerActionOrigin *)params->originsOut ); } -void cppISteamController_SteamController003_StopAnalogActionMomentum(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +void cppISteamController_SteamController003_StopAnalogActionMomentum( struct cppISteamController_SteamController003_StopAnalogActionMomentum_params *params ) { - ((ISteamController*)linux_side)->StopAnalogActionMomentum((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)eAction); + ((ISteamController*)params->linux_side)->StopAnalogActionMomentum( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->eAction ); } -void cppISteamController_SteamController003_TriggerHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void cppISteamController_SteamController003_TriggerHapticPulse( struct cppISteamController_SteamController003_TriggerHapticPulse_params *params ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + ((ISteamController*)params->linux_side)->TriggerHapticPulse( (ControllerHandle_t)params->controllerHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec ); } -void cppISteamController_SteamController003_TriggerRepeatedHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +void cppISteamController_SteamController003_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController003_TriggerRepeatedHapticPulse_params *params ) { - ((ISteamController*)linux_side)->TriggerRepeatedHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + ((ISteamController*)params->linux_side)->TriggerRepeatedHapticPulse( (ControllerHandle_t)params->controllerHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec, (unsigned short)params->usOffMicroSec, (unsigned short)params->unRepeat, (unsigned int)params->nFlags ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamController_SteamController003.h b/lsteamclient/cppISteamController_SteamController003.h index f01286e0..8b5b9bf4 100644 --- a/lsteamclient/cppISteamController_SteamController003.h +++ b/lsteamclient/cppISteamController_SteamController003.h @@ -1,17 +1,145 @@ -extern bool cppISteamController_SteamController003_Init(void *); -extern bool cppISteamController_SteamController003_Shutdown(void *); -extern void cppISteamController_SteamController003_RunFrame(void *); -extern int cppISteamController_SteamController003_GetConnectedControllers(void *, ControllerHandle_t *); -extern bool cppISteamController_SteamController003_ShowBindingPanel(void *, ControllerHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController003_GetActionSetHandle(void *, const char *); -extern void cppISteamController_SteamController003_ActivateActionSet(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController003_GetCurrentActionSet(void *, ControllerHandle_t); -extern ControllerDigitalActionHandle_t cppISteamController_SteamController003_GetDigitalActionHandle(void *, const char *); -extern ControllerDigitalActionData_t cppISteamController_SteamController003_GetDigitalActionData(void *, ControllerHandle_t, ControllerDigitalActionHandle_t); -extern int cppISteamController_SteamController003_GetDigitalActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerDigitalActionHandle_t, EControllerActionOrigin *); -extern ControllerAnalogActionHandle_t cppISteamController_SteamController003_GetAnalogActionHandle(void *, const char *); -extern ControllerAnalogActionData_t cppISteamController_SteamController003_GetAnalogActionData(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern int cppISteamController_SteamController003_GetAnalogActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerAnalogActionHandle_t, EControllerActionOrigin *); -extern void cppISteamController_SteamController003_StopAnalogActionMomentum(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern void cppISteamController_SteamController003_TriggerHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamController_SteamController003_TriggerRepeatedHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); +struct cppISteamController_SteamController003_Init_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamController_SteamController003_Init( struct cppISteamController_SteamController003_Init_params *params ); + +struct cppISteamController_SteamController003_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamController_SteamController003_Shutdown( struct cppISteamController_SteamController003_Shutdown_params *params ); + +struct cppISteamController_SteamController003_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamController_SteamController003_RunFrame( struct cppISteamController_SteamController003_RunFrame_params *params ); + +struct cppISteamController_SteamController003_GetConnectedControllers_params +{ + void *linux_side; + int _ret; + ControllerHandle_t *handlesOut; +}; +extern void cppISteamController_SteamController003_GetConnectedControllers( struct cppISteamController_SteamController003_GetConnectedControllers_params *params ); + +struct cppISteamController_SteamController003_ShowBindingPanel_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController003_ShowBindingPanel( struct cppISteamController_SteamController003_ShowBindingPanel_params *params ); + +struct cppISteamController_SteamController003_GetActionSetHandle_params +{ + void *linux_side; + ControllerActionSetHandle_t _ret; + const char *pszActionSetName; +}; +extern void cppISteamController_SteamController003_GetActionSetHandle( struct cppISteamController_SteamController003_GetActionSetHandle_params *params ); + +struct cppISteamController_SteamController003_ActivateActionSet_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; +}; +extern void cppISteamController_SteamController003_ActivateActionSet( struct cppISteamController_SteamController003_ActivateActionSet_params *params ); + +struct cppISteamController_SteamController003_GetCurrentActionSet_params +{ + void *linux_side; + ControllerActionSetHandle_t _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController003_GetCurrentActionSet( struct cppISteamController_SteamController003_GetCurrentActionSet_params *params ); + +struct cppISteamController_SteamController003_GetDigitalActionHandle_params +{ + void *linux_side; + ControllerDigitalActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamController_SteamController003_GetDigitalActionHandle( struct cppISteamController_SteamController003_GetDigitalActionHandle_params *params ); + +struct cppISteamController_SteamController003_GetDigitalActionData_params +{ + void *linux_side; + ControllerDigitalActionData_t *_ret; + ControllerHandle_t controllerHandle; + ControllerDigitalActionHandle_t digitalActionHandle; +}; +extern void cppISteamController_SteamController003_GetDigitalActionData( struct cppISteamController_SteamController003_GetDigitalActionData_params *params ); + +struct cppISteamController_SteamController003_GetDigitalActionOrigins_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; + ControllerDigitalActionHandle_t digitalActionHandle; + EControllerActionOrigin *originsOut; +}; +extern void cppISteamController_SteamController003_GetDigitalActionOrigins( struct cppISteamController_SteamController003_GetDigitalActionOrigins_params *params ); + +struct cppISteamController_SteamController003_GetAnalogActionHandle_params +{ + void *linux_side; + ControllerAnalogActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamController_SteamController003_GetAnalogActionHandle( struct cppISteamController_SteamController003_GetAnalogActionHandle_params *params ); + +struct cppISteamController_SteamController003_GetAnalogActionData_params +{ + void *linux_side; + ControllerAnalogActionData_t *_ret; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t analogActionHandle; +}; +extern void cppISteamController_SteamController003_GetAnalogActionData( struct cppISteamController_SteamController003_GetAnalogActionData_params *params ); + +struct cppISteamController_SteamController003_GetAnalogActionOrigins_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; + ControllerAnalogActionHandle_t analogActionHandle; + EControllerActionOrigin *originsOut; +}; +extern void cppISteamController_SteamController003_GetAnalogActionOrigins( struct cppISteamController_SteamController003_GetAnalogActionOrigins_params *params ); + +struct cppISteamController_SteamController003_StopAnalogActionMomentum_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t eAction; +}; +extern void cppISteamController_SteamController003_StopAnalogActionMomentum( struct cppISteamController_SteamController003_StopAnalogActionMomentum_params *params ); + +struct cppISteamController_SteamController003_TriggerHapticPulse_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; +}; +extern void cppISteamController_SteamController003_TriggerHapticPulse( struct cppISteamController_SteamController003_TriggerHapticPulse_params *params ); + +struct cppISteamController_SteamController003_TriggerRepeatedHapticPulse_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; + unsigned short usOffMicroSec; + unsigned short unRepeat; + unsigned int nFlags; +}; +extern void cppISteamController_SteamController003_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController003_TriggerRepeatedHapticPulse_params *params ); + diff --git a/lsteamclient/cppISteamController_SteamController004.cpp b/lsteamclient/cppISteamController_SteamController004.cpp index 91796cfb..9175aff1 100644 --- a/lsteamclient/cppISteamController_SteamController004.cpp +++ b/lsteamclient/cppISteamController_SteamController004.cpp @@ -11,148 +11,114 @@ extern "C" { #define SDKVER_138a #include "struct_converters.h" #include "cppISteamController_SteamController004.h" -bool cppISteamController_SteamController004_Init(void *linux_side) +void cppISteamController_SteamController004_Init( struct cppISteamController_SteamController004_Init_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Init(); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Init( ); } -bool cppISteamController_SteamController004_Shutdown(void *linux_side) +void cppISteamController_SteamController004_Shutdown( struct cppISteamController_SteamController004_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Shutdown( ); } -void cppISteamController_SteamController004_RunFrame(void *linux_side) +void cppISteamController_SteamController004_RunFrame( struct cppISteamController_SteamController004_RunFrame_params *params ) { - ((ISteamController*)linux_side)->RunFrame(); + ((ISteamController*)params->linux_side)->RunFrame( ); } -int cppISteamController_SteamController004_GetConnectedControllers(void *linux_side, ControllerHandle_t *handlesOut) +void cppISteamController_SteamController004_GetConnectedControllers( struct cppISteamController_SteamController004_GetConnectedControllers_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetConnectedControllers((ControllerHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetConnectedControllers( (ControllerHandle_t *)params->handlesOut ); } -bool cppISteamController_SteamController004_ShowBindingPanel(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController004_ShowBindingPanel( struct cppISteamController_SteamController004_ShowBindingPanel_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->ShowBindingPanel((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->ShowBindingPanel( (ControllerHandle_t)params->controllerHandle ); } -ControllerActionSetHandle_t cppISteamController_SteamController004_GetActionSetHandle(void *linux_side, const char *pszActionSetName) +void cppISteamController_SteamController004_GetActionSetHandle( struct cppISteamController_SteamController004_GetActionSetHandle_params *params ) { - ControllerActionSetHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetActionSetHandle( (const char *)params->pszActionSetName ); } -void cppISteamController_SteamController004_ActivateActionSet(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +void cppISteamController_SteamController004_ActivateActionSet( struct cppISteamController_SteamController004_ActivateActionSet_params *params ) { - ((ISteamController*)linux_side)->ActivateActionSet((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle); + ((ISteamController*)params->linux_side)->ActivateActionSet( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle ); } -ControllerActionSetHandle_t cppISteamController_SteamController004_GetCurrentActionSet(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController004_GetCurrentActionSet( struct cppISteamController_SteamController004_GetCurrentActionSet_params *params ) { - ControllerActionSetHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetCurrentActionSet((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetCurrentActionSet( (ControllerHandle_t)params->controllerHandle ); } -ControllerDigitalActionHandle_t cppISteamController_SteamController004_GetDigitalActionHandle(void *linux_side, const char *pszActionName) +void cppISteamController_SteamController004_GetDigitalActionHandle( struct cppISteamController_SteamController004_GetDigitalActionHandle_params *params ) { - ControllerDigitalActionHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionHandle( (const char *)params->pszActionName ); } -ControllerDigitalActionData_t cppISteamController_SteamController004_GetDigitalActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +void cppISteamController_SteamController004_GetDigitalActionData( struct cppISteamController_SteamController004_GetDigitalActionData_params *params ) { - ControllerDigitalActionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionData((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionData( (ControllerHandle_t)params->controllerHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle ); } -int cppISteamController_SteamController004_GetDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin *originsOut) +void cppISteamController_SteamController004_GetDigitalActionOrigins( struct cppISteamController_SteamController004_GetDigitalActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (EControllerActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle, (EControllerActionOrigin *)params->originsOut ); } -ControllerAnalogActionHandle_t cppISteamController_SteamController004_GetAnalogActionHandle(void *linux_side, const char *pszActionName) +void cppISteamController_SteamController004_GetAnalogActionHandle( struct cppISteamController_SteamController004_GetAnalogActionHandle_params *params ) { - ControllerAnalogActionHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionHandle( (const char *)params->pszActionName ); } -ControllerAnalogActionData_t cppISteamController_SteamController004_GetAnalogActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +void cppISteamController_SteamController004_GetAnalogActionData( struct cppISteamController_SteamController004_GetAnalogActionData_params *params ) { - ControllerAnalogActionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionData((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionData( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle ); } -int cppISteamController_SteamController004_GetAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin *originsOut) +void cppISteamController_SteamController004_GetAnalogActionOrigins( struct cppISteamController_SteamController004_GetAnalogActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (EControllerActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle, (EControllerActionOrigin *)params->originsOut ); } -void cppISteamController_SteamController004_StopAnalogActionMomentum(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +void cppISteamController_SteamController004_StopAnalogActionMomentum( struct cppISteamController_SteamController004_StopAnalogActionMomentum_params *params ) { - ((ISteamController*)linux_side)->StopAnalogActionMomentum((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)eAction); + ((ISteamController*)params->linux_side)->StopAnalogActionMomentum( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->eAction ); } -void cppISteamController_SteamController004_TriggerHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void cppISteamController_SteamController004_TriggerHapticPulse( struct cppISteamController_SteamController004_TriggerHapticPulse_params *params ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + ((ISteamController*)params->linux_side)->TriggerHapticPulse( (ControllerHandle_t)params->controllerHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec ); } -void cppISteamController_SteamController004_TriggerRepeatedHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +void cppISteamController_SteamController004_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController004_TriggerRepeatedHapticPulse_params *params ) { - ((ISteamController*)linux_side)->TriggerRepeatedHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + ((ISteamController*)params->linux_side)->TriggerRepeatedHapticPulse( (ControllerHandle_t)params->controllerHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec, (unsigned short)params->usOffMicroSec, (unsigned short)params->unRepeat, (unsigned int)params->nFlags ); } -int cppISteamController_SteamController004_GetGamepadIndexForController(void *linux_side, ControllerHandle_t ulControllerHandle) +void cppISteamController_SteamController004_GetGamepadIndexForController( struct cppISteamController_SteamController004_GetGamepadIndexForController_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetGamepadIndexForController((ControllerHandle_t)ulControllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetGamepadIndexForController( (ControllerHandle_t)params->ulControllerHandle ); } -ControllerHandle_t cppISteamController_SteamController004_GetControllerForGamepadIndex(void *linux_side, int nIndex) +void cppISteamController_SteamController004_GetControllerForGamepadIndex( struct cppISteamController_SteamController004_GetControllerForGamepadIndex_params *params ) { - ControllerHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetControllerForGamepadIndex((int)nIndex); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetControllerForGamepadIndex( (int)params->nIndex ); } -ControllerMotionData_t cppISteamController_SteamController004_GetMotionData(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController004_GetMotionData( struct cppISteamController_SteamController004_GetMotionData_params *params ) { - ControllerMotionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetMotionData((ControllerHandle_t)controllerHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetMotionData( (ControllerHandle_t)params->controllerHandle ); } -bool cppISteamController_SteamController004_ShowDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) +void cppISteamController_SteamController004_ShowDigitalActionOrigins( struct cppISteamController_SteamController004_ShowDigitalActionOrigins_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->ShowDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (float)flScale, (float)flXPosition, (float)flYPosition); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->ShowDigitalActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle, (float)params->flScale, (float)params->flXPosition, (float)params->flYPosition ); } -bool cppISteamController_SteamController004_ShowAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition) +void cppISteamController_SteamController004_ShowAnalogActionOrigins( struct cppISteamController_SteamController004_ShowAnalogActionOrigins_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->ShowAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (float)flScale, (float)flXPosition, (float)flYPosition); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->ShowAnalogActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle, (float)params->flScale, (float)params->flXPosition, (float)params->flYPosition ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamController_SteamController004.h b/lsteamclient/cppISteamController_SteamController004.h index 72626e11..1edc240c 100644 --- a/lsteamclient/cppISteamController_SteamController004.h +++ b/lsteamclient/cppISteamController_SteamController004.h @@ -1,22 +1,193 @@ -extern bool cppISteamController_SteamController004_Init(void *); -extern bool cppISteamController_SteamController004_Shutdown(void *); -extern void cppISteamController_SteamController004_RunFrame(void *); -extern int cppISteamController_SteamController004_GetConnectedControllers(void *, ControllerHandle_t *); -extern bool cppISteamController_SteamController004_ShowBindingPanel(void *, ControllerHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController004_GetActionSetHandle(void *, const char *); -extern void cppISteamController_SteamController004_ActivateActionSet(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController004_GetCurrentActionSet(void *, ControllerHandle_t); -extern ControllerDigitalActionHandle_t cppISteamController_SteamController004_GetDigitalActionHandle(void *, const char *); -extern ControllerDigitalActionData_t cppISteamController_SteamController004_GetDigitalActionData(void *, ControllerHandle_t, ControllerDigitalActionHandle_t); -extern int cppISteamController_SteamController004_GetDigitalActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerDigitalActionHandle_t, EControllerActionOrigin *); -extern ControllerAnalogActionHandle_t cppISteamController_SteamController004_GetAnalogActionHandle(void *, const char *); -extern ControllerAnalogActionData_t cppISteamController_SteamController004_GetAnalogActionData(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern int cppISteamController_SteamController004_GetAnalogActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerAnalogActionHandle_t, EControllerActionOrigin *); -extern void cppISteamController_SteamController004_StopAnalogActionMomentum(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern void cppISteamController_SteamController004_TriggerHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamController_SteamController004_TriggerRepeatedHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern int cppISteamController_SteamController004_GetGamepadIndexForController(void *, ControllerHandle_t); -extern ControllerHandle_t cppISteamController_SteamController004_GetControllerForGamepadIndex(void *, int); -extern ControllerMotionData_t cppISteamController_SteamController004_GetMotionData(void *, ControllerHandle_t); -extern bool cppISteamController_SteamController004_ShowDigitalActionOrigins(void *, ControllerHandle_t, ControllerDigitalActionHandle_t, float, float, float); -extern bool cppISteamController_SteamController004_ShowAnalogActionOrigins(void *, ControllerHandle_t, ControllerAnalogActionHandle_t, float, float, float); +struct cppISteamController_SteamController004_Init_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamController_SteamController004_Init( struct cppISteamController_SteamController004_Init_params *params ); + +struct cppISteamController_SteamController004_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamController_SteamController004_Shutdown( struct cppISteamController_SteamController004_Shutdown_params *params ); + +struct cppISteamController_SteamController004_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamController_SteamController004_RunFrame( struct cppISteamController_SteamController004_RunFrame_params *params ); + +struct cppISteamController_SteamController004_GetConnectedControllers_params +{ + void *linux_side; + int _ret; + ControllerHandle_t *handlesOut; +}; +extern void cppISteamController_SteamController004_GetConnectedControllers( struct cppISteamController_SteamController004_GetConnectedControllers_params *params ); + +struct cppISteamController_SteamController004_ShowBindingPanel_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController004_ShowBindingPanel( struct cppISteamController_SteamController004_ShowBindingPanel_params *params ); + +struct cppISteamController_SteamController004_GetActionSetHandle_params +{ + void *linux_side; + ControllerActionSetHandle_t _ret; + const char *pszActionSetName; +}; +extern void cppISteamController_SteamController004_GetActionSetHandle( struct cppISteamController_SteamController004_GetActionSetHandle_params *params ); + +struct cppISteamController_SteamController004_ActivateActionSet_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; +}; +extern void cppISteamController_SteamController004_ActivateActionSet( struct cppISteamController_SteamController004_ActivateActionSet_params *params ); + +struct cppISteamController_SteamController004_GetCurrentActionSet_params +{ + void *linux_side; + ControllerActionSetHandle_t _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController004_GetCurrentActionSet( struct cppISteamController_SteamController004_GetCurrentActionSet_params *params ); + +struct cppISteamController_SteamController004_GetDigitalActionHandle_params +{ + void *linux_side; + ControllerDigitalActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamController_SteamController004_GetDigitalActionHandle( struct cppISteamController_SteamController004_GetDigitalActionHandle_params *params ); + +struct cppISteamController_SteamController004_GetDigitalActionData_params +{ + void *linux_side; + ControllerDigitalActionData_t *_ret; + ControllerHandle_t controllerHandle; + ControllerDigitalActionHandle_t digitalActionHandle; +}; +extern void cppISteamController_SteamController004_GetDigitalActionData( struct cppISteamController_SteamController004_GetDigitalActionData_params *params ); + +struct cppISteamController_SteamController004_GetDigitalActionOrigins_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; + ControllerDigitalActionHandle_t digitalActionHandle; + EControllerActionOrigin *originsOut; +}; +extern void cppISteamController_SteamController004_GetDigitalActionOrigins( struct cppISteamController_SteamController004_GetDigitalActionOrigins_params *params ); + +struct cppISteamController_SteamController004_GetAnalogActionHandle_params +{ + void *linux_side; + ControllerAnalogActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamController_SteamController004_GetAnalogActionHandle( struct cppISteamController_SteamController004_GetAnalogActionHandle_params *params ); + +struct cppISteamController_SteamController004_GetAnalogActionData_params +{ + void *linux_side; + ControllerAnalogActionData_t *_ret; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t analogActionHandle; +}; +extern void cppISteamController_SteamController004_GetAnalogActionData( struct cppISteamController_SteamController004_GetAnalogActionData_params *params ); + +struct cppISteamController_SteamController004_GetAnalogActionOrigins_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; + ControllerAnalogActionHandle_t analogActionHandle; + EControllerActionOrigin *originsOut; +}; +extern void cppISteamController_SteamController004_GetAnalogActionOrigins( struct cppISteamController_SteamController004_GetAnalogActionOrigins_params *params ); + +struct cppISteamController_SteamController004_StopAnalogActionMomentum_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t eAction; +}; +extern void cppISteamController_SteamController004_StopAnalogActionMomentum( struct cppISteamController_SteamController004_StopAnalogActionMomentum_params *params ); + +struct cppISteamController_SteamController004_TriggerHapticPulse_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; +}; +extern void cppISteamController_SteamController004_TriggerHapticPulse( struct cppISteamController_SteamController004_TriggerHapticPulse_params *params ); + +struct cppISteamController_SteamController004_TriggerRepeatedHapticPulse_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; + unsigned short usOffMicroSec; + unsigned short unRepeat; + unsigned int nFlags; +}; +extern void cppISteamController_SteamController004_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController004_TriggerRepeatedHapticPulse_params *params ); + +struct cppISteamController_SteamController004_GetGamepadIndexForController_params +{ + void *linux_side; + int _ret; + ControllerHandle_t ulControllerHandle; +}; +extern void cppISteamController_SteamController004_GetGamepadIndexForController( struct cppISteamController_SteamController004_GetGamepadIndexForController_params *params ); + +struct cppISteamController_SteamController004_GetControllerForGamepadIndex_params +{ + void *linux_side; + ControllerHandle_t _ret; + int nIndex; +}; +extern void cppISteamController_SteamController004_GetControllerForGamepadIndex( struct cppISteamController_SteamController004_GetControllerForGamepadIndex_params *params ); + +struct cppISteamController_SteamController004_GetMotionData_params +{ + void *linux_side; + ControllerMotionData_t *_ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController004_GetMotionData( struct cppISteamController_SteamController004_GetMotionData_params *params ); + +struct cppISteamController_SteamController004_ShowDigitalActionOrigins_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; + ControllerDigitalActionHandle_t digitalActionHandle; + float flScale; + float flXPosition; + float flYPosition; +}; +extern void cppISteamController_SteamController004_ShowDigitalActionOrigins( struct cppISteamController_SteamController004_ShowDigitalActionOrigins_params *params ); + +struct cppISteamController_SteamController004_ShowAnalogActionOrigins_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t analogActionHandle; + float flScale; + float flXPosition; + float flYPosition; +}; +extern void cppISteamController_SteamController004_ShowAnalogActionOrigins( struct cppISteamController_SteamController004_ShowAnalogActionOrigins_params *params ); + diff --git a/lsteamclient/cppISteamController_SteamController005.cpp b/lsteamclient/cppISteamController_SteamController005.cpp index c3ec5b6f..417e40f0 100644 --- a/lsteamclient/cppISteamController_SteamController005.cpp +++ b/lsteamclient/cppISteamController_SteamController005.cpp @@ -11,165 +11,129 @@ extern "C" { #define SDKVER_141 #include "struct_converters.h" #include "cppISteamController_SteamController005.h" -bool cppISteamController_SteamController005_Init(void *linux_side) +void cppISteamController_SteamController005_Init( struct cppISteamController_SteamController005_Init_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Init(); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Init( ); } -bool cppISteamController_SteamController005_Shutdown(void *linux_side) +void cppISteamController_SteamController005_Shutdown( struct cppISteamController_SteamController005_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Shutdown( ); } -void cppISteamController_SteamController005_RunFrame(void *linux_side) +void cppISteamController_SteamController005_RunFrame( struct cppISteamController_SteamController005_RunFrame_params *params ) { - ((ISteamController*)linux_side)->RunFrame(); + ((ISteamController*)params->linux_side)->RunFrame( ); } -int cppISteamController_SteamController005_GetConnectedControllers(void *linux_side, ControllerHandle_t *handlesOut) +void cppISteamController_SteamController005_GetConnectedControllers( struct cppISteamController_SteamController005_GetConnectedControllers_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetConnectedControllers((ControllerHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetConnectedControllers( (ControllerHandle_t *)params->handlesOut ); } -bool cppISteamController_SteamController005_ShowBindingPanel(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController005_ShowBindingPanel( struct cppISteamController_SteamController005_ShowBindingPanel_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->ShowBindingPanel((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->ShowBindingPanel( (ControllerHandle_t)params->controllerHandle ); } -ControllerActionSetHandle_t cppISteamController_SteamController005_GetActionSetHandle(void *linux_side, const char *pszActionSetName) +void cppISteamController_SteamController005_GetActionSetHandle( struct cppISteamController_SteamController005_GetActionSetHandle_params *params ) { - ControllerActionSetHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetActionSetHandle( (const char *)params->pszActionSetName ); } -void cppISteamController_SteamController005_ActivateActionSet(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +void cppISteamController_SteamController005_ActivateActionSet( struct cppISteamController_SteamController005_ActivateActionSet_params *params ) { - ((ISteamController*)linux_side)->ActivateActionSet((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle); + ((ISteamController*)params->linux_side)->ActivateActionSet( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle ); } -ControllerActionSetHandle_t cppISteamController_SteamController005_GetCurrentActionSet(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController005_GetCurrentActionSet( struct cppISteamController_SteamController005_GetCurrentActionSet_params *params ) { - ControllerActionSetHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetCurrentActionSet((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetCurrentActionSet( (ControllerHandle_t)params->controllerHandle ); } -ControllerDigitalActionHandle_t cppISteamController_SteamController005_GetDigitalActionHandle(void *linux_side, const char *pszActionName) +void cppISteamController_SteamController005_GetDigitalActionHandle( struct cppISteamController_SteamController005_GetDigitalActionHandle_params *params ) { - ControllerDigitalActionHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionHandle( (const char *)params->pszActionName ); } -ControllerDigitalActionData_t cppISteamController_SteamController005_GetDigitalActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +void cppISteamController_SteamController005_GetDigitalActionData( struct cppISteamController_SteamController005_GetDigitalActionData_params *params ) { - ControllerDigitalActionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionData((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionData( (ControllerHandle_t)params->controllerHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle ); } -int cppISteamController_SteamController005_GetDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin *originsOut) +void cppISteamController_SteamController005_GetDigitalActionOrigins( struct cppISteamController_SteamController005_GetDigitalActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (EControllerActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle, (EControllerActionOrigin *)params->originsOut ); } -ControllerAnalogActionHandle_t cppISteamController_SteamController005_GetAnalogActionHandle(void *linux_side, const char *pszActionName) +void cppISteamController_SteamController005_GetAnalogActionHandle( struct cppISteamController_SteamController005_GetAnalogActionHandle_params *params ) { - ControllerAnalogActionHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionHandle( (const char *)params->pszActionName ); } -ControllerAnalogActionData_t cppISteamController_SteamController005_GetAnalogActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +void cppISteamController_SteamController005_GetAnalogActionData( struct cppISteamController_SteamController005_GetAnalogActionData_params *params ) { - ControllerAnalogActionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionData((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionData( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle ); } -int cppISteamController_SteamController005_GetAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin *originsOut) +void cppISteamController_SteamController005_GetAnalogActionOrigins( struct cppISteamController_SteamController005_GetAnalogActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (EControllerActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle, (EControllerActionOrigin *)params->originsOut ); } -void cppISteamController_SteamController005_StopAnalogActionMomentum(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +void cppISteamController_SteamController005_StopAnalogActionMomentum( struct cppISteamController_SteamController005_StopAnalogActionMomentum_params *params ) { - ((ISteamController*)linux_side)->StopAnalogActionMomentum((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)eAction); + ((ISteamController*)params->linux_side)->StopAnalogActionMomentum( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->eAction ); } -void cppISteamController_SteamController005_TriggerHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void cppISteamController_SteamController005_TriggerHapticPulse( struct cppISteamController_SteamController005_TriggerHapticPulse_params *params ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + ((ISteamController*)params->linux_side)->TriggerHapticPulse( (ControllerHandle_t)params->controllerHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec ); } -void cppISteamController_SteamController005_TriggerRepeatedHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +void cppISteamController_SteamController005_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController005_TriggerRepeatedHapticPulse_params *params ) { - ((ISteamController*)linux_side)->TriggerRepeatedHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + ((ISteamController*)params->linux_side)->TriggerRepeatedHapticPulse( (ControllerHandle_t)params->controllerHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec, (unsigned short)params->usOffMicroSec, (unsigned short)params->unRepeat, (unsigned int)params->nFlags ); } -void cppISteamController_SteamController005_TriggerVibration(void *linux_side, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +void cppISteamController_SteamController005_TriggerVibration( struct cppISteamController_SteamController005_TriggerVibration_params *params ) { - ((ISteamController*)linux_side)->TriggerVibration((ControllerHandle_t)controllerHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + ((ISteamController*)params->linux_side)->TriggerVibration( (ControllerHandle_t)params->controllerHandle, (unsigned short)params->usLeftSpeed, (unsigned short)params->usRightSpeed ); } -void cppISteamController_SteamController005_SetLEDColor(void *linux_side, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +void cppISteamController_SteamController005_SetLEDColor( struct cppISteamController_SteamController005_SetLEDColor_params *params ) { - ((ISteamController*)linux_side)->SetLEDColor((ControllerHandle_t)controllerHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + ((ISteamController*)params->linux_side)->SetLEDColor( (ControllerHandle_t)params->controllerHandle, (uint8)params->nColorR, (uint8)params->nColorG, (uint8)params->nColorB, (unsigned int)params->nFlags ); } -int cppISteamController_SteamController005_GetGamepadIndexForController(void *linux_side, ControllerHandle_t ulControllerHandle) +void cppISteamController_SteamController005_GetGamepadIndexForController( struct cppISteamController_SteamController005_GetGamepadIndexForController_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetGamepadIndexForController((ControllerHandle_t)ulControllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetGamepadIndexForController( (ControllerHandle_t)params->ulControllerHandle ); } -ControllerHandle_t cppISteamController_SteamController005_GetControllerForGamepadIndex(void *linux_side, int nIndex) +void cppISteamController_SteamController005_GetControllerForGamepadIndex( struct cppISteamController_SteamController005_GetControllerForGamepadIndex_params *params ) { - ControllerHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetControllerForGamepadIndex((int)nIndex); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetControllerForGamepadIndex( (int)params->nIndex ); } -ControllerMotionData_t cppISteamController_SteamController005_GetMotionData(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController005_GetMotionData( struct cppISteamController_SteamController005_GetMotionData_params *params ) { - ControllerMotionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetMotionData((ControllerHandle_t)controllerHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetMotionData( (ControllerHandle_t)params->controllerHandle ); } -bool cppISteamController_SteamController005_ShowDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) +void cppISteamController_SteamController005_ShowDigitalActionOrigins( struct cppISteamController_SteamController005_ShowDigitalActionOrigins_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->ShowDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (float)flScale, (float)flXPosition, (float)flYPosition); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->ShowDigitalActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle, (float)params->flScale, (float)params->flXPosition, (float)params->flYPosition ); } -bool cppISteamController_SteamController005_ShowAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition) +void cppISteamController_SteamController005_ShowAnalogActionOrigins( struct cppISteamController_SteamController005_ShowAnalogActionOrigins_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->ShowAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (float)flScale, (float)flXPosition, (float)flYPosition); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->ShowAnalogActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle, (float)params->flScale, (float)params->flXPosition, (float)params->flYPosition ); } -const char * cppISteamController_SteamController005_GetStringForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) +void cppISteamController_SteamController005_GetStringForActionOrigin( struct cppISteamController_SteamController005_GetStringForActionOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamController*)linux_side)->GetStringForActionOrigin((EControllerActionOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetStringForActionOrigin( (EControllerActionOrigin)params->eOrigin ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamController_SteamController005.h b/lsteamclient/cppISteamController_SteamController005.h index c3d550ff..b3b24308 100644 --- a/lsteamclient/cppISteamController_SteamController005.h +++ b/lsteamclient/cppISteamController_SteamController005.h @@ -1,26 +1,229 @@ -extern bool cppISteamController_SteamController005_Init(void *); -extern bool cppISteamController_SteamController005_Shutdown(void *); -extern void cppISteamController_SteamController005_RunFrame(void *); -extern int cppISteamController_SteamController005_GetConnectedControllers(void *, ControllerHandle_t *); -extern bool cppISteamController_SteamController005_ShowBindingPanel(void *, ControllerHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController005_GetActionSetHandle(void *, const char *); -extern void cppISteamController_SteamController005_ActivateActionSet(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController005_GetCurrentActionSet(void *, ControllerHandle_t); -extern ControllerDigitalActionHandle_t cppISteamController_SteamController005_GetDigitalActionHandle(void *, const char *); -extern ControllerDigitalActionData_t cppISteamController_SteamController005_GetDigitalActionData(void *, ControllerHandle_t, ControllerDigitalActionHandle_t); -extern int cppISteamController_SteamController005_GetDigitalActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerDigitalActionHandle_t, EControllerActionOrigin *); -extern ControllerAnalogActionHandle_t cppISteamController_SteamController005_GetAnalogActionHandle(void *, const char *); -extern ControllerAnalogActionData_t cppISteamController_SteamController005_GetAnalogActionData(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern int cppISteamController_SteamController005_GetAnalogActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerAnalogActionHandle_t, EControllerActionOrigin *); -extern void cppISteamController_SteamController005_StopAnalogActionMomentum(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern void cppISteamController_SteamController005_TriggerHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamController_SteamController005_TriggerRepeatedHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern void cppISteamController_SteamController005_TriggerVibration(void *, ControllerHandle_t, unsigned short, unsigned short); -extern void cppISteamController_SteamController005_SetLEDColor(void *, ControllerHandle_t, uint8, uint8, uint8, unsigned int); -extern int cppISteamController_SteamController005_GetGamepadIndexForController(void *, ControllerHandle_t); -extern ControllerHandle_t cppISteamController_SteamController005_GetControllerForGamepadIndex(void *, int); -extern ControllerMotionData_t cppISteamController_SteamController005_GetMotionData(void *, ControllerHandle_t); -extern bool cppISteamController_SteamController005_ShowDigitalActionOrigins(void *, ControllerHandle_t, ControllerDigitalActionHandle_t, float, float, float); -extern bool cppISteamController_SteamController005_ShowAnalogActionOrigins(void *, ControllerHandle_t, ControllerAnalogActionHandle_t, float, float, float); -extern const char * cppISteamController_SteamController005_GetStringForActionOrigin(void *, EControllerActionOrigin); -extern const char * cppISteamController_SteamController005_GetGlyphForActionOrigin(void *, EControllerActionOrigin); +struct cppISteamController_SteamController005_Init_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamController_SteamController005_Init( struct cppISteamController_SteamController005_Init_params *params ); + +struct cppISteamController_SteamController005_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamController_SteamController005_Shutdown( struct cppISteamController_SteamController005_Shutdown_params *params ); + +struct cppISteamController_SteamController005_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamController_SteamController005_RunFrame( struct cppISteamController_SteamController005_RunFrame_params *params ); + +struct cppISteamController_SteamController005_GetConnectedControllers_params +{ + void *linux_side; + int _ret; + ControllerHandle_t *handlesOut; +}; +extern void cppISteamController_SteamController005_GetConnectedControllers( struct cppISteamController_SteamController005_GetConnectedControllers_params *params ); + +struct cppISteamController_SteamController005_ShowBindingPanel_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController005_ShowBindingPanel( struct cppISteamController_SteamController005_ShowBindingPanel_params *params ); + +struct cppISteamController_SteamController005_GetActionSetHandle_params +{ + void *linux_side; + ControllerActionSetHandle_t _ret; + const char *pszActionSetName; +}; +extern void cppISteamController_SteamController005_GetActionSetHandle( struct cppISteamController_SteamController005_GetActionSetHandle_params *params ); + +struct cppISteamController_SteamController005_ActivateActionSet_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; +}; +extern void cppISteamController_SteamController005_ActivateActionSet( struct cppISteamController_SteamController005_ActivateActionSet_params *params ); + +struct cppISteamController_SteamController005_GetCurrentActionSet_params +{ + void *linux_side; + ControllerActionSetHandle_t _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController005_GetCurrentActionSet( struct cppISteamController_SteamController005_GetCurrentActionSet_params *params ); + +struct cppISteamController_SteamController005_GetDigitalActionHandle_params +{ + void *linux_side; + ControllerDigitalActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamController_SteamController005_GetDigitalActionHandle( struct cppISteamController_SteamController005_GetDigitalActionHandle_params *params ); + +struct cppISteamController_SteamController005_GetDigitalActionData_params +{ + void *linux_side; + ControllerDigitalActionData_t *_ret; + ControllerHandle_t controllerHandle; + ControllerDigitalActionHandle_t digitalActionHandle; +}; +extern void cppISteamController_SteamController005_GetDigitalActionData( struct cppISteamController_SteamController005_GetDigitalActionData_params *params ); + +struct cppISteamController_SteamController005_GetDigitalActionOrigins_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; + ControllerDigitalActionHandle_t digitalActionHandle; + EControllerActionOrigin *originsOut; +}; +extern void cppISteamController_SteamController005_GetDigitalActionOrigins( struct cppISteamController_SteamController005_GetDigitalActionOrigins_params *params ); + +struct cppISteamController_SteamController005_GetAnalogActionHandle_params +{ + void *linux_side; + ControllerAnalogActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamController_SteamController005_GetAnalogActionHandle( struct cppISteamController_SteamController005_GetAnalogActionHandle_params *params ); + +struct cppISteamController_SteamController005_GetAnalogActionData_params +{ + void *linux_side; + ControllerAnalogActionData_t *_ret; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t analogActionHandle; +}; +extern void cppISteamController_SteamController005_GetAnalogActionData( struct cppISteamController_SteamController005_GetAnalogActionData_params *params ); + +struct cppISteamController_SteamController005_GetAnalogActionOrigins_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; + ControllerAnalogActionHandle_t analogActionHandle; + EControllerActionOrigin *originsOut; +}; +extern void cppISteamController_SteamController005_GetAnalogActionOrigins( struct cppISteamController_SteamController005_GetAnalogActionOrigins_params *params ); + +struct cppISteamController_SteamController005_StopAnalogActionMomentum_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t eAction; +}; +extern void cppISteamController_SteamController005_StopAnalogActionMomentum( struct cppISteamController_SteamController005_StopAnalogActionMomentum_params *params ); + +struct cppISteamController_SteamController005_TriggerHapticPulse_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; +}; +extern void cppISteamController_SteamController005_TriggerHapticPulse( struct cppISteamController_SteamController005_TriggerHapticPulse_params *params ); + +struct cppISteamController_SteamController005_TriggerRepeatedHapticPulse_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; + unsigned short usOffMicroSec; + unsigned short unRepeat; + unsigned int nFlags; +}; +extern void cppISteamController_SteamController005_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController005_TriggerRepeatedHapticPulse_params *params ); + +struct cppISteamController_SteamController005_TriggerVibration_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + unsigned short usLeftSpeed; + unsigned short usRightSpeed; +}; +extern void cppISteamController_SteamController005_TriggerVibration( struct cppISteamController_SteamController005_TriggerVibration_params *params ); + +struct cppISteamController_SteamController005_SetLEDColor_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + uint8 nColorR; + uint8 nColorG; + uint8 nColorB; + unsigned int nFlags; +}; +extern void cppISteamController_SteamController005_SetLEDColor( struct cppISteamController_SteamController005_SetLEDColor_params *params ); + +struct cppISteamController_SteamController005_GetGamepadIndexForController_params +{ + void *linux_side; + int _ret; + ControllerHandle_t ulControllerHandle; +}; +extern void cppISteamController_SteamController005_GetGamepadIndexForController( struct cppISteamController_SteamController005_GetGamepadIndexForController_params *params ); + +struct cppISteamController_SteamController005_GetControllerForGamepadIndex_params +{ + void *linux_side; + ControllerHandle_t _ret; + int nIndex; +}; +extern void cppISteamController_SteamController005_GetControllerForGamepadIndex( struct cppISteamController_SteamController005_GetControllerForGamepadIndex_params *params ); + +struct cppISteamController_SteamController005_GetMotionData_params +{ + void *linux_side; + ControllerMotionData_t *_ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController005_GetMotionData( struct cppISteamController_SteamController005_GetMotionData_params *params ); + +struct cppISteamController_SteamController005_ShowDigitalActionOrigins_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; + ControllerDigitalActionHandle_t digitalActionHandle; + float flScale; + float flXPosition; + float flYPosition; +}; +extern void cppISteamController_SteamController005_ShowDigitalActionOrigins( struct cppISteamController_SteamController005_ShowDigitalActionOrigins_params *params ); + +struct cppISteamController_SteamController005_ShowAnalogActionOrigins_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t analogActionHandle; + float flScale; + float flXPosition; + float flYPosition; +}; +extern void cppISteamController_SteamController005_ShowAnalogActionOrigins( struct cppISteamController_SteamController005_ShowAnalogActionOrigins_params *params ); + +struct cppISteamController_SteamController005_GetStringForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EControllerActionOrigin eOrigin; +}; +extern void cppISteamController_SteamController005_GetStringForActionOrigin( struct cppISteamController_SteamController005_GetStringForActionOrigin_params *params ); + +struct cppISteamController_SteamController005_GetGlyphForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EControllerActionOrigin eOrigin; +}; +extern void cppISteamController_SteamController005_GetGlyphForActionOrigin( struct cppISteamController_SteamController005_GetGlyphForActionOrigin_params *params ); + diff --git a/lsteamclient/cppISteamController_SteamController006.cpp b/lsteamclient/cppISteamController_SteamController006.cpp index 6a8368cf..1e1d2d62 100644 --- a/lsteamclient/cppISteamController_SteamController006.cpp +++ b/lsteamclient/cppISteamController_SteamController006.cpp @@ -11,194 +11,154 @@ extern "C" { #define SDKVER_142 #include "struct_converters.h" #include "cppISteamController_SteamController006.h" -bool cppISteamController_SteamController006_Init(void *linux_side) +void cppISteamController_SteamController006_Init( struct cppISteamController_SteamController006_Init_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Init(); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Init( ); } -bool cppISteamController_SteamController006_Shutdown(void *linux_side) +void cppISteamController_SteamController006_Shutdown( struct cppISteamController_SteamController006_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Shutdown( ); } -void cppISteamController_SteamController006_RunFrame(void *linux_side) +void cppISteamController_SteamController006_RunFrame( struct cppISteamController_SteamController006_RunFrame_params *params ) { - ((ISteamController*)linux_side)->RunFrame(); + ((ISteamController*)params->linux_side)->RunFrame( ); } -int cppISteamController_SteamController006_GetConnectedControllers(void *linux_side, ControllerHandle_t *handlesOut) +void cppISteamController_SteamController006_GetConnectedControllers( struct cppISteamController_SteamController006_GetConnectedControllers_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetConnectedControllers((ControllerHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetConnectedControllers( (ControllerHandle_t *)params->handlesOut ); } -bool cppISteamController_SteamController006_ShowBindingPanel(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController006_ShowBindingPanel( struct cppISteamController_SteamController006_ShowBindingPanel_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->ShowBindingPanel((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->ShowBindingPanel( (ControllerHandle_t)params->controllerHandle ); } -ControllerActionSetHandle_t cppISteamController_SteamController006_GetActionSetHandle(void *linux_side, const char *pszActionSetName) +void cppISteamController_SteamController006_GetActionSetHandle( struct cppISteamController_SteamController006_GetActionSetHandle_params *params ) { - ControllerActionSetHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetActionSetHandle( (const char *)params->pszActionSetName ); } -void cppISteamController_SteamController006_ActivateActionSet(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +void cppISteamController_SteamController006_ActivateActionSet( struct cppISteamController_SteamController006_ActivateActionSet_params *params ) { - ((ISteamController*)linux_side)->ActivateActionSet((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle); + ((ISteamController*)params->linux_side)->ActivateActionSet( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle ); } -ControllerActionSetHandle_t cppISteamController_SteamController006_GetCurrentActionSet(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController006_GetCurrentActionSet( struct cppISteamController_SteamController006_GetCurrentActionSet_params *params ) { - ControllerActionSetHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetCurrentActionSet((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetCurrentActionSet( (ControllerHandle_t)params->controllerHandle ); } -void cppISteamController_SteamController006_ActivateActionSetLayer(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +void cppISteamController_SteamController006_ActivateActionSetLayer( struct cppISteamController_SteamController006_ActivateActionSetLayer_params *params ) { - ((ISteamController*)linux_side)->ActivateActionSetLayer((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetLayerHandle); + ((ISteamController*)params->linux_side)->ActivateActionSetLayer( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamController_SteamController006_DeactivateActionSetLayer(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +void cppISteamController_SteamController006_DeactivateActionSetLayer( struct cppISteamController_SteamController006_DeactivateActionSetLayer_params *params ) { - ((ISteamController*)linux_side)->DeactivateActionSetLayer((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetLayerHandle); + ((ISteamController*)params->linux_side)->DeactivateActionSetLayer( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamController_SteamController006_DeactivateAllActionSetLayers(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController006_DeactivateAllActionSetLayers( struct cppISteamController_SteamController006_DeactivateAllActionSetLayers_params *params ) { - ((ISteamController*)linux_side)->DeactivateAllActionSetLayers((ControllerHandle_t)controllerHandle); + ((ISteamController*)params->linux_side)->DeactivateAllActionSetLayers( (ControllerHandle_t)params->controllerHandle ); } -int cppISteamController_SteamController006_GetActiveActionSetLayers(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t *handlesOut) +void cppISteamController_SteamController006_GetActiveActionSetLayers( struct cppISteamController_SteamController006_GetActiveActionSetLayers_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetActiveActionSetLayers((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetActiveActionSetLayers( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t *)params->handlesOut ); } -ControllerDigitalActionHandle_t cppISteamController_SteamController006_GetDigitalActionHandle(void *linux_side, const char *pszActionName) +void cppISteamController_SteamController006_GetDigitalActionHandle( struct cppISteamController_SteamController006_GetDigitalActionHandle_params *params ) { - ControllerDigitalActionHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionHandle( (const char *)params->pszActionName ); } -ControllerDigitalActionData_t cppISteamController_SteamController006_GetDigitalActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +void cppISteamController_SteamController006_GetDigitalActionData( struct cppISteamController_SteamController006_GetDigitalActionData_params *params ) { - ControllerDigitalActionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionData((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionData( (ControllerHandle_t)params->controllerHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle ); } -int cppISteamController_SteamController006_GetDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin *originsOut) +void cppISteamController_SteamController006_GetDigitalActionOrigins( struct cppISteamController_SteamController006_GetDigitalActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (EControllerActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle, (EControllerActionOrigin *)params->originsOut ); } -ControllerAnalogActionHandle_t cppISteamController_SteamController006_GetAnalogActionHandle(void *linux_side, const char *pszActionName) +void cppISteamController_SteamController006_GetAnalogActionHandle( struct cppISteamController_SteamController006_GetAnalogActionHandle_params *params ) { - ControllerAnalogActionHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionHandle( (const char *)params->pszActionName ); } -ControllerAnalogActionData_t cppISteamController_SteamController006_GetAnalogActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +void cppISteamController_SteamController006_GetAnalogActionData( struct cppISteamController_SteamController006_GetAnalogActionData_params *params ) { - ControllerAnalogActionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionData((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionData( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle ); } -int cppISteamController_SteamController006_GetAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin *originsOut) +void cppISteamController_SteamController006_GetAnalogActionOrigins( struct cppISteamController_SteamController006_GetAnalogActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (EControllerActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle, (EControllerActionOrigin *)params->originsOut ); } -void cppISteamController_SteamController006_StopAnalogActionMomentum(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +void cppISteamController_SteamController006_StopAnalogActionMomentum( struct cppISteamController_SteamController006_StopAnalogActionMomentum_params *params ) { - ((ISteamController*)linux_side)->StopAnalogActionMomentum((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)eAction); + ((ISteamController*)params->linux_side)->StopAnalogActionMomentum( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->eAction ); } -void cppISteamController_SteamController006_TriggerHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void cppISteamController_SteamController006_TriggerHapticPulse( struct cppISteamController_SteamController006_TriggerHapticPulse_params *params ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + ((ISteamController*)params->linux_side)->TriggerHapticPulse( (ControllerHandle_t)params->controllerHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec ); } -void cppISteamController_SteamController006_TriggerRepeatedHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +void cppISteamController_SteamController006_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController006_TriggerRepeatedHapticPulse_params *params ) { - ((ISteamController*)linux_side)->TriggerRepeatedHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + ((ISteamController*)params->linux_side)->TriggerRepeatedHapticPulse( (ControllerHandle_t)params->controllerHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec, (unsigned short)params->usOffMicroSec, (unsigned short)params->unRepeat, (unsigned int)params->nFlags ); } -void cppISteamController_SteamController006_TriggerVibration(void *linux_side, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +void cppISteamController_SteamController006_TriggerVibration( struct cppISteamController_SteamController006_TriggerVibration_params *params ) { - ((ISteamController*)linux_side)->TriggerVibration((ControllerHandle_t)controllerHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + ((ISteamController*)params->linux_side)->TriggerVibration( (ControllerHandle_t)params->controllerHandle, (unsigned short)params->usLeftSpeed, (unsigned short)params->usRightSpeed ); } -void cppISteamController_SteamController006_SetLEDColor(void *linux_side, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +void cppISteamController_SteamController006_SetLEDColor( struct cppISteamController_SteamController006_SetLEDColor_params *params ) { - ((ISteamController*)linux_side)->SetLEDColor((ControllerHandle_t)controllerHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + ((ISteamController*)params->linux_side)->SetLEDColor( (ControllerHandle_t)params->controllerHandle, (uint8)params->nColorR, (uint8)params->nColorG, (uint8)params->nColorB, (unsigned int)params->nFlags ); } -int cppISteamController_SteamController006_GetGamepadIndexForController(void *linux_side, ControllerHandle_t ulControllerHandle) +void cppISteamController_SteamController006_GetGamepadIndexForController( struct cppISteamController_SteamController006_GetGamepadIndexForController_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetGamepadIndexForController((ControllerHandle_t)ulControllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetGamepadIndexForController( (ControllerHandle_t)params->ulControllerHandle ); } -ControllerHandle_t cppISteamController_SteamController006_GetControllerForGamepadIndex(void *linux_side, int nIndex) +void cppISteamController_SteamController006_GetControllerForGamepadIndex( struct cppISteamController_SteamController006_GetControllerForGamepadIndex_params *params ) { - ControllerHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetControllerForGamepadIndex((int)nIndex); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetControllerForGamepadIndex( (int)params->nIndex ); } -ControllerMotionData_t cppISteamController_SteamController006_GetMotionData(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController006_GetMotionData( struct cppISteamController_SteamController006_GetMotionData_params *params ) { - ControllerMotionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetMotionData((ControllerHandle_t)controllerHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetMotionData( (ControllerHandle_t)params->controllerHandle ); } -bool cppISteamController_SteamController006_ShowDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) +void cppISteamController_SteamController006_ShowDigitalActionOrigins( struct cppISteamController_SteamController006_ShowDigitalActionOrigins_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->ShowDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (float)flScale, (float)flXPosition, (float)flYPosition); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->ShowDigitalActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle, (float)params->flScale, (float)params->flXPosition, (float)params->flYPosition ); } -bool cppISteamController_SteamController006_ShowAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition) +void cppISteamController_SteamController006_ShowAnalogActionOrigins( struct cppISteamController_SteamController006_ShowAnalogActionOrigins_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->ShowAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (float)flScale, (float)flXPosition, (float)flYPosition); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->ShowAnalogActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle, (float)params->flScale, (float)params->flXPosition, (float)params->flYPosition ); } -const char * cppISteamController_SteamController006_GetStringForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) +void cppISteamController_SteamController006_GetStringForActionOrigin( struct cppISteamController_SteamController006_GetStringForActionOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamController*)linux_side)->GetStringForActionOrigin((EControllerActionOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetStringForActionOrigin( (EControllerActionOrigin)params->eOrigin ); } -ESteamInputType cppISteamController_SteamController006_GetInputTypeForHandle(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController006_GetInputTypeForHandle( struct cppISteamController_SteamController006_GetInputTypeForHandle_params *params ) { - ESteamInputType _ret; - _ret = ((ISteamController*)linux_side)->GetInputTypeForHandle((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetInputTypeForHandle( (ControllerHandle_t)params->controllerHandle ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamController_SteamController006.h b/lsteamclient/cppISteamController_SteamController006.h index 2b91c22b..9fe176d6 100644 --- a/lsteamclient/cppISteamController_SteamController006.h +++ b/lsteamclient/cppISteamController_SteamController006.h @@ -1,31 +1,269 @@ -extern bool cppISteamController_SteamController006_Init(void *); -extern bool cppISteamController_SteamController006_Shutdown(void *); -extern void cppISteamController_SteamController006_RunFrame(void *); -extern int cppISteamController_SteamController006_GetConnectedControllers(void *, ControllerHandle_t *); -extern bool cppISteamController_SteamController006_ShowBindingPanel(void *, ControllerHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController006_GetActionSetHandle(void *, const char *); -extern void cppISteamController_SteamController006_ActivateActionSet(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController006_GetCurrentActionSet(void *, ControllerHandle_t); -extern void cppISteamController_SteamController006_ActivateActionSetLayer(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern void cppISteamController_SteamController006_DeactivateActionSetLayer(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern void cppISteamController_SteamController006_DeactivateAllActionSetLayers(void *, ControllerHandle_t); -extern int cppISteamController_SteamController006_GetActiveActionSetLayers(void *, ControllerHandle_t, ControllerActionSetHandle_t *); -extern ControllerDigitalActionHandle_t cppISteamController_SteamController006_GetDigitalActionHandle(void *, const char *); -extern ControllerDigitalActionData_t cppISteamController_SteamController006_GetDigitalActionData(void *, ControllerHandle_t, ControllerDigitalActionHandle_t); -extern int cppISteamController_SteamController006_GetDigitalActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerDigitalActionHandle_t, EControllerActionOrigin *); -extern ControllerAnalogActionHandle_t cppISteamController_SteamController006_GetAnalogActionHandle(void *, const char *); -extern ControllerAnalogActionData_t cppISteamController_SteamController006_GetAnalogActionData(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern int cppISteamController_SteamController006_GetAnalogActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerAnalogActionHandle_t, EControllerActionOrigin *); -extern void cppISteamController_SteamController006_StopAnalogActionMomentum(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern void cppISteamController_SteamController006_TriggerHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamController_SteamController006_TriggerRepeatedHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern void cppISteamController_SteamController006_TriggerVibration(void *, ControllerHandle_t, unsigned short, unsigned short); -extern void cppISteamController_SteamController006_SetLEDColor(void *, ControllerHandle_t, uint8, uint8, uint8, unsigned int); -extern int cppISteamController_SteamController006_GetGamepadIndexForController(void *, ControllerHandle_t); -extern ControllerHandle_t cppISteamController_SteamController006_GetControllerForGamepadIndex(void *, int); -extern ControllerMotionData_t cppISteamController_SteamController006_GetMotionData(void *, ControllerHandle_t); -extern bool cppISteamController_SteamController006_ShowDigitalActionOrigins(void *, ControllerHandle_t, ControllerDigitalActionHandle_t, float, float, float); -extern bool cppISteamController_SteamController006_ShowAnalogActionOrigins(void *, ControllerHandle_t, ControllerAnalogActionHandle_t, float, float, float); -extern const char * cppISteamController_SteamController006_GetStringForActionOrigin(void *, EControllerActionOrigin); -extern const char * cppISteamController_SteamController006_GetGlyphForActionOrigin(void *, EControllerActionOrigin); -extern ESteamInputType cppISteamController_SteamController006_GetInputTypeForHandle(void *, ControllerHandle_t); +struct cppISteamController_SteamController006_Init_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamController_SteamController006_Init( struct cppISteamController_SteamController006_Init_params *params ); + +struct cppISteamController_SteamController006_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamController_SteamController006_Shutdown( struct cppISteamController_SteamController006_Shutdown_params *params ); + +struct cppISteamController_SteamController006_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamController_SteamController006_RunFrame( struct cppISteamController_SteamController006_RunFrame_params *params ); + +struct cppISteamController_SteamController006_GetConnectedControllers_params +{ + void *linux_side; + int _ret; + ControllerHandle_t *handlesOut; +}; +extern void cppISteamController_SteamController006_GetConnectedControllers( struct cppISteamController_SteamController006_GetConnectedControllers_params *params ); + +struct cppISteamController_SteamController006_ShowBindingPanel_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController006_ShowBindingPanel( struct cppISteamController_SteamController006_ShowBindingPanel_params *params ); + +struct cppISteamController_SteamController006_GetActionSetHandle_params +{ + void *linux_side; + ControllerActionSetHandle_t _ret; + const char *pszActionSetName; +}; +extern void cppISteamController_SteamController006_GetActionSetHandle( struct cppISteamController_SteamController006_GetActionSetHandle_params *params ); + +struct cppISteamController_SteamController006_ActivateActionSet_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; +}; +extern void cppISteamController_SteamController006_ActivateActionSet( struct cppISteamController_SteamController006_ActivateActionSet_params *params ); + +struct cppISteamController_SteamController006_GetCurrentActionSet_params +{ + void *linux_side; + ControllerActionSetHandle_t _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController006_GetCurrentActionSet( struct cppISteamController_SteamController006_GetCurrentActionSet_params *params ); + +struct cppISteamController_SteamController006_ActivateActionSetLayer_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamController_SteamController006_ActivateActionSetLayer( struct cppISteamController_SteamController006_ActivateActionSetLayer_params *params ); + +struct cppISteamController_SteamController006_DeactivateActionSetLayer_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamController_SteamController006_DeactivateActionSetLayer( struct cppISteamController_SteamController006_DeactivateActionSetLayer_params *params ); + +struct cppISteamController_SteamController006_DeactivateAllActionSetLayers_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController006_DeactivateAllActionSetLayers( struct cppISteamController_SteamController006_DeactivateAllActionSetLayers_params *params ); + +struct cppISteamController_SteamController006_GetActiveActionSetLayers_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t *handlesOut; +}; +extern void cppISteamController_SteamController006_GetActiveActionSetLayers( struct cppISteamController_SteamController006_GetActiveActionSetLayers_params *params ); + +struct cppISteamController_SteamController006_GetDigitalActionHandle_params +{ + void *linux_side; + ControllerDigitalActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamController_SteamController006_GetDigitalActionHandle( struct cppISteamController_SteamController006_GetDigitalActionHandle_params *params ); + +struct cppISteamController_SteamController006_GetDigitalActionData_params +{ + void *linux_side; + ControllerDigitalActionData_t *_ret; + ControllerHandle_t controllerHandle; + ControllerDigitalActionHandle_t digitalActionHandle; +}; +extern void cppISteamController_SteamController006_GetDigitalActionData( struct cppISteamController_SteamController006_GetDigitalActionData_params *params ); + +struct cppISteamController_SteamController006_GetDigitalActionOrigins_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; + ControllerDigitalActionHandle_t digitalActionHandle; + EControllerActionOrigin *originsOut; +}; +extern void cppISteamController_SteamController006_GetDigitalActionOrigins( struct cppISteamController_SteamController006_GetDigitalActionOrigins_params *params ); + +struct cppISteamController_SteamController006_GetAnalogActionHandle_params +{ + void *linux_side; + ControllerAnalogActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamController_SteamController006_GetAnalogActionHandle( struct cppISteamController_SteamController006_GetAnalogActionHandle_params *params ); + +struct cppISteamController_SteamController006_GetAnalogActionData_params +{ + void *linux_side; + ControllerAnalogActionData_t *_ret; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t analogActionHandle; +}; +extern void cppISteamController_SteamController006_GetAnalogActionData( struct cppISteamController_SteamController006_GetAnalogActionData_params *params ); + +struct cppISteamController_SteamController006_GetAnalogActionOrigins_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; + ControllerAnalogActionHandle_t analogActionHandle; + EControllerActionOrigin *originsOut; +}; +extern void cppISteamController_SteamController006_GetAnalogActionOrigins( struct cppISteamController_SteamController006_GetAnalogActionOrigins_params *params ); + +struct cppISteamController_SteamController006_StopAnalogActionMomentum_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t eAction; +}; +extern void cppISteamController_SteamController006_StopAnalogActionMomentum( struct cppISteamController_SteamController006_StopAnalogActionMomentum_params *params ); + +struct cppISteamController_SteamController006_TriggerHapticPulse_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; +}; +extern void cppISteamController_SteamController006_TriggerHapticPulse( struct cppISteamController_SteamController006_TriggerHapticPulse_params *params ); + +struct cppISteamController_SteamController006_TriggerRepeatedHapticPulse_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; + unsigned short usOffMicroSec; + unsigned short unRepeat; + unsigned int nFlags; +}; +extern void cppISteamController_SteamController006_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController006_TriggerRepeatedHapticPulse_params *params ); + +struct cppISteamController_SteamController006_TriggerVibration_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + unsigned short usLeftSpeed; + unsigned short usRightSpeed; +}; +extern void cppISteamController_SteamController006_TriggerVibration( struct cppISteamController_SteamController006_TriggerVibration_params *params ); + +struct cppISteamController_SteamController006_SetLEDColor_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + uint8 nColorR; + uint8 nColorG; + uint8 nColorB; + unsigned int nFlags; +}; +extern void cppISteamController_SteamController006_SetLEDColor( struct cppISteamController_SteamController006_SetLEDColor_params *params ); + +struct cppISteamController_SteamController006_GetGamepadIndexForController_params +{ + void *linux_side; + int _ret; + ControllerHandle_t ulControllerHandle; +}; +extern void cppISteamController_SteamController006_GetGamepadIndexForController( struct cppISteamController_SteamController006_GetGamepadIndexForController_params *params ); + +struct cppISteamController_SteamController006_GetControllerForGamepadIndex_params +{ + void *linux_side; + ControllerHandle_t _ret; + int nIndex; +}; +extern void cppISteamController_SteamController006_GetControllerForGamepadIndex( struct cppISteamController_SteamController006_GetControllerForGamepadIndex_params *params ); + +struct cppISteamController_SteamController006_GetMotionData_params +{ + void *linux_side; + ControllerMotionData_t *_ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController006_GetMotionData( struct cppISteamController_SteamController006_GetMotionData_params *params ); + +struct cppISteamController_SteamController006_ShowDigitalActionOrigins_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; + ControllerDigitalActionHandle_t digitalActionHandle; + float flScale; + float flXPosition; + float flYPosition; +}; +extern void cppISteamController_SteamController006_ShowDigitalActionOrigins( struct cppISteamController_SteamController006_ShowDigitalActionOrigins_params *params ); + +struct cppISteamController_SteamController006_ShowAnalogActionOrigins_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t analogActionHandle; + float flScale; + float flXPosition; + float flYPosition; +}; +extern void cppISteamController_SteamController006_ShowAnalogActionOrigins( struct cppISteamController_SteamController006_ShowAnalogActionOrigins_params *params ); + +struct cppISteamController_SteamController006_GetStringForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EControllerActionOrigin eOrigin; +}; +extern void cppISteamController_SteamController006_GetStringForActionOrigin( struct cppISteamController_SteamController006_GetStringForActionOrigin_params *params ); + +struct cppISteamController_SteamController006_GetGlyphForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EControllerActionOrigin eOrigin; +}; +extern void cppISteamController_SteamController006_GetGlyphForActionOrigin( struct cppISteamController_SteamController006_GetGlyphForActionOrigin_params *params ); + +struct cppISteamController_SteamController006_GetInputTypeForHandle_params +{ + void *linux_side; + ESteamInputType _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController006_GetInputTypeForHandle( struct cppISteamController_SteamController006_GetInputTypeForHandle_params *params ); + diff --git a/lsteamclient/cppISteamController_SteamController007.cpp b/lsteamclient/cppISteamController_SteamController007.cpp index 82379b23..26190d8c 100644 --- a/lsteamclient/cppISteamController_SteamController007.cpp +++ b/lsteamclient/cppISteamController_SteamController007.cpp @@ -12,208 +12,164 @@ extern "C" { #define SDKVER_150 #include "struct_converters.h" #include "cppISteamController_SteamController007.h" -bool cppISteamController_SteamController007_Init(void *linux_side) +void cppISteamController_SteamController007_Init( struct cppISteamController_SteamController007_Init_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Init(); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Init( ); } -bool cppISteamController_SteamController007_Shutdown(void *linux_side) +void cppISteamController_SteamController007_Shutdown( struct cppISteamController_SteamController007_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Shutdown( ); } -void cppISteamController_SteamController007_RunFrame(void *linux_side) +void cppISteamController_SteamController007_RunFrame( struct cppISteamController_SteamController007_RunFrame_params *params ) { - ((ISteamController*)linux_side)->RunFrame(); + ((ISteamController*)params->linux_side)->RunFrame( ); } -int cppISteamController_SteamController007_GetConnectedControllers(void *linux_side, ControllerHandle_t *handlesOut) +void cppISteamController_SteamController007_GetConnectedControllers( struct cppISteamController_SteamController007_GetConnectedControllers_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetConnectedControllers((ControllerHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetConnectedControllers( (ControllerHandle_t *)params->handlesOut ); } -ControllerActionSetHandle_t cppISteamController_SteamController007_GetActionSetHandle(void *linux_side, const char *pszActionSetName) +void cppISteamController_SteamController007_GetActionSetHandle( struct cppISteamController_SteamController007_GetActionSetHandle_params *params ) { - ControllerActionSetHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetActionSetHandle( (const char *)params->pszActionSetName ); } -void cppISteamController_SteamController007_ActivateActionSet(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +void cppISteamController_SteamController007_ActivateActionSet( struct cppISteamController_SteamController007_ActivateActionSet_params *params ) { - ((ISteamController*)linux_side)->ActivateActionSet((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle); + ((ISteamController*)params->linux_side)->ActivateActionSet( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle ); } -ControllerActionSetHandle_t cppISteamController_SteamController007_GetCurrentActionSet(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController007_GetCurrentActionSet( struct cppISteamController_SteamController007_GetCurrentActionSet_params *params ) { - ControllerActionSetHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetCurrentActionSet((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetCurrentActionSet( (ControllerHandle_t)params->controllerHandle ); } -void cppISteamController_SteamController007_ActivateActionSetLayer(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +void cppISteamController_SteamController007_ActivateActionSetLayer( struct cppISteamController_SteamController007_ActivateActionSetLayer_params *params ) { - ((ISteamController*)linux_side)->ActivateActionSetLayer((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetLayerHandle); + ((ISteamController*)params->linux_side)->ActivateActionSetLayer( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamController_SteamController007_DeactivateActionSetLayer(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +void cppISteamController_SteamController007_DeactivateActionSetLayer( struct cppISteamController_SteamController007_DeactivateActionSetLayer_params *params ) { - ((ISteamController*)linux_side)->DeactivateActionSetLayer((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetLayerHandle); + ((ISteamController*)params->linux_side)->DeactivateActionSetLayer( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamController_SteamController007_DeactivateAllActionSetLayers(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController007_DeactivateAllActionSetLayers( struct cppISteamController_SteamController007_DeactivateAllActionSetLayers_params *params ) { - ((ISteamController*)linux_side)->DeactivateAllActionSetLayers((ControllerHandle_t)controllerHandle); + ((ISteamController*)params->linux_side)->DeactivateAllActionSetLayers( (ControllerHandle_t)params->controllerHandle ); } -int cppISteamController_SteamController007_GetActiveActionSetLayers(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t *handlesOut) +void cppISteamController_SteamController007_GetActiveActionSetLayers( struct cppISteamController_SteamController007_GetActiveActionSetLayers_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetActiveActionSetLayers((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetActiveActionSetLayers( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t *)params->handlesOut ); } -ControllerDigitalActionHandle_t cppISteamController_SteamController007_GetDigitalActionHandle(void *linux_side, const char *pszActionName) +void cppISteamController_SteamController007_GetDigitalActionHandle( struct cppISteamController_SteamController007_GetDigitalActionHandle_params *params ) { - ControllerDigitalActionHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionHandle( (const char *)params->pszActionName ); } -InputDigitalActionData_t cppISteamController_SteamController007_GetDigitalActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +void cppISteamController_SteamController007_GetDigitalActionData( struct cppISteamController_SteamController007_GetDigitalActionData_params *params ) { - InputDigitalActionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionData((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionData( (ControllerHandle_t)params->controllerHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle ); } -int cppISteamController_SteamController007_GetDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin *originsOut) +void cppISteamController_SteamController007_GetDigitalActionOrigins( struct cppISteamController_SteamController007_GetDigitalActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (EControllerActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle, (EControllerActionOrigin *)params->originsOut ); } -ControllerAnalogActionHandle_t cppISteamController_SteamController007_GetAnalogActionHandle(void *linux_side, const char *pszActionName) +void cppISteamController_SteamController007_GetAnalogActionHandle( struct cppISteamController_SteamController007_GetAnalogActionHandle_params *params ) { - ControllerAnalogActionHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionHandle( (const char *)params->pszActionName ); } -InputAnalogActionData_t cppISteamController_SteamController007_GetAnalogActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +void cppISteamController_SteamController007_GetAnalogActionData( struct cppISteamController_SteamController007_GetAnalogActionData_params *params ) { - InputAnalogActionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionData((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionData( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle ); } -int cppISteamController_SteamController007_GetAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin *originsOut) +void cppISteamController_SteamController007_GetAnalogActionOrigins( struct cppISteamController_SteamController007_GetAnalogActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (EControllerActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle, (EControllerActionOrigin *)params->originsOut ); } -const char * cppISteamController_SteamController007_GetStringForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) +void cppISteamController_SteamController007_GetStringForActionOrigin( struct cppISteamController_SteamController007_GetStringForActionOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamController*)linux_side)->GetStringForActionOrigin((EControllerActionOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetStringForActionOrigin( (EControllerActionOrigin)params->eOrigin ); } -void cppISteamController_SteamController007_StopAnalogActionMomentum(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +void cppISteamController_SteamController007_StopAnalogActionMomentum( struct cppISteamController_SteamController007_StopAnalogActionMomentum_params *params ) { - ((ISteamController*)linux_side)->StopAnalogActionMomentum((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)eAction); + ((ISteamController*)params->linux_side)->StopAnalogActionMomentum( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->eAction ); } -InputMotionData_t cppISteamController_SteamController007_GetMotionData(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController007_GetMotionData( struct cppISteamController_SteamController007_GetMotionData_params *params ) { - InputMotionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetMotionData((ControllerHandle_t)controllerHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetMotionData( (ControllerHandle_t)params->controllerHandle ); } -void cppISteamController_SteamController007_TriggerHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void cppISteamController_SteamController007_TriggerHapticPulse( struct cppISteamController_SteamController007_TriggerHapticPulse_params *params ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + ((ISteamController*)params->linux_side)->TriggerHapticPulse( (ControllerHandle_t)params->controllerHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec ); } -void cppISteamController_SteamController007_TriggerRepeatedHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +void cppISteamController_SteamController007_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController007_TriggerRepeatedHapticPulse_params *params ) { - ((ISteamController*)linux_side)->TriggerRepeatedHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + ((ISteamController*)params->linux_side)->TriggerRepeatedHapticPulse( (ControllerHandle_t)params->controllerHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec, (unsigned short)params->usOffMicroSec, (unsigned short)params->unRepeat, (unsigned int)params->nFlags ); } -void cppISteamController_SteamController007_TriggerVibration(void *linux_side, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +void cppISteamController_SteamController007_TriggerVibration( struct cppISteamController_SteamController007_TriggerVibration_params *params ) { - ((ISteamController*)linux_side)->TriggerVibration((ControllerHandle_t)controllerHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + ((ISteamController*)params->linux_side)->TriggerVibration( (ControllerHandle_t)params->controllerHandle, (unsigned short)params->usLeftSpeed, (unsigned short)params->usRightSpeed ); } -void cppISteamController_SteamController007_SetLEDColor(void *linux_side, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +void cppISteamController_SteamController007_SetLEDColor( struct cppISteamController_SteamController007_SetLEDColor_params *params ) { - ((ISteamController*)linux_side)->SetLEDColor((ControllerHandle_t)controllerHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + ((ISteamController*)params->linux_side)->SetLEDColor( (ControllerHandle_t)params->controllerHandle, (uint8)params->nColorR, (uint8)params->nColorG, (uint8)params->nColorB, (unsigned int)params->nFlags ); } -bool cppISteamController_SteamController007_ShowBindingPanel(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController007_ShowBindingPanel( struct cppISteamController_SteamController007_ShowBindingPanel_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->ShowBindingPanel((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->ShowBindingPanel( (ControllerHandle_t)params->controllerHandle ); } -ESteamInputType cppISteamController_SteamController007_GetInputTypeForHandle(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController007_GetInputTypeForHandle( struct cppISteamController_SteamController007_GetInputTypeForHandle_params *params ) { - ESteamInputType _ret; - _ret = ((ISteamController*)linux_side)->GetInputTypeForHandle((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetInputTypeForHandle( (ControllerHandle_t)params->controllerHandle ); } -ControllerHandle_t cppISteamController_SteamController007_GetControllerForGamepadIndex(void *linux_side, int nIndex) +void cppISteamController_SteamController007_GetControllerForGamepadIndex( struct cppISteamController_SteamController007_GetControllerForGamepadIndex_params *params ) { - ControllerHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetControllerForGamepadIndex((int)nIndex); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetControllerForGamepadIndex( (int)params->nIndex ); } -int cppISteamController_SteamController007_GetGamepadIndexForController(void *linux_side, ControllerHandle_t ulControllerHandle) +void cppISteamController_SteamController007_GetGamepadIndexForController( struct cppISteamController_SteamController007_GetGamepadIndexForController_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetGamepadIndexForController((ControllerHandle_t)ulControllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetGamepadIndexForController( (ControllerHandle_t)params->ulControllerHandle ); } -const char * cppISteamController_SteamController007_GetStringForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +void cppISteamController_SteamController007_GetStringForXboxOrigin( struct cppISteamController_SteamController007_GetStringForXboxOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamController*)linux_side)->GetStringForXboxOrigin((EXboxOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetStringForXboxOrigin( (EXboxOrigin)params->eOrigin ); } -EControllerActionOrigin cppISteamController_SteamController007_GetActionOriginFromXboxOrigin(void *linux_side, ControllerHandle_t controllerHandle, EXboxOrigin eOrigin) +void cppISteamController_SteamController007_GetActionOriginFromXboxOrigin( struct cppISteamController_SteamController007_GetActionOriginFromXboxOrigin_params *params ) { - EControllerActionOrigin _ret; - _ret = ((ISteamController*)linux_side)->GetActionOriginFromXboxOrigin((ControllerHandle_t)controllerHandle, (EXboxOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetActionOriginFromXboxOrigin( (ControllerHandle_t)params->controllerHandle, (EXboxOrigin)params->eOrigin ); } -EControllerActionOrigin cppISteamController_SteamController007_TranslateActionOrigin(void *linux_side, ESteamInputType eDestinationInputType, EControllerActionOrigin eSourceOrigin) +void cppISteamController_SteamController007_TranslateActionOrigin( struct cppISteamController_SteamController007_TranslateActionOrigin_params *params ) { - EControllerActionOrigin _ret; - _ret = ((ISteamController*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EControllerActionOrigin)eSourceOrigin); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->TranslateActionOrigin( (ESteamInputType)params->eDestinationInputType, (EControllerActionOrigin)params->eSourceOrigin ); } -bool cppISteamController_SteamController007_GetControllerBindingRevision(void *linux_side, ControllerHandle_t controllerHandle, int *pMajor, int *pMinor) +void cppISteamController_SteamController007_GetControllerBindingRevision( struct cppISteamController_SteamController007_GetControllerBindingRevision_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->GetControllerBindingRevision((ControllerHandle_t)controllerHandle, (int *)pMajor, (int *)pMinor); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetControllerBindingRevision( (ControllerHandle_t)params->controllerHandle, (int *)params->pMajor, (int *)params->pMinor ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamController_SteamController007.h b/lsteamclient/cppISteamController_SteamController007.h index b1f87430..734d3523 100644 --- a/lsteamclient/cppISteamController_SteamController007.h +++ b/lsteamclient/cppISteamController_SteamController007.h @@ -1,34 +1,289 @@ -extern bool cppISteamController_SteamController007_Init(void *); -extern bool cppISteamController_SteamController007_Shutdown(void *); -extern void cppISteamController_SteamController007_RunFrame(void *); -extern int cppISteamController_SteamController007_GetConnectedControllers(void *, ControllerHandle_t *); -extern ControllerActionSetHandle_t cppISteamController_SteamController007_GetActionSetHandle(void *, const char *); -extern void cppISteamController_SteamController007_ActivateActionSet(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController007_GetCurrentActionSet(void *, ControllerHandle_t); -extern void cppISteamController_SteamController007_ActivateActionSetLayer(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern void cppISteamController_SteamController007_DeactivateActionSetLayer(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern void cppISteamController_SteamController007_DeactivateAllActionSetLayers(void *, ControllerHandle_t); -extern int cppISteamController_SteamController007_GetActiveActionSetLayers(void *, ControllerHandle_t, ControllerActionSetHandle_t *); -extern ControllerDigitalActionHandle_t cppISteamController_SteamController007_GetDigitalActionHandle(void *, const char *); -extern InputDigitalActionData_t cppISteamController_SteamController007_GetDigitalActionData(void *, ControllerHandle_t, ControllerDigitalActionHandle_t); -extern int cppISteamController_SteamController007_GetDigitalActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerDigitalActionHandle_t, EControllerActionOrigin *); -extern ControllerAnalogActionHandle_t cppISteamController_SteamController007_GetAnalogActionHandle(void *, const char *); -extern InputAnalogActionData_t cppISteamController_SteamController007_GetAnalogActionData(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern int cppISteamController_SteamController007_GetAnalogActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerAnalogActionHandle_t, EControllerActionOrigin *); -extern const char * cppISteamController_SteamController007_GetGlyphForActionOrigin(void *, EControllerActionOrigin); -extern const char * cppISteamController_SteamController007_GetStringForActionOrigin(void *, EControllerActionOrigin); -extern void cppISteamController_SteamController007_StopAnalogActionMomentum(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern InputMotionData_t cppISteamController_SteamController007_GetMotionData(void *, ControllerHandle_t); -extern void cppISteamController_SteamController007_TriggerHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamController_SteamController007_TriggerRepeatedHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern void cppISteamController_SteamController007_TriggerVibration(void *, ControllerHandle_t, unsigned short, unsigned short); -extern void cppISteamController_SteamController007_SetLEDColor(void *, ControllerHandle_t, uint8, uint8, uint8, unsigned int); -extern bool cppISteamController_SteamController007_ShowBindingPanel(void *, ControllerHandle_t); -extern ESteamInputType cppISteamController_SteamController007_GetInputTypeForHandle(void *, ControllerHandle_t); -extern ControllerHandle_t cppISteamController_SteamController007_GetControllerForGamepadIndex(void *, int); -extern int cppISteamController_SteamController007_GetGamepadIndexForController(void *, ControllerHandle_t); -extern const char * cppISteamController_SteamController007_GetStringForXboxOrigin(void *, EXboxOrigin); -extern const char * cppISteamController_SteamController007_GetGlyphForXboxOrigin(void *, EXboxOrigin); -extern EControllerActionOrigin cppISteamController_SteamController007_GetActionOriginFromXboxOrigin(void *, ControllerHandle_t, EXboxOrigin); -extern EControllerActionOrigin cppISteamController_SteamController007_TranslateActionOrigin(void *, ESteamInputType, EControllerActionOrigin); -extern bool cppISteamController_SteamController007_GetControllerBindingRevision(void *, ControllerHandle_t, int *, int *); +struct cppISteamController_SteamController007_Init_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamController_SteamController007_Init( struct cppISteamController_SteamController007_Init_params *params ); + +struct cppISteamController_SteamController007_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamController_SteamController007_Shutdown( struct cppISteamController_SteamController007_Shutdown_params *params ); + +struct cppISteamController_SteamController007_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamController_SteamController007_RunFrame( struct cppISteamController_SteamController007_RunFrame_params *params ); + +struct cppISteamController_SteamController007_GetConnectedControllers_params +{ + void *linux_side; + int _ret; + ControllerHandle_t *handlesOut; +}; +extern void cppISteamController_SteamController007_GetConnectedControllers( struct cppISteamController_SteamController007_GetConnectedControllers_params *params ); + +struct cppISteamController_SteamController007_GetActionSetHandle_params +{ + void *linux_side; + ControllerActionSetHandle_t _ret; + const char *pszActionSetName; +}; +extern void cppISteamController_SteamController007_GetActionSetHandle( struct cppISteamController_SteamController007_GetActionSetHandle_params *params ); + +struct cppISteamController_SteamController007_ActivateActionSet_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; +}; +extern void cppISteamController_SteamController007_ActivateActionSet( struct cppISteamController_SteamController007_ActivateActionSet_params *params ); + +struct cppISteamController_SteamController007_GetCurrentActionSet_params +{ + void *linux_side; + ControllerActionSetHandle_t _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController007_GetCurrentActionSet( struct cppISteamController_SteamController007_GetCurrentActionSet_params *params ); + +struct cppISteamController_SteamController007_ActivateActionSetLayer_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamController_SteamController007_ActivateActionSetLayer( struct cppISteamController_SteamController007_ActivateActionSetLayer_params *params ); + +struct cppISteamController_SteamController007_DeactivateActionSetLayer_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamController_SteamController007_DeactivateActionSetLayer( struct cppISteamController_SteamController007_DeactivateActionSetLayer_params *params ); + +struct cppISteamController_SteamController007_DeactivateAllActionSetLayers_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController007_DeactivateAllActionSetLayers( struct cppISteamController_SteamController007_DeactivateAllActionSetLayers_params *params ); + +struct cppISteamController_SteamController007_GetActiveActionSetLayers_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t *handlesOut; +}; +extern void cppISteamController_SteamController007_GetActiveActionSetLayers( struct cppISteamController_SteamController007_GetActiveActionSetLayers_params *params ); + +struct cppISteamController_SteamController007_GetDigitalActionHandle_params +{ + void *linux_side; + ControllerDigitalActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamController_SteamController007_GetDigitalActionHandle( struct cppISteamController_SteamController007_GetDigitalActionHandle_params *params ); + +struct cppISteamController_SteamController007_GetDigitalActionData_params +{ + void *linux_side; + InputDigitalActionData_t *_ret; + ControllerHandle_t controllerHandle; + ControllerDigitalActionHandle_t digitalActionHandle; +}; +extern void cppISteamController_SteamController007_GetDigitalActionData( struct cppISteamController_SteamController007_GetDigitalActionData_params *params ); + +struct cppISteamController_SteamController007_GetDigitalActionOrigins_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; + ControllerDigitalActionHandle_t digitalActionHandle; + EControllerActionOrigin *originsOut; +}; +extern void cppISteamController_SteamController007_GetDigitalActionOrigins( struct cppISteamController_SteamController007_GetDigitalActionOrigins_params *params ); + +struct cppISteamController_SteamController007_GetAnalogActionHandle_params +{ + void *linux_side; + ControllerAnalogActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamController_SteamController007_GetAnalogActionHandle( struct cppISteamController_SteamController007_GetAnalogActionHandle_params *params ); + +struct cppISteamController_SteamController007_GetAnalogActionData_params +{ + void *linux_side; + InputAnalogActionData_t *_ret; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t analogActionHandle; +}; +extern void cppISteamController_SteamController007_GetAnalogActionData( struct cppISteamController_SteamController007_GetAnalogActionData_params *params ); + +struct cppISteamController_SteamController007_GetAnalogActionOrigins_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; + ControllerAnalogActionHandle_t analogActionHandle; + EControllerActionOrigin *originsOut; +}; +extern void cppISteamController_SteamController007_GetAnalogActionOrigins( struct cppISteamController_SteamController007_GetAnalogActionOrigins_params *params ); + +struct cppISteamController_SteamController007_GetGlyphForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EControllerActionOrigin eOrigin; +}; +extern void cppISteamController_SteamController007_GetGlyphForActionOrigin( struct cppISteamController_SteamController007_GetGlyphForActionOrigin_params *params ); + +struct cppISteamController_SteamController007_GetStringForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EControllerActionOrigin eOrigin; +}; +extern void cppISteamController_SteamController007_GetStringForActionOrigin( struct cppISteamController_SteamController007_GetStringForActionOrigin_params *params ); + +struct cppISteamController_SteamController007_StopAnalogActionMomentum_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t eAction; +}; +extern void cppISteamController_SteamController007_StopAnalogActionMomentum( struct cppISteamController_SteamController007_StopAnalogActionMomentum_params *params ); + +struct cppISteamController_SteamController007_GetMotionData_params +{ + void *linux_side; + InputMotionData_t *_ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController007_GetMotionData( struct cppISteamController_SteamController007_GetMotionData_params *params ); + +struct cppISteamController_SteamController007_TriggerHapticPulse_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; +}; +extern void cppISteamController_SteamController007_TriggerHapticPulse( struct cppISteamController_SteamController007_TriggerHapticPulse_params *params ); + +struct cppISteamController_SteamController007_TriggerRepeatedHapticPulse_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; + unsigned short usOffMicroSec; + unsigned short unRepeat; + unsigned int nFlags; +}; +extern void cppISteamController_SteamController007_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController007_TriggerRepeatedHapticPulse_params *params ); + +struct cppISteamController_SteamController007_TriggerVibration_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + unsigned short usLeftSpeed; + unsigned short usRightSpeed; +}; +extern void cppISteamController_SteamController007_TriggerVibration( struct cppISteamController_SteamController007_TriggerVibration_params *params ); + +struct cppISteamController_SteamController007_SetLEDColor_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + uint8 nColorR; + uint8 nColorG; + uint8 nColorB; + unsigned int nFlags; +}; +extern void cppISteamController_SteamController007_SetLEDColor( struct cppISteamController_SteamController007_SetLEDColor_params *params ); + +struct cppISteamController_SteamController007_ShowBindingPanel_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController007_ShowBindingPanel( struct cppISteamController_SteamController007_ShowBindingPanel_params *params ); + +struct cppISteamController_SteamController007_GetInputTypeForHandle_params +{ + void *linux_side; + ESteamInputType _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController007_GetInputTypeForHandle( struct cppISteamController_SteamController007_GetInputTypeForHandle_params *params ); + +struct cppISteamController_SteamController007_GetControllerForGamepadIndex_params +{ + void *linux_side; + ControllerHandle_t _ret; + int nIndex; +}; +extern void cppISteamController_SteamController007_GetControllerForGamepadIndex( struct cppISteamController_SteamController007_GetControllerForGamepadIndex_params *params ); + +struct cppISteamController_SteamController007_GetGamepadIndexForController_params +{ + void *linux_side; + int _ret; + ControllerHandle_t ulControllerHandle; +}; +extern void cppISteamController_SteamController007_GetGamepadIndexForController( struct cppISteamController_SteamController007_GetGamepadIndexForController_params *params ); + +struct cppISteamController_SteamController007_GetStringForXboxOrigin_params +{ + void *linux_side; + const char *_ret; + EXboxOrigin eOrigin; +}; +extern void cppISteamController_SteamController007_GetStringForXboxOrigin( struct cppISteamController_SteamController007_GetStringForXboxOrigin_params *params ); + +struct cppISteamController_SteamController007_GetGlyphForXboxOrigin_params +{ + void *linux_side; + const char *_ret; + EXboxOrigin eOrigin; +}; +extern void cppISteamController_SteamController007_GetGlyphForXboxOrigin( struct cppISteamController_SteamController007_GetGlyphForXboxOrigin_params *params ); + +struct cppISteamController_SteamController007_GetActionOriginFromXboxOrigin_params +{ + void *linux_side; + EControllerActionOrigin _ret; + ControllerHandle_t controllerHandle; + EXboxOrigin eOrigin; +}; +extern void cppISteamController_SteamController007_GetActionOriginFromXboxOrigin( struct cppISteamController_SteamController007_GetActionOriginFromXboxOrigin_params *params ); + +struct cppISteamController_SteamController007_TranslateActionOrigin_params +{ + void *linux_side; + EControllerActionOrigin _ret; + ESteamInputType eDestinationInputType; + EControllerActionOrigin eSourceOrigin; +}; +extern void cppISteamController_SteamController007_TranslateActionOrigin( struct cppISteamController_SteamController007_TranslateActionOrigin_params *params ); + +struct cppISteamController_SteamController007_GetControllerBindingRevision_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; + int *pMajor; + int *pMinor; +}; +extern void cppISteamController_SteamController007_GetControllerBindingRevision( struct cppISteamController_SteamController007_GetControllerBindingRevision_params *params ); + diff --git a/lsteamclient/cppISteamController_SteamController008.cpp b/lsteamclient/cppISteamController_SteamController008.cpp index 8b5247c9..31db9e6a 100644 --- a/lsteamclient/cppISteamController_SteamController008.cpp +++ b/lsteamclient/cppISteamController_SteamController008.cpp @@ -12,208 +12,164 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamController_SteamController008.h" -bool cppISteamController_SteamController008_Init(void *linux_side) +void cppISteamController_SteamController008_Init( struct cppISteamController_SteamController008_Init_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Init(); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Init( ); } -bool cppISteamController_SteamController008_Shutdown(void *linux_side) +void cppISteamController_SteamController008_Shutdown( struct cppISteamController_SteamController008_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->Shutdown( ); } -void cppISteamController_SteamController008_RunFrame(void *linux_side) +void cppISteamController_SteamController008_RunFrame( struct cppISteamController_SteamController008_RunFrame_params *params ) { - ((ISteamController*)linux_side)->RunFrame(); + ((ISteamController*)params->linux_side)->RunFrame( ); } -int cppISteamController_SteamController008_GetConnectedControllers(void *linux_side, ControllerHandle_t *handlesOut) +void cppISteamController_SteamController008_GetConnectedControllers( struct cppISteamController_SteamController008_GetConnectedControllers_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetConnectedControllers((ControllerHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetConnectedControllers( (ControllerHandle_t *)params->handlesOut ); } -ControllerActionSetHandle_t cppISteamController_SteamController008_GetActionSetHandle(void *linux_side, const char *pszActionSetName) +void cppISteamController_SteamController008_GetActionSetHandle( struct cppISteamController_SteamController008_GetActionSetHandle_params *params ) { - ControllerActionSetHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetActionSetHandle( (const char *)params->pszActionSetName ); } -void cppISteamController_SteamController008_ActivateActionSet(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +void cppISteamController_SteamController008_ActivateActionSet( struct cppISteamController_SteamController008_ActivateActionSet_params *params ) { - ((ISteamController*)linux_side)->ActivateActionSet((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle); + ((ISteamController*)params->linux_side)->ActivateActionSet( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle ); } -ControllerActionSetHandle_t cppISteamController_SteamController008_GetCurrentActionSet(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController008_GetCurrentActionSet( struct cppISteamController_SteamController008_GetCurrentActionSet_params *params ) { - ControllerActionSetHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetCurrentActionSet((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetCurrentActionSet( (ControllerHandle_t)params->controllerHandle ); } -void cppISteamController_SteamController008_ActivateActionSetLayer(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +void cppISteamController_SteamController008_ActivateActionSetLayer( struct cppISteamController_SteamController008_ActivateActionSetLayer_params *params ) { - ((ISteamController*)linux_side)->ActivateActionSetLayer((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetLayerHandle); + ((ISteamController*)params->linux_side)->ActivateActionSetLayer( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamController_SteamController008_DeactivateActionSetLayer(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +void cppISteamController_SteamController008_DeactivateActionSetLayer( struct cppISteamController_SteamController008_DeactivateActionSetLayer_params *params ) { - ((ISteamController*)linux_side)->DeactivateActionSetLayer((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetLayerHandle); + ((ISteamController*)params->linux_side)->DeactivateActionSetLayer( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamController_SteamController008_DeactivateAllActionSetLayers(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController008_DeactivateAllActionSetLayers( struct cppISteamController_SteamController008_DeactivateAllActionSetLayers_params *params ) { - ((ISteamController*)linux_side)->DeactivateAllActionSetLayers((ControllerHandle_t)controllerHandle); + ((ISteamController*)params->linux_side)->DeactivateAllActionSetLayers( (ControllerHandle_t)params->controllerHandle ); } -int cppISteamController_SteamController008_GetActiveActionSetLayers(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t *handlesOut) +void cppISteamController_SteamController008_GetActiveActionSetLayers( struct cppISteamController_SteamController008_GetActiveActionSetLayers_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetActiveActionSetLayers((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetActiveActionSetLayers( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t *)params->handlesOut ); } -ControllerDigitalActionHandle_t cppISteamController_SteamController008_GetDigitalActionHandle(void *linux_side, const char *pszActionName) +void cppISteamController_SteamController008_GetDigitalActionHandle( struct cppISteamController_SteamController008_GetDigitalActionHandle_params *params ) { - ControllerDigitalActionHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionHandle( (const char *)params->pszActionName ); } -InputDigitalActionData_t cppISteamController_SteamController008_GetDigitalActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +void cppISteamController_SteamController008_GetDigitalActionData( struct cppISteamController_SteamController008_GetDigitalActionData_params *params ) { - InputDigitalActionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionData((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionData( (ControllerHandle_t)params->controllerHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle ); } -int cppISteamController_SteamController008_GetDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin *originsOut) +void cppISteamController_SteamController008_GetDigitalActionOrigins( struct cppISteamController_SteamController008_GetDigitalActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (EControllerActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetDigitalActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle, (ControllerDigitalActionHandle_t)params->digitalActionHandle, (EControllerActionOrigin *)params->originsOut ); } -ControllerAnalogActionHandle_t cppISteamController_SteamController008_GetAnalogActionHandle(void *linux_side, const char *pszActionName) +void cppISteamController_SteamController008_GetAnalogActionHandle( struct cppISteamController_SteamController008_GetAnalogActionHandle_params *params ) { - ControllerAnalogActionHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionHandle( (const char *)params->pszActionName ); } -InputAnalogActionData_t cppISteamController_SteamController008_GetAnalogActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +void cppISteamController_SteamController008_GetAnalogActionData( struct cppISteamController_SteamController008_GetAnalogActionData_params *params ) { - InputAnalogActionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionData((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionData( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle ); } -int cppISteamController_SteamController008_GetAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin *originsOut) +void cppISteamController_SteamController008_GetAnalogActionOrigins( struct cppISteamController_SteamController008_GetAnalogActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (EControllerActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetAnalogActionOrigins( (ControllerHandle_t)params->controllerHandle, (ControllerActionSetHandle_t)params->actionSetHandle, (ControllerAnalogActionHandle_t)params->analogActionHandle, (EControllerActionOrigin *)params->originsOut ); } -const char * cppISteamController_SteamController008_GetStringForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) +void cppISteamController_SteamController008_GetStringForActionOrigin( struct cppISteamController_SteamController008_GetStringForActionOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamController*)linux_side)->GetStringForActionOrigin((EControllerActionOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetStringForActionOrigin( (EControllerActionOrigin)params->eOrigin ); } -void cppISteamController_SteamController008_StopAnalogActionMomentum(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +void cppISteamController_SteamController008_StopAnalogActionMomentum( struct cppISteamController_SteamController008_StopAnalogActionMomentum_params *params ) { - ((ISteamController*)linux_side)->StopAnalogActionMomentum((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)eAction); + ((ISteamController*)params->linux_side)->StopAnalogActionMomentum( (ControllerHandle_t)params->controllerHandle, (ControllerAnalogActionHandle_t)params->eAction ); } -InputMotionData_t cppISteamController_SteamController008_GetMotionData(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController008_GetMotionData( struct cppISteamController_SteamController008_GetMotionData_params *params ) { - InputMotionData_t _ret; - _ret = ((ISteamController*)linux_side)->GetMotionData((ControllerHandle_t)controllerHandle); - return (_ret); + *params->_ret = ((ISteamController*)params->linux_side)->GetMotionData( (ControllerHandle_t)params->controllerHandle ); } -void cppISteamController_SteamController008_TriggerHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void cppISteamController_SteamController008_TriggerHapticPulse( struct cppISteamController_SteamController008_TriggerHapticPulse_params *params ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + ((ISteamController*)params->linux_side)->TriggerHapticPulse( (ControllerHandle_t)params->controllerHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec ); } -void cppISteamController_SteamController008_TriggerRepeatedHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +void cppISteamController_SteamController008_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController008_TriggerRepeatedHapticPulse_params *params ) { - ((ISteamController*)linux_side)->TriggerRepeatedHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + ((ISteamController*)params->linux_side)->TriggerRepeatedHapticPulse( (ControllerHandle_t)params->controllerHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec, (unsigned short)params->usOffMicroSec, (unsigned short)params->unRepeat, (unsigned int)params->nFlags ); } -void cppISteamController_SteamController008_TriggerVibration(void *linux_side, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +void cppISteamController_SteamController008_TriggerVibration( struct cppISteamController_SteamController008_TriggerVibration_params *params ) { - ((ISteamController*)linux_side)->TriggerVibration((ControllerHandle_t)controllerHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + ((ISteamController*)params->linux_side)->TriggerVibration( (ControllerHandle_t)params->controllerHandle, (unsigned short)params->usLeftSpeed, (unsigned short)params->usRightSpeed ); } -void cppISteamController_SteamController008_SetLEDColor(void *linux_side, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +void cppISteamController_SteamController008_SetLEDColor( struct cppISteamController_SteamController008_SetLEDColor_params *params ) { - ((ISteamController*)linux_side)->SetLEDColor((ControllerHandle_t)controllerHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + ((ISteamController*)params->linux_side)->SetLEDColor( (ControllerHandle_t)params->controllerHandle, (uint8)params->nColorR, (uint8)params->nColorG, (uint8)params->nColorB, (unsigned int)params->nFlags ); } -bool cppISteamController_SteamController008_ShowBindingPanel(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController008_ShowBindingPanel( struct cppISteamController_SteamController008_ShowBindingPanel_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->ShowBindingPanel((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->ShowBindingPanel( (ControllerHandle_t)params->controllerHandle ); } -ESteamInputType cppISteamController_SteamController008_GetInputTypeForHandle(void *linux_side, ControllerHandle_t controllerHandle) +void cppISteamController_SteamController008_GetInputTypeForHandle( struct cppISteamController_SteamController008_GetInputTypeForHandle_params *params ) { - ESteamInputType _ret; - _ret = ((ISteamController*)linux_side)->GetInputTypeForHandle((ControllerHandle_t)controllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetInputTypeForHandle( (ControllerHandle_t)params->controllerHandle ); } -ControllerHandle_t cppISteamController_SteamController008_GetControllerForGamepadIndex(void *linux_side, int nIndex) +void cppISteamController_SteamController008_GetControllerForGamepadIndex( struct cppISteamController_SteamController008_GetControllerForGamepadIndex_params *params ) { - ControllerHandle_t _ret; - _ret = ((ISteamController*)linux_side)->GetControllerForGamepadIndex((int)nIndex); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetControllerForGamepadIndex( (int)params->nIndex ); } -int cppISteamController_SteamController008_GetGamepadIndexForController(void *linux_side, ControllerHandle_t ulControllerHandle) +void cppISteamController_SteamController008_GetGamepadIndexForController( struct cppISteamController_SteamController008_GetGamepadIndexForController_params *params ) { - int _ret; - _ret = ((ISteamController*)linux_side)->GetGamepadIndexForController((ControllerHandle_t)ulControllerHandle); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetGamepadIndexForController( (ControllerHandle_t)params->ulControllerHandle ); } -const char * cppISteamController_SteamController008_GetStringForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +void cppISteamController_SteamController008_GetStringForXboxOrigin( struct cppISteamController_SteamController008_GetStringForXboxOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamController*)linux_side)->GetStringForXboxOrigin((EXboxOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetStringForXboxOrigin( (EXboxOrigin)params->eOrigin ); } -EControllerActionOrigin cppISteamController_SteamController008_GetActionOriginFromXboxOrigin(void *linux_side, ControllerHandle_t controllerHandle, EXboxOrigin eOrigin) +void cppISteamController_SteamController008_GetActionOriginFromXboxOrigin( struct cppISteamController_SteamController008_GetActionOriginFromXboxOrigin_params *params ) { - EControllerActionOrigin _ret; - _ret = ((ISteamController*)linux_side)->GetActionOriginFromXboxOrigin((ControllerHandle_t)controllerHandle, (EXboxOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetActionOriginFromXboxOrigin( (ControllerHandle_t)params->controllerHandle, (EXboxOrigin)params->eOrigin ); } -EControllerActionOrigin cppISteamController_SteamController008_TranslateActionOrigin(void *linux_side, ESteamInputType eDestinationInputType, EControllerActionOrigin eSourceOrigin) +void cppISteamController_SteamController008_TranslateActionOrigin( struct cppISteamController_SteamController008_TranslateActionOrigin_params *params ) { - EControllerActionOrigin _ret; - _ret = ((ISteamController*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EControllerActionOrigin)eSourceOrigin); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->TranslateActionOrigin( (ESteamInputType)params->eDestinationInputType, (EControllerActionOrigin)params->eSourceOrigin ); } -bool cppISteamController_SteamController008_GetControllerBindingRevision(void *linux_side, ControllerHandle_t controllerHandle, int *pMajor, int *pMinor) +void cppISteamController_SteamController008_GetControllerBindingRevision( struct cppISteamController_SteamController008_GetControllerBindingRevision_params *params ) { - bool _ret; - _ret = ((ISteamController*)linux_side)->GetControllerBindingRevision((ControllerHandle_t)controllerHandle, (int *)pMajor, (int *)pMinor); - return (_ret); + params->_ret = ((ISteamController*)params->linux_side)->GetControllerBindingRevision( (ControllerHandle_t)params->controllerHandle, (int *)params->pMajor, (int *)params->pMinor ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamController_SteamController008.h b/lsteamclient/cppISteamController_SteamController008.h index 063d07ac..d92d7bd5 100644 --- a/lsteamclient/cppISteamController_SteamController008.h +++ b/lsteamclient/cppISteamController_SteamController008.h @@ -1,34 +1,289 @@ -extern bool cppISteamController_SteamController008_Init(void *); -extern bool cppISteamController_SteamController008_Shutdown(void *); -extern void cppISteamController_SteamController008_RunFrame(void *); -extern int cppISteamController_SteamController008_GetConnectedControllers(void *, ControllerHandle_t *); -extern ControllerActionSetHandle_t cppISteamController_SteamController008_GetActionSetHandle(void *, const char *); -extern void cppISteamController_SteamController008_ActivateActionSet(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController008_GetCurrentActionSet(void *, ControllerHandle_t); -extern void cppISteamController_SteamController008_ActivateActionSetLayer(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern void cppISteamController_SteamController008_DeactivateActionSetLayer(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern void cppISteamController_SteamController008_DeactivateAllActionSetLayers(void *, ControllerHandle_t); -extern int cppISteamController_SteamController008_GetActiveActionSetLayers(void *, ControllerHandle_t, ControllerActionSetHandle_t *); -extern ControllerDigitalActionHandle_t cppISteamController_SteamController008_GetDigitalActionHandle(void *, const char *); -extern InputDigitalActionData_t cppISteamController_SteamController008_GetDigitalActionData(void *, ControllerHandle_t, ControllerDigitalActionHandle_t); -extern int cppISteamController_SteamController008_GetDigitalActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerDigitalActionHandle_t, EControllerActionOrigin *); -extern ControllerAnalogActionHandle_t cppISteamController_SteamController008_GetAnalogActionHandle(void *, const char *); -extern InputAnalogActionData_t cppISteamController_SteamController008_GetAnalogActionData(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern int cppISteamController_SteamController008_GetAnalogActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerAnalogActionHandle_t, EControllerActionOrigin *); -extern const char * cppISteamController_SteamController008_GetGlyphForActionOrigin(void *, EControllerActionOrigin); -extern const char * cppISteamController_SteamController008_GetStringForActionOrigin(void *, EControllerActionOrigin); -extern void cppISteamController_SteamController008_StopAnalogActionMomentum(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern InputMotionData_t cppISteamController_SteamController008_GetMotionData(void *, ControllerHandle_t); -extern void cppISteamController_SteamController008_TriggerHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamController_SteamController008_TriggerRepeatedHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern void cppISteamController_SteamController008_TriggerVibration(void *, ControllerHandle_t, unsigned short, unsigned short); -extern void cppISteamController_SteamController008_SetLEDColor(void *, ControllerHandle_t, uint8, uint8, uint8, unsigned int); -extern bool cppISteamController_SteamController008_ShowBindingPanel(void *, ControllerHandle_t); -extern ESteamInputType cppISteamController_SteamController008_GetInputTypeForHandle(void *, ControllerHandle_t); -extern ControllerHandle_t cppISteamController_SteamController008_GetControllerForGamepadIndex(void *, int); -extern int cppISteamController_SteamController008_GetGamepadIndexForController(void *, ControllerHandle_t); -extern const char * cppISteamController_SteamController008_GetStringForXboxOrigin(void *, EXboxOrigin); -extern const char * cppISteamController_SteamController008_GetGlyphForXboxOrigin(void *, EXboxOrigin); -extern EControllerActionOrigin cppISteamController_SteamController008_GetActionOriginFromXboxOrigin(void *, ControllerHandle_t, EXboxOrigin); -extern EControllerActionOrigin cppISteamController_SteamController008_TranslateActionOrigin(void *, ESteamInputType, EControllerActionOrigin); -extern bool cppISteamController_SteamController008_GetControllerBindingRevision(void *, ControllerHandle_t, int *, int *); +struct cppISteamController_SteamController008_Init_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamController_SteamController008_Init( struct cppISteamController_SteamController008_Init_params *params ); + +struct cppISteamController_SteamController008_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamController_SteamController008_Shutdown( struct cppISteamController_SteamController008_Shutdown_params *params ); + +struct cppISteamController_SteamController008_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamController_SteamController008_RunFrame( struct cppISteamController_SteamController008_RunFrame_params *params ); + +struct cppISteamController_SteamController008_GetConnectedControllers_params +{ + void *linux_side; + int _ret; + ControllerHandle_t *handlesOut; +}; +extern void cppISteamController_SteamController008_GetConnectedControllers( struct cppISteamController_SteamController008_GetConnectedControllers_params *params ); + +struct cppISteamController_SteamController008_GetActionSetHandle_params +{ + void *linux_side; + ControllerActionSetHandle_t _ret; + const char *pszActionSetName; +}; +extern void cppISteamController_SteamController008_GetActionSetHandle( struct cppISteamController_SteamController008_GetActionSetHandle_params *params ); + +struct cppISteamController_SteamController008_ActivateActionSet_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; +}; +extern void cppISteamController_SteamController008_ActivateActionSet( struct cppISteamController_SteamController008_ActivateActionSet_params *params ); + +struct cppISteamController_SteamController008_GetCurrentActionSet_params +{ + void *linux_side; + ControllerActionSetHandle_t _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController008_GetCurrentActionSet( struct cppISteamController_SteamController008_GetCurrentActionSet_params *params ); + +struct cppISteamController_SteamController008_ActivateActionSetLayer_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamController_SteamController008_ActivateActionSetLayer( struct cppISteamController_SteamController008_ActivateActionSetLayer_params *params ); + +struct cppISteamController_SteamController008_DeactivateActionSetLayer_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamController_SteamController008_DeactivateActionSetLayer( struct cppISteamController_SteamController008_DeactivateActionSetLayer_params *params ); + +struct cppISteamController_SteamController008_DeactivateAllActionSetLayers_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController008_DeactivateAllActionSetLayers( struct cppISteamController_SteamController008_DeactivateAllActionSetLayers_params *params ); + +struct cppISteamController_SteamController008_GetActiveActionSetLayers_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t *handlesOut; +}; +extern void cppISteamController_SteamController008_GetActiveActionSetLayers( struct cppISteamController_SteamController008_GetActiveActionSetLayers_params *params ); + +struct cppISteamController_SteamController008_GetDigitalActionHandle_params +{ + void *linux_side; + ControllerDigitalActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamController_SteamController008_GetDigitalActionHandle( struct cppISteamController_SteamController008_GetDigitalActionHandle_params *params ); + +struct cppISteamController_SteamController008_GetDigitalActionData_params +{ + void *linux_side; + InputDigitalActionData_t *_ret; + ControllerHandle_t controllerHandle; + ControllerDigitalActionHandle_t digitalActionHandle; +}; +extern void cppISteamController_SteamController008_GetDigitalActionData( struct cppISteamController_SteamController008_GetDigitalActionData_params *params ); + +struct cppISteamController_SteamController008_GetDigitalActionOrigins_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; + ControllerDigitalActionHandle_t digitalActionHandle; + EControllerActionOrigin *originsOut; +}; +extern void cppISteamController_SteamController008_GetDigitalActionOrigins( struct cppISteamController_SteamController008_GetDigitalActionOrigins_params *params ); + +struct cppISteamController_SteamController008_GetAnalogActionHandle_params +{ + void *linux_side; + ControllerAnalogActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamController_SteamController008_GetAnalogActionHandle( struct cppISteamController_SteamController008_GetAnalogActionHandle_params *params ); + +struct cppISteamController_SteamController008_GetAnalogActionData_params +{ + void *linux_side; + InputAnalogActionData_t *_ret; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t analogActionHandle; +}; +extern void cppISteamController_SteamController008_GetAnalogActionData( struct cppISteamController_SteamController008_GetAnalogActionData_params *params ); + +struct cppISteamController_SteamController008_GetAnalogActionOrigins_params +{ + void *linux_side; + int _ret; + ControllerHandle_t controllerHandle; + ControllerActionSetHandle_t actionSetHandle; + ControllerAnalogActionHandle_t analogActionHandle; + EControllerActionOrigin *originsOut; +}; +extern void cppISteamController_SteamController008_GetAnalogActionOrigins( struct cppISteamController_SteamController008_GetAnalogActionOrigins_params *params ); + +struct cppISteamController_SteamController008_GetGlyphForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EControllerActionOrigin eOrigin; +}; +extern void cppISteamController_SteamController008_GetGlyphForActionOrigin( struct cppISteamController_SteamController008_GetGlyphForActionOrigin_params *params ); + +struct cppISteamController_SteamController008_GetStringForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EControllerActionOrigin eOrigin; +}; +extern void cppISteamController_SteamController008_GetStringForActionOrigin( struct cppISteamController_SteamController008_GetStringForActionOrigin_params *params ); + +struct cppISteamController_SteamController008_StopAnalogActionMomentum_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ControllerAnalogActionHandle_t eAction; +}; +extern void cppISteamController_SteamController008_StopAnalogActionMomentum( struct cppISteamController_SteamController008_StopAnalogActionMomentum_params *params ); + +struct cppISteamController_SteamController008_GetMotionData_params +{ + void *linux_side; + InputMotionData_t *_ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController008_GetMotionData( struct cppISteamController_SteamController008_GetMotionData_params *params ); + +struct cppISteamController_SteamController008_TriggerHapticPulse_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; +}; +extern void cppISteamController_SteamController008_TriggerHapticPulse( struct cppISteamController_SteamController008_TriggerHapticPulse_params *params ); + +struct cppISteamController_SteamController008_TriggerRepeatedHapticPulse_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; + unsigned short usOffMicroSec; + unsigned short unRepeat; + unsigned int nFlags; +}; +extern void cppISteamController_SteamController008_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController008_TriggerRepeatedHapticPulse_params *params ); + +struct cppISteamController_SteamController008_TriggerVibration_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + unsigned short usLeftSpeed; + unsigned short usRightSpeed; +}; +extern void cppISteamController_SteamController008_TriggerVibration( struct cppISteamController_SteamController008_TriggerVibration_params *params ); + +struct cppISteamController_SteamController008_SetLEDColor_params +{ + void *linux_side; + ControllerHandle_t controllerHandle; + uint8 nColorR; + uint8 nColorG; + uint8 nColorB; + unsigned int nFlags; +}; +extern void cppISteamController_SteamController008_SetLEDColor( struct cppISteamController_SteamController008_SetLEDColor_params *params ); + +struct cppISteamController_SteamController008_ShowBindingPanel_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController008_ShowBindingPanel( struct cppISteamController_SteamController008_ShowBindingPanel_params *params ); + +struct cppISteamController_SteamController008_GetInputTypeForHandle_params +{ + void *linux_side; + ESteamInputType _ret; + ControllerHandle_t controllerHandle; +}; +extern void cppISteamController_SteamController008_GetInputTypeForHandle( struct cppISteamController_SteamController008_GetInputTypeForHandle_params *params ); + +struct cppISteamController_SteamController008_GetControllerForGamepadIndex_params +{ + void *linux_side; + ControllerHandle_t _ret; + int nIndex; +}; +extern void cppISteamController_SteamController008_GetControllerForGamepadIndex( struct cppISteamController_SteamController008_GetControllerForGamepadIndex_params *params ); + +struct cppISteamController_SteamController008_GetGamepadIndexForController_params +{ + void *linux_side; + int _ret; + ControllerHandle_t ulControllerHandle; +}; +extern void cppISteamController_SteamController008_GetGamepadIndexForController( struct cppISteamController_SteamController008_GetGamepadIndexForController_params *params ); + +struct cppISteamController_SteamController008_GetStringForXboxOrigin_params +{ + void *linux_side; + const char *_ret; + EXboxOrigin eOrigin; +}; +extern void cppISteamController_SteamController008_GetStringForXboxOrigin( struct cppISteamController_SteamController008_GetStringForXboxOrigin_params *params ); + +struct cppISteamController_SteamController008_GetGlyphForXboxOrigin_params +{ + void *linux_side; + const char *_ret; + EXboxOrigin eOrigin; +}; +extern void cppISteamController_SteamController008_GetGlyphForXboxOrigin( struct cppISteamController_SteamController008_GetGlyphForXboxOrigin_params *params ); + +struct cppISteamController_SteamController008_GetActionOriginFromXboxOrigin_params +{ + void *linux_side; + EControllerActionOrigin _ret; + ControllerHandle_t controllerHandle; + EXboxOrigin eOrigin; +}; +extern void cppISteamController_SteamController008_GetActionOriginFromXboxOrigin( struct cppISteamController_SteamController008_GetActionOriginFromXboxOrigin_params *params ); + +struct cppISteamController_SteamController008_TranslateActionOrigin_params +{ + void *linux_side; + EControllerActionOrigin _ret; + ESteamInputType eDestinationInputType; + EControllerActionOrigin eSourceOrigin; +}; +extern void cppISteamController_SteamController008_TranslateActionOrigin( struct cppISteamController_SteamController008_TranslateActionOrigin_params *params ); + +struct cppISteamController_SteamController008_GetControllerBindingRevision_params +{ + void *linux_side; + bool _ret; + ControllerHandle_t controllerHandle; + int *pMajor; + int *pMinor; +}; +extern void cppISteamController_SteamController008_GetControllerBindingRevision( struct cppISteamController_SteamController008_GetControllerBindingRevision_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends001.cpp b/lsteamclient/cppISteamFriends_SteamFriends001.cpp index 02d27533..a9b7e2c9 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends001.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends001.cpp @@ -11,181 +11,139 @@ extern "C" { #define SDKVER_099x #include "struct_converters.h" #include "cppISteamFriends_SteamFriends001.h" -const char * cppISteamFriends_SteamFriends001_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends001_GetPersonaName( struct cppISteamFriends_SteamFriends001_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -void cppISteamFriends_SteamFriends001_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends001_SetPersonaName( struct cppISteamFriends_SteamFriends001_SetPersonaName_params *params ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends001_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends001_GetPersonaState( struct cppISteamFriends_SteamFriends001_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -void cppISteamFriends_SteamFriends001_SetPersonaState(void *linux_side, EPersonaState ePersonaState) +void cppISteamFriends_SteamFriends001_SetPersonaState( struct cppISteamFriends_SteamFriends001_SetPersonaState_params *params ) { - ((ISteamFriends*)linux_side)->SetPersonaState((EPersonaState)ePersonaState); + ((ISteamFriends*)params->linux_side)->SetPersonaState( (EPersonaState)params->ePersonaState ); } -bool cppISteamFriends_SteamFriends001_AddFriend(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends001_AddFriend( struct cppISteamFriends_SteamFriends001_AddFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->AddFriend((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->AddFriend( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends001_RemoveFriend(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends001_RemoveFriend( struct cppISteamFriends_SteamFriends001_RemoveFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->RemoveFriend((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RemoveFriend( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends001_HasFriend(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends001_HasFriend( struct cppISteamFriends_SteamFriends001_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend ); } -EFriendRelationship cppISteamFriends_SteamFriends001_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends001_GetFriendRelationship( struct cppISteamFriends_SteamFriends001_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends001_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends001_GetFriendPersonaState( struct cppISteamFriends_SteamFriends001_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, int32 *pnGameID, uint32 *punGameIP, uint16 *pusGamePort) +void cppISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->Deprecated_GetFriendGamePlayed((CSteamID)steamIDFriend, (int32 *)pnGameID, (uint32 *)punGameIP, (uint16 *)pusGamePort); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->Deprecated_GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (int32 *)params->pnGameID, (uint32 *)params->punGameIP, (uint16 *)params->pusGamePort ); } -const char * cppISteamFriends_SteamFriends001_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends001_GetFriendPersonaName( struct cppISteamFriends_SteamFriends001_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -int32 cppISteamFriends_SteamFriends001_AddFriendByName(void *linux_side, const char *pchEmailOrAccountName) +void cppISteamFriends_SteamFriends001_AddFriendByName( struct cppISteamFriends_SteamFriends001_AddFriendByName_params *params ) { - int32 _ret; - _ret = ((ISteamFriends*)linux_side)->AddFriendByName((const char *)pchEmailOrAccountName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->AddFriendByName( (const char *)params->pchEmailOrAccountName ); } -int cppISteamFriends_SteamFriends001_GetFriendCount(void *linux_side) +void cppISteamFriends_SteamFriends001_GetFriendCount( struct cppISteamFriends_SteamFriends001_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( ); } -CSteamID cppISteamFriends_SteamFriends001_GetFriendByIndex(void *linux_side, int iFriend) +void cppISteamFriends_SteamFriends001_GetFriendByIndex( struct cppISteamFriends_SteamFriends001_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend ); } -void cppISteamFriends_SteamFriends001_SendMsgToFriend(void *linux_side, CSteamID steamIDFriend, EChatEntryType eChatEntryType, const char *pchMsgBody) +void cppISteamFriends_SteamFriends001_SendMsgToFriend( struct cppISteamFriends_SteamFriends001_SendMsgToFriend_params *params ) { - ((ISteamFriends*)linux_side)->SendMsgToFriend((CSteamID)steamIDFriend, (EChatEntryType)eChatEntryType, (const char *)pchMsgBody); + ((ISteamFriends*)params->linux_side)->SendMsgToFriend( (CSteamID)params->steamIDFriend, (EChatEntryType)params->eChatEntryType, (const char *)params->pchMsgBody ); } -void cppISteamFriends_SteamFriends001_SetFriendRegValue(void *linux_side, CSteamID steamIDFriend, const char *pchKey, const char *pchValue) +void cppISteamFriends_SteamFriends001_SetFriendRegValue( struct cppISteamFriends_SteamFriends001_SetFriendRegValue_params *params ) { - ((ISteamFriends*)linux_side)->SetFriendRegValue((CSteamID)steamIDFriend, (const char *)pchKey, (const char *)pchValue); + ((ISteamFriends*)params->linux_side)->SetFriendRegValue( (CSteamID)params->steamIDFriend, (const char *)params->pchKey, (const char *)params->pchValue ); } -const char * cppISteamFriends_SteamFriends001_GetFriendRegValue(void *linux_side, CSteamID steamIDFriend, const char *pchKey) +void cppISteamFriends_SteamFriends001_GetFriendRegValue( struct cppISteamFriends_SteamFriends001_GetFriendRegValue_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRegValue((CSteamID)steamIDFriend, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRegValue( (CSteamID)params->steamIDFriend, (const char *)params->pchKey ); } -const char * cppISteamFriends_SteamFriends001_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends001_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends001_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -int cppISteamFriends_SteamFriends001_GetChatMessage(void *linux_side, CSteamID steamIDFriend, int iChatID, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamFriends_SteamFriends001_GetChatMessage( struct cppISteamFriends_SteamFriends001_GetChatMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetChatMessage((CSteamID)steamIDFriend, (int)iChatID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetChatMessage( (CSteamID)params->steamIDFriend, (int)params->iChatID, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -bool cppISteamFriends_SteamFriends001_SendMsgToFriend_2(void *linux_side, CSteamID steamIDFriend, EChatEntryType eChatEntryType, const void *pvMsgBody, int cubMsgBody) +void cppISteamFriends_SteamFriends001_SendMsgToFriend_2( struct cppISteamFriends_SteamFriends001_SendMsgToFriend_2_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SendMsgToFriend((CSteamID)steamIDFriend, (EChatEntryType)eChatEntryType, (const void *)pvMsgBody, (int)cubMsgBody); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SendMsgToFriend( (CSteamID)params->steamIDFriend, (EChatEntryType)params->eChatEntryType, (const void *)params->pvMsgBody, (int)params->cubMsgBody ); } -int cppISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart( struct cppISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetChatIDOfChatHistoryStart((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetChatIDOfChatHistoryStart( (CSteamID)params->steamIDFriend ); } -void cppISteamFriends_SteamFriends001_SetChatHistoryStart(void *linux_side, CSteamID steamIDFriend, int iChatID) +void cppISteamFriends_SteamFriends001_SetChatHistoryStart( struct cppISteamFriends_SteamFriends001_SetChatHistoryStart_params *params ) { - ((ISteamFriends*)linux_side)->SetChatHistoryStart((CSteamID)steamIDFriend, (int)iChatID); + ((ISteamFriends*)params->linux_side)->SetChatHistoryStart( (CSteamID)params->steamIDFriend, (int)params->iChatID ); } -void cppISteamFriends_SteamFriends001_ClearChatHistory(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends001_ClearChatHistory( struct cppISteamFriends_SteamFriends001_ClearChatHistory_params *params ) { - ((ISteamFriends*)linux_side)->ClearChatHistory((CSteamID)steamIDFriend); + ((ISteamFriends*)params->linux_side)->ClearChatHistory( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends001_InviteFriendByEmail(void *linux_side, const char *pchEmailAccount) +void cppISteamFriends_SteamFriends001_InviteFriendByEmail( struct cppISteamFriends_SteamFriends001_InviteFriendByEmail_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->InviteFriendByEmail((const char *)pchEmailAccount); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->InviteFriendByEmail( (const char *)params->pchEmailAccount ); } -int cppISteamFriends_SteamFriends001_GetBlockedFriendCount(void *linux_side) +void cppISteamFriends_SteamFriends001_GetBlockedFriendCount( struct cppISteamFriends_SteamFriends001_GetBlockedFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetBlockedFriendCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetBlockedFriendCount( ); } -bool cppISteamFriends_SteamFriends001_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, uint64 *pulGameID, uint32 *punGameIP, uint16 *pusGamePort) +void cppISteamFriends_SteamFriends001_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends001_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (uint64 *)pulGameID, (uint32 *)punGameIP, (uint16 *)pusGamePort); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (uint64 *)params->pulGameID, (uint32 *)params->punGameIP, (uint16 *)params->pusGamePort ); } -bool cppISteamFriends_SteamFriends001_GetFriendGamePlayed2(void *linux_side, CSteamID steamIDFriend, uint64 *pulGameID, uint32 *punGameIP, uint16 *pusGamePort, uint16 *pusQueryPort) +void cppISteamFriends_SteamFriends001_GetFriendGamePlayed2( struct cppISteamFriends_SteamFriends001_GetFriendGamePlayed2_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed2((CSteamID)steamIDFriend, (uint64 *)pulGameID, (uint32 *)punGameIP, (uint16 *)pusGamePort, (uint16 *)pusQueryPort); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed2( (CSteamID)params->steamIDFriend, (uint64 *)params->pulGameID, (uint32 *)params->punGameIP, (uint16 *)params->pusGamePort, (uint16 *)params->pusQueryPort ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends001.h b/lsteamclient/cppISteamFriends_SteamFriends001.h index 4b196075..d136b14c 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends001.h +++ b/lsteamclient/cppISteamFriends_SteamFriends001.h @@ -1,27 +1,230 @@ -extern const char * cppISteamFriends_SteamFriends001_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends001_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends001_GetPersonaState(void *); -extern void cppISteamFriends_SteamFriends001_SetPersonaState(void *, EPersonaState); -extern bool cppISteamFriends_SteamFriends001_AddFriend(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends001_RemoveFriend(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends001_HasFriend(void *, CSteamID); -extern EFriendRelationship cppISteamFriends_SteamFriends001_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends001_GetFriendPersonaState(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed(void *, CSteamID, int32 *, uint32 *, uint16 *); -extern const char * cppISteamFriends_SteamFriends001_GetFriendPersonaName(void *, CSteamID); -extern int32 cppISteamFriends_SteamFriends001_AddFriendByName(void *, const char *); -extern int cppISteamFriends_SteamFriends001_GetFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends001_GetFriendByIndex(void *, int); -extern void cppISteamFriends_SteamFriends001_SendMsgToFriend(void *, CSteamID, EChatEntryType, const char *); -extern void cppISteamFriends_SteamFriends001_SetFriendRegValue(void *, CSteamID, const char *, const char *); -extern const char * cppISteamFriends_SteamFriends001_GetFriendRegValue(void *, CSteamID, const char *); -extern const char * cppISteamFriends_SteamFriends001_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends001_GetChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern bool cppISteamFriends_SteamFriends001_SendMsgToFriend_2(void *, CSteamID, EChatEntryType, const void *, int); -extern int cppISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart(void *, CSteamID); -extern void cppISteamFriends_SteamFriends001_SetChatHistoryStart(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends001_ClearChatHistory(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends001_InviteFriendByEmail(void *, const char *); -extern int cppISteamFriends_SteamFriends001_GetBlockedFriendCount(void *); -extern bool cppISteamFriends_SteamFriends001_GetFriendGamePlayed(void *, CSteamID, uint64 *, uint32 *, uint16 *); -extern bool cppISteamFriends_SteamFriends001_GetFriendGamePlayed2(void *, CSteamID, uint64 *, uint32 *, uint16 *, uint16 *); +struct cppISteamFriends_SteamFriends001_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends001_GetPersonaName( struct cppISteamFriends_SteamFriends001_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends001_SetPersonaName_params +{ + void *linux_side; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends001_SetPersonaName( struct cppISteamFriends_SteamFriends001_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends001_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends001_GetPersonaState( struct cppISteamFriends_SteamFriends001_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends001_SetPersonaState_params +{ + void *linux_side; + EPersonaState ePersonaState; +}; +extern void cppISteamFriends_SteamFriends001_SetPersonaState( struct cppISteamFriends_SteamFriends001_SetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends001_AddFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends001_AddFriend( struct cppISteamFriends_SteamFriends001_AddFriend_params *params ); + +struct cppISteamFriends_SteamFriends001_RemoveFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends001_RemoveFriend( struct cppISteamFriends_SteamFriends001_RemoveFriend_params *params ); + +struct cppISteamFriends_SteamFriends001_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends001_HasFriend( struct cppISteamFriends_SteamFriends001_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends001_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends001_GetFriendRelationship( struct cppISteamFriends_SteamFriends001_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends001_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends001_GetFriendPersonaState( struct cppISteamFriends_SteamFriends001_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int32 *pnGameID; + uint32 *punGameIP; + uint16 *pusGamePort; +}; +extern void cppISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends001_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends001_GetFriendPersonaName( struct cppISteamFriends_SteamFriends001_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends001_AddFriendByName_params +{ + void *linux_side; + int32 _ret; + const char *pchEmailOrAccountName; +}; +extern void cppISteamFriends_SteamFriends001_AddFriendByName( struct cppISteamFriends_SteamFriends001_AddFriendByName_params *params ); + +struct cppISteamFriends_SteamFriends001_GetFriendCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends001_GetFriendCount( struct cppISteamFriends_SteamFriends001_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends001_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends001_GetFriendByIndex( struct cppISteamFriends_SteamFriends001_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends001_SendMsgToFriend_params +{ + void *linux_side; + CSteamID steamIDFriend; + EChatEntryType eChatEntryType; + const char *pchMsgBody; +}; +extern void cppISteamFriends_SteamFriends001_SendMsgToFriend( struct cppISteamFriends_SteamFriends001_SendMsgToFriend_params *params ); + +struct cppISteamFriends_SteamFriends001_SetFriendRegValue_params +{ + void *linux_side; + CSteamID steamIDFriend; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamFriends_SteamFriends001_SetFriendRegValue( struct cppISteamFriends_SteamFriends001_SetFriendRegValue_params *params ); + +struct cppISteamFriends_SteamFriends001_GetFriendRegValue_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; +extern void cppISteamFriends_SteamFriends001_GetFriendRegValue( struct cppISteamFriends_SteamFriends001_GetFriendRegValue_params *params ); + +struct cppISteamFriends_SteamFriends001_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends001_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends001_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends001_GetChatMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; + int iChatID; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamFriends_SteamFriends001_GetChatMessage( struct cppISteamFriends_SteamFriends001_GetChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends001_SendMsgToFriend_2_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + EChatEntryType eChatEntryType; + const void *pvMsgBody; + int cubMsgBody; +}; +extern void cppISteamFriends_SteamFriends001_SendMsgToFriend_2( struct cppISteamFriends_SteamFriends001_SendMsgToFriend_2_params *params ); + +struct cppISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart( struct cppISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart_params *params ); + +struct cppISteamFriends_SteamFriends001_SetChatHistoryStart_params +{ + void *linux_side; + CSteamID steamIDFriend; + int iChatID; +}; +extern void cppISteamFriends_SteamFriends001_SetChatHistoryStart( struct cppISteamFriends_SteamFriends001_SetChatHistoryStart_params *params ); + +struct cppISteamFriends_SteamFriends001_ClearChatHistory_params +{ + void *linux_side; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends001_ClearChatHistory( struct cppISteamFriends_SteamFriends001_ClearChatHistory_params *params ); + +struct cppISteamFriends_SteamFriends001_InviteFriendByEmail_params +{ + void *linux_side; + bool _ret; + const char *pchEmailAccount; +}; +extern void cppISteamFriends_SteamFriends001_InviteFriendByEmail( struct cppISteamFriends_SteamFriends001_InviteFriendByEmail_params *params ); + +struct cppISteamFriends_SteamFriends001_GetBlockedFriendCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends001_GetBlockedFriendCount( struct cppISteamFriends_SteamFriends001_GetBlockedFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends001_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + uint64 *pulGameID; + uint32 *punGameIP; + uint16 *pusGamePort; +}; +extern void cppISteamFriends_SteamFriends001_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends001_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends001_GetFriendGamePlayed2_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + uint64 *pulGameID; + uint32 *punGameIP; + uint16 *pusGamePort; + uint16 *pusQueryPort; +}; +extern void cppISteamFriends_SteamFriends001_GetFriendGamePlayed2( struct cppISteamFriends_SteamFriends001_GetFriendGamePlayed2_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends002.cpp b/lsteamclient/cppISteamFriends_SteamFriends002.cpp index 607f2e9f..3d623dc2 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends002.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends002.cpp @@ -11,204 +11,154 @@ extern "C" { #define SDKVER_099y #include "struct_converters.h" #include "cppISteamFriends_SteamFriends002.h" -const char * cppISteamFriends_SteamFriends002_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends002_GetPersonaName( struct cppISteamFriends_SteamFriends002_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -void cppISteamFriends_SteamFriends002_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends002_SetPersonaName( struct cppISteamFriends_SteamFriends002_SetPersonaName_params *params ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends002_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends002_GetPersonaState( struct cppISteamFriends_SteamFriends002_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -void cppISteamFriends_SteamFriends002_SetPersonaState(void *linux_side, EPersonaState ePersonaState) +void cppISteamFriends_SteamFriends002_SetPersonaState( struct cppISteamFriends_SteamFriends002_SetPersonaState_params *params ) { - ((ISteamFriends*)linux_side)->SetPersonaState((EPersonaState)ePersonaState); + ((ISteamFriends*)params->linux_side)->SetPersonaState( (EPersonaState)params->ePersonaState ); } -int cppISteamFriends_SteamFriends002_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends002_GetFriendCount( struct cppISteamFriends_SteamFriends002_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends002_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends002_GetFriendByIndex( struct cppISteamFriends_SteamFriends002_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends002_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends002_GetFriendRelationship( struct cppISteamFriends_SteamFriends002_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends002_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends002_GetFriendPersonaState( struct cppISteamFriends_SteamFriends002_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends002_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends002_GetFriendPersonaName( struct cppISteamFriends_SteamFriends002_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -void cppISteamFriends_SteamFriends002_SetFriendRegValue(void *linux_side, CSteamID steamIDFriend, const char *pchKey, const char *pchValue) +void cppISteamFriends_SteamFriends002_SetFriendRegValue( struct cppISteamFriends_SteamFriends002_SetFriendRegValue_params *params ) { - ((ISteamFriends*)linux_side)->SetFriendRegValue((CSteamID)steamIDFriend, (const char *)pchKey, (const char *)pchValue); + ((ISteamFriends*)params->linux_side)->SetFriendRegValue( (CSteamID)params->steamIDFriend, (const char *)params->pchKey, (const char *)params->pchValue ); } -const char * cppISteamFriends_SteamFriends002_GetFriendRegValue(void *linux_side, CSteamID steamIDFriend, const char *pchKey) +void cppISteamFriends_SteamFriends002_GetFriendRegValue( struct cppISteamFriends_SteamFriends002_GetFriendRegValue_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRegValue((CSteamID)steamIDFriend, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRegValue( (CSteamID)params->steamIDFriend, (const char *)params->pchKey ); } -bool cppISteamFriends_SteamFriends002_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, uint64 *pulGameID, uint32 *punGameIP, uint16 *pusGamePort, uint16 *pusQueryPort) +void cppISteamFriends_SteamFriends002_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends002_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (uint64 *)pulGameID, (uint32 *)punGameIP, (uint16 *)pusGamePort, (uint16 *)pusQueryPort); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (uint64 *)params->pulGameID, (uint32 *)params->punGameIP, (uint16 *)params->pusGamePort, (uint16 *)params->pusQueryPort ); } -const char * cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -bool cppISteamFriends_SteamFriends002_AddFriend(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends002_AddFriend( struct cppISteamFriends_SteamFriends002_AddFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->AddFriend((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->AddFriend( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends002_RemoveFriend(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends002_RemoveFriend( struct cppISteamFriends_SteamFriends002_RemoveFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->RemoveFriend((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RemoveFriend( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends002_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends002_HasFriend( struct cppISteamFriends_SteamFriends002_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int32 cppISteamFriends_SteamFriends002_AddFriendByName(void *linux_side, const char *pchEmailOrAccountName) +void cppISteamFriends_SteamFriends002_AddFriendByName( struct cppISteamFriends_SteamFriends002_AddFriendByName_params *params ) { - int32 _ret; - _ret = ((ISteamFriends*)linux_side)->AddFriendByName((const char *)pchEmailOrAccountName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->AddFriendByName( (const char *)params->pchEmailOrAccountName ); } -bool cppISteamFriends_SteamFriends002_InviteFriendByEmail(void *linux_side, const char *pchEmailAccount) +void cppISteamFriends_SteamFriends002_InviteFriendByEmail( struct cppISteamFriends_SteamFriends002_InviteFriendByEmail_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->InviteFriendByEmail((const char *)pchEmailAccount); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->InviteFriendByEmail( (const char *)params->pchEmailAccount ); } -int cppISteamFriends_SteamFriends002_GetChatMessage(void *linux_side, CSteamID steamIDFriend, int iChatID, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamFriends_SteamFriends002_GetChatMessage( struct cppISteamFriends_SteamFriends002_GetChatMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetChatMessage((CSteamID)steamIDFriend, (int)iChatID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetChatMessage( (CSteamID)params->steamIDFriend, (int)params->iChatID, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -bool cppISteamFriends_SteamFriends002_SendMsgToFriend(void *linux_side, CSteamID steamIDFriend, EChatEntryType eChatEntryType, const void *pvMsgBody, int cubMsgBody) +void cppISteamFriends_SteamFriends002_SendMsgToFriend( struct cppISteamFriends_SteamFriends002_SendMsgToFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SendMsgToFriend((CSteamID)steamIDFriend, (EChatEntryType)eChatEntryType, (const void *)pvMsgBody, (int)cubMsgBody); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SendMsgToFriend( (CSteamID)params->steamIDFriend, (EChatEntryType)params->eChatEntryType, (const void *)params->pvMsgBody, (int)params->cubMsgBody ); } -int cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart( struct cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetChatIDOfChatHistoryStart((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetChatIDOfChatHistoryStart( (CSteamID)params->steamIDFriend ); } -void cppISteamFriends_SteamFriends002_SetChatHistoryStart(void *linux_side, CSteamID steamIDFriend, int iChatID) +void cppISteamFriends_SteamFriends002_SetChatHistoryStart( struct cppISteamFriends_SteamFriends002_SetChatHistoryStart_params *params ) { - ((ISteamFriends*)linux_side)->SetChatHistoryStart((CSteamID)steamIDFriend, (int)iChatID); + ((ISteamFriends*)params->linux_side)->SetChatHistoryStart( (CSteamID)params->steamIDFriend, (int)params->iChatID ); } -void cppISteamFriends_SteamFriends002_ClearChatHistory(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends002_ClearChatHistory( struct cppISteamFriends_SteamFriends002_ClearChatHistory_params *params ) { - ((ISteamFriends*)linux_side)->ClearChatHistory((CSteamID)steamIDFriend); + ((ISteamFriends*)params->linux_side)->ClearChatHistory( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends002_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends002_GetClanCount( struct cppISteamFriends_SteamFriends002_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends002_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends002_GetClanByIndex( struct cppISteamFriends_SteamFriends002_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends002_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends002_GetClanName( struct cppISteamFriends_SteamFriends002_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends002_InviteFriendToClan(void *linux_side, CSteamID steamIDFriend, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends002_InviteFriendToClan( struct cppISteamFriends_SteamFriends002_InviteFriendToClan_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->InviteFriendToClan((CSteamID)steamIDFriend, (CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->InviteFriendToClan( (CSteamID)params->steamIDFriend, (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan(void *linux_side, CSteamID steamIDClan, bool bAcceptOrDenyClanInvite) +void cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan( struct cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->AcknowledgeInviteToClan((CSteamID)steamIDClan, (bool)bAcceptOrDenyClanInvite); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->AcknowledgeInviteToClan( (CSteamID)params->steamIDClan, (bool)params->bAcceptOrDenyClanInvite ); } -int cppISteamFriends_SteamFriends002_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends002_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends002_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends002.h b/lsteamclient/cppISteamFriends_SteamFriends002.h index b46dfe3f..5dda114f 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends002.h +++ b/lsteamclient/cppISteamFriends_SteamFriends002.h @@ -1,30 +1,253 @@ -extern const char * cppISteamFriends_SteamFriends002_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends002_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends002_GetPersonaState(void *); -extern void cppISteamFriends_SteamFriends002_SetPersonaState(void *, EPersonaState); -extern int cppISteamFriends_SteamFriends002_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends002_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends002_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends002_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends002_GetFriendPersonaName(void *, CSteamID); -extern void cppISteamFriends_SteamFriends002_SetFriendRegValue(void *, CSteamID, const char *, const char *); -extern const char * cppISteamFriends_SteamFriends002_GetFriendRegValue(void *, CSteamID, const char *); -extern bool cppISteamFriends_SteamFriends002_GetFriendGamePlayed(void *, CSteamID, uint64 *, uint32 *, uint16 *, uint16 *); -extern const char * cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends002_AddFriend(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends002_RemoveFriend(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends002_HasFriend(void *, CSteamID, int); -extern int32 cppISteamFriends_SteamFriends002_AddFriendByName(void *, const char *); -extern bool cppISteamFriends_SteamFriends002_InviteFriendByEmail(void *, const char *); -extern int cppISteamFriends_SteamFriends002_GetChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern bool cppISteamFriends_SteamFriends002_SendMsgToFriend(void *, CSteamID, EChatEntryType, const void *, int); -extern int cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart(void *, CSteamID); -extern void cppISteamFriends_SteamFriends002_SetChatHistoryStart(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends002_ClearChatHistory(void *, CSteamID); -extern int cppISteamFriends_SteamFriends002_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends002_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends002_GetClanName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends002_InviteFriendToClan(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan(void *, CSteamID, bool); -extern int cppISteamFriends_SteamFriends002_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex(void *, CSteamID, int); +struct cppISteamFriends_SteamFriends002_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends002_GetPersonaName( struct cppISteamFriends_SteamFriends002_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends002_SetPersonaName_params +{ + void *linux_side; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends002_SetPersonaName( struct cppISteamFriends_SteamFriends002_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends002_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends002_GetPersonaState( struct cppISteamFriends_SteamFriends002_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends002_SetPersonaState_params +{ + void *linux_side; + EPersonaState ePersonaState; +}; +extern void cppISteamFriends_SteamFriends002_SetPersonaState( struct cppISteamFriends_SteamFriends002_SetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends002_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends002_GetFriendCount( struct cppISteamFriends_SteamFriends002_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends002_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends002_GetFriendByIndex( struct cppISteamFriends_SteamFriends002_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends002_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends002_GetFriendRelationship( struct cppISteamFriends_SteamFriends002_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends002_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends002_GetFriendPersonaState( struct cppISteamFriends_SteamFriends002_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends002_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends002_GetFriendPersonaName( struct cppISteamFriends_SteamFriends002_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends002_SetFriendRegValue_params +{ + void *linux_side; + CSteamID steamIDFriend; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamFriends_SteamFriends002_SetFriendRegValue( struct cppISteamFriends_SteamFriends002_SetFriendRegValue_params *params ); + +struct cppISteamFriends_SteamFriends002_GetFriendRegValue_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; +extern void cppISteamFriends_SteamFriends002_GetFriendRegValue( struct cppISteamFriends_SteamFriends002_GetFriendRegValue_params *params ); + +struct cppISteamFriends_SteamFriends002_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + uint64 *pulGameID; + uint32 *punGameIP; + uint16 *pusGamePort; + uint16 *pusQueryPort; +}; +extern void cppISteamFriends_SteamFriends002_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends002_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends002_AddFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends002_AddFriend( struct cppISteamFriends_SteamFriends002_AddFriend_params *params ); + +struct cppISteamFriends_SteamFriends002_RemoveFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends002_RemoveFriend( struct cppISteamFriends_SteamFriends002_RemoveFriend_params *params ); + +struct cppISteamFriends_SteamFriends002_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends002_HasFriend( struct cppISteamFriends_SteamFriends002_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends002_AddFriendByName_params +{ + void *linux_side; + int32 _ret; + const char *pchEmailOrAccountName; +}; +extern void cppISteamFriends_SteamFriends002_AddFriendByName( struct cppISteamFriends_SteamFriends002_AddFriendByName_params *params ); + +struct cppISteamFriends_SteamFriends002_InviteFriendByEmail_params +{ + void *linux_side; + bool _ret; + const char *pchEmailAccount; +}; +extern void cppISteamFriends_SteamFriends002_InviteFriendByEmail( struct cppISteamFriends_SteamFriends002_InviteFriendByEmail_params *params ); + +struct cppISteamFriends_SteamFriends002_GetChatMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; + int iChatID; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamFriends_SteamFriends002_GetChatMessage( struct cppISteamFriends_SteamFriends002_GetChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends002_SendMsgToFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + EChatEntryType eChatEntryType; + const void *pvMsgBody; + int cubMsgBody; +}; +extern void cppISteamFriends_SteamFriends002_SendMsgToFriend( struct cppISteamFriends_SteamFriends002_SendMsgToFriend_params *params ); + +struct cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart( struct cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart_params *params ); + +struct cppISteamFriends_SteamFriends002_SetChatHistoryStart_params +{ + void *linux_side; + CSteamID steamIDFriend; + int iChatID; +}; +extern void cppISteamFriends_SteamFriends002_SetChatHistoryStart( struct cppISteamFriends_SteamFriends002_SetChatHistoryStart_params *params ); + +struct cppISteamFriends_SteamFriends002_ClearChatHistory_params +{ + void *linux_side; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends002_ClearChatHistory( struct cppISteamFriends_SteamFriends002_ClearChatHistory_params *params ); + +struct cppISteamFriends_SteamFriends002_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends002_GetClanCount( struct cppISteamFriends_SteamFriends002_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends002_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends002_GetClanByIndex( struct cppISteamFriends_SteamFriends002_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends002_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends002_GetClanName( struct cppISteamFriends_SteamFriends002_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends002_InviteFriendToClan_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends002_InviteFriendToClan( struct cppISteamFriends_SteamFriends002_InviteFriendToClan_params *params ); + +struct cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; + bool bAcceptOrDenyClanInvite; +}; +extern void cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan( struct cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan_params *params ); + +struct cppISteamFriends_SteamFriends002_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends002_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends002_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends003.cpp b/lsteamclient/cppISteamFriends_SteamFriends003.cpp index b2aa85b1..68e8818f 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends003.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends003.cpp @@ -11,138 +11,104 @@ extern "C" { #define SDKVER_101 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends003.h" -const char * cppISteamFriends_SteamFriends003_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends003_GetPersonaName( struct cppISteamFriends_SteamFriends003_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -void cppISteamFriends_SteamFriends003_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends003_SetPersonaName( struct cppISteamFriends_SteamFriends003_SetPersonaName_params *params ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends003_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends003_GetPersonaState( struct cppISteamFriends_SteamFriends003_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends003_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends003_GetFriendCount( struct cppISteamFriends_SteamFriends003_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends003_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends003_GetFriendByIndex( struct cppISteamFriends_SteamFriends003_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends003_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends003_GetFriendRelationship( struct cppISteamFriends_SteamFriends003_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends003_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends003_GetFriendPersonaState( struct cppISteamFriends_SteamFriends003_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends003_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends003_GetFriendPersonaName( struct cppISteamFriends_SteamFriends003_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends003_GetFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends003_GetFriendAvatar( struct cppISteamFriends_SteamFriends003_GetFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendAvatar( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends003_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, uint64 *pulGameID, uint32 *punGameIP, uint16 *pusGamePort, uint16 *pusQueryPort) +void cppISteamFriends_SteamFriends003_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends003_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (uint64 *)pulGameID, (uint32 *)punGameIP, (uint16 *)pusGamePort, (uint16 *)pusQueryPort); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (uint64 *)params->pulGameID, (uint32 *)params->punGameIP, (uint16 *)params->pusGamePort, (uint16 *)params->pusQueryPort ); } -const char * cppISteamFriends_SteamFriends003_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends003_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends003_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -bool cppISteamFriends_SteamFriends003_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends003_HasFriend( struct cppISteamFriends_SteamFriends003_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends003_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends003_GetClanCount( struct cppISteamFriends_SteamFriends003_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends003_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends003_GetClanByIndex( struct cppISteamFriends_SteamFriends003_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends003_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends003_GetClanName( struct cppISteamFriends_SteamFriends003_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends003_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends003_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends003_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends003_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends003_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends003_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends003_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends003_IsUserInSource( struct cppISteamFriends_SteamFriends003_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends003_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends003_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends003_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends003_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends003_ActivateGameOverlay( struct cppISteamFriends_SteamFriends003_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends003.h b/lsteamclient/cppISteamFriends_SteamFriends003.h index 176ef322..f9f65adb 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends003.h +++ b/lsteamclient/cppISteamFriends_SteamFriends003.h @@ -1,20 +1,164 @@ -extern const char * cppISteamFriends_SteamFriends003_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends003_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends003_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends003_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends003_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends003_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends003_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends003_GetFriendPersonaName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends003_GetFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends003_GetFriendGamePlayed(void *, CSteamID, uint64 *, uint32 *, uint16 *, uint16 *); -extern const char * cppISteamFriends_SteamFriends003_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends003_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends003_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends003_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends003_GetClanName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends003_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends003_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends003_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends003_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends003_ActivateGameOverlay(void *, const char *); +struct cppISteamFriends_SteamFriends003_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends003_GetPersonaName( struct cppISteamFriends_SteamFriends003_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends003_SetPersonaName_params +{ + void *linux_side; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends003_SetPersonaName( struct cppISteamFriends_SteamFriends003_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends003_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends003_GetPersonaState( struct cppISteamFriends_SteamFriends003_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends003_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends003_GetFriendCount( struct cppISteamFriends_SteamFriends003_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends003_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends003_GetFriendByIndex( struct cppISteamFriends_SteamFriends003_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends003_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends003_GetFriendRelationship( struct cppISteamFriends_SteamFriends003_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends003_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends003_GetFriendPersonaState( struct cppISteamFriends_SteamFriends003_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends003_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends003_GetFriendPersonaName( struct cppISteamFriends_SteamFriends003_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends003_GetFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends003_GetFriendAvatar( struct cppISteamFriends_SteamFriends003_GetFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends003_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + uint64 *pulGameID; + uint32 *punGameIP; + uint16 *pusGamePort; + uint16 *pusQueryPort; +}; +extern void cppISteamFriends_SteamFriends003_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends003_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends003_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends003_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends003_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends003_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends003_HasFriend( struct cppISteamFriends_SteamFriends003_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends003_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends003_GetClanCount( struct cppISteamFriends_SteamFriends003_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends003_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends003_GetClanByIndex( struct cppISteamFriends_SteamFriends003_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends003_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends003_GetClanName( struct cppISteamFriends_SteamFriends003_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends003_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends003_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends003_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends003_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends003_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends003_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends003_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends003_IsUserInSource( struct cppISteamFriends_SteamFriends003_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends003_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends003_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends003_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends003_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends003_ActivateGameOverlay( struct cppISteamFriends_SteamFriends003_ActivateGameOverlay_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends004.cpp b/lsteamclient/cppISteamFriends_SteamFriends004.cpp index 9877d679..176e340f 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends004.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends004.cpp @@ -11,138 +11,104 @@ extern "C" { #define SDKVER_102 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends004.h" -const char * cppISteamFriends_SteamFriends004_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends004_GetPersonaName( struct cppISteamFriends_SteamFriends004_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -void cppISteamFriends_SteamFriends004_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends004_SetPersonaName( struct cppISteamFriends_SteamFriends004_SetPersonaName_params *params ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends004_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends004_GetPersonaState( struct cppISteamFriends_SteamFriends004_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends004_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends004_GetFriendCount( struct cppISteamFriends_SteamFriends004_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends004_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends004_GetFriendByIndex( struct cppISteamFriends_SteamFriends004_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends004_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends004_GetFriendRelationship( struct cppISteamFriends_SteamFriends004_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends004_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends004_GetFriendPersonaState( struct cppISteamFriends_SteamFriends004_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends004_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends004_GetFriendPersonaName( struct cppISteamFriends_SteamFriends004_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends004_GetFriendAvatar(void *linux_side, CSteamID steamIDFriend, int eAvatarSize) +void cppISteamFriends_SteamFriends004_GetFriendAvatar( struct cppISteamFriends_SteamFriends004_GetFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendAvatar((CSteamID)steamIDFriend, (int)eAvatarSize); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendAvatar( (CSteamID)params->steamIDFriend, (int)params->eAvatarSize ); } -bool cppISteamFriends_SteamFriends004_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, uint64 *pulGameID, uint32 *punGameIP, uint16 *pusGamePort, uint16 *pusQueryPort) +void cppISteamFriends_SteamFriends004_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends004_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (uint64 *)pulGameID, (uint32 *)punGameIP, (uint16 *)pusGamePort, (uint16 *)pusQueryPort); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (uint64 *)params->pulGameID, (uint32 *)params->punGameIP, (uint16 *)params->pusGamePort, (uint16 *)params->pusQueryPort ); } -const char * cppISteamFriends_SteamFriends004_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends004_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends004_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -bool cppISteamFriends_SteamFriends004_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends004_HasFriend( struct cppISteamFriends_SteamFriends004_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends004_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends004_GetClanCount( struct cppISteamFriends_SteamFriends004_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends004_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends004_GetClanByIndex( struct cppISteamFriends_SteamFriends004_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends004_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends004_GetClanName( struct cppISteamFriends_SteamFriends004_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends004_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends004_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends004_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends004_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends004_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends004_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends004_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends004_IsUserInSource( struct cppISteamFriends_SteamFriends004_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends004_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends004_ActivateGameOverlay( struct cppISteamFriends_SteamFriends004_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends004.h b/lsteamclient/cppISteamFriends_SteamFriends004.h index 66c3653d..67caa88b 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends004.h +++ b/lsteamclient/cppISteamFriends_SteamFriends004.h @@ -1,20 +1,165 @@ -extern const char * cppISteamFriends_SteamFriends004_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends004_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends004_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends004_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends004_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends004_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends004_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends004_GetFriendPersonaName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends004_GetFriendAvatar(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends004_GetFriendGamePlayed(void *, CSteamID, uint64 *, uint32 *, uint16 *, uint16 *); -extern const char * cppISteamFriends_SteamFriends004_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends004_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends004_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends004_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends004_GetClanName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends004_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends004_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends004_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends004_ActivateGameOverlay(void *, const char *); +struct cppISteamFriends_SteamFriends004_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends004_GetPersonaName( struct cppISteamFriends_SteamFriends004_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends004_SetPersonaName_params +{ + void *linux_side; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends004_SetPersonaName( struct cppISteamFriends_SteamFriends004_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends004_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends004_GetPersonaState( struct cppISteamFriends_SteamFriends004_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends004_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends004_GetFriendCount( struct cppISteamFriends_SteamFriends004_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends004_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends004_GetFriendByIndex( struct cppISteamFriends_SteamFriends004_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends004_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends004_GetFriendRelationship( struct cppISteamFriends_SteamFriends004_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends004_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends004_GetFriendPersonaState( struct cppISteamFriends_SteamFriends004_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends004_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends004_GetFriendPersonaName( struct cppISteamFriends_SteamFriends004_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends004_GetFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; + int eAvatarSize; +}; +extern void cppISteamFriends_SteamFriends004_GetFriendAvatar( struct cppISteamFriends_SteamFriends004_GetFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends004_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + uint64 *pulGameID; + uint32 *punGameIP; + uint16 *pusGamePort; + uint16 *pusQueryPort; +}; +extern void cppISteamFriends_SteamFriends004_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends004_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends004_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends004_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends004_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends004_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends004_HasFriend( struct cppISteamFriends_SteamFriends004_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends004_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends004_GetClanCount( struct cppISteamFriends_SteamFriends004_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends004_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends004_GetClanByIndex( struct cppISteamFriends_SteamFriends004_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends004_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends004_GetClanName( struct cppISteamFriends_SteamFriends004_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends004_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends004_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends004_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends004_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends004_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends004_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends004_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends004_IsUserInSource( struct cppISteamFriends_SteamFriends004_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends004_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends004_ActivateGameOverlay( struct cppISteamFriends_SteamFriends004_ActivateGameOverlay_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends005.cpp b/lsteamclient/cppISteamFriends_SteamFriends005.cpp index 72363183..6241ada2 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends005.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends005.cpp @@ -11,158 +11,124 @@ extern "C" { #define SDKVER_109 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends005.h" -const char * cppISteamFriends_SteamFriends005_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends005_GetPersonaName( struct cppISteamFriends_SteamFriends005_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -void cppISteamFriends_SteamFriends005_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends005_SetPersonaName( struct cppISteamFriends_SteamFriends005_SetPersonaName_params *params ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends005_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends005_GetPersonaState( struct cppISteamFriends_SteamFriends005_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends005_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends005_GetFriendCount( struct cppISteamFriends_SteamFriends005_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends005_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends005_GetFriendByIndex( struct cppISteamFriends_SteamFriends005_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends005_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends005_GetFriendRelationship( struct cppISteamFriends_SteamFriends005_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends005_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends005_GetFriendPersonaState( struct cppISteamFriends_SteamFriends005_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends005_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends005_GetFriendPersonaName( struct cppISteamFriends_SteamFriends005_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends005_GetFriendAvatar(void *linux_side, CSteamID steamIDFriend, int eAvatarSize) +void cppISteamFriends_SteamFriends005_GetFriendAvatar( struct cppISteamFriends_SteamFriends005_GetFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendAvatar((CSteamID)steamIDFriend, (int)eAvatarSize); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendAvatar( (CSteamID)params->steamIDFriend, (int)params->eAvatarSize ); } -bool cppISteamFriends_SteamFriends005_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +void cppISteamFriends_SteamFriends005_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends005_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (FriendGameInfo_t *)params->pFriendGameInfo ); } -const char * cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -bool cppISteamFriends_SteamFriends005_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends005_HasFriend( struct cppISteamFriends_SteamFriends005_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends005_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends005_GetClanCount( struct cppISteamFriends_SteamFriends005_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends005_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends005_GetClanByIndex( struct cppISteamFriends_SteamFriends005_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends005_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends005_GetClanName( struct cppISteamFriends_SteamFriends005_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends005_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends005_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends005_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends005_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends005_IsUserInSource( struct cppISteamFriends_SteamFriends005_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends005_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends005_ActivateGameOverlay( struct cppISteamFriends_SteamFriends005_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } -void cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID) +void cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToUser( (const char *)params->pchDialog, (CSteamID)params->steamID ); } -void cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL) +void cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToWebPage( (const char *)params->pchURL ); } -void cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +void cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToStore( (AppId_t)params->nAppID ); } -void cppISteamFriends_SteamFriends005_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +void cppISteamFriends_SteamFriends005_SetPlayedWith( struct cppISteamFriends_SteamFriends005_SetPlayedWith_params *params ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + ((ISteamFriends*)params->linux_side)->SetPlayedWith( (CSteamID)params->steamIDUserPlayedWith ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends005.h b/lsteamclient/cppISteamFriends_SteamFriends005.h index 3e23744a..7f3461a9 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends005.h +++ b/lsteamclient/cppISteamFriends_SteamFriends005.h @@ -1,24 +1,191 @@ -extern const char * cppISteamFriends_SteamFriends005_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends005_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends005_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends005_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends005_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends005_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends005_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends005_GetFriendPersonaName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends005_GetFriendAvatar(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends005_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends005_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends005_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends005_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends005_GetClanName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends005_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends005_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends005_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends005_SetPlayedWith(void *, CSteamID); +struct cppISteamFriends_SteamFriends005_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends005_GetPersonaName( struct cppISteamFriends_SteamFriends005_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends005_SetPersonaName_params +{ + void *linux_side; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends005_SetPersonaName( struct cppISteamFriends_SteamFriends005_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends005_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends005_GetPersonaState( struct cppISteamFriends_SteamFriends005_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends005_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends005_GetFriendCount( struct cppISteamFriends_SteamFriends005_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends005_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends005_GetFriendByIndex( struct cppISteamFriends_SteamFriends005_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends005_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends005_GetFriendRelationship( struct cppISteamFriends_SteamFriends005_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends005_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends005_GetFriendPersonaState( struct cppISteamFriends_SteamFriends005_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends005_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends005_GetFriendPersonaName( struct cppISteamFriends_SteamFriends005_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends005_GetFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; + int eAvatarSize; +}; +extern void cppISteamFriends_SteamFriends005_GetFriendAvatar( struct cppISteamFriends_SteamFriends005_GetFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends005_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; +extern void cppISteamFriends_SteamFriends005_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends005_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends005_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends005_HasFriend( struct cppISteamFriends_SteamFriends005_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends005_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends005_GetClanCount( struct cppISteamFriends_SteamFriends005_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends005_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends005_GetClanByIndex( struct cppISteamFriends_SteamFriends005_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends005_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends005_GetClanName( struct cppISteamFriends_SteamFriends005_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends005_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends005_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends005_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends005_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends005_IsUserInSource( struct cppISteamFriends_SteamFriends005_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends005_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends005_ActivateGameOverlay( struct cppISteamFriends_SteamFriends005_ActivateGameOverlay_params *params ); + +struct cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser_params +{ + void *linux_side; + const char *pchDialog; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser_params *params ); + +struct cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage_params +{ + void *linux_side; + const char *pchURL; +}; +extern void cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage_params *params ); + +struct cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore_params *params ); + +struct cppISteamFriends_SteamFriends005_SetPlayedWith_params +{ + void *linux_side; + CSteamID steamIDUserPlayedWith; +}; +extern void cppISteamFriends_SteamFriends005_SetPlayedWith( struct cppISteamFriends_SteamFriends005_SetPlayedWith_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends006.cpp b/lsteamclient/cppISteamFriends_SteamFriends006.cpp index b34f1ac7..5612b1a0 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends006.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends006.cpp @@ -11,170 +11,134 @@ extern "C" { #define SDKVER_110 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends006.h" -const char * cppISteamFriends_SteamFriends006_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends006_GetPersonaName( struct cppISteamFriends_SteamFriends006_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -void cppISteamFriends_SteamFriends006_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends006_SetPersonaName( struct cppISteamFriends_SteamFriends006_SetPersonaName_params *params ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends006_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends006_GetPersonaState( struct cppISteamFriends_SteamFriends006_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends006_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends006_GetFriendCount( struct cppISteamFriends_SteamFriends006_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends006_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends006_GetFriendByIndex( struct cppISteamFriends_SteamFriends006_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends006_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends006_GetFriendRelationship( struct cppISteamFriends_SteamFriends006_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends006_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends006_GetFriendPersonaState( struct cppISteamFriends_SteamFriends006_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends006_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends006_GetFriendPersonaName( struct cppISteamFriends_SteamFriends006_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends006_GetFriendAvatar(void *linux_side, CSteamID steamIDFriend, int eAvatarSize) +void cppISteamFriends_SteamFriends006_GetFriendAvatar( struct cppISteamFriends_SteamFriends006_GetFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendAvatar((CSteamID)steamIDFriend, (int)eAvatarSize); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendAvatar( (CSteamID)params->steamIDFriend, (int)params->eAvatarSize ); } -bool cppISteamFriends_SteamFriends006_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +void cppISteamFriends_SteamFriends006_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends006_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (FriendGameInfo_t *)params->pFriendGameInfo ); } -const char * cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -bool cppISteamFriends_SteamFriends006_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends006_HasFriend( struct cppISteamFriends_SteamFriends006_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends006_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends006_GetClanCount( struct cppISteamFriends_SteamFriends006_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends006_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends006_GetClanByIndex( struct cppISteamFriends_SteamFriends006_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends006_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends006_GetClanName( struct cppISteamFriends_SteamFriends006_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -const char * cppISteamFriends_SteamFriends006_GetClanTag(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends006_GetClanTag( struct cppISteamFriends_SteamFriends006_GetClanTag_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanTag( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends006_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends006_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends006_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends006_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends006_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends006_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends006_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends006_IsUserInSource( struct cppISteamFriends_SteamFriends006_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends006_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends006_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends006_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends006_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends006_ActivateGameOverlay( struct cppISteamFriends_SteamFriends006_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } -void cppISteamFriends_SteamFriends006_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID) +void cppISteamFriends_SteamFriends006_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends006_ActivateGameOverlayToUser_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToUser( (const char *)params->pchDialog, (CSteamID)params->steamID ); } -void cppISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL) +void cppISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToWebPage( (const char *)params->pchURL ); } -void cppISteamFriends_SteamFriends006_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +void cppISteamFriends_SteamFriends006_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends006_ActivateGameOverlayToStore_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToStore( (AppId_t)params->nAppID ); } -void cppISteamFriends_SteamFriends006_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +void cppISteamFriends_SteamFriends006_SetPlayedWith( struct cppISteamFriends_SteamFriends006_SetPlayedWith_params *params ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + ((ISteamFriends*)params->linux_side)->SetPlayedWith( (CSteamID)params->steamIDUserPlayedWith ); } -void cppISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +void cppISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayInviteDialog( (CSteamID)params->steamIDLobby ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends006.h b/lsteamclient/cppISteamFriends_SteamFriends006.h index 03faf48b..50bc778b 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends006.h +++ b/lsteamclient/cppISteamFriends_SteamFriends006.h @@ -1,26 +1,206 @@ -extern const char * cppISteamFriends_SteamFriends006_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends006_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends006_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends006_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends006_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends006_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends006_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends006_GetFriendPersonaName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends006_GetFriendAvatar(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends006_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends006_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends006_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends006_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends006_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends006_GetClanTag(void *, CSteamID); -extern int cppISteamFriends_SteamFriends006_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends006_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends006_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends006_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends006_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends006_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends006_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends006_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog(void *, CSteamID); +struct cppISteamFriends_SteamFriends006_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends006_GetPersonaName( struct cppISteamFriends_SteamFriends006_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends006_SetPersonaName_params +{ + void *linux_side; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends006_SetPersonaName( struct cppISteamFriends_SteamFriends006_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends006_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends006_GetPersonaState( struct cppISteamFriends_SteamFriends006_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends006_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends006_GetFriendCount( struct cppISteamFriends_SteamFriends006_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends006_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends006_GetFriendByIndex( struct cppISteamFriends_SteamFriends006_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends006_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends006_GetFriendRelationship( struct cppISteamFriends_SteamFriends006_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends006_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends006_GetFriendPersonaState( struct cppISteamFriends_SteamFriends006_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends006_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends006_GetFriendPersonaName( struct cppISteamFriends_SteamFriends006_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends006_GetFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; + int eAvatarSize; +}; +extern void cppISteamFriends_SteamFriends006_GetFriendAvatar( struct cppISteamFriends_SteamFriends006_GetFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends006_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; +extern void cppISteamFriends_SteamFriends006_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends006_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends006_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends006_HasFriend( struct cppISteamFriends_SteamFriends006_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends006_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends006_GetClanCount( struct cppISteamFriends_SteamFriends006_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends006_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends006_GetClanByIndex( struct cppISteamFriends_SteamFriends006_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends006_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends006_GetClanName( struct cppISteamFriends_SteamFriends006_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends006_GetClanTag_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends006_GetClanTag( struct cppISteamFriends_SteamFriends006_GetClanTag_params *params ); + +struct cppISteamFriends_SteamFriends006_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends006_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends006_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends006_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends006_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends006_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends006_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends006_IsUserInSource( struct cppISteamFriends_SteamFriends006_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends006_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends006_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends006_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends006_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends006_ActivateGameOverlay( struct cppISteamFriends_SteamFriends006_ActivateGameOverlay_params *params ); + +struct cppISteamFriends_SteamFriends006_ActivateGameOverlayToUser_params +{ + void *linux_side; + const char *pchDialog; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends006_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends006_ActivateGameOverlayToUser_params *params ); + +struct cppISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage_params +{ + void *linux_side; + const char *pchURL; +}; +extern void cppISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage_params *params ); + +struct cppISteamFriends_SteamFriends006_ActivateGameOverlayToStore_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamFriends_SteamFriends006_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends006_ActivateGameOverlayToStore_params *params ); + +struct cppISteamFriends_SteamFriends006_SetPlayedWith_params +{ + void *linux_side; + CSteamID steamIDUserPlayedWith; +}; +extern void cppISteamFriends_SteamFriends006_SetPlayedWith( struct cppISteamFriends_SteamFriends006_SetPlayedWith_params *params ); + +struct cppISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends007.cpp b/lsteamclient/cppISteamFriends_SteamFriends007.cpp index 5cbd549a..130ffcc3 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends007.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends007.cpp @@ -11,184 +11,144 @@ extern "C" { #define SDKVER_111 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends007.h" -const char * cppISteamFriends_SteamFriends007_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends007_GetPersonaName( struct cppISteamFriends_SteamFriends007_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -void cppISteamFriends_SteamFriends007_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends007_SetPersonaName( struct cppISteamFriends_SteamFriends007_SetPersonaName_params *params ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends007_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends007_GetPersonaState( struct cppISteamFriends_SteamFriends007_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends007_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends007_GetFriendCount( struct cppISteamFriends_SteamFriends007_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends007_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends007_GetFriendByIndex( struct cppISteamFriends_SteamFriends007_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends007_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends007_GetFriendRelationship( struct cppISteamFriends_SteamFriends007_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends007_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends007_GetFriendPersonaState( struct cppISteamFriends_SteamFriends007_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends007_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends007_GetFriendPersonaName( struct cppISteamFriends_SteamFriends007_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends007_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +void cppISteamFriends_SteamFriends007_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends007_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (FriendGameInfo_t *)params->pFriendGameInfo ); } -const char * cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -bool cppISteamFriends_SteamFriends007_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends007_HasFriend( struct cppISteamFriends_SteamFriends007_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends007_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends007_GetClanCount( struct cppISteamFriends_SteamFriends007_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends007_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends007_GetClanByIndex( struct cppISteamFriends_SteamFriends007_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends007_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends007_GetClanName( struct cppISteamFriends_SteamFriends007_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -const char * cppISteamFriends_SteamFriends007_GetClanTag(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends007_GetClanTag( struct cppISteamFriends_SteamFriends007_GetClanTag_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanTag( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends007_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends007_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends007_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends007_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends007_IsUserInSource( struct cppISteamFriends_SteamFriends007_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends007_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends007_ActivateGameOverlay( struct cppISteamFriends_SteamFriends007_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } -void cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID) +void cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToUser( (const char *)params->pchDialog, (CSteamID)params->steamID ); } -void cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL) +void cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToWebPage( (const char *)params->pchURL ); } -void cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +void cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToStore( (AppId_t)params->nAppID ); } -void cppISteamFriends_SteamFriends007_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +void cppISteamFriends_SteamFriends007_SetPlayedWith( struct cppISteamFriends_SteamFriends007_SetPlayedWith_params *params ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + ((ISteamFriends*)params->linux_side)->SetPlayedWith( (CSteamID)params->steamIDUserPlayedWith ); } -void cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +void cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayInviteDialog( (CSteamID)params->steamIDLobby ); } -int cppISteamFriends_SteamFriends007_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends007_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends007_GetSmallFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetSmallFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends007_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends007_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends007_GetMediumFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetMediumFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends007_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends007_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends007_GetLargeFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetLargeFriendAvatar( (CSteamID)params->steamIDFriend ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends007.h b/lsteamclient/cppISteamFriends_SteamFriends007.h index e0db8f40..cd8de329 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends007.h +++ b/lsteamclient/cppISteamFriends_SteamFriends007.h @@ -1,28 +1,221 @@ -extern const char * cppISteamFriends_SteamFriends007_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends007_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends007_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends007_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends007_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends007_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends007_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends007_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends007_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends007_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends007_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends007_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends007_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends007_GetClanTag(void *, CSteamID); -extern int cppISteamFriends_SteamFriends007_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends007_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends007_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends007_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends007_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends007_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends007_GetLargeFriendAvatar(void *, CSteamID); +struct cppISteamFriends_SteamFriends007_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends007_GetPersonaName( struct cppISteamFriends_SteamFriends007_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends007_SetPersonaName_params +{ + void *linux_side; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends007_SetPersonaName( struct cppISteamFriends_SteamFriends007_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends007_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends007_GetPersonaState( struct cppISteamFriends_SteamFriends007_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends007_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends007_GetFriendCount( struct cppISteamFriends_SteamFriends007_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends007_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends007_GetFriendByIndex( struct cppISteamFriends_SteamFriends007_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends007_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends007_GetFriendRelationship( struct cppISteamFriends_SteamFriends007_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends007_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends007_GetFriendPersonaState( struct cppISteamFriends_SteamFriends007_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends007_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends007_GetFriendPersonaName( struct cppISteamFriends_SteamFriends007_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends007_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; +extern void cppISteamFriends_SteamFriends007_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends007_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends007_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends007_HasFriend( struct cppISteamFriends_SteamFriends007_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends007_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends007_GetClanCount( struct cppISteamFriends_SteamFriends007_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends007_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends007_GetClanByIndex( struct cppISteamFriends_SteamFriends007_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends007_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends007_GetClanName( struct cppISteamFriends_SteamFriends007_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends007_GetClanTag_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends007_GetClanTag( struct cppISteamFriends_SteamFriends007_GetClanTag_params *params ); + +struct cppISteamFriends_SteamFriends007_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends007_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends007_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends007_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends007_IsUserInSource( struct cppISteamFriends_SteamFriends007_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends007_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends007_ActivateGameOverlay( struct cppISteamFriends_SteamFriends007_ActivateGameOverlay_params *params ); + +struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser_params +{ + void *linux_side; + const char *pchDialog; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser_params *params ); + +struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage_params +{ + void *linux_side; + const char *pchURL; +}; +extern void cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage_params *params ); + +struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore_params *params ); + +struct cppISteamFriends_SteamFriends007_SetPlayedWith_params +{ + void *linux_side; + CSteamID steamIDUserPlayedWith; +}; +extern void cppISteamFriends_SteamFriends007_SetPlayedWith( struct cppISteamFriends_SteamFriends007_SetPlayedWith_params *params ); + +struct cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog_params *params ); + +struct cppISteamFriends_SteamFriends007_GetSmallFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends007_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends007_GetSmallFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends007_GetMediumFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends007_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends007_GetMediumFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends007_GetLargeFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends007_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends007_GetLargeFriendAvatar_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends008.cpp b/lsteamclient/cppISteamFriends_SteamFriends008.cpp index a3b971a4..4e9ad586 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends008.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends008.cpp @@ -11,226 +11,174 @@ extern "C" { #define SDKVER_112 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends008.h" -const char * cppISteamFriends_SteamFriends008_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends008_GetPersonaName( struct cppISteamFriends_SteamFriends008_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -void cppISteamFriends_SteamFriends008_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends008_SetPersonaName( struct cppISteamFriends_SteamFriends008_SetPersonaName_params *params ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends008_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends008_GetPersonaState( struct cppISteamFriends_SteamFriends008_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends008_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends008_GetFriendCount( struct cppISteamFriends_SteamFriends008_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends008_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends008_GetFriendByIndex( struct cppISteamFriends_SteamFriends008_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends008_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends008_GetFriendRelationship( struct cppISteamFriends_SteamFriends008_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends008_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends008_GetFriendPersonaState( struct cppISteamFriends_SteamFriends008_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends008_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends008_GetFriendPersonaName( struct cppISteamFriends_SteamFriends008_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends008_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +void cppISteamFriends_SteamFriends008_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends008_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (FriendGameInfo_t *)params->pFriendGameInfo ); } -const char * cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -bool cppISteamFriends_SteamFriends008_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends008_HasFriend( struct cppISteamFriends_SteamFriends008_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends008_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends008_GetClanCount( struct cppISteamFriends_SteamFriends008_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends008_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends008_GetClanByIndex( struct cppISteamFriends_SteamFriends008_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends008_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends008_GetClanName( struct cppISteamFriends_SteamFriends008_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -const char * cppISteamFriends_SteamFriends008_GetClanTag(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends008_GetClanTag( struct cppISteamFriends_SteamFriends008_GetClanTag_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanTag( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends008_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends008_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends008_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends008_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends008_IsUserInSource( struct cppISteamFriends_SteamFriends008_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends008_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends008_ActivateGameOverlay( struct cppISteamFriends_SteamFriends008_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } -void cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID) +void cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToUser( (const char *)params->pchDialog, (CSteamID)params->steamID ); } -void cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL) +void cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToWebPage( (const char *)params->pchURL ); } -void cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +void cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToStore( (AppId_t)params->nAppID ); } -void cppISteamFriends_SteamFriends008_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +void cppISteamFriends_SteamFriends008_SetPlayedWith( struct cppISteamFriends_SteamFriends008_SetPlayedWith_params *params ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + ((ISteamFriends*)params->linux_side)->SetPlayedWith( (CSteamID)params->steamIDUserPlayedWith ); } -void cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +void cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayInviteDialog( (CSteamID)params->steamIDLobby ); } -int cppISteamFriends_SteamFriends008_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends008_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends008_GetSmallFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetSmallFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends008_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends008_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends008_GetMediumFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetMediumFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends008_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends008_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends008_GetLargeFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetLargeFriendAvatar( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends008_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +void cppISteamFriends_SteamFriends008_RequestUserInformation( struct cppISteamFriends_SteamFriends008_RequestUserInformation_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestUserInformation( (CSteamID)params->steamIDUser, (bool)params->bRequireNameOnly ); } -SteamAPICall_t cppISteamFriends_SteamFriends008_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends008_RequestClanOfficerList( struct cppISteamFriends_SteamFriends008_RequestClanOfficerList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestClanOfficerList( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends008_GetClanOwner(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends008_GetClanOwner( struct cppISteamFriends_SteamFriends008_GetClanOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOwner( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends008_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends008_GetClanOfficerCount( struct cppISteamFriends_SteamFriends008_GetClanOfficerCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends008_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +void cppISteamFriends_SteamFriends008_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends008_GetClanOfficerByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerByIndex( (CSteamID)params->steamIDClan, (int)params->iOfficer ); } -uint32 cppISteamFriends_SteamFriends008_GetUserRestrictions(void *linux_side) +void cppISteamFriends_SteamFriends008_GetUserRestrictions( struct cppISteamFriends_SteamFriends008_GetUserRestrictions_params *params ) { - uint32 _ret; - _ret = ((ISteamFriends*)linux_side)->GetUserRestrictions(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetUserRestrictions( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends008.h b/lsteamclient/cppISteamFriends_SteamFriends008.h index 01d4df93..0fabfeee 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends008.h +++ b/lsteamclient/cppISteamFriends_SteamFriends008.h @@ -1,34 +1,270 @@ -extern const char * cppISteamFriends_SteamFriends008_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends008_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends008_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends008_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends008_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends008_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends008_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends008_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends008_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends008_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends008_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends008_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends008_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends008_GetClanTag(void *, CSteamID); -extern int cppISteamFriends_SteamFriends008_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends008_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends008_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends008_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends008_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends008_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends008_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends008_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends008_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends008_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends008_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends008_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends008_GetUserRestrictions(void *); +struct cppISteamFriends_SteamFriends008_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends008_GetPersonaName( struct cppISteamFriends_SteamFriends008_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends008_SetPersonaName_params +{ + void *linux_side; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends008_SetPersonaName( struct cppISteamFriends_SteamFriends008_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends008_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends008_GetPersonaState( struct cppISteamFriends_SteamFriends008_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends008_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends008_GetFriendCount( struct cppISteamFriends_SteamFriends008_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends008_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends008_GetFriendByIndex( struct cppISteamFriends_SteamFriends008_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends008_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends008_GetFriendRelationship( struct cppISteamFriends_SteamFriends008_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends008_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends008_GetFriendPersonaState( struct cppISteamFriends_SteamFriends008_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends008_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends008_GetFriendPersonaName( struct cppISteamFriends_SteamFriends008_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends008_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; +extern void cppISteamFriends_SteamFriends008_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends008_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends008_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends008_HasFriend( struct cppISteamFriends_SteamFriends008_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends008_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends008_GetClanCount( struct cppISteamFriends_SteamFriends008_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends008_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends008_GetClanByIndex( struct cppISteamFriends_SteamFriends008_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends008_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends008_GetClanName( struct cppISteamFriends_SteamFriends008_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends008_GetClanTag_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends008_GetClanTag( struct cppISteamFriends_SteamFriends008_GetClanTag_params *params ); + +struct cppISteamFriends_SteamFriends008_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends008_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends008_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends008_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends008_IsUserInSource( struct cppISteamFriends_SteamFriends008_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends008_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends008_ActivateGameOverlay( struct cppISteamFriends_SteamFriends008_ActivateGameOverlay_params *params ); + +struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser_params +{ + void *linux_side; + const char *pchDialog; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser_params *params ); + +struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage_params +{ + void *linux_side; + const char *pchURL; +}; +extern void cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage_params *params ); + +struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore_params *params ); + +struct cppISteamFriends_SteamFriends008_SetPlayedWith_params +{ + void *linux_side; + CSteamID steamIDUserPlayedWith; +}; +extern void cppISteamFriends_SteamFriends008_SetPlayedWith( struct cppISteamFriends_SteamFriends008_SetPlayedWith_params *params ); + +struct cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog_params *params ); + +struct cppISteamFriends_SteamFriends008_GetSmallFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends008_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends008_GetSmallFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends008_GetMediumFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends008_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends008_GetMediumFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends008_GetLargeFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends008_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends008_GetLargeFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends008_RequestUserInformation_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + bool bRequireNameOnly; +}; +extern void cppISteamFriends_SteamFriends008_RequestUserInformation( struct cppISteamFriends_SteamFriends008_RequestUserInformation_params *params ); + +struct cppISteamFriends_SteamFriends008_RequestClanOfficerList_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends008_RequestClanOfficerList( struct cppISteamFriends_SteamFriends008_RequestClanOfficerList_params *params ); + +struct cppISteamFriends_SteamFriends008_GetClanOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends008_GetClanOwner( struct cppISteamFriends_SteamFriends008_GetClanOwner_params *params ); + +struct cppISteamFriends_SteamFriends008_GetClanOfficerCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends008_GetClanOfficerCount( struct cppISteamFriends_SteamFriends008_GetClanOfficerCount_params *params ); + +struct cppISteamFriends_SteamFriends008_GetClanOfficerByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iOfficer; +}; +extern void cppISteamFriends_SteamFriends008_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends008_GetClanOfficerByIndex_params *params ); + +struct cppISteamFriends_SteamFriends008_GetUserRestrictions_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamFriends_SteamFriends008_GetUserRestrictions( struct cppISteamFriends_SteamFriends008_GetUserRestrictions_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends009.cpp b/lsteamclient/cppISteamFriends_SteamFriends009.cpp index 415b8c9a..15afb975 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends009.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends009.cpp @@ -11,294 +11,224 @@ extern "C" { #define SDKVER_116 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends009.h" -const char * cppISteamFriends_SteamFriends009_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends009_GetPersonaName( struct cppISteamFriends_SteamFriends009_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -void cppISteamFriends_SteamFriends009_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends009_SetPersonaName( struct cppISteamFriends_SteamFriends009_SetPersonaName_params *params ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends009_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends009_GetPersonaState( struct cppISteamFriends_SteamFriends009_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends009_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends009_GetFriendCount( struct cppISteamFriends_SteamFriends009_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends009_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends009_GetFriendByIndex( struct cppISteamFriends_SteamFriends009_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends009_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends009_GetFriendRelationship( struct cppISteamFriends_SteamFriends009_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends009_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends009_GetFriendPersonaState( struct cppISteamFriends_SteamFriends009_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends009_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends009_GetFriendPersonaName( struct cppISteamFriends_SteamFriends009_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends009_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +void cppISteamFriends_SteamFriends009_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends009_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (FriendGameInfo_t *)params->pFriendGameInfo ); } -const char * cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -bool cppISteamFriends_SteamFriends009_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends009_HasFriend( struct cppISteamFriends_SteamFriends009_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends009_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends009_GetClanCount( struct cppISteamFriends_SteamFriends009_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends009_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends009_GetClanByIndex( struct cppISteamFriends_SteamFriends009_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends009_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends009_GetClanName( struct cppISteamFriends_SteamFriends009_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -const char * cppISteamFriends_SteamFriends009_GetClanTag(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends009_GetClanTag( struct cppISteamFriends_SteamFriends009_GetClanTag_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanTag( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends009_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends009_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends009_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends009_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends009_IsUserInSource( struct cppISteamFriends_SteamFriends009_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends009_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends009_ActivateGameOverlay( struct cppISteamFriends_SteamFriends009_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } -void cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID) +void cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToUser( (const char *)params->pchDialog, (CSteamID)params->steamID ); } -void cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL) +void cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToWebPage( (const char *)params->pchURL ); } -void cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +void cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToStore( (AppId_t)params->nAppID ); } -void cppISteamFriends_SteamFriends009_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +void cppISteamFriends_SteamFriends009_SetPlayedWith( struct cppISteamFriends_SteamFriends009_SetPlayedWith_params *params ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + ((ISteamFriends*)params->linux_side)->SetPlayedWith( (CSteamID)params->steamIDUserPlayedWith ); } -void cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +void cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayInviteDialog( (CSteamID)params->steamIDLobby ); } -int cppISteamFriends_SteamFriends009_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends009_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends009_GetSmallFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetSmallFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends009_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends009_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends009_GetMediumFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetMediumFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends009_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends009_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends009_GetLargeFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetLargeFriendAvatar( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends009_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +void cppISteamFriends_SteamFriends009_RequestUserInformation( struct cppISteamFriends_SteamFriends009_RequestUserInformation_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestUserInformation( (CSteamID)params->steamIDUser, (bool)params->bRequireNameOnly ); } -SteamAPICall_t cppISteamFriends_SteamFriends009_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends009_RequestClanOfficerList( struct cppISteamFriends_SteamFriends009_RequestClanOfficerList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestClanOfficerList( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends009_GetClanOwner(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends009_GetClanOwner( struct cppISteamFriends_SteamFriends009_GetClanOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOwner( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends009_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends009_GetClanOfficerCount( struct cppISteamFriends_SteamFriends009_GetClanOfficerCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends009_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +void cppISteamFriends_SteamFriends009_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends009_GetClanOfficerByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerByIndex( (CSteamID)params->steamIDClan, (int)params->iOfficer ); } -uint32 cppISteamFriends_SteamFriends009_GetUserRestrictions(void *linux_side) +void cppISteamFriends_SteamFriends009_GetUserRestrictions( struct cppISteamFriends_SteamFriends009_GetUserRestrictions_params *params ) { - uint32 _ret; - _ret = ((ISteamFriends*)linux_side)->GetUserRestrictions(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetUserRestrictions( ); } -bool cppISteamFriends_SteamFriends009_SetRichPresence(void *linux_side, const char *pchKey, const char *pchValue) +void cppISteamFriends_SteamFriends009_SetRichPresence( struct cppISteamFriends_SteamFriends009_SetRichPresence_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetRichPresence( (const char *)params->pchKey, (const char *)params->pchValue ); } -void cppISteamFriends_SteamFriends009_ClearRichPresence(void *linux_side) +void cppISteamFriends_SteamFriends009_ClearRichPresence( struct cppISteamFriends_SteamFriends009_ClearRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + ((ISteamFriends*)params->linux_side)->ClearRichPresence( ); } -const char * cppISteamFriends_SteamFriends009_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char *pchKey) +void cppISteamFriends_SteamFriends009_GetFriendRichPresence( struct cppISteamFriends_SteamFriends009_GetFriendRichPresence_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresence( (CSteamID)params->steamIDFriend, (const char *)params->pchKey ); } -int cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyCount( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +void cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyByIndex( (CSteamID)params->steamIDFriend, (int)params->iKey ); } -bool cppISteamFriends_SteamFriends009_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char *pchConnectString) +void cppISteamFriends_SteamFriends009_InviteUserToGame( struct cppISteamFriends_SteamFriends009_InviteUserToGame_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->InviteUserToGame( (CSteamID)params->steamIDFriend, (const char *)params->pchConnectString ); } -int cppISteamFriends_SteamFriends009_GetCoplayFriendCount(void *linux_side) +void cppISteamFriends_SteamFriends009_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends009_GetCoplayFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriendCount( ); } -CSteamID cppISteamFriends_SteamFriends009_GetCoplayFriend(void *linux_side, int iCoplayFriend) +void cppISteamFriends_SteamFriends009_GetCoplayFriend( struct cppISteamFriends_SteamFriends009_GetCoplayFriend_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriend( (int)params->iCoplayFriend ); } -int cppISteamFriends_SteamFriends009_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends009_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends009_GetFriendCoplayTime_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayTime( (CSteamID)params->steamIDFriend ); } -AppId_t cppISteamFriends_SteamFriends009_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends009_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends009_GetFriendCoplayGame_params *params ) { - AppId_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayGame( (CSteamID)params->steamIDFriend ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends009.h b/lsteamclient/cppISteamFriends_SteamFriends009.h index f476ba6c..09606ac9 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends009.h +++ b/lsteamclient/cppISteamFriends_SteamFriends009.h @@ -1,44 +1,351 @@ -extern const char * cppISteamFriends_SteamFriends009_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends009_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends009_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends009_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends009_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends009_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends009_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends009_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends009_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends009_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends009_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends009_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends009_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends009_GetClanTag(void *, CSteamID); -extern int cppISteamFriends_SteamFriends009_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends009_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends009_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends009_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends009_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends009_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends009_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends009_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends009_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends009_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends009_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends009_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends009_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends009_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends009_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends009_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends009_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends009_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends009_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends009_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends009_GetFriendCoplayGame(void *, CSteamID); +struct cppISteamFriends_SteamFriends009_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends009_GetPersonaName( struct cppISteamFriends_SteamFriends009_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends009_SetPersonaName_params +{ + void *linux_side; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends009_SetPersonaName( struct cppISteamFriends_SteamFriends009_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends009_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends009_GetPersonaState( struct cppISteamFriends_SteamFriends009_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendCount( struct cppISteamFriends_SteamFriends009_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendByIndex( struct cppISteamFriends_SteamFriends009_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendRelationship( struct cppISteamFriends_SteamFriends009_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendPersonaState( struct cppISteamFriends_SteamFriends009_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendPersonaName( struct cppISteamFriends_SteamFriends009_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends009_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends009_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends009_HasFriend( struct cppISteamFriends_SteamFriends009_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends009_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends009_GetClanCount( struct cppISteamFriends_SteamFriends009_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends009_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends009_GetClanByIndex( struct cppISteamFriends_SteamFriends009_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends009_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends009_GetClanName( struct cppISteamFriends_SteamFriends009_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends009_GetClanTag_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends009_GetClanTag( struct cppISteamFriends_SteamFriends009_GetClanTag_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends009_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends009_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends009_IsUserInSource( struct cppISteamFriends_SteamFriends009_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends009_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends009_ActivateGameOverlay( struct cppISteamFriends_SteamFriends009_ActivateGameOverlay_params *params ); + +struct cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser_params +{ + void *linux_side; + const char *pchDialog; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser_params *params ); + +struct cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage_params +{ + void *linux_side; + const char *pchURL; +}; +extern void cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage_params *params ); + +struct cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore_params *params ); + +struct cppISteamFriends_SteamFriends009_SetPlayedWith_params +{ + void *linux_side; + CSteamID steamIDUserPlayedWith; +}; +extern void cppISteamFriends_SteamFriends009_SetPlayedWith( struct cppISteamFriends_SteamFriends009_SetPlayedWith_params *params ); + +struct cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog_params *params ); + +struct cppISteamFriends_SteamFriends009_GetSmallFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends009_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends009_GetSmallFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends009_GetMediumFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends009_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends009_GetMediumFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends009_GetLargeFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends009_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends009_GetLargeFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends009_RequestUserInformation_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + bool bRequireNameOnly; +}; +extern void cppISteamFriends_SteamFriends009_RequestUserInformation( struct cppISteamFriends_SteamFriends009_RequestUserInformation_params *params ); + +struct cppISteamFriends_SteamFriends009_RequestClanOfficerList_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends009_RequestClanOfficerList( struct cppISteamFriends_SteamFriends009_RequestClanOfficerList_params *params ); + +struct cppISteamFriends_SteamFriends009_GetClanOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends009_GetClanOwner( struct cppISteamFriends_SteamFriends009_GetClanOwner_params *params ); + +struct cppISteamFriends_SteamFriends009_GetClanOfficerCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends009_GetClanOfficerCount( struct cppISteamFriends_SteamFriends009_GetClanOfficerCount_params *params ); + +struct cppISteamFriends_SteamFriends009_GetClanOfficerByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iOfficer; +}; +extern void cppISteamFriends_SteamFriends009_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends009_GetClanOfficerByIndex_params *params ); + +struct cppISteamFriends_SteamFriends009_GetUserRestrictions_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamFriends_SteamFriends009_GetUserRestrictions( struct cppISteamFriends_SteamFriends009_GetUserRestrictions_params *params ); + +struct cppISteamFriends_SteamFriends009_SetRichPresence_params +{ + void *linux_side; + bool _ret; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamFriends_SteamFriends009_SetRichPresence( struct cppISteamFriends_SteamFriends009_SetRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends009_ClearRichPresence_params +{ + void *linux_side; +}; +extern void cppISteamFriends_SteamFriends009_ClearRichPresence( struct cppISteamFriends_SteamFriends009_ClearRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendRichPresence_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendRichPresence( struct cppISteamFriends_SteamFriends009_GetFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iKey; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex_params *params ); + +struct cppISteamFriends_SteamFriends009_InviteUserToGame_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; +extern void cppISteamFriends_SteamFriends009_InviteUserToGame( struct cppISteamFriends_SteamFriends009_InviteUserToGame_params *params ); + +struct cppISteamFriends_SteamFriends009_GetCoplayFriendCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends009_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends009_GetCoplayFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends009_GetCoplayFriend_params +{ + void *linux_side; + CSteamID *_ret; + int iCoplayFriend; +}; +extern void cppISteamFriends_SteamFriends009_GetCoplayFriend( struct cppISteamFriends_SteamFriends009_GetCoplayFriend_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendCoplayTime_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends009_GetFriendCoplayTime_params *params ); + +struct cppISteamFriends_SteamFriends009_GetFriendCoplayGame_params +{ + void *linux_side; + AppId_t _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends009_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends009_GetFriendCoplayGame_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends010.cpp b/lsteamclient/cppISteamFriends_SteamFriends010.cpp index 74a7b08d..e335cf38 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends010.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends010.cpp @@ -11,399 +11,299 @@ extern "C" { #define SDKVER_116x #include "struct_converters.h" #include "cppISteamFriends_SteamFriends010.h" -const char * cppISteamFriends_SteamFriends010_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends010_GetPersonaName( struct cppISteamFriends_SteamFriends010_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -void cppISteamFriends_SteamFriends010_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends010_SetPersonaName( struct cppISteamFriends_SteamFriends010_SetPersonaName_params *params ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends010_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends010_GetPersonaState( struct cppISteamFriends_SteamFriends010_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends010_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends010_GetFriendCount( struct cppISteamFriends_SteamFriends010_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends010_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends010_GetFriendByIndex( struct cppISteamFriends_SteamFriends010_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends010_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends010_GetFriendRelationship( struct cppISteamFriends_SteamFriends010_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends010_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends010_GetFriendPersonaState( struct cppISteamFriends_SteamFriends010_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends010_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends010_GetFriendPersonaName( struct cppISteamFriends_SteamFriends010_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends010_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +void cppISteamFriends_SteamFriends010_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends010_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (FriendGameInfo_t *)params->pFriendGameInfo ); } -const char * cppISteamFriends_SteamFriends010_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends010_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends010_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -bool cppISteamFriends_SteamFriends010_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends010_HasFriend( struct cppISteamFriends_SteamFriends010_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends010_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends010_GetClanCount( struct cppISteamFriends_SteamFriends010_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends010_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends010_GetClanByIndex( struct cppISteamFriends_SteamFriends010_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends010_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends010_GetClanName( struct cppISteamFriends_SteamFriends010_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -const char * cppISteamFriends_SteamFriends010_GetClanTag(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends010_GetClanTag( struct cppISteamFriends_SteamFriends010_GetClanTag_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanTag( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends010_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) +void cppISteamFriends_SteamFriends010_GetClanActivityCounts( struct cppISteamFriends_SteamFriends010_GetClanActivityCounts_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanActivityCounts( (CSteamID)params->steamIDClan, (int *)params->pnOnline, (int *)params->pnInGame, (int *)params->pnChatting ); } -SteamAPICall_t cppISteamFriends_SteamFriends010_DownloadClanActivityCounts(void *linux_side, CSteamID *psteamIDClans, int cClansToRequest) +void cppISteamFriends_SteamFriends010_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends010_DownloadClanActivityCounts_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->DownloadClanActivityCounts( (CSteamID *)params->psteamIDClans, (int)params->cClansToRequest ); } -int cppISteamFriends_SteamFriends010_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends010_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends010_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends010_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends010_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends010_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends010_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends010_IsUserInSource( struct cppISteamFriends_SteamFriends010_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends010_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends010_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends010_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends010_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends010_ActivateGameOverlay( struct cppISteamFriends_SteamFriends010_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } -void cppISteamFriends_SteamFriends010_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID) +void cppISteamFriends_SteamFriends010_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends010_ActivateGameOverlayToUser_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToUser( (const char *)params->pchDialog, (CSteamID)params->steamID ); } -void cppISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL) +void cppISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToWebPage( (const char *)params->pchURL ); } -void cppISteamFriends_SteamFriends010_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +void cppISteamFriends_SteamFriends010_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends010_ActivateGameOverlayToStore_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToStore( (AppId_t)params->nAppID ); } -void cppISteamFriends_SteamFriends010_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +void cppISteamFriends_SteamFriends010_SetPlayedWith( struct cppISteamFriends_SteamFriends010_SetPlayedWith_params *params ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + ((ISteamFriends*)params->linux_side)->SetPlayedWith( (CSteamID)params->steamIDUserPlayedWith ); } -void cppISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +void cppISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayInviteDialog( (CSteamID)params->steamIDLobby ); } -int cppISteamFriends_SteamFriends010_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends010_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends010_GetSmallFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetSmallFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends010_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends010_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends010_GetMediumFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetMediumFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends010_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends010_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends010_GetLargeFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetLargeFriendAvatar( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends010_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +void cppISteamFriends_SteamFriends010_RequestUserInformation( struct cppISteamFriends_SteamFriends010_RequestUserInformation_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestUserInformation( (CSteamID)params->steamIDUser, (bool)params->bRequireNameOnly ); } -SteamAPICall_t cppISteamFriends_SteamFriends010_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends010_RequestClanOfficerList( struct cppISteamFriends_SteamFriends010_RequestClanOfficerList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestClanOfficerList( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends010_GetClanOwner(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends010_GetClanOwner( struct cppISteamFriends_SteamFriends010_GetClanOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOwner( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends010_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends010_GetClanOfficerCount( struct cppISteamFriends_SteamFriends010_GetClanOfficerCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends010_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +void cppISteamFriends_SteamFriends010_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends010_GetClanOfficerByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerByIndex( (CSteamID)params->steamIDClan, (int)params->iOfficer ); } -uint32 cppISteamFriends_SteamFriends010_GetUserRestrictions(void *linux_side) +void cppISteamFriends_SteamFriends010_GetUserRestrictions( struct cppISteamFriends_SteamFriends010_GetUserRestrictions_params *params ) { - uint32 _ret; - _ret = ((ISteamFriends*)linux_side)->GetUserRestrictions(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetUserRestrictions( ); } -bool cppISteamFriends_SteamFriends010_SetRichPresence(void *linux_side, const char *pchKey, const char *pchValue) +void cppISteamFriends_SteamFriends010_SetRichPresence( struct cppISteamFriends_SteamFriends010_SetRichPresence_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetRichPresence( (const char *)params->pchKey, (const char *)params->pchValue ); } -void cppISteamFriends_SteamFriends010_ClearRichPresence(void *linux_side) +void cppISteamFriends_SteamFriends010_ClearRichPresence( struct cppISteamFriends_SteamFriends010_ClearRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + ((ISteamFriends*)params->linux_side)->ClearRichPresence( ); } -const char * cppISteamFriends_SteamFriends010_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char *pchKey) +void cppISteamFriends_SteamFriends010_GetFriendRichPresence( struct cppISteamFriends_SteamFriends010_GetFriendRichPresence_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresence( (CSteamID)params->steamIDFriend, (const char *)params->pchKey ); } -int cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyCount( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +void cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyByIndex( (CSteamID)params->steamIDFriend, (int)params->iKey ); } -bool cppISteamFriends_SteamFriends010_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char *pchConnectString) +void cppISteamFriends_SteamFriends010_InviteUserToGame( struct cppISteamFriends_SteamFriends010_InviteUserToGame_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->InviteUserToGame( (CSteamID)params->steamIDFriend, (const char *)params->pchConnectString ); } -int cppISteamFriends_SteamFriends010_GetCoplayFriendCount(void *linux_side) +void cppISteamFriends_SteamFriends010_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends010_GetCoplayFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriendCount( ); } -CSteamID cppISteamFriends_SteamFriends010_GetCoplayFriend(void *linux_side, int iCoplayFriend) +void cppISteamFriends_SteamFriends010_GetCoplayFriend( struct cppISteamFriends_SteamFriends010_GetCoplayFriend_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriend( (int)params->iCoplayFriend ); } -int cppISteamFriends_SteamFriends010_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends010_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends010_GetFriendCoplayTime_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayTime( (CSteamID)params->steamIDFriend ); } -AppId_t cppISteamFriends_SteamFriends010_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends010_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends010_GetFriendCoplayGame_params *params ) { - AppId_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayGame( (CSteamID)params->steamIDFriend ); } -SteamAPICall_t cppISteamFriends_SteamFriends010_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends010_JoinClanChatRoom( struct cppISteamFriends_SteamFriends010_JoinClanChatRoom_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->JoinClanChatRoom( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends010_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends010_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends010_LeaveClanChatRoom_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->LeaveClanChatRoom( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends010_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends010_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends010_GetClanChatMemberCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMemberCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends010_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +void cppISteamFriends_SteamFriends010_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends010_GetChatMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetChatMemberByIndex( (CSteamID)params->steamIDClan, (int)params->iUser ); } -bool cppISteamFriends_SteamFriends010_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char *pchText) +void cppISteamFriends_SteamFriends010_SendClanChatMessage( struct cppISteamFriends_SteamFriends010_SendClanChatMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SendClanChatMessage( (CSteamID)params->steamIDClanChat, (const char *)params->pchText ); } -int cppISteamFriends_SteamFriends010_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *_e, CSteamID *_f) +void cppISteamFriends_SteamFriends010_GetClanChatMessage( struct cppISteamFriends_SteamFriends010_GetClanChatMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)_e, (CSteamID *)_f); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMessage( (CSteamID)params->steamIDClanChat, (int)params->iMessage, (void *)params->prgchText, (int)params->cchTextMax, (EChatEntryType *)params->_e, (CSteamID *)params->_f ); } -bool cppISteamFriends_SteamFriends010_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +void cppISteamFriends_SteamFriends010_IsClanChatAdmin( struct cppISteamFriends_SteamFriends010_IsClanChatAdmin_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatAdmin( (CSteamID)params->steamIDClanChat, (CSteamID)params->steamIDUser ); } -bool cppISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatWindowOpenInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends010_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends010_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends010_OpenClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->OpenClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends010_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends010_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends010_CloseClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->CloseClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends010_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +void cppISteamFriends_SteamFriends010_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends010_SetListenForFriendsMessages_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetListenForFriendsMessages( (bool)params->bInterceptEnabled ); } -bool cppISteamFriends_SteamFriends010_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char *pchMsgToSend) +void cppISteamFriends_SteamFriends010_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends010_ReplyToFriendMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->ReplyToFriendMessage( (CSteamID)params->steamIDFriend, (const char *)params->pchMsgToSend ); } -int cppISteamFriends_SteamFriends010_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamFriends_SteamFriends010_GetFriendMessage( struct cppISteamFriends_SteamFriends010_GetFriendMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendMessage( (CSteamID)params->steamIDFriend, (int)params->iMessageID, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends010.h b/lsteamclient/cppISteamFriends_SteamFriends010.h index 48d2c87c..01c073fa 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends010.h +++ b/lsteamclient/cppISteamFriends_SteamFriends010.h @@ -1,59 +1,488 @@ -extern const char * cppISteamFriends_SteamFriends010_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends010_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends010_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends010_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends010_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends010_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends010_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends010_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends010_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends010_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends010_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends010_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends010_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends010_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends010_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends010_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends010_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends010_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends010_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends010_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends010_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends010_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends010_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends010_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends010_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends010_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends010_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends010_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends010_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends010_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends010_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends010_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends010_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends010_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends010_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends010_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends010_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends010_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends010_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends010_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends010_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends010_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends010_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends010_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends010_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends010_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends010_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); +struct cppISteamFriends_SteamFriends010_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends010_GetPersonaName( struct cppISteamFriends_SteamFriends010_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends010_SetPersonaName_params +{ + void *linux_side; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends010_SetPersonaName( struct cppISteamFriends_SteamFriends010_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends010_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends010_GetPersonaState( struct cppISteamFriends_SteamFriends010_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendCount( struct cppISteamFriends_SteamFriends010_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendByIndex( struct cppISteamFriends_SteamFriends010_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendRelationship( struct cppISteamFriends_SteamFriends010_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendPersonaState( struct cppISteamFriends_SteamFriends010_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendPersonaName( struct cppISteamFriends_SteamFriends010_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends010_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends010_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends010_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends010_HasFriend( struct cppISteamFriends_SteamFriends010_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends010_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends010_GetClanCount( struct cppISteamFriends_SteamFriends010_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends010_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends010_GetClanByIndex( struct cppISteamFriends_SteamFriends010_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends010_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends010_GetClanName( struct cppISteamFriends_SteamFriends010_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends010_GetClanTag_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends010_GetClanTag( struct cppISteamFriends_SteamFriends010_GetClanTag_params *params ); + +struct cppISteamFriends_SteamFriends010_GetClanActivityCounts_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; + int *pnOnline; + int *pnInGame; + int *pnChatting; +}; +extern void cppISteamFriends_SteamFriends010_GetClanActivityCounts( struct cppISteamFriends_SteamFriends010_GetClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends010_DownloadClanActivityCounts_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID *psteamIDClans; + int cClansToRequest; +}; +extern void cppISteamFriends_SteamFriends010_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends010_DownloadClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends010_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends010_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends010_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends010_IsUserInSource( struct cppISteamFriends_SteamFriends010_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends010_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends010_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends010_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends010_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends010_ActivateGameOverlay( struct cppISteamFriends_SteamFriends010_ActivateGameOverlay_params *params ); + +struct cppISteamFriends_SteamFriends010_ActivateGameOverlayToUser_params +{ + void *linux_side; + const char *pchDialog; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends010_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends010_ActivateGameOverlayToUser_params *params ); + +struct cppISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage_params +{ + void *linux_side; + const char *pchURL; +}; +extern void cppISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage_params *params ); + +struct cppISteamFriends_SteamFriends010_ActivateGameOverlayToStore_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamFriends_SteamFriends010_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends010_ActivateGameOverlayToStore_params *params ); + +struct cppISteamFriends_SteamFriends010_SetPlayedWith_params +{ + void *linux_side; + CSteamID steamIDUserPlayedWith; +}; +extern void cppISteamFriends_SteamFriends010_SetPlayedWith( struct cppISteamFriends_SteamFriends010_SetPlayedWith_params *params ); + +struct cppISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog_params *params ); + +struct cppISteamFriends_SteamFriends010_GetSmallFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends010_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends010_GetSmallFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends010_GetMediumFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends010_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends010_GetMediumFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends010_GetLargeFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends010_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends010_GetLargeFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends010_RequestUserInformation_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + bool bRequireNameOnly; +}; +extern void cppISteamFriends_SteamFriends010_RequestUserInformation( struct cppISteamFriends_SteamFriends010_RequestUserInformation_params *params ); + +struct cppISteamFriends_SteamFriends010_RequestClanOfficerList_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends010_RequestClanOfficerList( struct cppISteamFriends_SteamFriends010_RequestClanOfficerList_params *params ); + +struct cppISteamFriends_SteamFriends010_GetClanOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends010_GetClanOwner( struct cppISteamFriends_SteamFriends010_GetClanOwner_params *params ); + +struct cppISteamFriends_SteamFriends010_GetClanOfficerCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends010_GetClanOfficerCount( struct cppISteamFriends_SteamFriends010_GetClanOfficerCount_params *params ); + +struct cppISteamFriends_SteamFriends010_GetClanOfficerByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iOfficer; +}; +extern void cppISteamFriends_SteamFriends010_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends010_GetClanOfficerByIndex_params *params ); + +struct cppISteamFriends_SteamFriends010_GetUserRestrictions_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamFriends_SteamFriends010_GetUserRestrictions( struct cppISteamFriends_SteamFriends010_GetUserRestrictions_params *params ); + +struct cppISteamFriends_SteamFriends010_SetRichPresence_params +{ + void *linux_side; + bool _ret; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamFriends_SteamFriends010_SetRichPresence( struct cppISteamFriends_SteamFriends010_SetRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends010_ClearRichPresence_params +{ + void *linux_side; +}; +extern void cppISteamFriends_SteamFriends010_ClearRichPresence( struct cppISteamFriends_SteamFriends010_ClearRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendRichPresence_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendRichPresence( struct cppISteamFriends_SteamFriends010_GetFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iKey; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex_params *params ); + +struct cppISteamFriends_SteamFriends010_InviteUserToGame_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; +extern void cppISteamFriends_SteamFriends010_InviteUserToGame( struct cppISteamFriends_SteamFriends010_InviteUserToGame_params *params ); + +struct cppISteamFriends_SteamFriends010_GetCoplayFriendCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends010_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends010_GetCoplayFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends010_GetCoplayFriend_params +{ + void *linux_side; + CSteamID *_ret; + int iCoplayFriend; +}; +extern void cppISteamFriends_SteamFriends010_GetCoplayFriend( struct cppISteamFriends_SteamFriends010_GetCoplayFriend_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendCoplayTime_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends010_GetFriendCoplayTime_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendCoplayGame_params +{ + void *linux_side; + AppId_t _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends010_GetFriendCoplayGame_params *params ); + +struct cppISteamFriends_SteamFriends010_JoinClanChatRoom_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends010_JoinClanChatRoom( struct cppISteamFriends_SteamFriends010_JoinClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends010_LeaveClanChatRoom_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends010_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends010_LeaveClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends010_GetClanChatMemberCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends010_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends010_GetClanChatMemberCount_params *params ); + +struct cppISteamFriends_SteamFriends010_GetChatMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iUser; +}; +extern void cppISteamFriends_SteamFriends010_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends010_GetChatMemberByIndex_params *params ); + +struct cppISteamFriends_SteamFriends010_SendClanChatMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; +extern void cppISteamFriends_SteamFriends010_SendClanChatMessage( struct cppISteamFriends_SteamFriends010_SendClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends010_GetClanChatMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClanChat; + int iMessage; + void *prgchText; + int cchTextMax; + EChatEntryType *_e; + CSteamID *_f; +}; +extern void cppISteamFriends_SteamFriends010_GetClanChatMessage( struct cppISteamFriends_SteamFriends010_GetClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends010_IsClanChatAdmin_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; +extern void cppISteamFriends_SteamFriends010_IsClanChatAdmin( struct cppISteamFriends_SteamFriends010_IsClanChatAdmin_params *params ); + +struct cppISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam_params *params ); + +struct cppISteamFriends_SteamFriends010_OpenClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends010_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends010_OpenClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends010_CloseClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends010_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends010_CloseClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends010_SetListenForFriendsMessages_params +{ + void *linux_side; + bool _ret; + bool bInterceptEnabled; +}; +extern void cppISteamFriends_SteamFriends010_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends010_SetListenForFriendsMessages_params *params ); + +struct cppISteamFriends_SteamFriends010_ReplyToFriendMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; +extern void cppISteamFriends_SteamFriends010_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends010_ReplyToFriendMessage_params *params ); + +struct cppISteamFriends_SteamFriends010_GetFriendMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; + int iMessageID; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamFriends_SteamFriends010_GetFriendMessage( struct cppISteamFriends_SteamFriends010_GetFriendMessage_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends011.cpp b/lsteamclient/cppISteamFriends_SteamFriends011.cpp index 872f8069..ffeee8d2 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends011.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends011.cpp @@ -11,425 +11,319 @@ extern "C" { #define SDKVER_119 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends011.h" -const char * cppISteamFriends_SteamFriends011_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends011_GetPersonaName( struct cppISteamFriends_SteamFriends011_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -void cppISteamFriends_SteamFriends011_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends011_SetPersonaName( struct cppISteamFriends_SteamFriends011_SetPersonaName_params *params ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends011_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends011_GetPersonaState( struct cppISteamFriends_SteamFriends011_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends011_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends011_GetFriendCount( struct cppISteamFriends_SteamFriends011_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends011_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends011_GetFriendByIndex( struct cppISteamFriends_SteamFriends011_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends011_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends011_GetFriendRelationship( struct cppISteamFriends_SteamFriends011_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends011_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends011_GetFriendPersonaState( struct cppISteamFriends_SteamFriends011_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends011_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends011_GetFriendPersonaName( struct cppISteamFriends_SteamFriends011_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends011_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +void cppISteamFriends_SteamFriends011_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends011_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (FriendGameInfo_t *)params->pFriendGameInfo ); } -const char * cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -bool cppISteamFriends_SteamFriends011_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends011_HasFriend( struct cppISteamFriends_SteamFriends011_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends011_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends011_GetClanCount( struct cppISteamFriends_SteamFriends011_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends011_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends011_GetClanByIndex( struct cppISteamFriends_SteamFriends011_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends011_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends011_GetClanName( struct cppISteamFriends_SteamFriends011_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -const char * cppISteamFriends_SteamFriends011_GetClanTag(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends011_GetClanTag( struct cppISteamFriends_SteamFriends011_GetClanTag_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanTag( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends011_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) +void cppISteamFriends_SteamFriends011_GetClanActivityCounts( struct cppISteamFriends_SteamFriends011_GetClanActivityCounts_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanActivityCounts( (CSteamID)params->steamIDClan, (int *)params->pnOnline, (int *)params->pnInGame, (int *)params->pnChatting ); } -SteamAPICall_t cppISteamFriends_SteamFriends011_DownloadClanActivityCounts(void *linux_side, CSteamID *psteamIDClans, int cClansToRequest) +void cppISteamFriends_SteamFriends011_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends011_DownloadClanActivityCounts_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->DownloadClanActivityCounts( (CSteamID *)params->psteamIDClans, (int)params->cClansToRequest ); } -int cppISteamFriends_SteamFriends011_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends011_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends011_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends011_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends011_IsUserInSource( struct cppISteamFriends_SteamFriends011_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends011_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends011_ActivateGameOverlay( struct cppISteamFriends_SteamFriends011_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } -void cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID) +void cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToUser( (const char *)params->pchDialog, (CSteamID)params->steamID ); } -void cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL) +void cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToWebPage( (const char *)params->pchURL ); } -void cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +void cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToStore( (AppId_t)params->nAppID ); } -void cppISteamFriends_SteamFriends011_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +void cppISteamFriends_SteamFriends011_SetPlayedWith( struct cppISteamFriends_SteamFriends011_SetPlayedWith_params *params ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + ((ISteamFriends*)params->linux_side)->SetPlayedWith( (CSteamID)params->steamIDUserPlayedWith ); } -void cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +void cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayInviteDialog( (CSteamID)params->steamIDLobby ); } -int cppISteamFriends_SteamFriends011_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends011_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends011_GetSmallFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetSmallFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends011_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends011_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends011_GetMediumFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetMediumFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends011_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends011_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends011_GetLargeFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetLargeFriendAvatar( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends011_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +void cppISteamFriends_SteamFriends011_RequestUserInformation( struct cppISteamFriends_SteamFriends011_RequestUserInformation_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestUserInformation( (CSteamID)params->steamIDUser, (bool)params->bRequireNameOnly ); } -SteamAPICall_t cppISteamFriends_SteamFriends011_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends011_RequestClanOfficerList( struct cppISteamFriends_SteamFriends011_RequestClanOfficerList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestClanOfficerList( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends011_GetClanOwner(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends011_GetClanOwner( struct cppISteamFriends_SteamFriends011_GetClanOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOwner( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends011_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends011_GetClanOfficerCount( struct cppISteamFriends_SteamFriends011_GetClanOfficerCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends011_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +void cppISteamFriends_SteamFriends011_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends011_GetClanOfficerByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerByIndex( (CSteamID)params->steamIDClan, (int)params->iOfficer ); } -uint32 cppISteamFriends_SteamFriends011_GetUserRestrictions(void *linux_side) +void cppISteamFriends_SteamFriends011_GetUserRestrictions( struct cppISteamFriends_SteamFriends011_GetUserRestrictions_params *params ) { - uint32 _ret; - _ret = ((ISteamFriends*)linux_side)->GetUserRestrictions(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetUserRestrictions( ); } -bool cppISteamFriends_SteamFriends011_SetRichPresence(void *linux_side, const char *pchKey, const char *pchValue) +void cppISteamFriends_SteamFriends011_SetRichPresence( struct cppISteamFriends_SteamFriends011_SetRichPresence_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetRichPresence( (const char *)params->pchKey, (const char *)params->pchValue ); } -void cppISteamFriends_SteamFriends011_ClearRichPresence(void *linux_side) +void cppISteamFriends_SteamFriends011_ClearRichPresence( struct cppISteamFriends_SteamFriends011_ClearRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + ((ISteamFriends*)params->linux_side)->ClearRichPresence( ); } -const char * cppISteamFriends_SteamFriends011_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char *pchKey) +void cppISteamFriends_SteamFriends011_GetFriendRichPresence( struct cppISteamFriends_SteamFriends011_GetFriendRichPresence_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresence( (CSteamID)params->steamIDFriend, (const char *)params->pchKey ); } -int cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyCount( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +void cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyByIndex( (CSteamID)params->steamIDFriend, (int)params->iKey ); } -void cppISteamFriends_SteamFriends011_RequestFriendRichPresence(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends011_RequestFriendRichPresence( struct cppISteamFriends_SteamFriends011_RequestFriendRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend); + ((ISteamFriends*)params->linux_side)->RequestFriendRichPresence( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends011_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char *pchConnectString) +void cppISteamFriends_SteamFriends011_InviteUserToGame( struct cppISteamFriends_SteamFriends011_InviteUserToGame_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->InviteUserToGame( (CSteamID)params->steamIDFriend, (const char *)params->pchConnectString ); } -int cppISteamFriends_SteamFriends011_GetCoplayFriendCount(void *linux_side) +void cppISteamFriends_SteamFriends011_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends011_GetCoplayFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriendCount( ); } -CSteamID cppISteamFriends_SteamFriends011_GetCoplayFriend(void *linux_side, int iCoplayFriend) +void cppISteamFriends_SteamFriends011_GetCoplayFriend( struct cppISteamFriends_SteamFriends011_GetCoplayFriend_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriend( (int)params->iCoplayFriend ); } -int cppISteamFriends_SteamFriends011_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends011_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends011_GetFriendCoplayTime_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayTime( (CSteamID)params->steamIDFriend ); } -AppId_t cppISteamFriends_SteamFriends011_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends011_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends011_GetFriendCoplayGame_params *params ) { - AppId_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayGame( (CSteamID)params->steamIDFriend ); } -SteamAPICall_t cppISteamFriends_SteamFriends011_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends011_JoinClanChatRoom( struct cppISteamFriends_SteamFriends011_JoinClanChatRoom_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->JoinClanChatRoom( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends011_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends011_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends011_LeaveClanChatRoom_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->LeaveClanChatRoom( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends011_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends011_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends011_GetClanChatMemberCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMemberCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends011_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +void cppISteamFriends_SteamFriends011_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends011_GetChatMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetChatMemberByIndex( (CSteamID)params->steamIDClan, (int)params->iUser ); } -bool cppISteamFriends_SteamFriends011_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char *pchText) +void cppISteamFriends_SteamFriends011_SendClanChatMessage( struct cppISteamFriends_SteamFriends011_SendClanChatMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SendClanChatMessage( (CSteamID)params->steamIDClanChat, (const char *)params->pchText ); } -int cppISteamFriends_SteamFriends011_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *_e, CSteamID *_f) +void cppISteamFriends_SteamFriends011_GetClanChatMessage( struct cppISteamFriends_SteamFriends011_GetClanChatMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)_e, (CSteamID *)_f); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMessage( (CSteamID)params->steamIDClanChat, (int)params->iMessage, (void *)params->prgchText, (int)params->cchTextMax, (EChatEntryType *)params->_e, (CSteamID *)params->_f ); } -bool cppISteamFriends_SteamFriends011_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +void cppISteamFriends_SteamFriends011_IsClanChatAdmin( struct cppISteamFriends_SteamFriends011_IsClanChatAdmin_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatAdmin( (CSteamID)params->steamIDClanChat, (CSteamID)params->steamIDUser ); } -bool cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatWindowOpenInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->OpenClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->CloseClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends011_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +void cppISteamFriends_SteamFriends011_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends011_SetListenForFriendsMessages_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetListenForFriendsMessages( (bool)params->bInterceptEnabled ); } -bool cppISteamFriends_SteamFriends011_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char *pchMsgToSend) +void cppISteamFriends_SteamFriends011_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends011_ReplyToFriendMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->ReplyToFriendMessage( (CSteamID)params->steamIDFriend, (const char *)params->pchMsgToSend ); } -int cppISteamFriends_SteamFriends011_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamFriends_SteamFriends011_GetFriendMessage( struct cppISteamFriends_SteamFriends011_GetFriendMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendMessage( (CSteamID)params->steamIDFriend, (int)params->iMessageID, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -SteamAPICall_t cppISteamFriends_SteamFriends011_GetFollowerCount(void *linux_side, CSteamID steamID) +void cppISteamFriends_SteamFriends011_GetFollowerCount( struct cppISteamFriends_SteamFriends011_GetFollowerCount_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFollowerCount((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFollowerCount( (CSteamID)params->steamID ); } -SteamAPICall_t cppISteamFriends_SteamFriends011_IsFollowing(void *linux_side, CSteamID steamID) +void cppISteamFriends_SteamFriends011_IsFollowing( struct cppISteamFriends_SteamFriends011_IsFollowing_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->IsFollowing((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsFollowing( (CSteamID)params->steamID ); } -SteamAPICall_t cppISteamFriends_SteamFriends011_EnumerateFollowingList(void *linux_side, uint32 unStartIndex) +void cppISteamFriends_SteamFriends011_EnumerateFollowingList( struct cppISteamFriends_SteamFriends011_EnumerateFollowingList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->EnumerateFollowingList((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->EnumerateFollowingList( (uint32)params->unStartIndex ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends011.h b/lsteamclient/cppISteamFriends_SteamFriends011.h index 8a9901ec..156d6839 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends011.h +++ b/lsteamclient/cppISteamFriends_SteamFriends011.h @@ -1,63 +1,519 @@ -extern const char * cppISteamFriends_SteamFriends011_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends011_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends011_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends011_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends011_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends011_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends011_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends011_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends011_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends011_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends011_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends011_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends011_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends011_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends011_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends011_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends011_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends011_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends011_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends011_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends011_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends011_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends011_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends011_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends011_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends011_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends011_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends011_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends011_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends011_RequestFriendRichPresence(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends011_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends011_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends011_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends011_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends011_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends011_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends011_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends011_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends011_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends011_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends011_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends011_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern SteamAPICall_t cppISteamFriends_SteamFriends011_GetFollowerCount(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends011_IsFollowing(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends011_EnumerateFollowingList(void *, uint32); +struct cppISteamFriends_SteamFriends011_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends011_GetPersonaName( struct cppISteamFriends_SteamFriends011_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends011_SetPersonaName_params +{ + void *linux_side; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends011_SetPersonaName( struct cppISteamFriends_SteamFriends011_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends011_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends011_GetPersonaState( struct cppISteamFriends_SteamFriends011_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendCount( struct cppISteamFriends_SteamFriends011_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendByIndex( struct cppISteamFriends_SteamFriends011_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendRelationship( struct cppISteamFriends_SteamFriends011_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendPersonaState( struct cppISteamFriends_SteamFriends011_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendPersonaName( struct cppISteamFriends_SteamFriends011_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends011_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends011_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends011_HasFriend( struct cppISteamFriends_SteamFriends011_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends011_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends011_GetClanCount( struct cppISteamFriends_SteamFriends011_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends011_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends011_GetClanByIndex( struct cppISteamFriends_SteamFriends011_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends011_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends011_GetClanName( struct cppISteamFriends_SteamFriends011_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends011_GetClanTag_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends011_GetClanTag( struct cppISteamFriends_SteamFriends011_GetClanTag_params *params ); + +struct cppISteamFriends_SteamFriends011_GetClanActivityCounts_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; + int *pnOnline; + int *pnInGame; + int *pnChatting; +}; +extern void cppISteamFriends_SteamFriends011_GetClanActivityCounts( struct cppISteamFriends_SteamFriends011_GetClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends011_DownloadClanActivityCounts_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID *psteamIDClans; + int cClansToRequest; +}; +extern void cppISteamFriends_SteamFriends011_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends011_DownloadClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends011_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends011_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends011_IsUserInSource( struct cppISteamFriends_SteamFriends011_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends011_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends011_ActivateGameOverlay( struct cppISteamFriends_SteamFriends011_ActivateGameOverlay_params *params ); + +struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser_params +{ + void *linux_side; + const char *pchDialog; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser_params *params ); + +struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage_params +{ + void *linux_side; + const char *pchURL; +}; +extern void cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage_params *params ); + +struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore_params *params ); + +struct cppISteamFriends_SteamFriends011_SetPlayedWith_params +{ + void *linux_side; + CSteamID steamIDUserPlayedWith; +}; +extern void cppISteamFriends_SteamFriends011_SetPlayedWith( struct cppISteamFriends_SteamFriends011_SetPlayedWith_params *params ); + +struct cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog_params *params ); + +struct cppISteamFriends_SteamFriends011_GetSmallFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends011_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends011_GetSmallFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends011_GetMediumFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends011_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends011_GetMediumFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends011_GetLargeFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends011_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends011_GetLargeFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends011_RequestUserInformation_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + bool bRequireNameOnly; +}; +extern void cppISteamFriends_SteamFriends011_RequestUserInformation( struct cppISteamFriends_SteamFriends011_RequestUserInformation_params *params ); + +struct cppISteamFriends_SteamFriends011_RequestClanOfficerList_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends011_RequestClanOfficerList( struct cppISteamFriends_SteamFriends011_RequestClanOfficerList_params *params ); + +struct cppISteamFriends_SteamFriends011_GetClanOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends011_GetClanOwner( struct cppISteamFriends_SteamFriends011_GetClanOwner_params *params ); + +struct cppISteamFriends_SteamFriends011_GetClanOfficerCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends011_GetClanOfficerCount( struct cppISteamFriends_SteamFriends011_GetClanOfficerCount_params *params ); + +struct cppISteamFriends_SteamFriends011_GetClanOfficerByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iOfficer; +}; +extern void cppISteamFriends_SteamFriends011_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends011_GetClanOfficerByIndex_params *params ); + +struct cppISteamFriends_SteamFriends011_GetUserRestrictions_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamFriends_SteamFriends011_GetUserRestrictions( struct cppISteamFriends_SteamFriends011_GetUserRestrictions_params *params ); + +struct cppISteamFriends_SteamFriends011_SetRichPresence_params +{ + void *linux_side; + bool _ret; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamFriends_SteamFriends011_SetRichPresence( struct cppISteamFriends_SteamFriends011_SetRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends011_ClearRichPresence_params +{ + void *linux_side; +}; +extern void cppISteamFriends_SteamFriends011_ClearRichPresence( struct cppISteamFriends_SteamFriends011_ClearRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendRichPresence_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendRichPresence( struct cppISteamFriends_SteamFriends011_GetFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iKey; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex_params *params ); + +struct cppISteamFriends_SteamFriends011_RequestFriendRichPresence_params +{ + void *linux_side; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends011_RequestFriendRichPresence( struct cppISteamFriends_SteamFriends011_RequestFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends011_InviteUserToGame_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; +extern void cppISteamFriends_SteamFriends011_InviteUserToGame( struct cppISteamFriends_SteamFriends011_InviteUserToGame_params *params ); + +struct cppISteamFriends_SteamFriends011_GetCoplayFriendCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends011_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends011_GetCoplayFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends011_GetCoplayFriend_params +{ + void *linux_side; + CSteamID *_ret; + int iCoplayFriend; +}; +extern void cppISteamFriends_SteamFriends011_GetCoplayFriend( struct cppISteamFriends_SteamFriends011_GetCoplayFriend_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendCoplayTime_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends011_GetFriendCoplayTime_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendCoplayGame_params +{ + void *linux_side; + AppId_t _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends011_GetFriendCoplayGame_params *params ); + +struct cppISteamFriends_SteamFriends011_JoinClanChatRoom_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends011_JoinClanChatRoom( struct cppISteamFriends_SteamFriends011_JoinClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends011_LeaveClanChatRoom_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends011_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends011_LeaveClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends011_GetClanChatMemberCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends011_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends011_GetClanChatMemberCount_params *params ); + +struct cppISteamFriends_SteamFriends011_GetChatMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iUser; +}; +extern void cppISteamFriends_SteamFriends011_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends011_GetChatMemberByIndex_params *params ); + +struct cppISteamFriends_SteamFriends011_SendClanChatMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; +extern void cppISteamFriends_SteamFriends011_SendClanChatMessage( struct cppISteamFriends_SteamFriends011_SendClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends011_GetClanChatMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClanChat; + int iMessage; + void *prgchText; + int cchTextMax; + EChatEntryType *_e; + CSteamID *_f; +}; +extern void cppISteamFriends_SteamFriends011_GetClanChatMessage( struct cppISteamFriends_SteamFriends011_GetClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends011_IsClanChatAdmin_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; +extern void cppISteamFriends_SteamFriends011_IsClanChatAdmin( struct cppISteamFriends_SteamFriends011_IsClanChatAdmin_params *params ); + +struct cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam_params *params ); + +struct cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends011_SetListenForFriendsMessages_params +{ + void *linux_side; + bool _ret; + bool bInterceptEnabled; +}; +extern void cppISteamFriends_SteamFriends011_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends011_SetListenForFriendsMessages_params *params ); + +struct cppISteamFriends_SteamFriends011_ReplyToFriendMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; +extern void cppISteamFriends_SteamFriends011_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends011_ReplyToFriendMessage_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFriendMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; + int iMessageID; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamFriends_SteamFriends011_GetFriendMessage( struct cppISteamFriends_SteamFriends011_GetFriendMessage_params *params ); + +struct cppISteamFriends_SteamFriends011_GetFollowerCount_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends011_GetFollowerCount( struct cppISteamFriends_SteamFriends011_GetFollowerCount_params *params ); + +struct cppISteamFriends_SteamFriends011_IsFollowing_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends011_IsFollowing( struct cppISteamFriends_SteamFriends011_IsFollowing_params *params ); + +struct cppISteamFriends_SteamFriends011_EnumerateFollowingList_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamFriends_SteamFriends011_EnumerateFollowingList( struct cppISteamFriends_SteamFriends011_EnumerateFollowingList_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends012.cpp b/lsteamclient/cppISteamFriends_SteamFriends012.cpp index 31969eb2..87b388d5 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends012.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends012.cpp @@ -11,427 +11,319 @@ extern "C" { #define SDKVER_119x #include "struct_converters.h" #include "cppISteamFriends_SteamFriends012.h" -const char * cppISteamFriends_SteamFriends012_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends012_GetPersonaName( struct cppISteamFriends_SteamFriends012_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -SteamAPICall_t cppISteamFriends_SteamFriends012_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends012_SetPersonaName( struct cppISteamFriends_SteamFriends012_SetPersonaName_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends012_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends012_GetPersonaState( struct cppISteamFriends_SteamFriends012_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends012_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends012_GetFriendCount( struct cppISteamFriends_SteamFriends012_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends012_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends012_GetFriendByIndex( struct cppISteamFriends_SteamFriends012_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends012_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends012_GetFriendRelationship( struct cppISteamFriends_SteamFriends012_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends012_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends012_GetFriendPersonaState( struct cppISteamFriends_SteamFriends012_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends012_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends012_GetFriendPersonaName( struct cppISteamFriends_SteamFriends012_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends012_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +void cppISteamFriends_SteamFriends012_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends012_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (FriendGameInfo_t *)params->pFriendGameInfo ); } -const char * cppISteamFriends_SteamFriends012_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends012_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends012_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -bool cppISteamFriends_SteamFriends012_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends012_HasFriend( struct cppISteamFriends_SteamFriends012_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends012_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends012_GetClanCount( struct cppISteamFriends_SteamFriends012_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends012_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends012_GetClanByIndex( struct cppISteamFriends_SteamFriends012_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends012_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends012_GetClanName( struct cppISteamFriends_SteamFriends012_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -const char * cppISteamFriends_SteamFriends012_GetClanTag(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends012_GetClanTag( struct cppISteamFriends_SteamFriends012_GetClanTag_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanTag( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends012_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) +void cppISteamFriends_SteamFriends012_GetClanActivityCounts( struct cppISteamFriends_SteamFriends012_GetClanActivityCounts_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanActivityCounts( (CSteamID)params->steamIDClan, (int *)params->pnOnline, (int *)params->pnInGame, (int *)params->pnChatting ); } -SteamAPICall_t cppISteamFriends_SteamFriends012_DownloadClanActivityCounts(void *linux_side, CSteamID *psteamIDClans, int cClansToRequest) +void cppISteamFriends_SteamFriends012_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends012_DownloadClanActivityCounts_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->DownloadClanActivityCounts( (CSteamID *)params->psteamIDClans, (int)params->cClansToRequest ); } -int cppISteamFriends_SteamFriends012_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends012_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends012_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends012_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends012_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends012_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends012_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends012_IsUserInSource( struct cppISteamFriends_SteamFriends012_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends012_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends012_ActivateGameOverlay( struct cppISteamFriends_SteamFriends012_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } -void cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID) +void cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToUser( (const char *)params->pchDialog, (CSteamID)params->steamID ); } -void cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL) +void cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToWebPage( (const char *)params->pchURL ); } -void cppISteamFriends_SteamFriends012_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +void cppISteamFriends_SteamFriends012_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends012_ActivateGameOverlayToStore_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToStore( (AppId_t)params->nAppID ); } -void cppISteamFriends_SteamFriends012_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +void cppISteamFriends_SteamFriends012_SetPlayedWith( struct cppISteamFriends_SteamFriends012_SetPlayedWith_params *params ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + ((ISteamFriends*)params->linux_side)->SetPlayedWith( (CSteamID)params->steamIDUserPlayedWith ); } -void cppISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +void cppISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayInviteDialog( (CSteamID)params->steamIDLobby ); } -int cppISteamFriends_SteamFriends012_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends012_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends012_GetSmallFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetSmallFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends012_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends012_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends012_GetMediumFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetMediumFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends012_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends012_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends012_GetLargeFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetLargeFriendAvatar( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends012_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +void cppISteamFriends_SteamFriends012_RequestUserInformation( struct cppISteamFriends_SteamFriends012_RequestUserInformation_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestUserInformation( (CSteamID)params->steamIDUser, (bool)params->bRequireNameOnly ); } -SteamAPICall_t cppISteamFriends_SteamFriends012_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends012_RequestClanOfficerList( struct cppISteamFriends_SteamFriends012_RequestClanOfficerList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestClanOfficerList( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends012_GetClanOwner(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends012_GetClanOwner( struct cppISteamFriends_SteamFriends012_GetClanOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOwner( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends012_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends012_GetClanOfficerCount( struct cppISteamFriends_SteamFriends012_GetClanOfficerCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends012_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +void cppISteamFriends_SteamFriends012_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends012_GetClanOfficerByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerByIndex( (CSteamID)params->steamIDClan, (int)params->iOfficer ); } -uint32 cppISteamFriends_SteamFriends012_GetUserRestrictions(void *linux_side) +void cppISteamFriends_SteamFriends012_GetUserRestrictions( struct cppISteamFriends_SteamFriends012_GetUserRestrictions_params *params ) { - uint32 _ret; - _ret = ((ISteamFriends*)linux_side)->GetUserRestrictions(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetUserRestrictions( ); } -bool cppISteamFriends_SteamFriends012_SetRichPresence(void *linux_side, const char *pchKey, const char *pchValue) +void cppISteamFriends_SteamFriends012_SetRichPresence( struct cppISteamFriends_SteamFriends012_SetRichPresence_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetRichPresence( (const char *)params->pchKey, (const char *)params->pchValue ); } -void cppISteamFriends_SteamFriends012_ClearRichPresence(void *linux_side) +void cppISteamFriends_SteamFriends012_ClearRichPresence( struct cppISteamFriends_SteamFriends012_ClearRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + ((ISteamFriends*)params->linux_side)->ClearRichPresence( ); } -const char * cppISteamFriends_SteamFriends012_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char *pchKey) +void cppISteamFriends_SteamFriends012_GetFriendRichPresence( struct cppISteamFriends_SteamFriends012_GetFriendRichPresence_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresence( (CSteamID)params->steamIDFriend, (const char *)params->pchKey ); } -int cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyCount( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +void cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyByIndex( (CSteamID)params->steamIDFriend, (int)params->iKey ); } -void cppISteamFriends_SteamFriends012_RequestFriendRichPresence(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends012_RequestFriendRichPresence( struct cppISteamFriends_SteamFriends012_RequestFriendRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend); + ((ISteamFriends*)params->linux_side)->RequestFriendRichPresence( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends012_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char *pchConnectString) +void cppISteamFriends_SteamFriends012_InviteUserToGame( struct cppISteamFriends_SteamFriends012_InviteUserToGame_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->InviteUserToGame( (CSteamID)params->steamIDFriend, (const char *)params->pchConnectString ); } -int cppISteamFriends_SteamFriends012_GetCoplayFriendCount(void *linux_side) +void cppISteamFriends_SteamFriends012_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends012_GetCoplayFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriendCount( ); } -CSteamID cppISteamFriends_SteamFriends012_GetCoplayFriend(void *linux_side, int iCoplayFriend) +void cppISteamFriends_SteamFriends012_GetCoplayFriend( struct cppISteamFriends_SteamFriends012_GetCoplayFriend_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriend( (int)params->iCoplayFriend ); } -int cppISteamFriends_SteamFriends012_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends012_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends012_GetFriendCoplayTime_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayTime( (CSteamID)params->steamIDFriend ); } -AppId_t cppISteamFriends_SteamFriends012_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends012_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends012_GetFriendCoplayGame_params *params ) { - AppId_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayGame( (CSteamID)params->steamIDFriend ); } -SteamAPICall_t cppISteamFriends_SteamFriends012_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends012_JoinClanChatRoom( struct cppISteamFriends_SteamFriends012_JoinClanChatRoom_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->JoinClanChatRoom( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends012_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends012_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends012_LeaveClanChatRoom_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->LeaveClanChatRoom( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends012_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends012_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends012_GetClanChatMemberCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMemberCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends012_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +void cppISteamFriends_SteamFriends012_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends012_GetChatMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetChatMemberByIndex( (CSteamID)params->steamIDClan, (int)params->iUser ); } -bool cppISteamFriends_SteamFriends012_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char *pchText) +void cppISteamFriends_SteamFriends012_SendClanChatMessage( struct cppISteamFriends_SteamFriends012_SendClanChatMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SendClanChatMessage( (CSteamID)params->steamIDClanChat, (const char *)params->pchText ); } -int cppISteamFriends_SteamFriends012_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *_e, CSteamID *_f) +void cppISteamFriends_SteamFriends012_GetClanChatMessage( struct cppISteamFriends_SteamFriends012_GetClanChatMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)_e, (CSteamID *)_f); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMessage( (CSteamID)params->steamIDClanChat, (int)params->iMessage, (void *)params->prgchText, (int)params->cchTextMax, (EChatEntryType *)params->_e, (CSteamID *)params->_f ); } -bool cppISteamFriends_SteamFriends012_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +void cppISteamFriends_SteamFriends012_IsClanChatAdmin( struct cppISteamFriends_SteamFriends012_IsClanChatAdmin_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatAdmin( (CSteamID)params->steamIDClanChat, (CSteamID)params->steamIDUser ); } -bool cppISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatWindowOpenInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends012_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends012_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends012_OpenClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->OpenClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends012_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends012_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends012_CloseClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->CloseClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends012_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +void cppISteamFriends_SteamFriends012_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends012_SetListenForFriendsMessages_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetListenForFriendsMessages( (bool)params->bInterceptEnabled ); } -bool cppISteamFriends_SteamFriends012_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char *pchMsgToSend) +void cppISteamFriends_SteamFriends012_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends012_ReplyToFriendMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->ReplyToFriendMessage( (CSteamID)params->steamIDFriend, (const char *)params->pchMsgToSend ); } -int cppISteamFriends_SteamFriends012_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamFriends_SteamFriends012_GetFriendMessage( struct cppISteamFriends_SteamFriends012_GetFriendMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendMessage( (CSteamID)params->steamIDFriend, (int)params->iMessageID, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -SteamAPICall_t cppISteamFriends_SteamFriends012_GetFollowerCount(void *linux_side, CSteamID steamID) +void cppISteamFriends_SteamFriends012_GetFollowerCount( struct cppISteamFriends_SteamFriends012_GetFollowerCount_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFollowerCount((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFollowerCount( (CSteamID)params->steamID ); } -SteamAPICall_t cppISteamFriends_SteamFriends012_IsFollowing(void *linux_side, CSteamID steamID) +void cppISteamFriends_SteamFriends012_IsFollowing( struct cppISteamFriends_SteamFriends012_IsFollowing_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->IsFollowing((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsFollowing( (CSteamID)params->steamID ); } -SteamAPICall_t cppISteamFriends_SteamFriends012_EnumerateFollowingList(void *linux_side, uint32 unStartIndex) +void cppISteamFriends_SteamFriends012_EnumerateFollowingList( struct cppISteamFriends_SteamFriends012_EnumerateFollowingList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->EnumerateFollowingList((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->EnumerateFollowingList( (uint32)params->unStartIndex ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends012.h b/lsteamclient/cppISteamFriends_SteamFriends012.h index 579955f2..fb9ad549 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends012.h +++ b/lsteamclient/cppISteamFriends_SteamFriends012.h @@ -1,63 +1,520 @@ -extern const char * cppISteamFriends_SteamFriends012_GetPersonaName(void *); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends012_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends012_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends012_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends012_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends012_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends012_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends012_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends012_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends012_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends012_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends012_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends012_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends012_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends012_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends012_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends012_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends012_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends012_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends012_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends012_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends012_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends012_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends012_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends012_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends012_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends012_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends012_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends012_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends012_RequestFriendRichPresence(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends012_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends012_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends012_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends012_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends012_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends012_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends012_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends012_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends012_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends012_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends012_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_GetFollowerCount(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_IsFollowing(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_EnumerateFollowingList(void *, uint32); +struct cppISteamFriends_SteamFriends012_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends012_GetPersonaName( struct cppISteamFriends_SteamFriends012_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends012_SetPersonaName_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends012_SetPersonaName( struct cppISteamFriends_SteamFriends012_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends012_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends012_GetPersonaState( struct cppISteamFriends_SteamFriends012_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendCount( struct cppISteamFriends_SteamFriends012_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendByIndex( struct cppISteamFriends_SteamFriends012_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendRelationship( struct cppISteamFriends_SteamFriends012_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendPersonaState( struct cppISteamFriends_SteamFriends012_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendPersonaName( struct cppISteamFriends_SteamFriends012_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends012_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends012_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends012_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends012_HasFriend( struct cppISteamFriends_SteamFriends012_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends012_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends012_GetClanCount( struct cppISteamFriends_SteamFriends012_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends012_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends012_GetClanByIndex( struct cppISteamFriends_SteamFriends012_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends012_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends012_GetClanName( struct cppISteamFriends_SteamFriends012_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends012_GetClanTag_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends012_GetClanTag( struct cppISteamFriends_SteamFriends012_GetClanTag_params *params ); + +struct cppISteamFriends_SteamFriends012_GetClanActivityCounts_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; + int *pnOnline; + int *pnInGame; + int *pnChatting; +}; +extern void cppISteamFriends_SteamFriends012_GetClanActivityCounts( struct cppISteamFriends_SteamFriends012_GetClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends012_DownloadClanActivityCounts_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID *psteamIDClans; + int cClansToRequest; +}; +extern void cppISteamFriends_SteamFriends012_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends012_DownloadClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends012_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends012_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends012_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends012_IsUserInSource( struct cppISteamFriends_SteamFriends012_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends012_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends012_ActivateGameOverlay( struct cppISteamFriends_SteamFriends012_ActivateGameOverlay_params *params ); + +struct cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser_params +{ + void *linux_side; + const char *pchDialog; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser_params *params ); + +struct cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage_params +{ + void *linux_side; + const char *pchURL; +}; +extern void cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage_params *params ); + +struct cppISteamFriends_SteamFriends012_ActivateGameOverlayToStore_params +{ + void *linux_side; + AppId_t nAppID; +}; +extern void cppISteamFriends_SteamFriends012_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends012_ActivateGameOverlayToStore_params *params ); + +struct cppISteamFriends_SteamFriends012_SetPlayedWith_params +{ + void *linux_side; + CSteamID steamIDUserPlayedWith; +}; +extern void cppISteamFriends_SteamFriends012_SetPlayedWith( struct cppISteamFriends_SteamFriends012_SetPlayedWith_params *params ); + +struct cppISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog_params *params ); + +struct cppISteamFriends_SteamFriends012_GetSmallFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends012_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends012_GetSmallFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends012_GetMediumFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends012_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends012_GetMediumFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends012_GetLargeFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends012_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends012_GetLargeFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends012_RequestUserInformation_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + bool bRequireNameOnly; +}; +extern void cppISteamFriends_SteamFriends012_RequestUserInformation( struct cppISteamFriends_SteamFriends012_RequestUserInformation_params *params ); + +struct cppISteamFriends_SteamFriends012_RequestClanOfficerList_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends012_RequestClanOfficerList( struct cppISteamFriends_SteamFriends012_RequestClanOfficerList_params *params ); + +struct cppISteamFriends_SteamFriends012_GetClanOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends012_GetClanOwner( struct cppISteamFriends_SteamFriends012_GetClanOwner_params *params ); + +struct cppISteamFriends_SteamFriends012_GetClanOfficerCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends012_GetClanOfficerCount( struct cppISteamFriends_SteamFriends012_GetClanOfficerCount_params *params ); + +struct cppISteamFriends_SteamFriends012_GetClanOfficerByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iOfficer; +}; +extern void cppISteamFriends_SteamFriends012_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends012_GetClanOfficerByIndex_params *params ); + +struct cppISteamFriends_SteamFriends012_GetUserRestrictions_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamFriends_SteamFriends012_GetUserRestrictions( struct cppISteamFriends_SteamFriends012_GetUserRestrictions_params *params ); + +struct cppISteamFriends_SteamFriends012_SetRichPresence_params +{ + void *linux_side; + bool _ret; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamFriends_SteamFriends012_SetRichPresence( struct cppISteamFriends_SteamFriends012_SetRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends012_ClearRichPresence_params +{ + void *linux_side; +}; +extern void cppISteamFriends_SteamFriends012_ClearRichPresence( struct cppISteamFriends_SteamFriends012_ClearRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendRichPresence_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendRichPresence( struct cppISteamFriends_SteamFriends012_GetFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iKey; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex_params *params ); + +struct cppISteamFriends_SteamFriends012_RequestFriendRichPresence_params +{ + void *linux_side; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends012_RequestFriendRichPresence( struct cppISteamFriends_SteamFriends012_RequestFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends012_InviteUserToGame_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; +extern void cppISteamFriends_SteamFriends012_InviteUserToGame( struct cppISteamFriends_SteamFriends012_InviteUserToGame_params *params ); + +struct cppISteamFriends_SteamFriends012_GetCoplayFriendCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends012_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends012_GetCoplayFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends012_GetCoplayFriend_params +{ + void *linux_side; + CSteamID *_ret; + int iCoplayFriend; +}; +extern void cppISteamFriends_SteamFriends012_GetCoplayFriend( struct cppISteamFriends_SteamFriends012_GetCoplayFriend_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendCoplayTime_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends012_GetFriendCoplayTime_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendCoplayGame_params +{ + void *linux_side; + AppId_t _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends012_GetFriendCoplayGame_params *params ); + +struct cppISteamFriends_SteamFriends012_JoinClanChatRoom_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends012_JoinClanChatRoom( struct cppISteamFriends_SteamFriends012_JoinClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends012_LeaveClanChatRoom_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends012_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends012_LeaveClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends012_GetClanChatMemberCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends012_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends012_GetClanChatMemberCount_params *params ); + +struct cppISteamFriends_SteamFriends012_GetChatMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iUser; +}; +extern void cppISteamFriends_SteamFriends012_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends012_GetChatMemberByIndex_params *params ); + +struct cppISteamFriends_SteamFriends012_SendClanChatMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; +extern void cppISteamFriends_SteamFriends012_SendClanChatMessage( struct cppISteamFriends_SteamFriends012_SendClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends012_GetClanChatMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClanChat; + int iMessage; + void *prgchText; + int cchTextMax; + EChatEntryType *_e; + CSteamID *_f; +}; +extern void cppISteamFriends_SteamFriends012_GetClanChatMessage( struct cppISteamFriends_SteamFriends012_GetClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends012_IsClanChatAdmin_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; +extern void cppISteamFriends_SteamFriends012_IsClanChatAdmin( struct cppISteamFriends_SteamFriends012_IsClanChatAdmin_params *params ); + +struct cppISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam_params *params ); + +struct cppISteamFriends_SteamFriends012_OpenClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends012_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends012_OpenClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends012_CloseClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends012_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends012_CloseClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends012_SetListenForFriendsMessages_params +{ + void *linux_side; + bool _ret; + bool bInterceptEnabled; +}; +extern void cppISteamFriends_SteamFriends012_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends012_SetListenForFriendsMessages_params *params ); + +struct cppISteamFriends_SteamFriends012_ReplyToFriendMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; +extern void cppISteamFriends_SteamFriends012_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends012_ReplyToFriendMessage_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFriendMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; + int iMessageID; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamFriends_SteamFriends012_GetFriendMessage( struct cppISteamFriends_SteamFriends012_GetFriendMessage_params *params ); + +struct cppISteamFriends_SteamFriends012_GetFollowerCount_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends012_GetFollowerCount( struct cppISteamFriends_SteamFriends012_GetFollowerCount_params *params ); + +struct cppISteamFriends_SteamFriends012_IsFollowing_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends012_IsFollowing( struct cppISteamFriends_SteamFriends012_IsFollowing_params *params ); + +struct cppISteamFriends_SteamFriends012_EnumerateFollowingList_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamFriends_SteamFriends012_EnumerateFollowingList( struct cppISteamFriends_SteamFriends012_EnumerateFollowingList_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends013.cpp b/lsteamclient/cppISteamFriends_SteamFriends013.cpp index 4367ea03..47e88e8e 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends013.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends013.cpp @@ -11,427 +11,319 @@ extern "C" { #define SDKVER_125 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends013.h" -const char * cppISteamFriends_SteamFriends013_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends013_GetPersonaName( struct cppISteamFriends_SteamFriends013_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -SteamAPICall_t cppISteamFriends_SteamFriends013_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends013_SetPersonaName( struct cppISteamFriends_SteamFriends013_SetPersonaName_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends013_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends013_GetPersonaState( struct cppISteamFriends_SteamFriends013_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends013_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends013_GetFriendCount( struct cppISteamFriends_SteamFriends013_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends013_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends013_GetFriendByIndex( struct cppISteamFriends_SteamFriends013_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends013_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends013_GetFriendRelationship( struct cppISteamFriends_SteamFriends013_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends013_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends013_GetFriendPersonaState( struct cppISteamFriends_SteamFriends013_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends013_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends013_GetFriendPersonaName( struct cppISteamFriends_SteamFriends013_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends013_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +void cppISteamFriends_SteamFriends013_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends013_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (FriendGameInfo_t *)params->pFriendGameInfo ); } -const char * cppISteamFriends_SteamFriends013_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends013_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends013_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -bool cppISteamFriends_SteamFriends013_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends013_HasFriend( struct cppISteamFriends_SteamFriends013_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends013_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends013_GetClanCount( struct cppISteamFriends_SteamFriends013_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends013_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends013_GetClanByIndex( struct cppISteamFriends_SteamFriends013_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends013_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends013_GetClanName( struct cppISteamFriends_SteamFriends013_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -const char * cppISteamFriends_SteamFriends013_GetClanTag(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends013_GetClanTag( struct cppISteamFriends_SteamFriends013_GetClanTag_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanTag( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends013_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) +void cppISteamFriends_SteamFriends013_GetClanActivityCounts( struct cppISteamFriends_SteamFriends013_GetClanActivityCounts_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanActivityCounts( (CSteamID)params->steamIDClan, (int *)params->pnOnline, (int *)params->pnInGame, (int *)params->pnChatting ); } -SteamAPICall_t cppISteamFriends_SteamFriends013_DownloadClanActivityCounts(void *linux_side, CSteamID *psteamIDClans, int cClansToRequest) +void cppISteamFriends_SteamFriends013_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends013_DownloadClanActivityCounts_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->DownloadClanActivityCounts( (CSteamID *)params->psteamIDClans, (int)params->cClansToRequest ); } -int cppISteamFriends_SteamFriends013_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends013_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends013_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends013_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends013_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends013_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends013_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends013_IsUserInSource( struct cppISteamFriends_SteamFriends013_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends013_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends013_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends013_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends013_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends013_ActivateGameOverlay( struct cppISteamFriends_SteamFriends013_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } -void cppISteamFriends_SteamFriends013_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID) +void cppISteamFriends_SteamFriends013_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends013_ActivateGameOverlayToUser_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToUser( (const char *)params->pchDialog, (CSteamID)params->steamID ); } -void cppISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL) +void cppISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToWebPage( (const char *)params->pchURL ); } -void cppISteamFriends_SteamFriends013_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID, EOverlayToStoreFlag eFlag) +void cppISteamFriends_SteamFriends013_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends013_ActivateGameOverlayToStore_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID, (EOverlayToStoreFlag)eFlag); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToStore( (AppId_t)params->nAppID, (EOverlayToStoreFlag)params->eFlag ); } -void cppISteamFriends_SteamFriends013_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +void cppISteamFriends_SteamFriends013_SetPlayedWith( struct cppISteamFriends_SteamFriends013_SetPlayedWith_params *params ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + ((ISteamFriends*)params->linux_side)->SetPlayedWith( (CSteamID)params->steamIDUserPlayedWith ); } -void cppISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +void cppISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayInviteDialog( (CSteamID)params->steamIDLobby ); } -int cppISteamFriends_SteamFriends013_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends013_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends013_GetSmallFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetSmallFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends013_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends013_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends013_GetMediumFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetMediumFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends013_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends013_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends013_GetLargeFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetLargeFriendAvatar( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends013_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +void cppISteamFriends_SteamFriends013_RequestUserInformation( struct cppISteamFriends_SteamFriends013_RequestUserInformation_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestUserInformation( (CSteamID)params->steamIDUser, (bool)params->bRequireNameOnly ); } -SteamAPICall_t cppISteamFriends_SteamFriends013_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends013_RequestClanOfficerList( struct cppISteamFriends_SteamFriends013_RequestClanOfficerList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestClanOfficerList( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends013_GetClanOwner(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends013_GetClanOwner( struct cppISteamFriends_SteamFriends013_GetClanOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOwner( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends013_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends013_GetClanOfficerCount( struct cppISteamFriends_SteamFriends013_GetClanOfficerCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends013_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +void cppISteamFriends_SteamFriends013_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends013_GetClanOfficerByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerByIndex( (CSteamID)params->steamIDClan, (int)params->iOfficer ); } -uint32 cppISteamFriends_SteamFriends013_GetUserRestrictions(void *linux_side) +void cppISteamFriends_SteamFriends013_GetUserRestrictions( struct cppISteamFriends_SteamFriends013_GetUserRestrictions_params *params ) { - uint32 _ret; - _ret = ((ISteamFriends*)linux_side)->GetUserRestrictions(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetUserRestrictions( ); } -bool cppISteamFriends_SteamFriends013_SetRichPresence(void *linux_side, const char *pchKey, const char *pchValue) +void cppISteamFriends_SteamFriends013_SetRichPresence( struct cppISteamFriends_SteamFriends013_SetRichPresence_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetRichPresence( (const char *)params->pchKey, (const char *)params->pchValue ); } -void cppISteamFriends_SteamFriends013_ClearRichPresence(void *linux_side) +void cppISteamFriends_SteamFriends013_ClearRichPresence( struct cppISteamFriends_SteamFriends013_ClearRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + ((ISteamFriends*)params->linux_side)->ClearRichPresence( ); } -const char * cppISteamFriends_SteamFriends013_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char *pchKey) +void cppISteamFriends_SteamFriends013_GetFriendRichPresence( struct cppISteamFriends_SteamFriends013_GetFriendRichPresence_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresence( (CSteamID)params->steamIDFriend, (const char *)params->pchKey ); } -int cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyCount( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +void cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyByIndex( (CSteamID)params->steamIDFriend, (int)params->iKey ); } -void cppISteamFriends_SteamFriends013_RequestFriendRichPresence(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends013_RequestFriendRichPresence( struct cppISteamFriends_SteamFriends013_RequestFriendRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend); + ((ISteamFriends*)params->linux_side)->RequestFriendRichPresence( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends013_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char *pchConnectString) +void cppISteamFriends_SteamFriends013_InviteUserToGame( struct cppISteamFriends_SteamFriends013_InviteUserToGame_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->InviteUserToGame( (CSteamID)params->steamIDFriend, (const char *)params->pchConnectString ); } -int cppISteamFriends_SteamFriends013_GetCoplayFriendCount(void *linux_side) +void cppISteamFriends_SteamFriends013_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends013_GetCoplayFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriendCount( ); } -CSteamID cppISteamFriends_SteamFriends013_GetCoplayFriend(void *linux_side, int iCoplayFriend) +void cppISteamFriends_SteamFriends013_GetCoplayFriend( struct cppISteamFriends_SteamFriends013_GetCoplayFriend_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriend( (int)params->iCoplayFriend ); } -int cppISteamFriends_SteamFriends013_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends013_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends013_GetFriendCoplayTime_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayTime( (CSteamID)params->steamIDFriend ); } -AppId_t cppISteamFriends_SteamFriends013_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends013_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends013_GetFriendCoplayGame_params *params ) { - AppId_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayGame( (CSteamID)params->steamIDFriend ); } -SteamAPICall_t cppISteamFriends_SteamFriends013_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends013_JoinClanChatRoom( struct cppISteamFriends_SteamFriends013_JoinClanChatRoom_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->JoinClanChatRoom( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends013_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends013_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends013_LeaveClanChatRoom_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->LeaveClanChatRoom( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends013_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends013_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends013_GetClanChatMemberCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMemberCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends013_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +void cppISteamFriends_SteamFriends013_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends013_GetChatMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetChatMemberByIndex( (CSteamID)params->steamIDClan, (int)params->iUser ); } -bool cppISteamFriends_SteamFriends013_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char *pchText) +void cppISteamFriends_SteamFriends013_SendClanChatMessage( struct cppISteamFriends_SteamFriends013_SendClanChatMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SendClanChatMessage( (CSteamID)params->steamIDClanChat, (const char *)params->pchText ); } -int cppISteamFriends_SteamFriends013_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *_e, CSteamID *_f) +void cppISteamFriends_SteamFriends013_GetClanChatMessage( struct cppISteamFriends_SteamFriends013_GetClanChatMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)_e, (CSteamID *)_f); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMessage( (CSteamID)params->steamIDClanChat, (int)params->iMessage, (void *)params->prgchText, (int)params->cchTextMax, (EChatEntryType *)params->_e, (CSteamID *)params->_f ); } -bool cppISteamFriends_SteamFriends013_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +void cppISteamFriends_SteamFriends013_IsClanChatAdmin( struct cppISteamFriends_SteamFriends013_IsClanChatAdmin_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatAdmin( (CSteamID)params->steamIDClanChat, (CSteamID)params->steamIDUser ); } -bool cppISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatWindowOpenInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends013_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends013_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends013_OpenClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->OpenClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends013_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends013_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends013_CloseClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->CloseClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends013_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +void cppISteamFriends_SteamFriends013_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends013_SetListenForFriendsMessages_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetListenForFriendsMessages( (bool)params->bInterceptEnabled ); } -bool cppISteamFriends_SteamFriends013_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char *pchMsgToSend) +void cppISteamFriends_SteamFriends013_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends013_ReplyToFriendMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->ReplyToFriendMessage( (CSteamID)params->steamIDFriend, (const char *)params->pchMsgToSend ); } -int cppISteamFriends_SteamFriends013_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamFriends_SteamFriends013_GetFriendMessage( struct cppISteamFriends_SteamFriends013_GetFriendMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendMessage( (CSteamID)params->steamIDFriend, (int)params->iMessageID, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -SteamAPICall_t cppISteamFriends_SteamFriends013_GetFollowerCount(void *linux_side, CSteamID steamID) +void cppISteamFriends_SteamFriends013_GetFollowerCount( struct cppISteamFriends_SteamFriends013_GetFollowerCount_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFollowerCount((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFollowerCount( (CSteamID)params->steamID ); } -SteamAPICall_t cppISteamFriends_SteamFriends013_IsFollowing(void *linux_side, CSteamID steamID) +void cppISteamFriends_SteamFriends013_IsFollowing( struct cppISteamFriends_SteamFriends013_IsFollowing_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->IsFollowing((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsFollowing( (CSteamID)params->steamID ); } -SteamAPICall_t cppISteamFriends_SteamFriends013_EnumerateFollowingList(void *linux_side, uint32 unStartIndex) +void cppISteamFriends_SteamFriends013_EnumerateFollowingList( struct cppISteamFriends_SteamFriends013_EnumerateFollowingList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->EnumerateFollowingList((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->EnumerateFollowingList( (uint32)params->unStartIndex ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends013.h b/lsteamclient/cppISteamFriends_SteamFriends013.h index 8d060cc8..b8073ebb 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends013.h +++ b/lsteamclient/cppISteamFriends_SteamFriends013.h @@ -1,63 +1,521 @@ -extern const char * cppISteamFriends_SteamFriends013_GetPersonaName(void *); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends013_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends013_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends013_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends013_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends013_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends013_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends013_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends013_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends013_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends013_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends013_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends013_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends013_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends013_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends013_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends013_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends013_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends013_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends013_ActivateGameOverlayToStore(void *, AppId_t, EOverlayToStoreFlag); -extern void cppISteamFriends_SteamFriends013_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends013_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends013_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends013_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends013_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends013_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends013_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends013_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends013_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends013_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends013_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends013_RequestFriendRichPresence(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends013_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends013_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends013_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends013_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends013_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends013_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends013_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends013_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends013_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends013_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends013_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_GetFollowerCount(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_IsFollowing(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_EnumerateFollowingList(void *, uint32); +struct cppISteamFriends_SteamFriends013_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends013_GetPersonaName( struct cppISteamFriends_SteamFriends013_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends013_SetPersonaName_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends013_SetPersonaName( struct cppISteamFriends_SteamFriends013_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends013_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends013_GetPersonaState( struct cppISteamFriends_SteamFriends013_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendCount( struct cppISteamFriends_SteamFriends013_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendByIndex( struct cppISteamFriends_SteamFriends013_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendRelationship( struct cppISteamFriends_SteamFriends013_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendPersonaState( struct cppISteamFriends_SteamFriends013_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendPersonaName( struct cppISteamFriends_SteamFriends013_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends013_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends013_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends013_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends013_HasFriend( struct cppISteamFriends_SteamFriends013_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends013_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends013_GetClanCount( struct cppISteamFriends_SteamFriends013_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends013_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends013_GetClanByIndex( struct cppISteamFriends_SteamFriends013_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends013_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends013_GetClanName( struct cppISteamFriends_SteamFriends013_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends013_GetClanTag_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends013_GetClanTag( struct cppISteamFriends_SteamFriends013_GetClanTag_params *params ); + +struct cppISteamFriends_SteamFriends013_GetClanActivityCounts_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; + int *pnOnline; + int *pnInGame; + int *pnChatting; +}; +extern void cppISteamFriends_SteamFriends013_GetClanActivityCounts( struct cppISteamFriends_SteamFriends013_GetClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends013_DownloadClanActivityCounts_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID *psteamIDClans; + int cClansToRequest; +}; +extern void cppISteamFriends_SteamFriends013_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends013_DownloadClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends013_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends013_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends013_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends013_IsUserInSource( struct cppISteamFriends_SteamFriends013_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends013_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends013_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends013_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends013_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends013_ActivateGameOverlay( struct cppISteamFriends_SteamFriends013_ActivateGameOverlay_params *params ); + +struct cppISteamFriends_SteamFriends013_ActivateGameOverlayToUser_params +{ + void *linux_side; + const char *pchDialog; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends013_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends013_ActivateGameOverlayToUser_params *params ); + +struct cppISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage_params +{ + void *linux_side; + const char *pchURL; +}; +extern void cppISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage_params *params ); + +struct cppISteamFriends_SteamFriends013_ActivateGameOverlayToStore_params +{ + void *linux_side; + AppId_t nAppID; + EOverlayToStoreFlag eFlag; +}; +extern void cppISteamFriends_SteamFriends013_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends013_ActivateGameOverlayToStore_params *params ); + +struct cppISteamFriends_SteamFriends013_SetPlayedWith_params +{ + void *linux_side; + CSteamID steamIDUserPlayedWith; +}; +extern void cppISteamFriends_SteamFriends013_SetPlayedWith( struct cppISteamFriends_SteamFriends013_SetPlayedWith_params *params ); + +struct cppISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog_params *params ); + +struct cppISteamFriends_SteamFriends013_GetSmallFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends013_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends013_GetSmallFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends013_GetMediumFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends013_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends013_GetMediumFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends013_GetLargeFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends013_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends013_GetLargeFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends013_RequestUserInformation_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + bool bRequireNameOnly; +}; +extern void cppISteamFriends_SteamFriends013_RequestUserInformation( struct cppISteamFriends_SteamFriends013_RequestUserInformation_params *params ); + +struct cppISteamFriends_SteamFriends013_RequestClanOfficerList_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends013_RequestClanOfficerList( struct cppISteamFriends_SteamFriends013_RequestClanOfficerList_params *params ); + +struct cppISteamFriends_SteamFriends013_GetClanOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends013_GetClanOwner( struct cppISteamFriends_SteamFriends013_GetClanOwner_params *params ); + +struct cppISteamFriends_SteamFriends013_GetClanOfficerCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends013_GetClanOfficerCount( struct cppISteamFriends_SteamFriends013_GetClanOfficerCount_params *params ); + +struct cppISteamFriends_SteamFriends013_GetClanOfficerByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iOfficer; +}; +extern void cppISteamFriends_SteamFriends013_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends013_GetClanOfficerByIndex_params *params ); + +struct cppISteamFriends_SteamFriends013_GetUserRestrictions_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamFriends_SteamFriends013_GetUserRestrictions( struct cppISteamFriends_SteamFriends013_GetUserRestrictions_params *params ); + +struct cppISteamFriends_SteamFriends013_SetRichPresence_params +{ + void *linux_side; + bool _ret; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamFriends_SteamFriends013_SetRichPresence( struct cppISteamFriends_SteamFriends013_SetRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends013_ClearRichPresence_params +{ + void *linux_side; +}; +extern void cppISteamFriends_SteamFriends013_ClearRichPresence( struct cppISteamFriends_SteamFriends013_ClearRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendRichPresence_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendRichPresence( struct cppISteamFriends_SteamFriends013_GetFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iKey; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex_params *params ); + +struct cppISteamFriends_SteamFriends013_RequestFriendRichPresence_params +{ + void *linux_side; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends013_RequestFriendRichPresence( struct cppISteamFriends_SteamFriends013_RequestFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends013_InviteUserToGame_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; +extern void cppISteamFriends_SteamFriends013_InviteUserToGame( struct cppISteamFriends_SteamFriends013_InviteUserToGame_params *params ); + +struct cppISteamFriends_SteamFriends013_GetCoplayFriendCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends013_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends013_GetCoplayFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends013_GetCoplayFriend_params +{ + void *linux_side; + CSteamID *_ret; + int iCoplayFriend; +}; +extern void cppISteamFriends_SteamFriends013_GetCoplayFriend( struct cppISteamFriends_SteamFriends013_GetCoplayFriend_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendCoplayTime_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends013_GetFriendCoplayTime_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendCoplayGame_params +{ + void *linux_side; + AppId_t _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends013_GetFriendCoplayGame_params *params ); + +struct cppISteamFriends_SteamFriends013_JoinClanChatRoom_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends013_JoinClanChatRoom( struct cppISteamFriends_SteamFriends013_JoinClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends013_LeaveClanChatRoom_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends013_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends013_LeaveClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends013_GetClanChatMemberCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends013_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends013_GetClanChatMemberCount_params *params ); + +struct cppISteamFriends_SteamFriends013_GetChatMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iUser; +}; +extern void cppISteamFriends_SteamFriends013_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends013_GetChatMemberByIndex_params *params ); + +struct cppISteamFriends_SteamFriends013_SendClanChatMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; +extern void cppISteamFriends_SteamFriends013_SendClanChatMessage( struct cppISteamFriends_SteamFriends013_SendClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends013_GetClanChatMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClanChat; + int iMessage; + void *prgchText; + int cchTextMax; + EChatEntryType *_e; + CSteamID *_f; +}; +extern void cppISteamFriends_SteamFriends013_GetClanChatMessage( struct cppISteamFriends_SteamFriends013_GetClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends013_IsClanChatAdmin_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; +extern void cppISteamFriends_SteamFriends013_IsClanChatAdmin( struct cppISteamFriends_SteamFriends013_IsClanChatAdmin_params *params ); + +struct cppISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam_params *params ); + +struct cppISteamFriends_SteamFriends013_OpenClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends013_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends013_OpenClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends013_CloseClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends013_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends013_CloseClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends013_SetListenForFriendsMessages_params +{ + void *linux_side; + bool _ret; + bool bInterceptEnabled; +}; +extern void cppISteamFriends_SteamFriends013_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends013_SetListenForFriendsMessages_params *params ); + +struct cppISteamFriends_SteamFriends013_ReplyToFriendMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; +extern void cppISteamFriends_SteamFriends013_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends013_ReplyToFriendMessage_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFriendMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; + int iMessageID; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamFriends_SteamFriends013_GetFriendMessage( struct cppISteamFriends_SteamFriends013_GetFriendMessage_params *params ); + +struct cppISteamFriends_SteamFriends013_GetFollowerCount_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends013_GetFollowerCount( struct cppISteamFriends_SteamFriends013_GetFollowerCount_params *params ); + +struct cppISteamFriends_SteamFriends013_IsFollowing_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends013_IsFollowing( struct cppISteamFriends_SteamFriends013_IsFollowing_params *params ); + +struct cppISteamFriends_SteamFriends013_EnumerateFollowingList_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamFriends_SteamFriends013_EnumerateFollowingList( struct cppISteamFriends_SteamFriends013_EnumerateFollowingList_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends014.cpp b/lsteamclient/cppISteamFriends_SteamFriends014.cpp index b1df8a8b..49d59cb8 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends014.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends014.cpp @@ -11,434 +11,324 @@ extern "C" { #define SDKVER_131 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends014.h" -const char * cppISteamFriends_SteamFriends014_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends014_GetPersonaName( struct cppISteamFriends_SteamFriends014_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -SteamAPICall_t cppISteamFriends_SteamFriends014_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends014_SetPersonaName( struct cppISteamFriends_SteamFriends014_SetPersonaName_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends014_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends014_GetPersonaState( struct cppISteamFriends_SteamFriends014_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends014_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends014_GetFriendCount( struct cppISteamFriends_SteamFriends014_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends014_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends014_GetFriendByIndex( struct cppISteamFriends_SteamFriends014_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends014_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends014_GetFriendRelationship( struct cppISteamFriends_SteamFriends014_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends014_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends014_GetFriendPersonaState( struct cppISteamFriends_SteamFriends014_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends014_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends014_GetFriendPersonaName( struct cppISteamFriends_SteamFriends014_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends014_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +void cppISteamFriends_SteamFriends014_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends014_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (FriendGameInfo_t *)params->pFriendGameInfo ); } -const char * cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -const char * cppISteamFriends_SteamFriends014_GetPlayerNickname(void *linux_side, CSteamID steamIDPlayer) +void cppISteamFriends_SteamFriends014_GetPlayerNickname( struct cppISteamFriends_SteamFriends014_GetPlayerNickname_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPlayerNickname((CSteamID)steamIDPlayer); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPlayerNickname( (CSteamID)params->steamIDPlayer ); } -bool cppISteamFriends_SteamFriends014_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends014_HasFriend( struct cppISteamFriends_SteamFriends014_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends014_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends014_GetClanCount( struct cppISteamFriends_SteamFriends014_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends014_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends014_GetClanByIndex( struct cppISteamFriends_SteamFriends014_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends014_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends014_GetClanName( struct cppISteamFriends_SteamFriends014_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -const char * cppISteamFriends_SteamFriends014_GetClanTag(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends014_GetClanTag( struct cppISteamFriends_SteamFriends014_GetClanTag_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanTag( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends014_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) +void cppISteamFriends_SteamFriends014_GetClanActivityCounts( struct cppISteamFriends_SteamFriends014_GetClanActivityCounts_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanActivityCounts( (CSteamID)params->steamIDClan, (int *)params->pnOnline, (int *)params->pnInGame, (int *)params->pnChatting ); } -SteamAPICall_t cppISteamFriends_SteamFriends014_DownloadClanActivityCounts(void *linux_side, CSteamID *psteamIDClans, int cClansToRequest) +void cppISteamFriends_SteamFriends014_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends014_DownloadClanActivityCounts_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->DownloadClanActivityCounts( (CSteamID *)params->psteamIDClans, (int)params->cClansToRequest ); } -int cppISteamFriends_SteamFriends014_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends014_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends014_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends014_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends014_IsUserInSource( struct cppISteamFriends_SteamFriends014_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends014_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends014_ActivateGameOverlay( struct cppISteamFriends_SteamFriends014_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } -void cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID) +void cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToUser( (const char *)params->pchDialog, (CSteamID)params->steamID ); } -void cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL) +void cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToWebPage( (const char *)params->pchURL ); } -void cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID, EOverlayToStoreFlag eFlag) +void cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID, (EOverlayToStoreFlag)eFlag); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToStore( (AppId_t)params->nAppID, (EOverlayToStoreFlag)params->eFlag ); } -void cppISteamFriends_SteamFriends014_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +void cppISteamFriends_SteamFriends014_SetPlayedWith( struct cppISteamFriends_SteamFriends014_SetPlayedWith_params *params ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + ((ISteamFriends*)params->linux_side)->SetPlayedWith( (CSteamID)params->steamIDUserPlayedWith ); } -void cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +void cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayInviteDialog( (CSteamID)params->steamIDLobby ); } -int cppISteamFriends_SteamFriends014_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends014_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends014_GetSmallFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetSmallFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends014_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends014_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends014_GetMediumFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetMediumFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends014_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends014_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends014_GetLargeFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetLargeFriendAvatar( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends014_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +void cppISteamFriends_SteamFriends014_RequestUserInformation( struct cppISteamFriends_SteamFriends014_RequestUserInformation_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestUserInformation( (CSteamID)params->steamIDUser, (bool)params->bRequireNameOnly ); } -SteamAPICall_t cppISteamFriends_SteamFriends014_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends014_RequestClanOfficerList( struct cppISteamFriends_SteamFriends014_RequestClanOfficerList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestClanOfficerList( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends014_GetClanOwner(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends014_GetClanOwner( struct cppISteamFriends_SteamFriends014_GetClanOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOwner( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends014_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends014_GetClanOfficerCount( struct cppISteamFriends_SteamFriends014_GetClanOfficerCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends014_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +void cppISteamFriends_SteamFriends014_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends014_GetClanOfficerByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerByIndex( (CSteamID)params->steamIDClan, (int)params->iOfficer ); } -uint32 cppISteamFriends_SteamFriends014_GetUserRestrictions(void *linux_side) +void cppISteamFriends_SteamFriends014_GetUserRestrictions( struct cppISteamFriends_SteamFriends014_GetUserRestrictions_params *params ) { - uint32 _ret; - _ret = ((ISteamFriends*)linux_side)->GetUserRestrictions(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetUserRestrictions( ); } -bool cppISteamFriends_SteamFriends014_SetRichPresence(void *linux_side, const char *pchKey, const char *pchValue) +void cppISteamFriends_SteamFriends014_SetRichPresence( struct cppISteamFriends_SteamFriends014_SetRichPresence_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetRichPresence( (const char *)params->pchKey, (const char *)params->pchValue ); } -void cppISteamFriends_SteamFriends014_ClearRichPresence(void *linux_side) +void cppISteamFriends_SteamFriends014_ClearRichPresence( struct cppISteamFriends_SteamFriends014_ClearRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + ((ISteamFriends*)params->linux_side)->ClearRichPresence( ); } -const char * cppISteamFriends_SteamFriends014_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char *pchKey) +void cppISteamFriends_SteamFriends014_GetFriendRichPresence( struct cppISteamFriends_SteamFriends014_GetFriendRichPresence_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresence( (CSteamID)params->steamIDFriend, (const char *)params->pchKey ); } -int cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyCount( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +void cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyByIndex( (CSteamID)params->steamIDFriend, (int)params->iKey ); } -void cppISteamFriends_SteamFriends014_RequestFriendRichPresence(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends014_RequestFriendRichPresence( struct cppISteamFriends_SteamFriends014_RequestFriendRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend); + ((ISteamFriends*)params->linux_side)->RequestFriendRichPresence( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends014_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char *pchConnectString) +void cppISteamFriends_SteamFriends014_InviteUserToGame( struct cppISteamFriends_SteamFriends014_InviteUserToGame_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->InviteUserToGame( (CSteamID)params->steamIDFriend, (const char *)params->pchConnectString ); } -int cppISteamFriends_SteamFriends014_GetCoplayFriendCount(void *linux_side) +void cppISteamFriends_SteamFriends014_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends014_GetCoplayFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriendCount( ); } -CSteamID cppISteamFriends_SteamFriends014_GetCoplayFriend(void *linux_side, int iCoplayFriend) +void cppISteamFriends_SteamFriends014_GetCoplayFriend( struct cppISteamFriends_SteamFriends014_GetCoplayFriend_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriend( (int)params->iCoplayFriend ); } -int cppISteamFriends_SteamFriends014_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends014_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends014_GetFriendCoplayTime_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayTime( (CSteamID)params->steamIDFriend ); } -AppId_t cppISteamFriends_SteamFriends014_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends014_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends014_GetFriendCoplayGame_params *params ) { - AppId_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayGame( (CSteamID)params->steamIDFriend ); } -SteamAPICall_t cppISteamFriends_SteamFriends014_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends014_JoinClanChatRoom( struct cppISteamFriends_SteamFriends014_JoinClanChatRoom_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->JoinClanChatRoom( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends014_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends014_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends014_LeaveClanChatRoom_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->LeaveClanChatRoom( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends014_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends014_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends014_GetClanChatMemberCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMemberCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends014_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +void cppISteamFriends_SteamFriends014_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends014_GetChatMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetChatMemberByIndex( (CSteamID)params->steamIDClan, (int)params->iUser ); } -bool cppISteamFriends_SteamFriends014_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char *pchText) +void cppISteamFriends_SteamFriends014_SendClanChatMessage( struct cppISteamFriends_SteamFriends014_SendClanChatMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SendClanChatMessage( (CSteamID)params->steamIDClanChat, (const char *)params->pchText ); } -int cppISteamFriends_SteamFriends014_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *peChatEntryType, CSteamID *psteamidChatter) +void cppISteamFriends_SteamFriends014_GetClanChatMessage( struct cppISteamFriends_SteamFriends014_GetClanChatMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)peChatEntryType, (CSteamID *)psteamidChatter); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMessage( (CSteamID)params->steamIDClanChat, (int)params->iMessage, (void *)params->prgchText, (int)params->cchTextMax, (EChatEntryType *)params->peChatEntryType, (CSteamID *)params->psteamidChatter ); } -bool cppISteamFriends_SteamFriends014_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +void cppISteamFriends_SteamFriends014_IsClanChatAdmin( struct cppISteamFriends_SteamFriends014_IsClanChatAdmin_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatAdmin( (CSteamID)params->steamIDClanChat, (CSteamID)params->steamIDUser ); } -bool cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatWindowOpenInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->OpenClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->CloseClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends014_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +void cppISteamFriends_SteamFriends014_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends014_SetListenForFriendsMessages_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetListenForFriendsMessages( (bool)params->bInterceptEnabled ); } -bool cppISteamFriends_SteamFriends014_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char *pchMsgToSend) +void cppISteamFriends_SteamFriends014_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends014_ReplyToFriendMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->ReplyToFriendMessage( (CSteamID)params->steamIDFriend, (const char *)params->pchMsgToSend ); } -int cppISteamFriends_SteamFriends014_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamFriends_SteamFriends014_GetFriendMessage( struct cppISteamFriends_SteamFriends014_GetFriendMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendMessage( (CSteamID)params->steamIDFriend, (int)params->iMessageID, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -SteamAPICall_t cppISteamFriends_SteamFriends014_GetFollowerCount(void *linux_side, CSteamID steamID) +void cppISteamFriends_SteamFriends014_GetFollowerCount( struct cppISteamFriends_SteamFriends014_GetFollowerCount_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFollowerCount((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFollowerCount( (CSteamID)params->steamID ); } -SteamAPICall_t cppISteamFriends_SteamFriends014_IsFollowing(void *linux_side, CSteamID steamID) +void cppISteamFriends_SteamFriends014_IsFollowing( struct cppISteamFriends_SteamFriends014_IsFollowing_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->IsFollowing((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsFollowing( (CSteamID)params->steamID ); } -SteamAPICall_t cppISteamFriends_SteamFriends014_EnumerateFollowingList(void *linux_side, uint32 unStartIndex) +void cppISteamFriends_SteamFriends014_EnumerateFollowingList( struct cppISteamFriends_SteamFriends014_EnumerateFollowingList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->EnumerateFollowingList((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->EnumerateFollowingList( (uint32)params->unStartIndex ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends014.h b/lsteamclient/cppISteamFriends_SteamFriends014.h index 41c0b338..4765a834 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends014.h +++ b/lsteamclient/cppISteamFriends_SteamFriends014.h @@ -1,64 +1,529 @@ -extern const char * cppISteamFriends_SteamFriends014_GetPersonaName(void *); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends014_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends014_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends014_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends014_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends014_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends014_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern const char * cppISteamFriends_SteamFriends014_GetPlayerNickname(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends014_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends014_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends014_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends014_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends014_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends014_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends014_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore(void *, AppId_t, EOverlayToStoreFlag); -extern void cppISteamFriends_SteamFriends014_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends014_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends014_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends014_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends014_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends014_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends014_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends014_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends014_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends014_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends014_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends014_RequestFriendRichPresence(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends014_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends014_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends014_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends014_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends014_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends014_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends014_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends014_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends014_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends014_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends014_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_GetFollowerCount(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_IsFollowing(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_EnumerateFollowingList(void *, uint32); +struct cppISteamFriends_SteamFriends014_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends014_GetPersonaName( struct cppISteamFriends_SteamFriends014_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends014_SetPersonaName_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends014_SetPersonaName( struct cppISteamFriends_SteamFriends014_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends014_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends014_GetPersonaState( struct cppISteamFriends_SteamFriends014_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendCount( struct cppISteamFriends_SteamFriends014_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendByIndex( struct cppISteamFriends_SteamFriends014_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendRelationship( struct cppISteamFriends_SteamFriends014_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendPersonaState( struct cppISteamFriends_SteamFriends014_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendPersonaName( struct cppISteamFriends_SteamFriends014_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends014_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends014_GetPlayerNickname_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDPlayer; +}; +extern void cppISteamFriends_SteamFriends014_GetPlayerNickname( struct cppISteamFriends_SteamFriends014_GetPlayerNickname_params *params ); + +struct cppISteamFriends_SteamFriends014_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends014_HasFriend( struct cppISteamFriends_SteamFriends014_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends014_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends014_GetClanCount( struct cppISteamFriends_SteamFriends014_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends014_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends014_GetClanByIndex( struct cppISteamFriends_SteamFriends014_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends014_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends014_GetClanName( struct cppISteamFriends_SteamFriends014_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends014_GetClanTag_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends014_GetClanTag( struct cppISteamFriends_SteamFriends014_GetClanTag_params *params ); + +struct cppISteamFriends_SteamFriends014_GetClanActivityCounts_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; + int *pnOnline; + int *pnInGame; + int *pnChatting; +}; +extern void cppISteamFriends_SteamFriends014_GetClanActivityCounts( struct cppISteamFriends_SteamFriends014_GetClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends014_DownloadClanActivityCounts_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID *psteamIDClans; + int cClansToRequest; +}; +extern void cppISteamFriends_SteamFriends014_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends014_DownloadClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends014_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends014_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends014_IsUserInSource( struct cppISteamFriends_SteamFriends014_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends014_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends014_ActivateGameOverlay( struct cppISteamFriends_SteamFriends014_ActivateGameOverlay_params *params ); + +struct cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser_params +{ + void *linux_side; + const char *pchDialog; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser_params *params ); + +struct cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage_params +{ + void *linux_side; + const char *pchURL; +}; +extern void cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage_params *params ); + +struct cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore_params +{ + void *linux_side; + AppId_t nAppID; + EOverlayToStoreFlag eFlag; +}; +extern void cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore_params *params ); + +struct cppISteamFriends_SteamFriends014_SetPlayedWith_params +{ + void *linux_side; + CSteamID steamIDUserPlayedWith; +}; +extern void cppISteamFriends_SteamFriends014_SetPlayedWith( struct cppISteamFriends_SteamFriends014_SetPlayedWith_params *params ); + +struct cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog_params *params ); + +struct cppISteamFriends_SteamFriends014_GetSmallFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends014_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends014_GetSmallFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends014_GetMediumFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends014_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends014_GetMediumFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends014_GetLargeFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends014_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends014_GetLargeFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends014_RequestUserInformation_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + bool bRequireNameOnly; +}; +extern void cppISteamFriends_SteamFriends014_RequestUserInformation( struct cppISteamFriends_SteamFriends014_RequestUserInformation_params *params ); + +struct cppISteamFriends_SteamFriends014_RequestClanOfficerList_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends014_RequestClanOfficerList( struct cppISteamFriends_SteamFriends014_RequestClanOfficerList_params *params ); + +struct cppISteamFriends_SteamFriends014_GetClanOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends014_GetClanOwner( struct cppISteamFriends_SteamFriends014_GetClanOwner_params *params ); + +struct cppISteamFriends_SteamFriends014_GetClanOfficerCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends014_GetClanOfficerCount( struct cppISteamFriends_SteamFriends014_GetClanOfficerCount_params *params ); + +struct cppISteamFriends_SteamFriends014_GetClanOfficerByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iOfficer; +}; +extern void cppISteamFriends_SteamFriends014_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends014_GetClanOfficerByIndex_params *params ); + +struct cppISteamFriends_SteamFriends014_GetUserRestrictions_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamFriends_SteamFriends014_GetUserRestrictions( struct cppISteamFriends_SteamFriends014_GetUserRestrictions_params *params ); + +struct cppISteamFriends_SteamFriends014_SetRichPresence_params +{ + void *linux_side; + bool _ret; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamFriends_SteamFriends014_SetRichPresence( struct cppISteamFriends_SteamFriends014_SetRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends014_ClearRichPresence_params +{ + void *linux_side; +}; +extern void cppISteamFriends_SteamFriends014_ClearRichPresence( struct cppISteamFriends_SteamFriends014_ClearRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendRichPresence_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendRichPresence( struct cppISteamFriends_SteamFriends014_GetFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iKey; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex_params *params ); + +struct cppISteamFriends_SteamFriends014_RequestFriendRichPresence_params +{ + void *linux_side; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends014_RequestFriendRichPresence( struct cppISteamFriends_SteamFriends014_RequestFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends014_InviteUserToGame_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; +extern void cppISteamFriends_SteamFriends014_InviteUserToGame( struct cppISteamFriends_SteamFriends014_InviteUserToGame_params *params ); + +struct cppISteamFriends_SteamFriends014_GetCoplayFriendCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends014_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends014_GetCoplayFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends014_GetCoplayFriend_params +{ + void *linux_side; + CSteamID *_ret; + int iCoplayFriend; +}; +extern void cppISteamFriends_SteamFriends014_GetCoplayFriend( struct cppISteamFriends_SteamFriends014_GetCoplayFriend_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendCoplayTime_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends014_GetFriendCoplayTime_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendCoplayGame_params +{ + void *linux_side; + AppId_t _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends014_GetFriendCoplayGame_params *params ); + +struct cppISteamFriends_SteamFriends014_JoinClanChatRoom_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends014_JoinClanChatRoom( struct cppISteamFriends_SteamFriends014_JoinClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends014_LeaveClanChatRoom_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends014_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends014_LeaveClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends014_GetClanChatMemberCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends014_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends014_GetClanChatMemberCount_params *params ); + +struct cppISteamFriends_SteamFriends014_GetChatMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iUser; +}; +extern void cppISteamFriends_SteamFriends014_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends014_GetChatMemberByIndex_params *params ); + +struct cppISteamFriends_SteamFriends014_SendClanChatMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; +extern void cppISteamFriends_SteamFriends014_SendClanChatMessage( struct cppISteamFriends_SteamFriends014_SendClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends014_GetClanChatMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClanChat; + int iMessage; + void *prgchText; + int cchTextMax; + EChatEntryType *peChatEntryType; + CSteamID *psteamidChatter; +}; +extern void cppISteamFriends_SteamFriends014_GetClanChatMessage( struct cppISteamFriends_SteamFriends014_GetClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends014_IsClanChatAdmin_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; +extern void cppISteamFriends_SteamFriends014_IsClanChatAdmin( struct cppISteamFriends_SteamFriends014_IsClanChatAdmin_params *params ); + +struct cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam_params *params ); + +struct cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends014_SetListenForFriendsMessages_params +{ + void *linux_side; + bool _ret; + bool bInterceptEnabled; +}; +extern void cppISteamFriends_SteamFriends014_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends014_SetListenForFriendsMessages_params *params ); + +struct cppISteamFriends_SteamFriends014_ReplyToFriendMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; +extern void cppISteamFriends_SteamFriends014_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends014_ReplyToFriendMessage_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFriendMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; + int iMessageID; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamFriends_SteamFriends014_GetFriendMessage( struct cppISteamFriends_SteamFriends014_GetFriendMessage_params *params ); + +struct cppISteamFriends_SteamFriends014_GetFollowerCount_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends014_GetFollowerCount( struct cppISteamFriends_SteamFriends014_GetFollowerCount_params *params ); + +struct cppISteamFriends_SteamFriends014_IsFollowing_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends014_IsFollowing( struct cppISteamFriends_SteamFriends014_IsFollowing_params *params ); + +struct cppISteamFriends_SteamFriends014_EnumerateFollowingList_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamFriends_SteamFriends014_EnumerateFollowingList( struct cppISteamFriends_SteamFriends014_EnumerateFollowingList_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends015.cpp b/lsteamclient/cppISteamFriends_SteamFriends015.cpp index c068380e..d92e6c6d 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends015.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends015.cpp @@ -11,488 +11,364 @@ extern "C" { #define SDKVER_142 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends015.h" -const char * cppISteamFriends_SteamFriends015_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends015_GetPersonaName( struct cppISteamFriends_SteamFriends015_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -SteamAPICall_t cppISteamFriends_SteamFriends015_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends015_SetPersonaName( struct cppISteamFriends_SteamFriends015_SetPersonaName_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends015_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends015_GetPersonaState( struct cppISteamFriends_SteamFriends015_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends015_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends015_GetFriendCount( struct cppISteamFriends_SteamFriends015_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends015_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends015_GetFriendByIndex( struct cppISteamFriends_SteamFriends015_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends015_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends015_GetFriendRelationship( struct cppISteamFriends_SteamFriends015_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends015_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends015_GetFriendPersonaState( struct cppISteamFriends_SteamFriends015_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends015_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends015_GetFriendPersonaName( struct cppISteamFriends_SteamFriends015_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends015_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +void cppISteamFriends_SteamFriends015_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends015_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (FriendGameInfo_t *)params->pFriendGameInfo ); } -const char * cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -int cppISteamFriends_SteamFriends015_GetFriendSteamLevel(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends015_GetFriendSteamLevel( struct cppISteamFriends_SteamFriends015_GetFriendSteamLevel_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendSteamLevel((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendSteamLevel( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends015_GetPlayerNickname(void *linux_side, CSteamID steamIDPlayer) +void cppISteamFriends_SteamFriends015_GetPlayerNickname( struct cppISteamFriends_SteamFriends015_GetPlayerNickname_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPlayerNickname((CSteamID)steamIDPlayer); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPlayerNickname( (CSteamID)params->steamIDPlayer ); } -int cppISteamFriends_SteamFriends015_GetFriendsGroupCount(void *linux_side) +void cppISteamFriends_SteamFriends015_GetFriendsGroupCount( struct cppISteamFriends_SteamFriends015_GetFriendsGroupCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendsGroupCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendsGroupCount( ); } -FriendsGroupID_t cppISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex(void *linux_side, int iFG) +void cppISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex( struct cppISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex_params *params ) { - FriendsGroupID_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendsGroupIDByIndex((int)iFG); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendsGroupIDByIndex( (int)params->iFG ); } -const char * cppISteamFriends_SteamFriends015_GetFriendsGroupName(void *linux_side, FriendsGroupID_t friendsGroupID) +void cppISteamFriends_SteamFriends015_GetFriendsGroupName( struct cppISteamFriends_SteamFriends015_GetFriendsGroupName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendsGroupName((FriendsGroupID_t)friendsGroupID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendsGroupName( (FriendsGroupID_t)params->friendsGroupID ); } -int cppISteamFriends_SteamFriends015_GetFriendsGroupMembersCount(void *linux_side, FriendsGroupID_t friendsGroupID) +void cppISteamFriends_SteamFriends015_GetFriendsGroupMembersCount( struct cppISteamFriends_SteamFriends015_GetFriendsGroupMembersCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendsGroupMembersCount((FriendsGroupID_t)friendsGroupID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendsGroupMembersCount( (FriendsGroupID_t)params->friendsGroupID ); } -void cppISteamFriends_SteamFriends015_GetFriendsGroupMembersList(void *linux_side, FriendsGroupID_t friendsGroupID, CSteamID *pOutSteamIDMembers, int nMembersCount) +void cppISteamFriends_SteamFriends015_GetFriendsGroupMembersList( struct cppISteamFriends_SteamFriends015_GetFriendsGroupMembersList_params *params ) { - ((ISteamFriends*)linux_side)->GetFriendsGroupMembersList((FriendsGroupID_t)friendsGroupID, (CSteamID *)pOutSteamIDMembers, (int)nMembersCount); + ((ISteamFriends*)params->linux_side)->GetFriendsGroupMembersList( (FriendsGroupID_t)params->friendsGroupID, (CSteamID *)params->pOutSteamIDMembers, (int)params->nMembersCount ); } -bool cppISteamFriends_SteamFriends015_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends015_HasFriend( struct cppISteamFriends_SteamFriends015_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends015_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends015_GetClanCount( struct cppISteamFriends_SteamFriends015_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends015_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends015_GetClanByIndex( struct cppISteamFriends_SteamFriends015_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends015_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends015_GetClanName( struct cppISteamFriends_SteamFriends015_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -const char * cppISteamFriends_SteamFriends015_GetClanTag(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends015_GetClanTag( struct cppISteamFriends_SteamFriends015_GetClanTag_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanTag( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends015_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) +void cppISteamFriends_SteamFriends015_GetClanActivityCounts( struct cppISteamFriends_SteamFriends015_GetClanActivityCounts_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanActivityCounts( (CSteamID)params->steamIDClan, (int *)params->pnOnline, (int *)params->pnInGame, (int *)params->pnChatting ); } -SteamAPICall_t cppISteamFriends_SteamFriends015_DownloadClanActivityCounts(void *linux_side, CSteamID *psteamIDClans, int cClansToRequest) +void cppISteamFriends_SteamFriends015_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends015_DownloadClanActivityCounts_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->DownloadClanActivityCounts( (CSteamID *)params->psteamIDClans, (int)params->cClansToRequest ); } -int cppISteamFriends_SteamFriends015_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends015_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends015_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends015_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends015_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends015_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends015_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends015_IsUserInSource( struct cppISteamFriends_SteamFriends015_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends015_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends015_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends015_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends015_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends015_ActivateGameOverlay( struct cppISteamFriends_SteamFriends015_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } -void cppISteamFriends_SteamFriends015_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID) +void cppISteamFriends_SteamFriends015_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends015_ActivateGameOverlayToUser_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToUser( (const char *)params->pchDialog, (CSteamID)params->steamID ); } -void cppISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL) +void cppISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToWebPage( (const char *)params->pchURL ); } -void cppISteamFriends_SteamFriends015_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID, EOverlayToStoreFlag eFlag) +void cppISteamFriends_SteamFriends015_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends015_ActivateGameOverlayToStore_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID, (EOverlayToStoreFlag)eFlag); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToStore( (AppId_t)params->nAppID, (EOverlayToStoreFlag)params->eFlag ); } -void cppISteamFriends_SteamFriends015_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +void cppISteamFriends_SteamFriends015_SetPlayedWith( struct cppISteamFriends_SteamFriends015_SetPlayedWith_params *params ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + ((ISteamFriends*)params->linux_side)->SetPlayedWith( (CSteamID)params->steamIDUserPlayedWith ); } -void cppISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +void cppISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayInviteDialog( (CSteamID)params->steamIDLobby ); } -int cppISteamFriends_SteamFriends015_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends015_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends015_GetSmallFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetSmallFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends015_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends015_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends015_GetMediumFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetMediumFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends015_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends015_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends015_GetLargeFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetLargeFriendAvatar( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends015_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +void cppISteamFriends_SteamFriends015_RequestUserInformation( struct cppISteamFriends_SteamFriends015_RequestUserInformation_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestUserInformation( (CSteamID)params->steamIDUser, (bool)params->bRequireNameOnly ); } -SteamAPICall_t cppISteamFriends_SteamFriends015_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends015_RequestClanOfficerList( struct cppISteamFriends_SteamFriends015_RequestClanOfficerList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestClanOfficerList( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends015_GetClanOwner(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends015_GetClanOwner( struct cppISteamFriends_SteamFriends015_GetClanOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOwner( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends015_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends015_GetClanOfficerCount( struct cppISteamFriends_SteamFriends015_GetClanOfficerCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends015_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +void cppISteamFriends_SteamFriends015_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends015_GetClanOfficerByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerByIndex( (CSteamID)params->steamIDClan, (int)params->iOfficer ); } -uint32 cppISteamFriends_SteamFriends015_GetUserRestrictions(void *linux_side) +void cppISteamFriends_SteamFriends015_GetUserRestrictions( struct cppISteamFriends_SteamFriends015_GetUserRestrictions_params *params ) { - uint32 _ret; - _ret = ((ISteamFriends*)linux_side)->GetUserRestrictions(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetUserRestrictions( ); } -bool cppISteamFriends_SteamFriends015_SetRichPresence(void *linux_side, const char *pchKey, const char *pchValue) +void cppISteamFriends_SteamFriends015_SetRichPresence( struct cppISteamFriends_SteamFriends015_SetRichPresence_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetRichPresence( (const char *)params->pchKey, (const char *)params->pchValue ); } -void cppISteamFriends_SteamFriends015_ClearRichPresence(void *linux_side) +void cppISteamFriends_SteamFriends015_ClearRichPresence( struct cppISteamFriends_SteamFriends015_ClearRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + ((ISteamFriends*)params->linux_side)->ClearRichPresence( ); } -const char * cppISteamFriends_SteamFriends015_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char *pchKey) +void cppISteamFriends_SteamFriends015_GetFriendRichPresence( struct cppISteamFriends_SteamFriends015_GetFriendRichPresence_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresence( (CSteamID)params->steamIDFriend, (const char *)params->pchKey ); } -int cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyCount( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +void cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyByIndex( (CSteamID)params->steamIDFriend, (int)params->iKey ); } -void cppISteamFriends_SteamFriends015_RequestFriendRichPresence(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends015_RequestFriendRichPresence( struct cppISteamFriends_SteamFriends015_RequestFriendRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend); + ((ISteamFriends*)params->linux_side)->RequestFriendRichPresence( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends015_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char *pchConnectString) +void cppISteamFriends_SteamFriends015_InviteUserToGame( struct cppISteamFriends_SteamFriends015_InviteUserToGame_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->InviteUserToGame( (CSteamID)params->steamIDFriend, (const char *)params->pchConnectString ); } -int cppISteamFriends_SteamFriends015_GetCoplayFriendCount(void *linux_side) +void cppISteamFriends_SteamFriends015_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends015_GetCoplayFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriendCount( ); } -CSteamID cppISteamFriends_SteamFriends015_GetCoplayFriend(void *linux_side, int iCoplayFriend) +void cppISteamFriends_SteamFriends015_GetCoplayFriend( struct cppISteamFriends_SteamFriends015_GetCoplayFriend_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriend( (int)params->iCoplayFriend ); } -int cppISteamFriends_SteamFriends015_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends015_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends015_GetFriendCoplayTime_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayTime( (CSteamID)params->steamIDFriend ); } -AppId_t cppISteamFriends_SteamFriends015_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends015_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends015_GetFriendCoplayGame_params *params ) { - AppId_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayGame( (CSteamID)params->steamIDFriend ); } -SteamAPICall_t cppISteamFriends_SteamFriends015_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends015_JoinClanChatRoom( struct cppISteamFriends_SteamFriends015_JoinClanChatRoom_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->JoinClanChatRoom( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends015_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends015_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends015_LeaveClanChatRoom_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->LeaveClanChatRoom( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends015_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends015_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends015_GetClanChatMemberCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMemberCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends015_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +void cppISteamFriends_SteamFriends015_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends015_GetChatMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetChatMemberByIndex( (CSteamID)params->steamIDClan, (int)params->iUser ); } -bool cppISteamFriends_SteamFriends015_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char *pchText) +void cppISteamFriends_SteamFriends015_SendClanChatMessage( struct cppISteamFriends_SteamFriends015_SendClanChatMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SendClanChatMessage( (CSteamID)params->steamIDClanChat, (const char *)params->pchText ); } -int cppISteamFriends_SteamFriends015_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *peChatEntryType, CSteamID *psteamidChatter) +void cppISteamFriends_SteamFriends015_GetClanChatMessage( struct cppISteamFriends_SteamFriends015_GetClanChatMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)peChatEntryType, (CSteamID *)psteamidChatter); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMessage( (CSteamID)params->steamIDClanChat, (int)params->iMessage, (void *)params->prgchText, (int)params->cchTextMax, (EChatEntryType *)params->peChatEntryType, (CSteamID *)params->psteamidChatter ); } -bool cppISteamFriends_SteamFriends015_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +void cppISteamFriends_SteamFriends015_IsClanChatAdmin( struct cppISteamFriends_SteamFriends015_IsClanChatAdmin_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatAdmin( (CSteamID)params->steamIDClanChat, (CSteamID)params->steamIDUser ); } -bool cppISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatWindowOpenInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends015_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends015_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends015_OpenClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->OpenClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends015_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends015_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends015_CloseClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->CloseClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends015_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +void cppISteamFriends_SteamFriends015_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends015_SetListenForFriendsMessages_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetListenForFriendsMessages( (bool)params->bInterceptEnabled ); } -bool cppISteamFriends_SteamFriends015_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char *pchMsgToSend) +void cppISteamFriends_SteamFriends015_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends015_ReplyToFriendMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->ReplyToFriendMessage( (CSteamID)params->steamIDFriend, (const char *)params->pchMsgToSend ); } -int cppISteamFriends_SteamFriends015_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamFriends_SteamFriends015_GetFriendMessage( struct cppISteamFriends_SteamFriends015_GetFriendMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendMessage( (CSteamID)params->steamIDFriend, (int)params->iMessageID, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -SteamAPICall_t cppISteamFriends_SteamFriends015_GetFollowerCount(void *linux_side, CSteamID steamID) +void cppISteamFriends_SteamFriends015_GetFollowerCount( struct cppISteamFriends_SteamFriends015_GetFollowerCount_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFollowerCount((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFollowerCount( (CSteamID)params->steamID ); } -SteamAPICall_t cppISteamFriends_SteamFriends015_IsFollowing(void *linux_side, CSteamID steamID) +void cppISteamFriends_SteamFriends015_IsFollowing( struct cppISteamFriends_SteamFriends015_IsFollowing_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->IsFollowing((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsFollowing( (CSteamID)params->steamID ); } -SteamAPICall_t cppISteamFriends_SteamFriends015_EnumerateFollowingList(void *linux_side, uint32 unStartIndex) +void cppISteamFriends_SteamFriends015_EnumerateFollowingList( struct cppISteamFriends_SteamFriends015_EnumerateFollowingList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->EnumerateFollowingList((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->EnumerateFollowingList( (uint32)params->unStartIndex ); } -bool cppISteamFriends_SteamFriends015_IsClanPublic(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends015_IsClanPublic( struct cppISteamFriends_SteamFriends015_IsClanPublic_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanPublic((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanPublic( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends015_IsClanOfficialGameGroup(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends015_IsClanOfficialGameGroup( struct cppISteamFriends_SteamFriends015_IsClanOfficialGameGroup_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanOfficialGameGroup((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanOfficialGameGroup( (CSteamID)params->steamIDClan ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends015.h b/lsteamclient/cppISteamFriends_SteamFriends015.h index 5fd94c5c..5074c210 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends015.h +++ b/lsteamclient/cppISteamFriends_SteamFriends015.h @@ -1,72 +1,593 @@ -extern const char * cppISteamFriends_SteamFriends015_GetPersonaName(void *); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends015_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends015_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends015_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends015_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends015_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends015_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends015_GetFriendSteamLevel(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends015_GetPlayerNickname(void *, CSteamID); -extern int cppISteamFriends_SteamFriends015_GetFriendsGroupCount(void *); -extern FriendsGroupID_t cppISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends015_GetFriendsGroupName(void *, FriendsGroupID_t); -extern int cppISteamFriends_SteamFriends015_GetFriendsGroupMembersCount(void *, FriendsGroupID_t); -extern void cppISteamFriends_SteamFriends015_GetFriendsGroupMembersList(void *, FriendsGroupID_t, CSteamID *, int); -extern bool cppISteamFriends_SteamFriends015_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends015_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends015_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends015_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends015_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends015_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends015_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends015_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends015_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends015_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends015_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends015_ActivateGameOverlayToStore(void *, AppId_t, EOverlayToStoreFlag); -extern void cppISteamFriends_SteamFriends015_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends015_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends015_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends015_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends015_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends015_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends015_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends015_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends015_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends015_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends015_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends015_RequestFriendRichPresence(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends015_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends015_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends015_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends015_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends015_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends015_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends015_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends015_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends015_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends015_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends015_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_GetFollowerCount(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_IsFollowing(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_EnumerateFollowingList(void *, uint32); -extern bool cppISteamFriends_SteamFriends015_IsClanPublic(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_IsClanOfficialGameGroup(void *, CSteamID); +struct cppISteamFriends_SteamFriends015_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends015_GetPersonaName( struct cppISteamFriends_SteamFriends015_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends015_SetPersonaName_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends015_SetPersonaName( struct cppISteamFriends_SteamFriends015_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends015_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends015_GetPersonaState( struct cppISteamFriends_SteamFriends015_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendCount( struct cppISteamFriends_SteamFriends015_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendByIndex( struct cppISteamFriends_SteamFriends015_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendRelationship( struct cppISteamFriends_SteamFriends015_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendPersonaState( struct cppISteamFriends_SteamFriends015_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendPersonaName( struct cppISteamFriends_SteamFriends015_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends015_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendSteamLevel_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendSteamLevel( struct cppISteamFriends_SteamFriends015_GetFriendSteamLevel_params *params ); + +struct cppISteamFriends_SteamFriends015_GetPlayerNickname_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDPlayer; +}; +extern void cppISteamFriends_SteamFriends015_GetPlayerNickname( struct cppISteamFriends_SteamFriends015_GetPlayerNickname_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendsGroupCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendsGroupCount( struct cppISteamFriends_SteamFriends015_GetFriendsGroupCount_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex_params +{ + void *linux_side; + FriendsGroupID_t _ret; + int iFG; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex( struct cppISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendsGroupName_params +{ + void *linux_side; + const char *_ret; + FriendsGroupID_t friendsGroupID; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendsGroupName( struct cppISteamFriends_SteamFriends015_GetFriendsGroupName_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendsGroupMembersCount_params +{ + void *linux_side; + int _ret; + FriendsGroupID_t friendsGroupID; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendsGroupMembersCount( struct cppISteamFriends_SteamFriends015_GetFriendsGroupMembersCount_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendsGroupMembersList_params +{ + void *linux_side; + FriendsGroupID_t friendsGroupID; + CSteamID *pOutSteamIDMembers; + int nMembersCount; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendsGroupMembersList( struct cppISteamFriends_SteamFriends015_GetFriendsGroupMembersList_params *params ); + +struct cppISteamFriends_SteamFriends015_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends015_HasFriend( struct cppISteamFriends_SteamFriends015_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends015_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends015_GetClanCount( struct cppISteamFriends_SteamFriends015_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends015_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends015_GetClanByIndex( struct cppISteamFriends_SteamFriends015_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends015_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends015_GetClanName( struct cppISteamFriends_SteamFriends015_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends015_GetClanTag_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends015_GetClanTag( struct cppISteamFriends_SteamFriends015_GetClanTag_params *params ); + +struct cppISteamFriends_SteamFriends015_GetClanActivityCounts_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; + int *pnOnline; + int *pnInGame; + int *pnChatting; +}; +extern void cppISteamFriends_SteamFriends015_GetClanActivityCounts( struct cppISteamFriends_SteamFriends015_GetClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends015_DownloadClanActivityCounts_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID *psteamIDClans; + int cClansToRequest; +}; +extern void cppISteamFriends_SteamFriends015_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends015_DownloadClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends015_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends015_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends015_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends015_IsUserInSource( struct cppISteamFriends_SteamFriends015_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends015_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends015_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends015_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends015_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends015_ActivateGameOverlay( struct cppISteamFriends_SteamFriends015_ActivateGameOverlay_params *params ); + +struct cppISteamFriends_SteamFriends015_ActivateGameOverlayToUser_params +{ + void *linux_side; + const char *pchDialog; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends015_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends015_ActivateGameOverlayToUser_params *params ); + +struct cppISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage_params +{ + void *linux_side; + const char *pchURL; +}; +extern void cppISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage_params *params ); + +struct cppISteamFriends_SteamFriends015_ActivateGameOverlayToStore_params +{ + void *linux_side; + AppId_t nAppID; + EOverlayToStoreFlag eFlag; +}; +extern void cppISteamFriends_SteamFriends015_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends015_ActivateGameOverlayToStore_params *params ); + +struct cppISteamFriends_SteamFriends015_SetPlayedWith_params +{ + void *linux_side; + CSteamID steamIDUserPlayedWith; +}; +extern void cppISteamFriends_SteamFriends015_SetPlayedWith( struct cppISteamFriends_SteamFriends015_SetPlayedWith_params *params ); + +struct cppISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog_params *params ); + +struct cppISteamFriends_SteamFriends015_GetSmallFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends015_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends015_GetSmallFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends015_GetMediumFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends015_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends015_GetMediumFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends015_GetLargeFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends015_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends015_GetLargeFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends015_RequestUserInformation_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + bool bRequireNameOnly; +}; +extern void cppISteamFriends_SteamFriends015_RequestUserInformation( struct cppISteamFriends_SteamFriends015_RequestUserInformation_params *params ); + +struct cppISteamFriends_SteamFriends015_RequestClanOfficerList_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends015_RequestClanOfficerList( struct cppISteamFriends_SteamFriends015_RequestClanOfficerList_params *params ); + +struct cppISteamFriends_SteamFriends015_GetClanOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends015_GetClanOwner( struct cppISteamFriends_SteamFriends015_GetClanOwner_params *params ); + +struct cppISteamFriends_SteamFriends015_GetClanOfficerCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends015_GetClanOfficerCount( struct cppISteamFriends_SteamFriends015_GetClanOfficerCount_params *params ); + +struct cppISteamFriends_SteamFriends015_GetClanOfficerByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iOfficer; +}; +extern void cppISteamFriends_SteamFriends015_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends015_GetClanOfficerByIndex_params *params ); + +struct cppISteamFriends_SteamFriends015_GetUserRestrictions_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamFriends_SteamFriends015_GetUserRestrictions( struct cppISteamFriends_SteamFriends015_GetUserRestrictions_params *params ); + +struct cppISteamFriends_SteamFriends015_SetRichPresence_params +{ + void *linux_side; + bool _ret; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamFriends_SteamFriends015_SetRichPresence( struct cppISteamFriends_SteamFriends015_SetRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends015_ClearRichPresence_params +{ + void *linux_side; +}; +extern void cppISteamFriends_SteamFriends015_ClearRichPresence( struct cppISteamFriends_SteamFriends015_ClearRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendRichPresence_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendRichPresence( struct cppISteamFriends_SteamFriends015_GetFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iKey; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex_params *params ); + +struct cppISteamFriends_SteamFriends015_RequestFriendRichPresence_params +{ + void *linux_side; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends015_RequestFriendRichPresence( struct cppISteamFriends_SteamFriends015_RequestFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends015_InviteUserToGame_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; +extern void cppISteamFriends_SteamFriends015_InviteUserToGame( struct cppISteamFriends_SteamFriends015_InviteUserToGame_params *params ); + +struct cppISteamFriends_SteamFriends015_GetCoplayFriendCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends015_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends015_GetCoplayFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends015_GetCoplayFriend_params +{ + void *linux_side; + CSteamID *_ret; + int iCoplayFriend; +}; +extern void cppISteamFriends_SteamFriends015_GetCoplayFriend( struct cppISteamFriends_SteamFriends015_GetCoplayFriend_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendCoplayTime_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends015_GetFriendCoplayTime_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendCoplayGame_params +{ + void *linux_side; + AppId_t _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends015_GetFriendCoplayGame_params *params ); + +struct cppISteamFriends_SteamFriends015_JoinClanChatRoom_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends015_JoinClanChatRoom( struct cppISteamFriends_SteamFriends015_JoinClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends015_LeaveClanChatRoom_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends015_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends015_LeaveClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends015_GetClanChatMemberCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends015_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends015_GetClanChatMemberCount_params *params ); + +struct cppISteamFriends_SteamFriends015_GetChatMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iUser; +}; +extern void cppISteamFriends_SteamFriends015_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends015_GetChatMemberByIndex_params *params ); + +struct cppISteamFriends_SteamFriends015_SendClanChatMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; +extern void cppISteamFriends_SteamFriends015_SendClanChatMessage( struct cppISteamFriends_SteamFriends015_SendClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends015_GetClanChatMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClanChat; + int iMessage; + void *prgchText; + int cchTextMax; + EChatEntryType *peChatEntryType; + CSteamID *psteamidChatter; +}; +extern void cppISteamFriends_SteamFriends015_GetClanChatMessage( struct cppISteamFriends_SteamFriends015_GetClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends015_IsClanChatAdmin_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; +extern void cppISteamFriends_SteamFriends015_IsClanChatAdmin( struct cppISteamFriends_SteamFriends015_IsClanChatAdmin_params *params ); + +struct cppISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam_params *params ); + +struct cppISteamFriends_SteamFriends015_OpenClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends015_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends015_OpenClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends015_CloseClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends015_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends015_CloseClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends015_SetListenForFriendsMessages_params +{ + void *linux_side; + bool _ret; + bool bInterceptEnabled; +}; +extern void cppISteamFriends_SteamFriends015_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends015_SetListenForFriendsMessages_params *params ); + +struct cppISteamFriends_SteamFriends015_ReplyToFriendMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; +extern void cppISteamFriends_SteamFriends015_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends015_ReplyToFriendMessage_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFriendMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; + int iMessageID; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamFriends_SteamFriends015_GetFriendMessage( struct cppISteamFriends_SteamFriends015_GetFriendMessage_params *params ); + +struct cppISteamFriends_SteamFriends015_GetFollowerCount_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends015_GetFollowerCount( struct cppISteamFriends_SteamFriends015_GetFollowerCount_params *params ); + +struct cppISteamFriends_SteamFriends015_IsFollowing_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends015_IsFollowing( struct cppISteamFriends_SteamFriends015_IsFollowing_params *params ); + +struct cppISteamFriends_SteamFriends015_EnumerateFollowingList_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamFriends_SteamFriends015_EnumerateFollowingList( struct cppISteamFriends_SteamFriends015_EnumerateFollowingList_params *params ); + +struct cppISteamFriends_SteamFriends015_IsClanPublic_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends015_IsClanPublic( struct cppISteamFriends_SteamFriends015_IsClanPublic_params *params ); + +struct cppISteamFriends_SteamFriends015_IsClanOfficialGameGroup_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends015_IsClanOfficialGameGroup( struct cppISteamFriends_SteamFriends015_IsClanOfficialGameGroup_params *params ); + diff --git a/lsteamclient/cppISteamFriends_SteamFriends017.cpp b/lsteamclient/cppISteamFriends_SteamFriends017.cpp index 0bc2b9cf..10bbcaa3 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends017.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends017.cpp @@ -12,540 +12,404 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamFriends_SteamFriends017.h" -const char * cppISteamFriends_SteamFriends017_GetPersonaName(void *linux_side) +void cppISteamFriends_SteamFriends017_GetPersonaName( struct cppISteamFriends_SteamFriends017_GetPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaName(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaName( ); } -SteamAPICall_t cppISteamFriends_SteamFriends017_SetPersonaName(void *linux_side, const char *pchPersonaName) +void cppISteamFriends_SteamFriends017_SetPersonaName( struct cppISteamFriends_SteamFriends017_SetPersonaName_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetPersonaName( (const char *)params->pchPersonaName ); } -EPersonaState cppISteamFriends_SteamFriends017_GetPersonaState(void *linux_side) +void cppISteamFriends_SteamFriends017_GetPersonaState( struct cppISteamFriends_SteamFriends017_GetPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetPersonaState(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPersonaState( ); } -int cppISteamFriends_SteamFriends017_GetFriendCount(void *linux_side, int iFriendFlags) +void cppISteamFriends_SteamFriends017_GetFriendCount( struct cppISteamFriends_SteamFriends017_GetFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCount( (int)params->iFriendFlags ); } -CSteamID cppISteamFriends_SteamFriends017_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends017_GetFriendByIndex( struct cppISteamFriends_SteamFriends017_GetFriendByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendByIndex( (int)params->iFriend, (int)params->iFriendFlags ); } -EFriendRelationship cppISteamFriends_SteamFriends017_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends017_GetFriendRelationship( struct cppISteamFriends_SteamFriends017_GetFriendRelationship_params *params ) { - EFriendRelationship _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRelationship( (CSteamID)params->steamIDFriend ); } -EPersonaState cppISteamFriends_SteamFriends017_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends017_GetFriendPersonaState( struct cppISteamFriends_SteamFriends017_GetFriendPersonaState_params *params ) { - EPersonaState _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaState( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends017_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends017_GetFriendPersonaName( struct cppISteamFriends_SteamFriends017_GetFriendPersonaName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaName( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends017_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +void cppISteamFriends_SteamFriends017_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends017_GetFriendGamePlayed_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendGamePlayed( (CSteamID)params->steamIDFriend, (FriendGameInfo_t *)params->pFriendGameInfo ); } -const char * cppISteamFriends_SteamFriends017_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +void cppISteamFriends_SteamFriends017_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends017_GetFriendPersonaNameHistory_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendPersonaNameHistory( (CSteamID)params->steamIDFriend, (int)params->iPersonaName ); } -int cppISteamFriends_SteamFriends017_GetFriendSteamLevel(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends017_GetFriendSteamLevel( struct cppISteamFriends_SteamFriends017_GetFriendSteamLevel_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendSteamLevel((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendSteamLevel( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends017_GetPlayerNickname(void *linux_side, CSteamID steamIDPlayer) +void cppISteamFriends_SteamFriends017_GetPlayerNickname( struct cppISteamFriends_SteamFriends017_GetPlayerNickname_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetPlayerNickname((CSteamID)steamIDPlayer); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetPlayerNickname( (CSteamID)params->steamIDPlayer ); } -int cppISteamFriends_SteamFriends017_GetFriendsGroupCount(void *linux_side) +void cppISteamFriends_SteamFriends017_GetFriendsGroupCount( struct cppISteamFriends_SteamFriends017_GetFriendsGroupCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendsGroupCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendsGroupCount( ); } -FriendsGroupID_t cppISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex(void *linux_side, int iFG) +void cppISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex( struct cppISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex_params *params ) { - FriendsGroupID_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendsGroupIDByIndex((int)iFG); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendsGroupIDByIndex( (int)params->iFG ); } -const char * cppISteamFriends_SteamFriends017_GetFriendsGroupName(void *linux_side, FriendsGroupID_t friendsGroupID) +void cppISteamFriends_SteamFriends017_GetFriendsGroupName( struct cppISteamFriends_SteamFriends017_GetFriendsGroupName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendsGroupName((FriendsGroupID_t)friendsGroupID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendsGroupName( (FriendsGroupID_t)params->friendsGroupID ); } -int cppISteamFriends_SteamFriends017_GetFriendsGroupMembersCount(void *linux_side, FriendsGroupID_t friendsGroupID) +void cppISteamFriends_SteamFriends017_GetFriendsGroupMembersCount( struct cppISteamFriends_SteamFriends017_GetFriendsGroupMembersCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendsGroupMembersCount((FriendsGroupID_t)friendsGroupID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendsGroupMembersCount( (FriendsGroupID_t)params->friendsGroupID ); } -void cppISteamFriends_SteamFriends017_GetFriendsGroupMembersList(void *linux_side, FriendsGroupID_t friendsGroupID, CSteamID *pOutSteamIDMembers, int nMembersCount) +void cppISteamFriends_SteamFriends017_GetFriendsGroupMembersList( struct cppISteamFriends_SteamFriends017_GetFriendsGroupMembersList_params *params ) { - ((ISteamFriends*)linux_side)->GetFriendsGroupMembersList((FriendsGroupID_t)friendsGroupID, (CSteamID *)pOutSteamIDMembers, (int)nMembersCount); + ((ISteamFriends*)params->linux_side)->GetFriendsGroupMembersList( (FriendsGroupID_t)params->friendsGroupID, (CSteamID *)params->pOutSteamIDMembers, (int)params->nMembersCount ); } -bool cppISteamFriends_SteamFriends017_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +void cppISteamFriends_SteamFriends017_HasFriend( struct cppISteamFriends_SteamFriends017_HasFriend_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->HasFriend( (CSteamID)params->steamIDFriend, (int)params->iFriendFlags ); } -int cppISteamFriends_SteamFriends017_GetClanCount(void *linux_side) +void cppISteamFriends_SteamFriends017_GetClanCount( struct cppISteamFriends_SteamFriends017_GetClanCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanCount( ); } -CSteamID cppISteamFriends_SteamFriends017_GetClanByIndex(void *linux_side, int iClan) +void cppISteamFriends_SteamFriends017_GetClanByIndex( struct cppISteamFriends_SteamFriends017_GetClanByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanByIndex( (int)params->iClan ); } -const char * cppISteamFriends_SteamFriends017_GetClanName(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends017_GetClanName( struct cppISteamFriends_SteamFriends017_GetClanName_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanName( (CSteamID)params->steamIDClan ); } -const char * cppISteamFriends_SteamFriends017_GetClanTag(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends017_GetClanTag( struct cppISteamFriends_SteamFriends017_GetClanTag_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanTag( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends017_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) +void cppISteamFriends_SteamFriends017_GetClanActivityCounts( struct cppISteamFriends_SteamFriends017_GetClanActivityCounts_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanActivityCounts( (CSteamID)params->steamIDClan, (int *)params->pnOnline, (int *)params->pnInGame, (int *)params->pnChatting ); } -SteamAPICall_t cppISteamFriends_SteamFriends017_DownloadClanActivityCounts(void *linux_side, CSteamID *psteamIDClans, int cClansToRequest) +void cppISteamFriends_SteamFriends017_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends017_DownloadClanActivityCounts_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->DownloadClanActivityCounts( (CSteamID *)params->psteamIDClans, (int)params->cClansToRequest ); } -int cppISteamFriends_SteamFriends017_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends017_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends017_GetFriendCountFromSource_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCountFromSource( (CSteamID)params->steamIDSource ); } -CSteamID cppISteamFriends_SteamFriends017_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +void cppISteamFriends_SteamFriends017_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends017_GetFriendFromSourceByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendFromSourceByIndex( (CSteamID)params->steamIDSource, (int)params->iFriend ); } -bool cppISteamFriends_SteamFriends017_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +void cppISteamFriends_SteamFriends017_IsUserInSource( struct cppISteamFriends_SteamFriends017_IsUserInSource_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsUserInSource( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDSource ); } -void cppISteamFriends_SteamFriends017_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +void cppISteamFriends_SteamFriends017_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends017_SetInGameVoiceSpeaking_params *params ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + ((ISteamFriends*)params->linux_side)->SetInGameVoiceSpeaking( (CSteamID)params->steamIDUser, (bool)params->bSpeaking ); } -void cppISteamFriends_SteamFriends017_ActivateGameOverlay(void *linux_side, const char *pchDialog) +void cppISteamFriends_SteamFriends017_ActivateGameOverlay( struct cppISteamFriends_SteamFriends017_ActivateGameOverlay_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlay( (const char *)params->pchDialog ); } -void cppISteamFriends_SteamFriends017_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID) +void cppISteamFriends_SteamFriends017_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends017_ActivateGameOverlayToUser_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToUser( (const char *)params->pchDialog, (CSteamID)params->steamID ); } -void cppISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL, EActivateGameOverlayToWebPageMode eMode) +void cppISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL, (EActivateGameOverlayToWebPageMode)eMode); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToWebPage( (const char *)params->pchURL, (EActivateGameOverlayToWebPageMode)params->eMode ); } -void cppISteamFriends_SteamFriends017_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID, EOverlayToStoreFlag eFlag) +void cppISteamFriends_SteamFriends017_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends017_ActivateGameOverlayToStore_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID, (EOverlayToStoreFlag)eFlag); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayToStore( (AppId_t)params->nAppID, (EOverlayToStoreFlag)params->eFlag ); } -void cppISteamFriends_SteamFriends017_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +void cppISteamFriends_SteamFriends017_SetPlayedWith( struct cppISteamFriends_SteamFriends017_SetPlayedWith_params *params ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + ((ISteamFriends*)params->linux_side)->SetPlayedWith( (CSteamID)params->steamIDUserPlayedWith ); } -void cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +void cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayInviteDialog( (CSteamID)params->steamIDLobby ); } -int cppISteamFriends_SteamFriends017_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends017_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends017_GetSmallFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetSmallFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends017_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends017_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends017_GetMediumFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetMediumFriendAvatar( (CSteamID)params->steamIDFriend ); } -int cppISteamFriends_SteamFriends017_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends017_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends017_GetLargeFriendAvatar_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetLargeFriendAvatar( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends017_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +void cppISteamFriends_SteamFriends017_RequestUserInformation( struct cppISteamFriends_SteamFriends017_RequestUserInformation_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestUserInformation( (CSteamID)params->steamIDUser, (bool)params->bRequireNameOnly ); } -SteamAPICall_t cppISteamFriends_SteamFriends017_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends017_RequestClanOfficerList( struct cppISteamFriends_SteamFriends017_RequestClanOfficerList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestClanOfficerList( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends017_GetClanOwner(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends017_GetClanOwner( struct cppISteamFriends_SteamFriends017_GetClanOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOwner( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends017_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends017_GetClanOfficerCount( struct cppISteamFriends_SteamFriends017_GetClanOfficerCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends017_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +void cppISteamFriends_SteamFriends017_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends017_GetClanOfficerByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetClanOfficerByIndex( (CSteamID)params->steamIDClan, (int)params->iOfficer ); } -uint32 cppISteamFriends_SteamFriends017_GetUserRestrictions(void *linux_side) +void cppISteamFriends_SteamFriends017_GetUserRestrictions( struct cppISteamFriends_SteamFriends017_GetUserRestrictions_params *params ) { - uint32 _ret; - _ret = ((ISteamFriends*)linux_side)->GetUserRestrictions(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetUserRestrictions( ); } -bool cppISteamFriends_SteamFriends017_SetRichPresence(void *linux_side, const char *pchKey, const char *pchValue) +void cppISteamFriends_SteamFriends017_SetRichPresence( struct cppISteamFriends_SteamFriends017_SetRichPresence_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetRichPresence( (const char *)params->pchKey, (const char *)params->pchValue ); } -void cppISteamFriends_SteamFriends017_ClearRichPresence(void *linux_side) +void cppISteamFriends_SteamFriends017_ClearRichPresence( struct cppISteamFriends_SteamFriends017_ClearRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + ((ISteamFriends*)params->linux_side)->ClearRichPresence( ); } -const char * cppISteamFriends_SteamFriends017_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char *pchKey) +void cppISteamFriends_SteamFriends017_GetFriendRichPresence( struct cppISteamFriends_SteamFriends017_GetFriendRichPresence_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresence( (CSteamID)params->steamIDFriend, (const char *)params->pchKey ); } -int cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyCount( (CSteamID)params->steamIDFriend ); } -const char * cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +void cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendRichPresenceKeyByIndex( (CSteamID)params->steamIDFriend, (int)params->iKey ); } -void cppISteamFriends_SteamFriends017_RequestFriendRichPresence(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends017_RequestFriendRichPresence( struct cppISteamFriends_SteamFriends017_RequestFriendRichPresence_params *params ) { - ((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend); + ((ISteamFriends*)params->linux_side)->RequestFriendRichPresence( (CSteamID)params->steamIDFriend ); } -bool cppISteamFriends_SteamFriends017_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char *pchConnectString) +void cppISteamFriends_SteamFriends017_InviteUserToGame( struct cppISteamFriends_SteamFriends017_InviteUserToGame_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->InviteUserToGame( (CSteamID)params->steamIDFriend, (const char *)params->pchConnectString ); } -int cppISteamFriends_SteamFriends017_GetCoplayFriendCount(void *linux_side) +void cppISteamFriends_SteamFriends017_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends017_GetCoplayFriendCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriendCount( ); } -CSteamID cppISteamFriends_SteamFriends017_GetCoplayFriend(void *linux_side, int iCoplayFriend) +void cppISteamFriends_SteamFriends017_GetCoplayFriend( struct cppISteamFriends_SteamFriends017_GetCoplayFriend_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetCoplayFriend( (int)params->iCoplayFriend ); } -int cppISteamFriends_SteamFriends017_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends017_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends017_GetFriendCoplayTime_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayTime( (CSteamID)params->steamIDFriend ); } -AppId_t cppISteamFriends_SteamFriends017_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +void cppISteamFriends_SteamFriends017_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends017_GetFriendCoplayGame_params *params ) { - AppId_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendCoplayGame( (CSteamID)params->steamIDFriend ); } -SteamAPICall_t cppISteamFriends_SteamFriends017_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends017_JoinClanChatRoom( struct cppISteamFriends_SteamFriends017_JoinClanChatRoom_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->JoinClanChatRoom( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends017_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends017_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends017_LeaveClanChatRoom_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->LeaveClanChatRoom( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends017_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends017_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends017_GetClanChatMemberCount_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMemberCount( (CSteamID)params->steamIDClan ); } -CSteamID cppISteamFriends_SteamFriends017_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +void cppISteamFriends_SteamFriends017_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends017_GetChatMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); - return (_ret); + *params->_ret = ((ISteamFriends*)params->linux_side)->GetChatMemberByIndex( (CSteamID)params->steamIDClan, (int)params->iUser ); } -bool cppISteamFriends_SteamFriends017_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char *pchText) +void cppISteamFriends_SteamFriends017_SendClanChatMessage( struct cppISteamFriends_SteamFriends017_SendClanChatMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SendClanChatMessage( (CSteamID)params->steamIDClanChat, (const char *)params->pchText ); } -int cppISteamFriends_SteamFriends017_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *peChatEntryType, CSteamID *psteamidChatter) +void cppISteamFriends_SteamFriends017_GetClanChatMessage( struct cppISteamFriends_SteamFriends017_GetClanChatMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)peChatEntryType, (CSteamID *)psteamidChatter); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetClanChatMessage( (CSteamID)params->steamIDClanChat, (int)params->iMessage, (void *)params->prgchText, (int)params->cchTextMax, (EChatEntryType *)params->peChatEntryType, (CSteamID *)params->psteamidChatter ); } -bool cppISteamFriends_SteamFriends017_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +void cppISteamFriends_SteamFriends017_IsClanChatAdmin( struct cppISteamFriends_SteamFriends017_IsClanChatAdmin_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatAdmin( (CSteamID)params->steamIDClanChat, (CSteamID)params->steamIDUser ); } -bool cppISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanChatWindowOpenInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends017_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends017_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends017_OpenClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->OpenClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends017_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +void cppISteamFriends_SteamFriends017_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends017_CloseClanChatWindowInSteam_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->CloseClanChatWindowInSteam( (CSteamID)params->steamIDClanChat ); } -bool cppISteamFriends_SteamFriends017_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +void cppISteamFriends_SteamFriends017_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends017_SetListenForFriendsMessages_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->SetListenForFriendsMessages( (bool)params->bInterceptEnabled ); } -bool cppISteamFriends_SteamFriends017_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char *pchMsgToSend) +void cppISteamFriends_SteamFriends017_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends017_ReplyToFriendMessage_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->ReplyToFriendMessage( (CSteamID)params->steamIDFriend, (const char *)params->pchMsgToSend ); } -int cppISteamFriends_SteamFriends017_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamFriends_SteamFriends017_GetFriendMessage( struct cppISteamFriends_SteamFriends017_GetFriendMessage_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFriendMessage( (CSteamID)params->steamIDFriend, (int)params->iMessageID, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -SteamAPICall_t cppISteamFriends_SteamFriends017_GetFollowerCount(void *linux_side, CSteamID steamID) +void cppISteamFriends_SteamFriends017_GetFollowerCount( struct cppISteamFriends_SteamFriends017_GetFollowerCount_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->GetFollowerCount((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetFollowerCount( (CSteamID)params->steamID ); } -SteamAPICall_t cppISteamFriends_SteamFriends017_IsFollowing(void *linux_side, CSteamID steamID) +void cppISteamFriends_SteamFriends017_IsFollowing( struct cppISteamFriends_SteamFriends017_IsFollowing_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->IsFollowing((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsFollowing( (CSteamID)params->steamID ); } -SteamAPICall_t cppISteamFriends_SteamFriends017_EnumerateFollowingList(void *linux_side, uint32 unStartIndex) +void cppISteamFriends_SteamFriends017_EnumerateFollowingList( struct cppISteamFriends_SteamFriends017_EnumerateFollowingList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->EnumerateFollowingList((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->EnumerateFollowingList( (uint32)params->unStartIndex ); } -bool cppISteamFriends_SteamFriends017_IsClanPublic(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends017_IsClanPublic( struct cppISteamFriends_SteamFriends017_IsClanPublic_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanPublic((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanPublic( (CSteamID)params->steamIDClan ); } -bool cppISteamFriends_SteamFriends017_IsClanOfficialGameGroup(void *linux_side, CSteamID steamIDClan) +void cppISteamFriends_SteamFriends017_IsClanOfficialGameGroup( struct cppISteamFriends_SteamFriends017_IsClanOfficialGameGroup_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->IsClanOfficialGameGroup((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->IsClanOfficialGameGroup( (CSteamID)params->steamIDClan ); } -int cppISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages(void *linux_side) +void cppISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages( struct cppISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages_params *params ) { - int _ret; - _ret = ((ISteamFriends*)linux_side)->GetNumChatsWithUnreadPriorityMessages(); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetNumChatsWithUnreadPriorityMessages( ); } -void cppISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog(void *linux_side, CSteamID steamIDLobby) +void cppISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog( struct cppISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayRemotePlayTogetherInviteDialog((CSteamID)steamIDLobby); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayRemotePlayTogetherInviteDialog( (CSteamID)params->steamIDLobby ); } -bool cppISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser(void *linux_side, const char *pchProtocol) +void cppISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser( struct cppISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->RegisterProtocolInOverlayBrowser((const char *)pchProtocol); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RegisterProtocolInOverlayBrowser( (const char *)params->pchProtocol ); } -void cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString(void *linux_side, const char *pchConnectString) +void cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString( struct cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString_params *params ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialogConnectString((const char *)pchConnectString); + ((ISteamFriends*)params->linux_side)->ActivateGameOverlayInviteDialogConnectString( (const char *)params->pchConnectString ); } -SteamAPICall_t cppISteamFriends_SteamFriends017_RequestEquippedProfileItems(void *linux_side, CSteamID steamID) +void cppISteamFriends_SteamFriends017_RequestEquippedProfileItems( struct cppISteamFriends_SteamFriends017_RequestEquippedProfileItems_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamFriends*)linux_side)->RequestEquippedProfileItems((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->RequestEquippedProfileItems( (CSteamID)params->steamID ); } -bool cppISteamFriends_SteamFriends017_BHasEquippedProfileItem(void *linux_side, CSteamID steamID, ECommunityProfileItemType itemType) +void cppISteamFriends_SteamFriends017_BHasEquippedProfileItem( struct cppISteamFriends_SteamFriends017_BHasEquippedProfileItem_params *params ) { - bool _ret; - _ret = ((ISteamFriends*)linux_side)->BHasEquippedProfileItem((CSteamID)steamID, (ECommunityProfileItemType)itemType); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->BHasEquippedProfileItem( (CSteamID)params->steamID, (ECommunityProfileItemType)params->itemType ); } -const char * cppISteamFriends_SteamFriends017_GetProfileItemPropertyString(void *linux_side, CSteamID steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop) +void cppISteamFriends_SteamFriends017_GetProfileItemPropertyString( struct cppISteamFriends_SteamFriends017_GetProfileItemPropertyString_params *params ) { - const char *_ret; - _ret = ((ISteamFriends*)linux_side)->GetProfileItemPropertyString((CSteamID)steamID, (ECommunityProfileItemType)itemType, (ECommunityProfileItemProperty)prop); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetProfileItemPropertyString( (CSteamID)params->steamID, (ECommunityProfileItemType)params->itemType, (ECommunityProfileItemProperty)params->prop ); } -uint32 cppISteamFriends_SteamFriends017_GetProfileItemPropertyUint(void *linux_side, CSteamID steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop) +void cppISteamFriends_SteamFriends017_GetProfileItemPropertyUint( struct cppISteamFriends_SteamFriends017_GetProfileItemPropertyUint_params *params ) { - uint32 _ret; - _ret = ((ISteamFriends*)linux_side)->GetProfileItemPropertyUint((CSteamID)steamID, (ECommunityProfileItemType)itemType, (ECommunityProfileItemProperty)prop); - return (_ret); + params->_ret = ((ISteamFriends*)params->linux_side)->GetProfileItemPropertyUint( (CSteamID)params->steamID, (ECommunityProfileItemType)params->itemType, (ECommunityProfileItemProperty)params->prop ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamFriends_SteamFriends017.h b/lsteamclient/cppISteamFriends_SteamFriends017.h index 40905b5c..6376374c 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends017.h +++ b/lsteamclient/cppISteamFriends_SteamFriends017.h @@ -1,80 +1,660 @@ -extern const char * cppISteamFriends_SteamFriends017_GetPersonaName(void *); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends017_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends017_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends017_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends017_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends017_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends017_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends017_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends017_GetFriendSteamLevel(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends017_GetPlayerNickname(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetFriendsGroupCount(void *); -extern FriendsGroupID_t cppISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends017_GetFriendsGroupName(void *, FriendsGroupID_t); -extern int cppISteamFriends_SteamFriends017_GetFriendsGroupMembersCount(void *, FriendsGroupID_t); -extern void cppISteamFriends_SteamFriends017_GetFriendsGroupMembersList(void *, FriendsGroupID_t, CSteamID *, int); -extern bool cppISteamFriends_SteamFriends017_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends017_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends017_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends017_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends017_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends017_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends017_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends017_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends017_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage(void *, const char *, EActivateGameOverlayToWebPageMode); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayToStore(void *, AppId_t, EOverlayToStoreFlag); -extern void cppISteamFriends_SteamFriends017_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends017_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends017_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends017_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends017_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends017_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends017_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends017_RequestFriendRichPresence(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends017_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends017_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends017_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends017_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends017_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends017_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends017_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends017_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends017_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends017_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_GetFollowerCount(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_IsFollowing(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_EnumerateFollowingList(void *, uint32); -extern bool cppISteamFriends_SteamFriends017_IsClanPublic(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_IsClanOfficialGameGroup(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages(void *); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser(void *, const char *); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString(void *, const char *); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_RequestEquippedProfileItems(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_BHasEquippedProfileItem(void *, CSteamID, ECommunityProfileItemType); -extern const char * cppISteamFriends_SteamFriends017_GetProfileItemPropertyString(void *, CSteamID, ECommunityProfileItemType, ECommunityProfileItemProperty); -extern uint32 cppISteamFriends_SteamFriends017_GetProfileItemPropertyUint(void *, CSteamID, ECommunityProfileItemType, ECommunityProfileItemProperty); +struct cppISteamFriends_SteamFriends017_GetPersonaName_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamFriends_SteamFriends017_GetPersonaName( struct cppISteamFriends_SteamFriends017_GetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends017_SetPersonaName_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchPersonaName; +}; +extern void cppISteamFriends_SteamFriends017_SetPersonaName( struct cppISteamFriends_SteamFriends017_SetPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends017_GetPersonaState_params +{ + void *linux_side; + EPersonaState _ret; +}; +extern void cppISteamFriends_SteamFriends017_GetPersonaState( struct cppISteamFriends_SteamFriends017_GetPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendCount_params +{ + void *linux_side; + int _ret; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendCount( struct cppISteamFriends_SteamFriends017_GetFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendByIndex( struct cppISteamFriends_SteamFriends017_GetFriendByIndex_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendRelationship_params +{ + void *linux_side; + EFriendRelationship _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendRelationship( struct cppISteamFriends_SteamFriends017_GetFriendRelationship_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendPersonaState_params +{ + void *linux_side; + EPersonaState _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendPersonaState( struct cppISteamFriends_SteamFriends017_GetFriendPersonaState_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendPersonaName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendPersonaName( struct cppISteamFriends_SteamFriends017_GetFriendPersonaName_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendGamePlayed_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendGamePlayed( struct cppISteamFriends_SteamFriends017_GetFriendGamePlayed_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendPersonaNameHistory_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iPersonaName; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendPersonaNameHistory( struct cppISteamFriends_SteamFriends017_GetFriendPersonaNameHistory_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendSteamLevel_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendSteamLevel( struct cppISteamFriends_SteamFriends017_GetFriendSteamLevel_params *params ); + +struct cppISteamFriends_SteamFriends017_GetPlayerNickname_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDPlayer; +}; +extern void cppISteamFriends_SteamFriends017_GetPlayerNickname( struct cppISteamFriends_SteamFriends017_GetPlayerNickname_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendsGroupCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendsGroupCount( struct cppISteamFriends_SteamFriends017_GetFriendsGroupCount_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex_params +{ + void *linux_side; + FriendsGroupID_t _ret; + int iFG; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex( struct cppISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendsGroupName_params +{ + void *linux_side; + const char *_ret; + FriendsGroupID_t friendsGroupID; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendsGroupName( struct cppISteamFriends_SteamFriends017_GetFriendsGroupName_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendsGroupMembersCount_params +{ + void *linux_side; + int _ret; + FriendsGroupID_t friendsGroupID; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendsGroupMembersCount( struct cppISteamFriends_SteamFriends017_GetFriendsGroupMembersCount_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendsGroupMembersList_params +{ + void *linux_side; + FriendsGroupID_t friendsGroupID; + CSteamID *pOutSteamIDMembers; + int nMembersCount; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendsGroupMembersList( struct cppISteamFriends_SteamFriends017_GetFriendsGroupMembersList_params *params ); + +struct cppISteamFriends_SteamFriends017_HasFriend_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + int iFriendFlags; +}; +extern void cppISteamFriends_SteamFriends017_HasFriend( struct cppISteamFriends_SteamFriends017_HasFriend_params *params ); + +struct cppISteamFriends_SteamFriends017_GetClanCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends017_GetClanCount( struct cppISteamFriends_SteamFriends017_GetClanCount_params *params ); + +struct cppISteamFriends_SteamFriends017_GetClanByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iClan; +}; +extern void cppISteamFriends_SteamFriends017_GetClanByIndex( struct cppISteamFriends_SteamFriends017_GetClanByIndex_params *params ); + +struct cppISteamFriends_SteamFriends017_GetClanName_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends017_GetClanName( struct cppISteamFriends_SteamFriends017_GetClanName_params *params ); + +struct cppISteamFriends_SteamFriends017_GetClanTag_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends017_GetClanTag( struct cppISteamFriends_SteamFriends017_GetClanTag_params *params ); + +struct cppISteamFriends_SteamFriends017_GetClanActivityCounts_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; + int *pnOnline; + int *pnInGame; + int *pnChatting; +}; +extern void cppISteamFriends_SteamFriends017_GetClanActivityCounts( struct cppISteamFriends_SteamFriends017_GetClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends017_DownloadClanActivityCounts_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID *psteamIDClans; + int cClansToRequest; +}; +extern void cppISteamFriends_SteamFriends017_DownloadClanActivityCounts( struct cppISteamFriends_SteamFriends017_DownloadClanActivityCounts_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendCountFromSource_params +{ + void *linux_side; + int _ret; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendCountFromSource( struct cppISteamFriends_SteamFriends017_GetFriendCountFromSource_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendFromSourceByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int iFriend; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendFromSourceByIndex( struct cppISteamFriends_SteamFriends017_GetFriendFromSourceByIndex_params *params ); + +struct cppISteamFriends_SteamFriends017_IsUserInSource_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; +extern void cppISteamFriends_SteamFriends017_IsUserInSource( struct cppISteamFriends_SteamFriends017_IsUserInSource_params *params ); + +struct cppISteamFriends_SteamFriends017_SetInGameVoiceSpeaking_params +{ + void *linux_side; + CSteamID steamIDUser; + bool bSpeaking; +}; +extern void cppISteamFriends_SteamFriends017_SetInGameVoiceSpeaking( struct cppISteamFriends_SteamFriends017_SetInGameVoiceSpeaking_params *params ); + +struct cppISteamFriends_SteamFriends017_ActivateGameOverlay_params +{ + void *linux_side; + const char *pchDialog; +}; +extern void cppISteamFriends_SteamFriends017_ActivateGameOverlay( struct cppISteamFriends_SteamFriends017_ActivateGameOverlay_params *params ); + +struct cppISteamFriends_SteamFriends017_ActivateGameOverlayToUser_params +{ + void *linux_side; + const char *pchDialog; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayToUser( struct cppISteamFriends_SteamFriends017_ActivateGameOverlayToUser_params *params ); + +struct cppISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage_params +{ + void *linux_side; + const char *pchURL; + EActivateGameOverlayToWebPageMode eMode; +}; +extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage( struct cppISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage_params *params ); + +struct cppISteamFriends_SteamFriends017_ActivateGameOverlayToStore_params +{ + void *linux_side; + AppId_t nAppID; + EOverlayToStoreFlag eFlag; +}; +extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayToStore( struct cppISteamFriends_SteamFriends017_ActivateGameOverlayToStore_params *params ); + +struct cppISteamFriends_SteamFriends017_SetPlayedWith_params +{ + void *linux_side; + CSteamID steamIDUserPlayedWith; +}; +extern void cppISteamFriends_SteamFriends017_SetPlayedWith( struct cppISteamFriends_SteamFriends017_SetPlayedWith_params *params ); + +struct cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog( struct cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog_params *params ); + +struct cppISteamFriends_SteamFriends017_GetSmallFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends017_GetSmallFriendAvatar( struct cppISteamFriends_SteamFriends017_GetSmallFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends017_GetMediumFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends017_GetMediumFriendAvatar( struct cppISteamFriends_SteamFriends017_GetMediumFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends017_GetLargeFriendAvatar_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends017_GetLargeFriendAvatar( struct cppISteamFriends_SteamFriends017_GetLargeFriendAvatar_params *params ); + +struct cppISteamFriends_SteamFriends017_RequestUserInformation_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + bool bRequireNameOnly; +}; +extern void cppISteamFriends_SteamFriends017_RequestUserInformation( struct cppISteamFriends_SteamFriends017_RequestUserInformation_params *params ); + +struct cppISteamFriends_SteamFriends017_RequestClanOfficerList_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends017_RequestClanOfficerList( struct cppISteamFriends_SteamFriends017_RequestClanOfficerList_params *params ); + +struct cppISteamFriends_SteamFriends017_GetClanOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends017_GetClanOwner( struct cppISteamFriends_SteamFriends017_GetClanOwner_params *params ); + +struct cppISteamFriends_SteamFriends017_GetClanOfficerCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends017_GetClanOfficerCount( struct cppISteamFriends_SteamFriends017_GetClanOfficerCount_params *params ); + +struct cppISteamFriends_SteamFriends017_GetClanOfficerByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iOfficer; +}; +extern void cppISteamFriends_SteamFriends017_GetClanOfficerByIndex( struct cppISteamFriends_SteamFriends017_GetClanOfficerByIndex_params *params ); + +struct cppISteamFriends_SteamFriends017_GetUserRestrictions_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamFriends_SteamFriends017_GetUserRestrictions( struct cppISteamFriends_SteamFriends017_GetUserRestrictions_params *params ); + +struct cppISteamFriends_SteamFriends017_SetRichPresence_params +{ + void *linux_side; + bool _ret; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamFriends_SteamFriends017_SetRichPresence( struct cppISteamFriends_SteamFriends017_SetRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends017_ClearRichPresence_params +{ + void *linux_side; +}; +extern void cppISteamFriends_SteamFriends017_ClearRichPresence( struct cppISteamFriends_SteamFriends017_ClearRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendRichPresence_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendRichPresence( struct cppISteamFriends_SteamFriends017_GetFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount( struct cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int iKey; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex( struct cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex_params *params ); + +struct cppISteamFriends_SteamFriends017_RequestFriendRichPresence_params +{ + void *linux_side; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends017_RequestFriendRichPresence( struct cppISteamFriends_SteamFriends017_RequestFriendRichPresence_params *params ); + +struct cppISteamFriends_SteamFriends017_InviteUserToGame_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; +extern void cppISteamFriends_SteamFriends017_InviteUserToGame( struct cppISteamFriends_SteamFriends017_InviteUserToGame_params *params ); + +struct cppISteamFriends_SteamFriends017_GetCoplayFriendCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends017_GetCoplayFriendCount( struct cppISteamFriends_SteamFriends017_GetCoplayFriendCount_params *params ); + +struct cppISteamFriends_SteamFriends017_GetCoplayFriend_params +{ + void *linux_side; + CSteamID *_ret; + int iCoplayFriend; +}; +extern void cppISteamFriends_SteamFriends017_GetCoplayFriend( struct cppISteamFriends_SteamFriends017_GetCoplayFriend_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendCoplayTime_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendCoplayTime( struct cppISteamFriends_SteamFriends017_GetFriendCoplayTime_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendCoplayGame_params +{ + void *linux_side; + AppId_t _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendCoplayGame( struct cppISteamFriends_SteamFriends017_GetFriendCoplayGame_params *params ); + +struct cppISteamFriends_SteamFriends017_JoinClanChatRoom_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends017_JoinClanChatRoom( struct cppISteamFriends_SteamFriends017_JoinClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends017_LeaveClanChatRoom_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends017_LeaveClanChatRoom( struct cppISteamFriends_SteamFriends017_LeaveClanChatRoom_params *params ); + +struct cppISteamFriends_SteamFriends017_GetClanChatMemberCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends017_GetClanChatMemberCount( struct cppISteamFriends_SteamFriends017_GetClanChatMemberCount_params *params ); + +struct cppISteamFriends_SteamFriends017_GetChatMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int iUser; +}; +extern void cppISteamFriends_SteamFriends017_GetChatMemberByIndex( struct cppISteamFriends_SteamFriends017_GetChatMemberByIndex_params *params ); + +struct cppISteamFriends_SteamFriends017_SendClanChatMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; +extern void cppISteamFriends_SteamFriends017_SendClanChatMessage( struct cppISteamFriends_SteamFriends017_SendClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends017_GetClanChatMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDClanChat; + int iMessage; + void *prgchText; + int cchTextMax; + EChatEntryType *peChatEntryType; + CSteamID *psteamidChatter; +}; +extern void cppISteamFriends_SteamFriends017_GetClanChatMessage( struct cppISteamFriends_SteamFriends017_GetClanChatMessage_params *params ); + +struct cppISteamFriends_SteamFriends017_IsClanChatAdmin_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; +extern void cppISteamFriends_SteamFriends017_IsClanChatAdmin( struct cppISteamFriends_SteamFriends017_IsClanChatAdmin_params *params ); + +struct cppISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam( struct cppISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam_params *params ); + +struct cppISteamFriends_SteamFriends017_OpenClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends017_OpenClanChatWindowInSteam( struct cppISteamFriends_SteamFriends017_OpenClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends017_CloseClanChatWindowInSteam_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClanChat; +}; +extern void cppISteamFriends_SteamFriends017_CloseClanChatWindowInSteam( struct cppISteamFriends_SteamFriends017_CloseClanChatWindowInSteam_params *params ); + +struct cppISteamFriends_SteamFriends017_SetListenForFriendsMessages_params +{ + void *linux_side; + bool _ret; + bool bInterceptEnabled; +}; +extern void cppISteamFriends_SteamFriends017_SetListenForFriendsMessages( struct cppISteamFriends_SteamFriends017_SetListenForFriendsMessages_params *params ); + +struct cppISteamFriends_SteamFriends017_ReplyToFriendMessage_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; +extern void cppISteamFriends_SteamFriends017_ReplyToFriendMessage( struct cppISteamFriends_SteamFriends017_ReplyToFriendMessage_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFriendMessage_params +{ + void *linux_side; + int _ret; + CSteamID steamIDFriend; + int iMessageID; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamFriends_SteamFriends017_GetFriendMessage( struct cppISteamFriends_SteamFriends017_GetFriendMessage_params *params ); + +struct cppISteamFriends_SteamFriends017_GetFollowerCount_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends017_GetFollowerCount( struct cppISteamFriends_SteamFriends017_GetFollowerCount_params *params ); + +struct cppISteamFriends_SteamFriends017_IsFollowing_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends017_IsFollowing( struct cppISteamFriends_SteamFriends017_IsFollowing_params *params ); + +struct cppISteamFriends_SteamFriends017_EnumerateFollowingList_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamFriends_SteamFriends017_EnumerateFollowingList( struct cppISteamFriends_SteamFriends017_EnumerateFollowingList_params *params ); + +struct cppISteamFriends_SteamFriends017_IsClanPublic_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends017_IsClanPublic( struct cppISteamFriends_SteamFriends017_IsClanPublic_params *params ); + +struct cppISteamFriends_SteamFriends017_IsClanOfficialGameGroup_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDClan; +}; +extern void cppISteamFriends_SteamFriends017_IsClanOfficialGameGroup( struct cppISteamFriends_SteamFriends017_IsClanOfficialGameGroup_params *params ); + +struct cppISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages( struct cppISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages_params *params ); + +struct cppISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog( struct cppISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog_params *params ); + +struct cppISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser_params +{ + void *linux_side; + bool _ret; + const char *pchProtocol; +}; +extern void cppISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser( struct cppISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser_params *params ); + +struct cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString_params +{ + void *linux_side; + const char *pchConnectString; +}; +extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString( struct cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString_params *params ); + +struct cppISteamFriends_SteamFriends017_RequestEquippedProfileItems_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamFriends_SteamFriends017_RequestEquippedProfileItems( struct cppISteamFriends_SteamFriends017_RequestEquippedProfileItems_params *params ); + +struct cppISteamFriends_SteamFriends017_BHasEquippedProfileItem_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + ECommunityProfileItemType itemType; +}; +extern void cppISteamFriends_SteamFriends017_BHasEquippedProfileItem( struct cppISteamFriends_SteamFriends017_BHasEquippedProfileItem_params *params ); + +struct cppISteamFriends_SteamFriends017_GetProfileItemPropertyString_params +{ + void *linux_side; + const char *_ret; + CSteamID steamID; + ECommunityProfileItemType itemType; + ECommunityProfileItemProperty prop; +}; +extern void cppISteamFriends_SteamFriends017_GetProfileItemPropertyString( struct cppISteamFriends_SteamFriends017_GetProfileItemPropertyString_params *params ); + +struct cppISteamFriends_SteamFriends017_GetProfileItemPropertyUint_params +{ + void *linux_side; + uint32 _ret; + CSteamID steamID; + ECommunityProfileItemType itemType; + ECommunityProfileItemProperty prop; +}; +extern void cppISteamFriends_SteamFriends017_GetProfileItemPropertyUint( struct cppISteamFriends_SteamFriends017_GetProfileItemPropertyUint_params *params ); + diff --git a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp index e38155c6..19442b4f 100644 --- a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp +++ b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp @@ -13,25 +13,19 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamGameCoordinator_SteamGameCoordinator001.h" -EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage(void *linux_side, uint32 unMsgType, const void *pubData, uint32 cubData) +void cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage( struct cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage_params *params ) { - EGCResults _ret; - _ret = ((ISteamGameCoordinator*)linux_side)->SendMessage((uint32)unMsgType, (const void *)pubData, (uint32)cubData); - return (_ret); + params->_ret = ((ISteamGameCoordinator*)params->linux_side)->SendMessage( (uint32)params->unMsgType, (const void *)params->pubData, (uint32)params->cubData ); } -bool cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable(void *linux_side, uint32 *pcubMsgSize) +void cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable( struct cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable_params *params ) { - bool _ret; - _ret = ((ISteamGameCoordinator*)linux_side)->IsMessageAvailable((uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamGameCoordinator*)params->linux_side)->IsMessageAvailable( (uint32 *)params->pcubMsgSize ); } -EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage(void *linux_side, uint32 *punMsgType, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) +void cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage( struct cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage_params *params ) { - EGCResults _ret; - _ret = ((ISteamGameCoordinator*)linux_side)->RetrieveMessage((uint32 *)punMsgType, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamGameCoordinator*)params->linux_side)->RetrieveMessage( (uint32 *)params->punMsgType, (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.h b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.h index c4a71084..5f0e4d09 100644 --- a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.h +++ b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.h @@ -1,3 +1,29 @@ -extern EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage(void *, uint32, const void *, uint32); -extern bool cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable(void *, uint32 *); -extern EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage(void *, uint32 *, void *, uint32, uint32 *); +struct cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage_params +{ + void *linux_side; + EGCResults _ret; + uint32 unMsgType; + const void *pubData; + uint32 cubData; +}; +extern void cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage( struct cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage_params *params ); + +struct cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable_params +{ + void *linux_side; + bool _ret; + uint32 *pcubMsgSize; +}; +extern void cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable( struct cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable_params *params ); + +struct cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage_params +{ + void *linux_side; + EGCResults _ret; + uint32 *punMsgType; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; +}; +extern void cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage( struct cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage_params *params ); + diff --git a/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp b/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp index 9f2196fd..f3e5720d 100644 --- a/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp +++ b/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp @@ -12,102 +12,74 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamGameSearch_SteamMatchGameSearch001.h" -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams(void *linux_side, const char *pchKeyToFind, const char *pchValuesToFind) +void cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams( struct cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->AddGameSearchParams((const char *)pchKeyToFind, (const char *)pchValuesToFind); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->AddGameSearchParams( (const char *)params->pchKeyToFind, (const char *)params->pchValuesToFind ); } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby(void *linux_side, CSteamID steamIDLobby, int nPlayerMin, int nPlayerMax) +void cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby( struct cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->SearchForGameWithLobby((CSteamID)steamIDLobby, (int)nPlayerMin, (int)nPlayerMax); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->SearchForGameWithLobby( (CSteamID)params->steamIDLobby, (int)params->nPlayerMin, (int)params->nPlayerMax ); } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo(void *linux_side, int nPlayerMin, int nPlayerMax) +void cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo( struct cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->SearchForGameSolo((int)nPlayerMin, (int)nPlayerMax); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->SearchForGameSolo( (int)params->nPlayerMin, (int)params->nPlayerMax ); } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame(void *linux_side) +void cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame( struct cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->AcceptGame(); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->AcceptGame( ); } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame(void *linux_side) +void cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame( struct cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->DeclineGame(); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->DeclineGame( ); } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails(void *linux_side, CSteamID steamIDHost, char *pchConnectionDetails, int cubConnectionDetails) +void cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails( struct cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->RetrieveConnectionDetails((CSteamID)steamIDHost, (char *)pchConnectionDetails, (int)cubConnectionDetails); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->RetrieveConnectionDetails( (CSteamID)params->steamIDHost, (char *)params->pchConnectionDetails, (int)params->cubConnectionDetails ); } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch(void *linux_side) +void cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch( struct cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->EndGameSearch(); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->EndGameSearch( ); } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams(void *linux_side, const char *pchKey, const char *pchValue) +void cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams( struct cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->SetGameHostParams((const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->SetGameHostParams( (const char *)params->pchKey, (const char *)params->pchValue ); } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails(void *linux_side, const char *pchConnectionDetails, int cubConnectionDetails) +void cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails( struct cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->SetConnectionDetails((const char *)pchConnectionDetails, (int)cubConnectionDetails); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->SetConnectionDetails( (const char *)params->pchConnectionDetails, (int)params->cubConnectionDetails ); } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame(void *linux_side, int nPlayerMin, int nPlayerMax, int nMaxTeamSize) +void cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame( struct cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->RequestPlayersForGame((int)nPlayerMin, (int)nPlayerMax, (int)nMaxTeamSize); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->RequestPlayersForGame( (int)params->nPlayerMin, (int)params->nPlayerMax, (int)params->nMaxTeamSize ); } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart(void *linux_side, uint64 ullUniqueGameID) +void cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart( struct cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->HostConfirmGameStart((uint64)ullUniqueGameID); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->HostConfirmGameStart( (uint64)params->ullUniqueGameID ); } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame(void *linux_side) +void cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame( struct cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->CancelRequestPlayersForGame(); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->CancelRequestPlayersForGame( ); } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult(void *linux_side, uint64 ullUniqueGameID, CSteamID steamIDPlayer, EPlayerResult_t EPlayerResult) +void cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult( struct cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->SubmitPlayerResult((uint64)ullUniqueGameID, (CSteamID)steamIDPlayer, (EPlayerResult_t)EPlayerResult); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->SubmitPlayerResult( (uint64)params->ullUniqueGameID, (CSteamID)params->steamIDPlayer, (EPlayerResult_t)params->EPlayerResult ); } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_EndGame(void *linux_side, uint64 ullUniqueGameID) +void cppISteamGameSearch_SteamMatchGameSearch001_EndGame( struct cppISteamGameSearch_SteamMatchGameSearch001_EndGame_params *params ) { - EGameSearchErrorCode_t _ret; - _ret = ((ISteamGameSearch*)linux_side)->EndGame((uint64)ullUniqueGameID); - return (_ret); + params->_ret = ((ISteamGameSearch*)params->linux_side)->EndGame( (uint64)params->ullUniqueGameID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.h b/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.h index 343b72d7..ca88294e 100644 --- a/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.h +++ b/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.h @@ -1,14 +1,120 @@ -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams(void *, const char *, const char *); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby(void *, CSteamID, int, int); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo(void *, int, int); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame(void *); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame(void *); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails(void *, CSteamID, char *, int); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch(void *); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams(void *, const char *, const char *); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails(void *, const char *, int); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame(void *, int, int, int); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart(void *, uint64); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame(void *); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult(void *, uint64, CSteamID, EPlayerResult_t); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_EndGame(void *, uint64); +struct cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; + const char *pchKeyToFind; + const char *pchValuesToFind; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams( struct cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams_params *params ); + +struct cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; + CSteamID steamIDLobby; + int nPlayerMin; + int nPlayerMax; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby( struct cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby_params *params ); + +struct cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; + int nPlayerMin; + int nPlayerMax; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo( struct cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo_params *params ); + +struct cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame( struct cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame_params *params ); + +struct cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame( struct cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame_params *params ); + +struct cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; + CSteamID steamIDHost; + char *pchConnectionDetails; + int cubConnectionDetails; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails( struct cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails_params *params ); + +struct cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch( struct cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch_params *params ); + +struct cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams( struct cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams_params *params ); + +struct cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; + const char *pchConnectionDetails; + int cubConnectionDetails; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails( struct cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails_params *params ); + +struct cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; + int nPlayerMin; + int nPlayerMax; + int nMaxTeamSize; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame( struct cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame_params *params ); + +struct cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; + uint64 ullUniqueGameID; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart( struct cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart_params *params ); + +struct cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame( struct cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame_params *params ); + +struct cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; + uint64 ullUniqueGameID; + CSteamID steamIDPlayer; + EPlayerResult_t EPlayerResult; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult( struct cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult_params *params ); + +struct cppISteamGameSearch_SteamMatchGameSearch001_EndGame_params +{ + void *linux_side; + EGameSearchErrorCode_t _ret; + uint64 ullUniqueGameID; +}; +extern void cppISteamGameSearch_SteamMatchGameSearch001_EndGame( struct cppISteamGameSearch_SteamMatchGameSearch001_EndGame_params *params ); + diff --git a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp index 58f2d9fe..025a74b9 100644 --- a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp +++ b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp @@ -13,74 +13,54 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamGameServerStats_SteamGameServerStats001.h" -SteamAPICall_t cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats(void *linux_side, CSteamID steamIDUser) +void cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats( struct cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServerStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamGameServerStats*)params->linux_side)->RequestUserStats( (CSteamID)params->steamIDUser ); } -bool cppISteamGameServerStats_SteamGameServerStats001_GetUserStat(void *linux_side, CSteamID steamIDUser, const char *pchName, int32 *pData) +void cppISteamGameServerStats_SteamGameServerStats001_GetUserStat( struct cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_params *params ) { - bool _ret; - _ret = ((ISteamGameServerStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamGameServerStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char *pchName, float *pData) +void cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2( struct cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2_params *params ) { - bool _ret; - _ret = ((ISteamGameServerStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamGameServerStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) +void cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement( struct cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement_params *params ) { - bool _ret; - _ret = ((ISteamGameServerStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamGameServerStats*)params->linux_side)->GetUserAchievement( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamGameServerStats_SteamGameServerStats001_SetUserStat(void *linux_side, CSteamID steamIDUser, const char *pchName, int32 nData) +void cppISteamGameServerStats_SteamGameServerStats001_SetUserStat( struct cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_params *params ) { - bool _ret; - _ret = ((ISteamGameServerStats*)linux_side)->SetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32)nData); - return (_ret); + params->_ret = ((ISteamGameServerStats*)params->linux_side)->SetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (int32)params->nData ); } -bool cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2(void *linux_side, CSteamID steamIDUser, const char *pchName, float fData) +void cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2( struct cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2_params *params ) { - bool _ret; - _ret = ((ISteamGameServerStats*)linux_side)->SetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float)fData); - return (_ret); + params->_ret = ((ISteamGameServerStats*)params->linux_side)->SetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (float)params->fData ); } -bool cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat(void *linux_side, CSteamID steamIDUser, const char *pchName, float flCountThisSession, double dSessionLength) +void cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat( struct cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat_params *params ) { - bool _ret; - _ret = ((ISteamGameServerStats*)linux_side)->UpdateUserAvgRateStat((CSteamID)steamIDUser, (const char *)pchName, (float)flCountThisSession, (double)dSessionLength); - return (_ret); + params->_ret = ((ISteamGameServerStats*)params->linux_side)->UpdateUserAvgRateStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength ); } -bool cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement(void *linux_side, CSteamID steamIDUser, const char *pchName) +void cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement( struct cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement_params *params ) { - bool _ret; - _ret = ((ISteamGameServerStats*)linux_side)->SetUserAchievement((CSteamID)steamIDUser, (const char *)pchName); - return (_ret); + params->_ret = ((ISteamGameServerStats*)params->linux_side)->SetUserAchievement( (CSteamID)params->steamIDUser, (const char *)params->pchName ); } -bool cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement(void *linux_side, CSteamID steamIDUser, const char *pchName) +void cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement( struct cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement_params *params ) { - bool _ret; - _ret = ((ISteamGameServerStats*)linux_side)->ClearUserAchievement((CSteamID)steamIDUser, (const char *)pchName); - return (_ret); + params->_ret = ((ISteamGameServerStats*)params->linux_side)->ClearUserAchievement( (CSteamID)params->steamIDUser, (const char *)params->pchName ); } -SteamAPICall_t cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats(void *linux_side, CSteamID steamIDUser) +void cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats( struct cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServerStats*)linux_side)->StoreUserStats((CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamGameServerStats*)params->linux_side)->StoreUserStats( (CSteamID)params->steamIDUser ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.h b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.h index 712e95f2..59c713c6 100644 --- a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.h +++ b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.h @@ -1,10 +1,95 @@ -extern SteamAPICall_t cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats(void *, CSteamID); -extern bool cppISteamGameServerStats_SteamGameServerStats001_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamGameServerStats_SteamGameServerStats001_SetUserStat(void *, CSteamID, const char *, int32); -extern bool cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2(void *, CSteamID, const char *, float); -extern bool cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat(void *, CSteamID, const char *, float, double); -extern bool cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement(void *, CSteamID, const char *); -extern bool cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement(void *, CSteamID, const char *); -extern SteamAPICall_t cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats(void *, CSteamID); +struct cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDUser; +}; +extern void cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats( struct cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats_params *params ); + +struct cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + int32 *pData; +}; +extern void cppISteamGameServerStats_SteamGameServerStats001_GetUserStat( struct cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_params *params ); + +struct cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; +extern void cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2( struct cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2_params *params ); + +struct cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement( struct cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement_params *params ); + +struct cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + int32 nData; +}; +extern void cppISteamGameServerStats_SteamGameServerStats001_SetUserStat( struct cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_params *params ); + +struct cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + float fData; +}; +extern void cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2( struct cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2_params *params ); + +struct cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; +extern void cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat( struct cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat_params *params ); + +struct cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; +}; +extern void cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement( struct cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement_params *params ); + +struct cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; +}; +extern void cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement( struct cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement_params *params ); + +struct cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDUser; +}; +extern void cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats( struct cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats_params *params ); + diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer002.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer002.cpp index 2239c36f..7dd0c963 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer002.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer002.cpp @@ -12,141 +12,109 @@ extern "C" { #define SDKVER_099x #include "struct_converters.h" #include "cppISteamGameServer_SteamGameServer002.h" -void cppISteamGameServer_SteamGameServer002_LogOn(void *linux_side) +void cppISteamGameServer_SteamGameServer002_LogOn( struct cppISteamGameServer_SteamGameServer002_LogOn_params *params ) { - ((ISteamGameServer*)linux_side)->LogOn(); + ((ISteamGameServer*)params->linux_side)->LogOn( ); } -void cppISteamGameServer_SteamGameServer002_LogOff(void *linux_side) +void cppISteamGameServer_SteamGameServer002_LogOff( struct cppISteamGameServer_SteamGameServer002_LogOff_params *params ) { - ((ISteamGameServer*)linux_side)->LogOff(); + ((ISteamGameServer*)params->linux_side)->LogOff( ); } -bool cppISteamGameServer_SteamGameServer002_BLoggedOn(void *linux_side) +void cppISteamGameServer_SteamGameServer002_BLoggedOn( struct cppISteamGameServer_SteamGameServer002_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BLoggedOn( ); } -void cppISteamGameServer_SteamGameServer002_GSSetSpawnCount(void *linux_side, uint32 ucSpawn) +void cppISteamGameServer_SteamGameServer002_GSSetSpawnCount( struct cppISteamGameServer_SteamGameServer002_GSSetSpawnCount_params *params ) { - ((ISteamGameServer*)linux_side)->GSSetSpawnCount((uint32)ucSpawn); + ((ISteamGameServer*)params->linux_side)->GSSetSpawnCount( (uint32)params->ucSpawn ); } -bool cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient(void *linux_side, void *pvEncryptionKey, uint32 *pcbEncryptionKey, uint32 cbMaxEncryptionKey) +void cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient( struct cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSGetSteam2GetEncryptionKeyToSendToNewClient((void *)pvEncryptionKey, (uint32 *)pcbEncryptionKey, (uint32)cbMaxEncryptionKey); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSGetSteam2GetEncryptionKeyToSendToNewClient( (void *)params->pvEncryptionKey, (uint32 *)params->pcbEncryptionKey, (uint32)params->cbMaxEncryptionKey ); } -bool cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect(void *linux_side, uint32 unUserID, const void *pvRawKey, uint32 unKeyLen, uint32 unIPPublic, uint16 usPort, const void *pvCookie, uint32 cubCookie) +void cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect( struct cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSSendSteam2UserConnect((uint32)unUserID, (const void *)pvRawKey, (uint32)unKeyLen, (uint32)unIPPublic, (uint16)usPort, (const void *)pvCookie, (uint32)cubCookie); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSSendSteam2UserConnect( (uint32)params->unUserID, (const void *)params->pvRawKey, (uint32)params->unKeyLen, (uint32)params->unIPPublic, (uint16)params->usPort, (const void *)params->pvCookie, (uint32)params->cubCookie ); } -bool cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect(void *linux_side, CSteamID steamID, uint32 unIPPublic, const void *pvCookie, uint32 cubCookie) +void cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect( struct cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSSendSteam3UserConnect((CSteamID)steamID, (uint32)unIPPublic, (const void *)pvCookie, (uint32)cubCookie); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSSendSteam3UserConnect( (CSteamID)params->steamID, (uint32)params->unIPPublic, (const void *)params->pvCookie, (uint32)params->cubCookie ); } -bool cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect(void *linux_side, uint32 unUserID) +void cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect( struct cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSRemoveUserConnect((uint32)unUserID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSRemoveUserConnect( (uint32)params->unUserID ); } -bool cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect(void *linux_side, CSteamID steamID, uint32 unUserID) +void cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect( struct cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSSendUserDisconnect((CSteamID)steamID, (uint32)unUserID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSSendUserDisconnect( (CSteamID)params->steamID, (uint32)params->unUserID ); } -bool cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse(void *linux_side, CSteamID steamID, int nSecondsConnected, int nSecondsSinceLast) +void cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse( struct cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSSendUserStatusResponse((CSteamID)steamID, (int)nSecondsConnected, (int)nSecondsSinceLast); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSSendUserStatusResponse( (CSteamID)params->steamID, (int)params->nSecondsConnected, (int)params->nSecondsSinceLast ); } -bool cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus(void *linux_side, int32 nAppIdServed, uint32 unServerFlags, int cPlayers, int cPlayersMax, int cBotPlayers, int unGamePort, const char *pchServerName, const char *pchGameDir, const char *pchMapName, const char *pchVersion) +void cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus( struct cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->Obsolete_GSSetStatus((int32)nAppIdServed, (uint32)unServerFlags, (int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (int)unGamePort, (const char *)pchServerName, (const char *)pchGameDir, (const char *)pchMapName, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->Obsolete_GSSetStatus( (int32)params->nAppIdServed, (uint32)params->unServerFlags, (int)params->cPlayers, (int)params->cPlayersMax, (int)params->cBotPlayers, (int)params->unGamePort, (const char *)params->pchServerName, (const char *)params->pchGameDir, (const char *)params->pchMapName, (const char *)params->pchVersion ); } -bool cppISteamGameServer_SteamGameServer002_GSUpdateStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pchMapName) +void cppISteamGameServer_SteamGameServer002_GSUpdateStatus( struct cppISteamGameServer_SteamGameServer002_GSUpdateStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSUpdateStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pchMapName); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSUpdateStatus( (int)params->cPlayers, (int)params->cPlayersMax, (int)params->cBotPlayers, (const char *)params->pchServerName, (const char *)params->pchMapName ); } -bool cppISteamGameServer_SteamGameServer002_BSecure(void *linux_side) +void cppISteamGameServer_SteamGameServer002_BSecure( struct cppISteamGameServer_SteamGameServer002_BSecure_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSecure(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSecure( ); } -CSteamID cppISteamGameServer_SteamGameServer002_GetSteamID(void *linux_side) +void cppISteamGameServer_SteamGameServer002_GetSteamID( struct cppISteamGameServer_SteamGameServer002_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetSteamID( ); } -bool cppISteamGameServer_SteamGameServer002_GSSetServerType(void *linux_side, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint32 unGamePort, const char *pchGameDir, const char *pchVersion) +void cppISteamGameServer_SteamGameServer002_GSSetServerType( struct cppISteamGameServer_SteamGameServer002_GSSetServerType_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSSetServerType((int32)nGameAppId, (uint32)unServerFlags, (uint32)unGameIP, (uint32)unGamePort, (const char *)pchGameDir, (const char *)pchVersion); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSSetServerType( (int32)params->nGameAppId, (uint32)params->unServerFlags, (uint32)params->unGameIP, (uint32)params->unGamePort, (const char *)params->pchGameDir, (const char *)params->pchVersion ); } -bool cppISteamGameServer_SteamGameServer002_GSSetServerType2(void *linux_side, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) +void cppISteamGameServer_SteamGameServer002_GSSetServerType2( struct cppISteamGameServer_SteamGameServer002_GSSetServerType2_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSSetServerType2((int32)nGameAppId, (uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSSetServerType2( (int32)params->nGameAppId, (uint32)params->unServerFlags, (uint32)params->unGameIP, (uint16)params->unGamePort, (uint16)params->unSpectatorPort, (uint16)params->usQueryPort, (const char *)params->pchGameDir, (const char *)params->pchVersion, (bool)params->bLANMode ); } -bool cppISteamGameServer_SteamGameServer002_GSUpdateStatus2(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) +void cppISteamGameServer_SteamGameServer002_GSUpdateStatus2( struct cppISteamGameServer_SteamGameServer002_GSUpdateStatus2_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSUpdateStatus2((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSUpdateStatus2( (int)params->cPlayers, (int)params->cPlayersMax, (int)params->cBotPlayers, (const char *)params->pchServerName, (const char *)params->pSpectatorServerName, (const char *)params->pchMapName ); } -bool cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser(void *linux_side, CSteamID *pSteamID) +void cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser( struct cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSCreateUnauthenticatedUser((CSteamID *)pSteamID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSCreateUnauthenticatedUser( (CSteamID *)params->pSteamID ); } -bool cppISteamGameServer_SteamGameServer002_GSSetUserData(void *linux_side, CSteamID steamID, const char *pPlayerName, uint32 nFrags) +void cppISteamGameServer_SteamGameServer002_GSSetUserData( struct cppISteamGameServer_SteamGameServer002_GSSetUserData_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSSetUserData((CSteamID)steamID, (const char *)pPlayerName, (uint32)nFrags); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSSetUserData( (CSteamID)params->steamID, (const char *)params->pPlayerName, (uint32)params->nFrags ); } -void cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +void cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort_params *params ) { - ((ISteamGameServer*)linux_side)->GSUpdateSpectatorPort((uint16)unSpectatorPort); + ((ISteamGameServer*)params->linux_side)->GSUpdateSpectatorPort( (uint16)params->unSpectatorPort ); } -void cppISteamGameServer_SteamGameServer002_GSSetGameType(void *linux_side, const char *pchType) +void cppISteamGameServer_SteamGameServer002_GSSetGameType( struct cppISteamGameServer_SteamGameServer002_GSSetGameType_params *params ) { - ((ISteamGameServer*)linux_side)->GSSetGameType((const char *)pchType); + ((ISteamGameServer*)params->linux_side)->GSSetGameType( (const char *)params->pchType ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer002.h b/lsteamclient/cppISteamGameServer_SteamGameServer002.h index e6564eaa..4b43bce7 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer002.h +++ b/lsteamclient/cppISteamGameServer_SteamGameServer002.h @@ -1,21 +1,205 @@ -extern void cppISteamGameServer_SteamGameServer002_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer002_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer002_BLoggedOn(void *); -extern void cppISteamGameServer_SteamGameServer002_GSSetSpawnCount(void *, uint32); -extern bool cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient(void *, void *, uint32 *, uint32); -extern bool cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect(void *, uint32, const void *, uint32, uint32, uint16, const void *, uint32); -extern bool cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect(void *, CSteamID, uint32, const void *, uint32); -extern bool cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect(void *, uint32); -extern bool cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect(void *, CSteamID, uint32); -extern bool cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse(void *, CSteamID, int, int); -extern bool cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus(void *, int32, uint32, int, int, int, int, const char *, const char *, const char *, const char *); -extern bool cppISteamGameServer_SteamGameServer002_GSUpdateStatus(void *, int, int, int, const char *, const char *); -extern bool cppISteamGameServer_SteamGameServer002_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer002_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer002_GSSetServerType(void *, int32, uint32, uint32, uint32, const char *, const char *); -extern bool cppISteamGameServer_SteamGameServer002_GSSetServerType2(void *, int32, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern bool cppISteamGameServer_SteamGameServer002_GSUpdateStatus2(void *, int, int, int, const char *, const char *, const char *); -extern bool cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser(void *, CSteamID *); -extern bool cppISteamGameServer_SteamGameServer002_GSSetUserData(void *, CSteamID, const char *, uint32); -extern void cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer002_GSSetGameType(void *, const char *); +struct cppISteamGameServer_SteamGameServer002_LogOn_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer002_LogOn( struct cppISteamGameServer_SteamGameServer002_LogOn_params *params ); + +struct cppISteamGameServer_SteamGameServer002_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer002_LogOff( struct cppISteamGameServer_SteamGameServer002_LogOff_params *params ); + +struct cppISteamGameServer_SteamGameServer002_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer002_BLoggedOn( struct cppISteamGameServer_SteamGameServer002_BLoggedOn_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSSetSpawnCount_params +{ + void *linux_side; + uint32 ucSpawn; +}; +extern void cppISteamGameServer_SteamGameServer002_GSSetSpawnCount( struct cppISteamGameServer_SteamGameServer002_GSSetSpawnCount_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient_params +{ + void *linux_side; + bool _ret; + void *pvEncryptionKey; + uint32 *pcbEncryptionKey; + uint32 cbMaxEncryptionKey; +}; +extern void cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient( struct cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect_params +{ + void *linux_side; + bool _ret; + uint32 unUserID; + const void *pvRawKey; + uint32 unKeyLen; + uint32 unIPPublic; + uint16 usPort; + const void *pvCookie; + uint32 cubCookie; +}; +extern void cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect( struct cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + uint32 unIPPublic; + const void *pvCookie; + uint32 cubCookie; +}; +extern void cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect( struct cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect_params +{ + void *linux_side; + bool _ret; + uint32 unUserID; +}; +extern void cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect( struct cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + uint32 unUserID; +}; +extern void cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect( struct cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + int nSecondsConnected; + int nSecondsSinceLast; +}; +extern void cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse( struct cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse_params *params ); + +struct cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus_params +{ + void *linux_side; + bool _ret; + int32 nAppIdServed; + uint32 unServerFlags; + int cPlayers; + int cPlayersMax; + int cBotPlayers; + int unGamePort; + const char *pchServerName; + const char *pchGameDir; + const char *pchMapName; + const char *pchVersion; +}; +extern void cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus( struct cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSUpdateStatus_params +{ + void *linux_side; + bool _ret; + int cPlayers; + int cPlayersMax; + int cBotPlayers; + const char *pchServerName; + const char *pchMapName; +}; +extern void cppISteamGameServer_SteamGameServer002_GSUpdateStatus( struct cppISteamGameServer_SteamGameServer002_GSUpdateStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer002_BSecure_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer002_BSecure( struct cppISteamGameServer_SteamGameServer002_BSecure_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer002_GetSteamID( struct cppISteamGameServer_SteamGameServer002_GetSteamID_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSSetServerType_params +{ + void *linux_side; + bool _ret; + int32 nGameAppId; + uint32 unServerFlags; + uint32 unGameIP; + uint32 unGamePort; + const char *pchGameDir; + const char *pchVersion; +}; +extern void cppISteamGameServer_SteamGameServer002_GSSetServerType( struct cppISteamGameServer_SteamGameServer002_GSSetServerType_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSSetServerType2_params +{ + void *linux_side; + bool _ret; + int32 nGameAppId; + uint32 unServerFlags; + uint32 unGameIP; + uint16 unGamePort; + uint16 unSpectatorPort; + uint16 usQueryPort; + const char *pchGameDir; + const char *pchVersion; + bool bLANMode; +}; +extern void cppISteamGameServer_SteamGameServer002_GSSetServerType2( struct cppISteamGameServer_SteamGameServer002_GSSetServerType2_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSUpdateStatus2_params +{ + void *linux_side; + bool _ret; + int cPlayers; + int cPlayersMax; + int cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; +extern void cppISteamGameServer_SteamGameServer002_GSUpdateStatus2( struct cppISteamGameServer_SteamGameServer002_GSUpdateStatus2_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser_params +{ + void *linux_side; + bool _ret; + CSteamID *pSteamID; +}; +extern void cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser( struct cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSSetUserData_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + const char *pPlayerName; + uint32 nFrags; +}; +extern void cppISteamGameServer_SteamGameServer002_GSSetUserData( struct cppISteamGameServer_SteamGameServer002_GSSetUserData_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort_params +{ + void *linux_side; + uint16 unSpectatorPort; +}; +extern void cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort_params *params ); + +struct cppISteamGameServer_SteamGameServer002_GSSetGameType_params +{ + void *linux_side; + const char *pchType; +}; +extern void cppISteamGameServer_SteamGameServer002_GSSetGameType( struct cppISteamGameServer_SteamGameServer002_GSSetGameType_params *params ); + diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer003.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer003.cpp index f912bc2a..0c82c203 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer003.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer003.cpp @@ -12,113 +12,89 @@ extern "C" { #define SDKVER_099y #include "struct_converters.h" #include "cppISteamGameServer_SteamGameServer003.h" -void cppISteamGameServer_SteamGameServer003_LogOn(void *linux_side) +void cppISteamGameServer_SteamGameServer003_LogOn( struct cppISteamGameServer_SteamGameServer003_LogOn_params *params ) { - ((ISteamGameServer*)linux_side)->LogOn(); + ((ISteamGameServer*)params->linux_side)->LogOn( ); } -void cppISteamGameServer_SteamGameServer003_LogOff(void *linux_side) +void cppISteamGameServer_SteamGameServer003_LogOff( struct cppISteamGameServer_SteamGameServer003_LogOff_params *params ) { - ((ISteamGameServer*)linux_side)->LogOff(); + ((ISteamGameServer*)params->linux_side)->LogOff( ); } -bool cppISteamGameServer_SteamGameServer003_BLoggedOn(void *linux_side) +void cppISteamGameServer_SteamGameServer003_BLoggedOn( struct cppISteamGameServer_SteamGameServer003_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BLoggedOn( ); } -bool cppISteamGameServer_SteamGameServer003_BSecure(void *linux_side) +void cppISteamGameServer_SteamGameServer003_BSecure( struct cppISteamGameServer_SteamGameServer003_BSecure_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSecure(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSecure( ); } -CSteamID cppISteamGameServer_SteamGameServer003_GetSteamID(void *linux_side) +void cppISteamGameServer_SteamGameServer003_GetSteamID( struct cppISteamGameServer_SteamGameServer003_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetSteamID( ); } -bool cppISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient(void *linux_side, void *pvEncryptionKey, uint32 *pcbEncryptionKey, uint32 cbMaxEncryptionKey) +void cppISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient( struct cppISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSGetSteam2GetEncryptionKeyToSendToNewClient((void *)pvEncryptionKey, (uint32 *)pcbEncryptionKey, (uint32)cbMaxEncryptionKey); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSGetSteam2GetEncryptionKeyToSendToNewClient( (void *)params->pvEncryptionKey, (uint32 *)params->pcbEncryptionKey, (uint32)params->cbMaxEncryptionKey ); } -bool cppISteamGameServer_SteamGameServer003_GSSendUserConnect(void *linux_side, uint32 unUserID, uint32 unIPPublic, uint16 usPort, const void *pvCookie, uint32 cubCookie) +void cppISteamGameServer_SteamGameServer003_GSSendUserConnect( struct cppISteamGameServer_SteamGameServer003_GSSendUserConnect_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSSendUserConnect((uint32)unUserID, (uint32)unIPPublic, (uint16)usPort, (const void *)pvCookie, (uint32)cubCookie); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSSendUserConnect( (uint32)params->unUserID, (uint32)params->unIPPublic, (uint16)params->usPort, (const void *)params->pvCookie, (uint32)params->cubCookie ); } -bool cppISteamGameServer_SteamGameServer003_GSRemoveUserConnect(void *linux_side, uint32 unUserID) +void cppISteamGameServer_SteamGameServer003_GSRemoveUserConnect( struct cppISteamGameServer_SteamGameServer003_GSRemoveUserConnect_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSRemoveUserConnect((uint32)unUserID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSRemoveUserConnect( (uint32)params->unUserID ); } -bool cppISteamGameServer_SteamGameServer003_GSSendUserDisconnect(void *linux_side, CSteamID steamID, uint32 unUserID) +void cppISteamGameServer_SteamGameServer003_GSSendUserDisconnect( struct cppISteamGameServer_SteamGameServer003_GSSendUserDisconnect_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSSendUserDisconnect((CSteamID)steamID, (uint32)unUserID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSSendUserDisconnect( (CSteamID)params->steamID, (uint32)params->unUserID ); } -void cppISteamGameServer_SteamGameServer003_GSSetSpawnCount(void *linux_side, uint32 ucSpawn) +void cppISteamGameServer_SteamGameServer003_GSSetSpawnCount( struct cppISteamGameServer_SteamGameServer003_GSSetSpawnCount_params *params ) { - ((ISteamGameServer*)linux_side)->GSSetSpawnCount((uint32)ucSpawn); + ((ISteamGameServer*)params->linux_side)->GSSetSpawnCount( (uint32)params->ucSpawn ); } -bool cppISteamGameServer_SteamGameServer003_GSSetServerType(void *linux_side, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) +void cppISteamGameServer_SteamGameServer003_GSSetServerType( struct cppISteamGameServer_SteamGameServer003_GSSetServerType_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSSetServerType((int32)nGameAppId, (uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSSetServerType( (int32)params->nGameAppId, (uint32)params->unServerFlags, (uint32)params->unGameIP, (uint16)params->unGamePort, (uint16)params->unSpectatorPort, (uint16)params->usQueryPort, (const char *)params->pchGameDir, (const char *)params->pchVersion, (bool)params->bLANMode ); } -bool cppISteamGameServer_SteamGameServer003_GSUpdateStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) +void cppISteamGameServer_SteamGameServer003_GSUpdateStatus( struct cppISteamGameServer_SteamGameServer003_GSUpdateStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSUpdateStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSUpdateStatus( (int)params->cPlayers, (int)params->cPlayersMax, (int)params->cBotPlayers, (const char *)params->pchServerName, (const char *)params->pSpectatorServerName, (const char *)params->pchMapName ); } -bool cppISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser(void *linux_side, CSteamID *pSteamID) +void cppISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser( struct cppISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSCreateUnauthenticatedUser((CSteamID *)pSteamID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSCreateUnauthenticatedUser( (CSteamID *)params->pSteamID ); } -bool cppISteamGameServer_SteamGameServer003_GSSetUserData(void *linux_side, CSteamID steamID, const char *pPlayerName, uint32 nFrags) +void cppISteamGameServer_SteamGameServer003_GSSetUserData( struct cppISteamGameServer_SteamGameServer003_GSSetUserData_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSSetUserData((CSteamID)steamID, (const char *)pPlayerName, (uint32)nFrags); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSSetUserData( (CSteamID)params->steamID, (const char *)params->pPlayerName, (uint32)params->nFrags ); } -void cppISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +void cppISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort_params *params ) { - ((ISteamGameServer*)linux_side)->GSUpdateSpectatorPort((uint16)unSpectatorPort); + ((ISteamGameServer*)params->linux_side)->GSUpdateSpectatorPort( (uint16)params->unSpectatorPort ); } -void cppISteamGameServer_SteamGameServer003_GSSetGameType(void *linux_side, const char *pchType) +void cppISteamGameServer_SteamGameServer003_GSSetGameType( struct cppISteamGameServer_SteamGameServer003_GSSetGameType_params *params ) { - ((ISteamGameServer*)linux_side)->GSSetGameType((const char *)pchType); + ((ISteamGameServer*)params->linux_side)->GSSetGameType( (const char *)params->pchType ); } -bool cppISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus(void *linux_side, CSteamID steamID, const char *pchAchievementName) +void cppISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus( struct cppISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->GSGetUserAchievementStatus((CSteamID)steamID, (const char *)pchAchievementName); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GSGetUserAchievementStatus( (CSteamID)params->steamID, (const char *)params->pchAchievementName ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer003.h b/lsteamclient/cppISteamGameServer_SteamGameServer003.h index 6922542c..cc761f6c 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer003.h +++ b/lsteamclient/cppISteamGameServer_SteamGameServer003.h @@ -1,17 +1,149 @@ -extern void cppISteamGameServer_SteamGameServer003_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer003_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer003_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer003_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer003_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient(void *, void *, uint32 *, uint32); -extern bool cppISteamGameServer_SteamGameServer003_GSSendUserConnect(void *, uint32, uint32, uint16, const void *, uint32); -extern bool cppISteamGameServer_SteamGameServer003_GSRemoveUserConnect(void *, uint32); -extern bool cppISteamGameServer_SteamGameServer003_GSSendUserDisconnect(void *, CSteamID, uint32); -extern void cppISteamGameServer_SteamGameServer003_GSSetSpawnCount(void *, uint32); -extern bool cppISteamGameServer_SteamGameServer003_GSSetServerType(void *, int32, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern bool cppISteamGameServer_SteamGameServer003_GSUpdateStatus(void *, int, int, int, const char *, const char *, const char *); -extern bool cppISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser(void *, CSteamID *); -extern bool cppISteamGameServer_SteamGameServer003_GSSetUserData(void *, CSteamID, const char *, uint32); -extern void cppISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer003_GSSetGameType(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus(void *, CSteamID, const char *); +struct cppISteamGameServer_SteamGameServer003_LogOn_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer003_LogOn( struct cppISteamGameServer_SteamGameServer003_LogOn_params *params ); + +struct cppISteamGameServer_SteamGameServer003_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer003_LogOff( struct cppISteamGameServer_SteamGameServer003_LogOff_params *params ); + +struct cppISteamGameServer_SteamGameServer003_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer003_BLoggedOn( struct cppISteamGameServer_SteamGameServer003_BLoggedOn_params *params ); + +struct cppISteamGameServer_SteamGameServer003_BSecure_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer003_BSecure( struct cppISteamGameServer_SteamGameServer003_BSecure_params *params ); + +struct cppISteamGameServer_SteamGameServer003_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer003_GetSteamID( struct cppISteamGameServer_SteamGameServer003_GetSteamID_params *params ); + +struct cppISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient_params +{ + void *linux_side; + bool _ret; + void *pvEncryptionKey; + uint32 *pcbEncryptionKey; + uint32 cbMaxEncryptionKey; +}; +extern void cppISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient( struct cppISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient_params *params ); + +struct cppISteamGameServer_SteamGameServer003_GSSendUserConnect_params +{ + void *linux_side; + bool _ret; + uint32 unUserID; + uint32 unIPPublic; + uint16 usPort; + const void *pvCookie; + uint32 cubCookie; +}; +extern void cppISteamGameServer_SteamGameServer003_GSSendUserConnect( struct cppISteamGameServer_SteamGameServer003_GSSendUserConnect_params *params ); + +struct cppISteamGameServer_SteamGameServer003_GSRemoveUserConnect_params +{ + void *linux_side; + bool _ret; + uint32 unUserID; +}; +extern void cppISteamGameServer_SteamGameServer003_GSRemoveUserConnect( struct cppISteamGameServer_SteamGameServer003_GSRemoveUserConnect_params *params ); + +struct cppISteamGameServer_SteamGameServer003_GSSendUserDisconnect_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + uint32 unUserID; +}; +extern void cppISteamGameServer_SteamGameServer003_GSSendUserDisconnect( struct cppISteamGameServer_SteamGameServer003_GSSendUserDisconnect_params *params ); + +struct cppISteamGameServer_SteamGameServer003_GSSetSpawnCount_params +{ + void *linux_side; + uint32 ucSpawn; +}; +extern void cppISteamGameServer_SteamGameServer003_GSSetSpawnCount( struct cppISteamGameServer_SteamGameServer003_GSSetSpawnCount_params *params ); + +struct cppISteamGameServer_SteamGameServer003_GSSetServerType_params +{ + void *linux_side; + bool _ret; + int32 nGameAppId; + uint32 unServerFlags; + uint32 unGameIP; + uint16 unGamePort; + uint16 unSpectatorPort; + uint16 usQueryPort; + const char *pchGameDir; + const char *pchVersion; + bool bLANMode; +}; +extern void cppISteamGameServer_SteamGameServer003_GSSetServerType( struct cppISteamGameServer_SteamGameServer003_GSSetServerType_params *params ); + +struct cppISteamGameServer_SteamGameServer003_GSUpdateStatus_params +{ + void *linux_side; + bool _ret; + int cPlayers; + int cPlayersMax; + int cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; +extern void cppISteamGameServer_SteamGameServer003_GSUpdateStatus( struct cppISteamGameServer_SteamGameServer003_GSUpdateStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser_params +{ + void *linux_side; + bool _ret; + CSteamID *pSteamID; +}; +extern void cppISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser( struct cppISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser_params *params ); + +struct cppISteamGameServer_SteamGameServer003_GSSetUserData_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + const char *pPlayerName; + uint32 nFrags; +}; +extern void cppISteamGameServer_SteamGameServer003_GSSetUserData( struct cppISteamGameServer_SteamGameServer003_GSSetUserData_params *params ); + +struct cppISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort_params +{ + void *linux_side; + uint16 unSpectatorPort; +}; +extern void cppISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort_params *params ); + +struct cppISteamGameServer_SteamGameServer003_GSSetGameType_params +{ + void *linux_side; + const char *pchType; +}; +extern void cppISteamGameServer_SteamGameServer003_GSSetGameType( struct cppISteamGameServer_SteamGameServer003_GSSetGameType_params *params ); + +struct cppISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + const char *pchAchievementName; +}; +extern void cppISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus( struct cppISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus_params *params ); + diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer004.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer004.cpp index a88d4d56..ac3d2b31 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer004.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer004.cpp @@ -12,88 +12,74 @@ extern "C" { #define SDKVER_100 #include "struct_converters.h" #include "cppISteamGameServer_SteamGameServer004.h" -void cppISteamGameServer_SteamGameServer004_LogOn(void *linux_side) +void cppISteamGameServer_SteamGameServer004_LogOn( struct cppISteamGameServer_SteamGameServer004_LogOn_params *params ) { - ((ISteamGameServer*)linux_side)->LogOn(); + ((ISteamGameServer*)params->linux_side)->LogOn( ); } -void cppISteamGameServer_SteamGameServer004_LogOff(void *linux_side) +void cppISteamGameServer_SteamGameServer004_LogOff( struct cppISteamGameServer_SteamGameServer004_LogOff_params *params ) { - ((ISteamGameServer*)linux_side)->LogOff(); + ((ISteamGameServer*)params->linux_side)->LogOff( ); } -bool cppISteamGameServer_SteamGameServer004_BLoggedOn(void *linux_side) +void cppISteamGameServer_SteamGameServer004_BLoggedOn( struct cppISteamGameServer_SteamGameServer004_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BLoggedOn( ); } -bool cppISteamGameServer_SteamGameServer004_BSecure(void *linux_side) +void cppISteamGameServer_SteamGameServer004_BSecure( struct cppISteamGameServer_SteamGameServer004_BSecure_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSecure(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSecure( ); } -CSteamID cppISteamGameServer_SteamGameServer004_GetSteamID(void *linux_side) +void cppISteamGameServer_SteamGameServer004_GetSteamID( struct cppISteamGameServer_SteamGameServer004_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetSteamID( ); } -void cppISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate(void *linux_side, CSteamID steamIDUser, uint32 unIPClient, void *pvAuthBlob, uint32 cubAuthBlobSize) +void cppISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate_params *params ) { - ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((CSteamID)steamIDUser, (uint32)unIPClient, (void *)pvAuthBlob, (uint32)cubAuthBlobSize); + ((ISteamGameServer*)params->linux_side)->SendUserConnectAndAuthenticate( (CSteamID)params->steamIDUser, (uint32)params->unIPClient, (void *)params->pvAuthBlob, (uint32)params->cubAuthBlobSize ); } -CSteamID cppISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection(void *linux_side) +void cppISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->CreateUnauthenticatedUserConnection( ); } -void cppISteamGameServer_SteamGameServer004_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +void cppISteamGameServer_SteamGameServer004_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer004_SendUserDisconnect_params *params ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + ((ISteamGameServer*)params->linux_side)->SendUserDisconnect( (CSteamID)params->steamIDUser ); } -bool cppISteamGameServer_SteamGameServer004_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) +void cppISteamGameServer_SteamGameServer004_BUpdateUserData( struct cppISteamGameServer_SteamGameServer004_BUpdateUserData_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BUpdateUserData( (CSteamID)params->steamIDUser, (const char *)params->pchPlayerName, (uint32)params->uScore ); } -bool cppISteamGameServer_SteamGameServer004_BSetServerType(void *linux_side, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) +void cppISteamGameServer_SteamGameServer004_BSetServerType( struct cppISteamGameServer_SteamGameServer004_BSetServerType_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSetServerType((int32)nGameAppId, (uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSetServerType( (int32)params->nGameAppId, (uint32)params->unServerFlags, (uint32)params->unGameIP, (uint16)params->unGamePort, (uint16)params->unSpectatorPort, (uint16)params->usQueryPort, (const char *)params->pchGameDir, (const char *)params->pchVersion, (bool)params->bLANMode ); } -void cppISteamGameServer_SteamGameServer004_UpdateServerStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) +void cppISteamGameServer_SteamGameServer004_UpdateServerStatus( struct cppISteamGameServer_SteamGameServer004_UpdateServerStatus_params *params ) { - ((ISteamGameServer*)linux_side)->UpdateServerStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); + ((ISteamGameServer*)params->linux_side)->UpdateServerStatus( (int)params->cPlayers, (int)params->cPlayersMax, (int)params->cBotPlayers, (const char *)params->pchServerName, (const char *)params->pSpectatorServerName, (const char *)params->pchMapName ); } -void cppISteamGameServer_SteamGameServer004_UpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +void cppISteamGameServer_SteamGameServer004_UpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer004_UpdateSpectatorPort_params *params ) { - ((ISteamGameServer*)linux_side)->UpdateSpectatorPort((uint16)unSpectatorPort); + ((ISteamGameServer*)params->linux_side)->UpdateSpectatorPort( (uint16)params->unSpectatorPort ); } -void cppISteamGameServer_SteamGameServer004_SetGameType(void *linux_side, const char *pchGameType) +void cppISteamGameServer_SteamGameServer004_SetGameType( struct cppISteamGameServer_SteamGameServer004_SetGameType_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameType((const char *)pchGameType); + ((ISteamGameServer*)params->linux_side)->SetGameType( (const char *)params->pchGameType ); } -bool cppISteamGameServer_SteamGameServer004_BGetUserAchievementStatus(void *linux_side, CSteamID steamID, const char *pchAchievementName) +void cppISteamGameServer_SteamGameServer004_BGetUserAchievementStatus( struct cppISteamGameServer_SteamGameServer004_BGetUserAchievementStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BGetUserAchievementStatus((CSteamID)steamID, (const char *)pchAchievementName); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BGetUserAchievementStatus( (CSteamID)params->steamID, (const char *)params->pchAchievementName ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer004.h b/lsteamclient/cppISteamGameServer_SteamGameServer004.h index 40a3dfa2..15ca3892 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer004.h +++ b/lsteamclient/cppISteamGameServer_SteamGameServer004.h @@ -1,14 +1,118 @@ -extern void cppISteamGameServer_SteamGameServer004_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer004_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer004_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer004_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer004_GetSteamID(void *); -extern void cppISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate(void *, CSteamID, uint32, void *, uint32); -extern CSteamID cppISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer004_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer004_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern bool cppISteamGameServer_SteamGameServer004_BSetServerType(void *, int32, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern void cppISteamGameServer_SteamGameServer004_UpdateServerStatus(void *, int, int, int, const char *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer004_UpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer004_SetGameType(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer004_BGetUserAchievementStatus(void *, CSteamID, const char *); +struct cppISteamGameServer_SteamGameServer004_LogOn_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer004_LogOn( struct cppISteamGameServer_SteamGameServer004_LogOn_params *params ); + +struct cppISteamGameServer_SteamGameServer004_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer004_LogOff( struct cppISteamGameServer_SteamGameServer004_LogOff_params *params ); + +struct cppISteamGameServer_SteamGameServer004_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer004_BLoggedOn( struct cppISteamGameServer_SteamGameServer004_BLoggedOn_params *params ); + +struct cppISteamGameServer_SteamGameServer004_BSecure_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer004_BSecure( struct cppISteamGameServer_SteamGameServer004_BSecure_params *params ); + +struct cppISteamGameServer_SteamGameServer004_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer004_GetSteamID( struct cppISteamGameServer_SteamGameServer004_GetSteamID_params *params ); + +struct cppISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate_params +{ + void *linux_side; + CSteamID steamIDUser; + uint32 unIPClient; + void *pvAuthBlob; + uint32 cubAuthBlobSize; +}; +extern void cppISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate_params *params ); + +struct cppISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection_params *params ); + +struct cppISteamGameServer_SteamGameServer004_SendUserDisconnect_params +{ + void *linux_side; + CSteamID steamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer004_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer004_SendUserDisconnect_params *params ); + +struct cppISteamGameServer_SteamGameServer004_BUpdateUserData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32 uScore; +}; +extern void cppISteamGameServer_SteamGameServer004_BUpdateUserData( struct cppISteamGameServer_SteamGameServer004_BUpdateUserData_params *params ); + +struct cppISteamGameServer_SteamGameServer004_BSetServerType_params +{ + void *linux_side; + bool _ret; + int32 nGameAppId; + uint32 unServerFlags; + uint32 unGameIP; + uint16 unGamePort; + uint16 unSpectatorPort; + uint16 usQueryPort; + const char *pchGameDir; + const char *pchVersion; + bool bLANMode; +}; +extern void cppISteamGameServer_SteamGameServer004_BSetServerType( struct cppISteamGameServer_SteamGameServer004_BSetServerType_params *params ); + +struct cppISteamGameServer_SteamGameServer004_UpdateServerStatus_params +{ + void *linux_side; + int cPlayers; + int cPlayersMax; + int cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; +extern void cppISteamGameServer_SteamGameServer004_UpdateServerStatus( struct cppISteamGameServer_SteamGameServer004_UpdateServerStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer004_UpdateSpectatorPort_params +{ + void *linux_side; + uint16 unSpectatorPort; +}; +extern void cppISteamGameServer_SteamGameServer004_UpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer004_UpdateSpectatorPort_params *params ); + +struct cppISteamGameServer_SteamGameServer004_SetGameType_params +{ + void *linux_side; + const char *pchGameType; +}; +extern void cppISteamGameServer_SteamGameServer004_SetGameType( struct cppISteamGameServer_SteamGameServer004_SetGameType_params *params ); + +struct cppISteamGameServer_SteamGameServer004_BGetUserAchievementStatus_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + const char *pchAchievementName; +}; +extern void cppISteamGameServer_SteamGameServer004_BGetUserAchievementStatus( struct cppISteamGameServer_SteamGameServer004_BGetUserAchievementStatus_params *params ); + diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer005.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer005.cpp index fcc59dd3..c0de7630 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer005.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer005.cpp @@ -12,90 +12,74 @@ extern "C" { #define SDKVER_102 #include "struct_converters.h" #include "cppISteamGameServer_SteamGameServer005.h" -void cppISteamGameServer_SteamGameServer005_LogOn(void *linux_side) +void cppISteamGameServer_SteamGameServer005_LogOn( struct cppISteamGameServer_SteamGameServer005_LogOn_params *params ) { - ((ISteamGameServer*)linux_side)->LogOn(); + ((ISteamGameServer*)params->linux_side)->LogOn( ); } -void cppISteamGameServer_SteamGameServer005_LogOff(void *linux_side) +void cppISteamGameServer_SteamGameServer005_LogOff( struct cppISteamGameServer_SteamGameServer005_LogOff_params *params ) { - ((ISteamGameServer*)linux_side)->LogOff(); + ((ISteamGameServer*)params->linux_side)->LogOff( ); } -bool cppISteamGameServer_SteamGameServer005_BLoggedOn(void *linux_side) +void cppISteamGameServer_SteamGameServer005_BLoggedOn( struct cppISteamGameServer_SteamGameServer005_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BLoggedOn( ); } -bool cppISteamGameServer_SteamGameServer005_BSecure(void *linux_side) +void cppISteamGameServer_SteamGameServer005_BSecure( struct cppISteamGameServer_SteamGameServer005_BSecure_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSecure(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSecure( ); } -CSteamID cppISteamGameServer_SteamGameServer005_GetSteamID(void *linux_side) +void cppISteamGameServer_SteamGameServer005_GetSteamID( struct cppISteamGameServer_SteamGameServer005_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetSteamID( ); } -bool cppISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) +void cppISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->SendUserConnectAndAuthenticate( (uint32)params->unIPClient, (const void *)params->pvAuthBlob, (uint32)params->cubAuthBlobSize, (CSteamID *)params->pSteamIDUser ); } -CSteamID cppISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection(void *linux_side) +void cppISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->CreateUnauthenticatedUserConnection( ); } -void cppISteamGameServer_SteamGameServer005_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +void cppISteamGameServer_SteamGameServer005_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer005_SendUserDisconnect_params *params ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + ((ISteamGameServer*)params->linux_side)->SendUserDisconnect( (CSteamID)params->steamIDUser ); } -bool cppISteamGameServer_SteamGameServer005_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) +void cppISteamGameServer_SteamGameServer005_BUpdateUserData( struct cppISteamGameServer_SteamGameServer005_BUpdateUserData_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BUpdateUserData( (CSteamID)params->steamIDUser, (const char *)params->pchPlayerName, (uint32)params->uScore ); } -bool cppISteamGameServer_SteamGameServer005_BSetServerType(void *linux_side, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) +void cppISteamGameServer_SteamGameServer005_BSetServerType( struct cppISteamGameServer_SteamGameServer005_BSetServerType_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSetServerType((uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSetServerType( (uint32)params->unServerFlags, (uint32)params->unGameIP, (uint16)params->unGamePort, (uint16)params->unSpectatorPort, (uint16)params->usQueryPort, (const char *)params->pchGameDir, (const char *)params->pchVersion, (bool)params->bLANMode ); } -void cppISteamGameServer_SteamGameServer005_UpdateServerStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) +void cppISteamGameServer_SteamGameServer005_UpdateServerStatus( struct cppISteamGameServer_SteamGameServer005_UpdateServerStatus_params *params ) { - ((ISteamGameServer*)linux_side)->UpdateServerStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); + ((ISteamGameServer*)params->linux_side)->UpdateServerStatus( (int)params->cPlayers, (int)params->cPlayersMax, (int)params->cBotPlayers, (const char *)params->pchServerName, (const char *)params->pSpectatorServerName, (const char *)params->pchMapName ); } -void cppISteamGameServer_SteamGameServer005_UpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +void cppISteamGameServer_SteamGameServer005_UpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer005_UpdateSpectatorPort_params *params ) { - ((ISteamGameServer*)linux_side)->UpdateSpectatorPort((uint16)unSpectatorPort); + ((ISteamGameServer*)params->linux_side)->UpdateSpectatorPort( (uint16)params->unSpectatorPort ); } -void cppISteamGameServer_SteamGameServer005_SetGameType(void *linux_side, const char *pchGameType) +void cppISteamGameServer_SteamGameServer005_SetGameType( struct cppISteamGameServer_SteamGameServer005_SetGameType_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameType((const char *)pchGameType); + ((ISteamGameServer*)params->linux_side)->SetGameType( (const char *)params->pchGameType ); } -bool cppISteamGameServer_SteamGameServer005_BGetUserAchievementStatus(void *linux_side, CSteamID steamID, const char *pchAchievementName) +void cppISteamGameServer_SteamGameServer005_BGetUserAchievementStatus( struct cppISteamGameServer_SteamGameServer005_BGetUserAchievementStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BGetUserAchievementStatus((CSteamID)steamID, (const char *)pchAchievementName); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BGetUserAchievementStatus( (CSteamID)params->steamID, (const char *)params->pchAchievementName ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer005.h b/lsteamclient/cppISteamGameServer_SteamGameServer005.h index f7529104..29d72537 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer005.h +++ b/lsteamclient/cppISteamGameServer_SteamGameServer005.h @@ -1,14 +1,118 @@ -extern void cppISteamGameServer_SteamGameServer005_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer005_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer005_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer005_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer005_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer005_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer005_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern bool cppISteamGameServer_SteamGameServer005_BSetServerType(void *, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern void cppISteamGameServer_SteamGameServer005_UpdateServerStatus(void *, int, int, int, const char *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer005_UpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer005_SetGameType(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer005_BGetUserAchievementStatus(void *, CSteamID, const char *); +struct cppISteamGameServer_SteamGameServer005_LogOn_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer005_LogOn( struct cppISteamGameServer_SteamGameServer005_LogOn_params *params ); + +struct cppISteamGameServer_SteamGameServer005_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer005_LogOff( struct cppISteamGameServer_SteamGameServer005_LogOff_params *params ); + +struct cppISteamGameServer_SteamGameServer005_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer005_BLoggedOn( struct cppISteamGameServer_SteamGameServer005_BLoggedOn_params *params ); + +struct cppISteamGameServer_SteamGameServer005_BSecure_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer005_BSecure( struct cppISteamGameServer_SteamGameServer005_BSecure_params *params ); + +struct cppISteamGameServer_SteamGameServer005_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer005_GetSteamID( struct cppISteamGameServer_SteamGameServer005_GetSteamID_params *params ); + +struct cppISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate_params +{ + void *linux_side; + bool _ret; + uint32 unIPClient; + const void *pvAuthBlob; + uint32 cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate_params *params ); + +struct cppISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection_params *params ); + +struct cppISteamGameServer_SteamGameServer005_SendUserDisconnect_params +{ + void *linux_side; + CSteamID steamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer005_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer005_SendUserDisconnect_params *params ); + +struct cppISteamGameServer_SteamGameServer005_BUpdateUserData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32 uScore; +}; +extern void cppISteamGameServer_SteamGameServer005_BUpdateUserData( struct cppISteamGameServer_SteamGameServer005_BUpdateUserData_params *params ); + +struct cppISteamGameServer_SteamGameServer005_BSetServerType_params +{ + void *linux_side; + bool _ret; + uint32 unServerFlags; + uint32 unGameIP; + uint16 unGamePort; + uint16 unSpectatorPort; + uint16 usQueryPort; + const char *pchGameDir; + const char *pchVersion; + bool bLANMode; +}; +extern void cppISteamGameServer_SteamGameServer005_BSetServerType( struct cppISteamGameServer_SteamGameServer005_BSetServerType_params *params ); + +struct cppISteamGameServer_SteamGameServer005_UpdateServerStatus_params +{ + void *linux_side; + int cPlayers; + int cPlayersMax; + int cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; +extern void cppISteamGameServer_SteamGameServer005_UpdateServerStatus( struct cppISteamGameServer_SteamGameServer005_UpdateServerStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer005_UpdateSpectatorPort_params +{ + void *linux_side; + uint16 unSpectatorPort; +}; +extern void cppISteamGameServer_SteamGameServer005_UpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer005_UpdateSpectatorPort_params *params ); + +struct cppISteamGameServer_SteamGameServer005_SetGameType_params +{ + void *linux_side; + const char *pchGameType; +}; +extern void cppISteamGameServer_SteamGameServer005_SetGameType( struct cppISteamGameServer_SteamGameServer005_SetGameType_params *params ); + +struct cppISteamGameServer_SteamGameServer005_BGetUserAchievementStatus_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + const char *pchAchievementName; +}; +extern void cppISteamGameServer_SteamGameServer005_BGetUserAchievementStatus( struct cppISteamGameServer_SteamGameServer005_BGetUserAchievementStatus_params *params ); + diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer008.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer008.cpp index f4e761b9..c26c2255 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer008.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer008.cpp @@ -12,109 +12,89 @@ extern "C" { #define SDKVER_104 #include "struct_converters.h" #include "cppISteamGameServer_SteamGameServer008.h" -void cppISteamGameServer_SteamGameServer008_LogOn(void *linux_side) +void cppISteamGameServer_SteamGameServer008_LogOn( struct cppISteamGameServer_SteamGameServer008_LogOn_params *params ) { - ((ISteamGameServer*)linux_side)->LogOn(); + ((ISteamGameServer*)params->linux_side)->LogOn( ); } -void cppISteamGameServer_SteamGameServer008_LogOff(void *linux_side) +void cppISteamGameServer_SteamGameServer008_LogOff( struct cppISteamGameServer_SteamGameServer008_LogOff_params *params ) { - ((ISteamGameServer*)linux_side)->LogOff(); + ((ISteamGameServer*)params->linux_side)->LogOff( ); } -bool cppISteamGameServer_SteamGameServer008_BLoggedOn(void *linux_side) +void cppISteamGameServer_SteamGameServer008_BLoggedOn( struct cppISteamGameServer_SteamGameServer008_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BLoggedOn( ); } -bool cppISteamGameServer_SteamGameServer008_BSecure(void *linux_side) +void cppISteamGameServer_SteamGameServer008_BSecure( struct cppISteamGameServer_SteamGameServer008_BSecure_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSecure(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSecure( ); } -CSteamID cppISteamGameServer_SteamGameServer008_GetSteamID(void *linux_side) +void cppISteamGameServer_SteamGameServer008_GetSteamID( struct cppISteamGameServer_SteamGameServer008_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetSteamID( ); } -bool cppISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) +void cppISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->SendUserConnectAndAuthenticate( (uint32)params->unIPClient, (const void *)params->pvAuthBlob, (uint32)params->cubAuthBlobSize, (CSteamID *)params->pSteamIDUser ); } -CSteamID cppISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection(void *linux_side) +void cppISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->CreateUnauthenticatedUserConnection( ); } -void cppISteamGameServer_SteamGameServer008_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +void cppISteamGameServer_SteamGameServer008_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer008_SendUserDisconnect_params *params ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + ((ISteamGameServer*)params->linux_side)->SendUserDisconnect( (CSteamID)params->steamIDUser ); } -bool cppISteamGameServer_SteamGameServer008_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) +void cppISteamGameServer_SteamGameServer008_BUpdateUserData( struct cppISteamGameServer_SteamGameServer008_BUpdateUserData_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BUpdateUserData( (CSteamID)params->steamIDUser, (const char *)params->pchPlayerName, (uint32)params->uScore ); } -bool cppISteamGameServer_SteamGameServer008_BSetServerType(void *linux_side, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) +void cppISteamGameServer_SteamGameServer008_BSetServerType( struct cppISteamGameServer_SteamGameServer008_BSetServerType_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSetServerType((uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSetServerType( (uint32)params->unServerFlags, (uint32)params->unGameIP, (uint16)params->unGamePort, (uint16)params->unSpectatorPort, (uint16)params->usQueryPort, (const char *)params->pchGameDir, (const char *)params->pchVersion, (bool)params->bLANMode ); } -void cppISteamGameServer_SteamGameServer008_UpdateServerStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) +void cppISteamGameServer_SteamGameServer008_UpdateServerStatus( struct cppISteamGameServer_SteamGameServer008_UpdateServerStatus_params *params ) { - ((ISteamGameServer*)linux_side)->UpdateServerStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); + ((ISteamGameServer*)params->linux_side)->UpdateServerStatus( (int)params->cPlayers, (int)params->cPlayersMax, (int)params->cBotPlayers, (const char *)params->pchServerName, (const char *)params->pSpectatorServerName, (const char *)params->pchMapName ); } -void cppISteamGameServer_SteamGameServer008_UpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +void cppISteamGameServer_SteamGameServer008_UpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer008_UpdateSpectatorPort_params *params ) { - ((ISteamGameServer*)linux_side)->UpdateSpectatorPort((uint16)unSpectatorPort); + ((ISteamGameServer*)params->linux_side)->UpdateSpectatorPort( (uint16)params->unSpectatorPort ); } -void cppISteamGameServer_SteamGameServer008_SetGameType(void *linux_side, const char *pchGameType) +void cppISteamGameServer_SteamGameServer008_SetGameType( struct cppISteamGameServer_SteamGameServer008_SetGameType_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameType((const char *)pchGameType); + ((ISteamGameServer*)params->linux_side)->SetGameType( (const char *)params->pchGameType ); } -bool cppISteamGameServer_SteamGameServer008_BGetUserAchievementStatus(void *linux_side, CSteamID steamID, const char *pchAchievementName) +void cppISteamGameServer_SteamGameServer008_BGetUserAchievementStatus( struct cppISteamGameServer_SteamGameServer008_BGetUserAchievementStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BGetUserAchievementStatus((CSteamID)steamID, (const char *)pchAchievementName); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BGetUserAchievementStatus( (CSteamID)params->steamID, (const char *)params->pchAchievementName ); } -void cppISteamGameServer_SteamGameServer008_GetGameplayStats(void *linux_side) +void cppISteamGameServer_SteamGameServer008_GetGameplayStats( struct cppISteamGameServer_SteamGameServer008_GetGameplayStats_params *params ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + ((ISteamGameServer*)params->linux_side)->GetGameplayStats( ); } -bool cppISteamGameServer_SteamGameServer008_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +void cppISteamGameServer_SteamGameServer008_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer008_RequestUserGroupStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->RequestUserGroupStatus( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDGroup ); } -uint32 cppISteamGameServer_SteamGameServer008_GetPublicIP(void *linux_side) +void cppISteamGameServer_SteamGameServer008_GetPublicIP( struct cppISteamGameServer_SteamGameServer008_GetPublicIP_params *params ) { - uint32 _ret; - _ret = ((ISteamGameServer*)linux_side)->GetPublicIP(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetPublicIP( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer008.h b/lsteamclient/cppISteamGameServer_SteamGameServer008.h index 6489c665..e77b1700 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer008.h +++ b/lsteamclient/cppISteamGameServer_SteamGameServer008.h @@ -1,17 +1,140 @@ -extern void cppISteamGameServer_SteamGameServer008_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer008_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer008_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer008_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer008_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer008_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer008_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern bool cppISteamGameServer_SteamGameServer008_BSetServerType(void *, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern void cppISteamGameServer_SteamGameServer008_UpdateServerStatus(void *, int, int, int, const char *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer008_UpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer008_SetGameType(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer008_BGetUserAchievementStatus(void *, CSteamID, const char *); -extern void cppISteamGameServer_SteamGameServer008_GetGameplayStats(void *); -extern bool cppISteamGameServer_SteamGameServer008_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern uint32 cppISteamGameServer_SteamGameServer008_GetPublicIP(void *); +struct cppISteamGameServer_SteamGameServer008_LogOn_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer008_LogOn( struct cppISteamGameServer_SteamGameServer008_LogOn_params *params ); + +struct cppISteamGameServer_SteamGameServer008_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer008_LogOff( struct cppISteamGameServer_SteamGameServer008_LogOff_params *params ); + +struct cppISteamGameServer_SteamGameServer008_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer008_BLoggedOn( struct cppISteamGameServer_SteamGameServer008_BLoggedOn_params *params ); + +struct cppISteamGameServer_SteamGameServer008_BSecure_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer008_BSecure( struct cppISteamGameServer_SteamGameServer008_BSecure_params *params ); + +struct cppISteamGameServer_SteamGameServer008_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer008_GetSteamID( struct cppISteamGameServer_SteamGameServer008_GetSteamID_params *params ); + +struct cppISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate_params +{ + void *linux_side; + bool _ret; + uint32 unIPClient; + const void *pvAuthBlob; + uint32 cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate_params *params ); + +struct cppISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection_params *params ); + +struct cppISteamGameServer_SteamGameServer008_SendUserDisconnect_params +{ + void *linux_side; + CSteamID steamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer008_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer008_SendUserDisconnect_params *params ); + +struct cppISteamGameServer_SteamGameServer008_BUpdateUserData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32 uScore; +}; +extern void cppISteamGameServer_SteamGameServer008_BUpdateUserData( struct cppISteamGameServer_SteamGameServer008_BUpdateUserData_params *params ); + +struct cppISteamGameServer_SteamGameServer008_BSetServerType_params +{ + void *linux_side; + bool _ret; + uint32 unServerFlags; + uint32 unGameIP; + uint16 unGamePort; + uint16 unSpectatorPort; + uint16 usQueryPort; + const char *pchGameDir; + const char *pchVersion; + bool bLANMode; +}; +extern void cppISteamGameServer_SteamGameServer008_BSetServerType( struct cppISteamGameServer_SteamGameServer008_BSetServerType_params *params ); + +struct cppISteamGameServer_SteamGameServer008_UpdateServerStatus_params +{ + void *linux_side; + int cPlayers; + int cPlayersMax; + int cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; +extern void cppISteamGameServer_SteamGameServer008_UpdateServerStatus( struct cppISteamGameServer_SteamGameServer008_UpdateServerStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer008_UpdateSpectatorPort_params +{ + void *linux_side; + uint16 unSpectatorPort; +}; +extern void cppISteamGameServer_SteamGameServer008_UpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer008_UpdateSpectatorPort_params *params ); + +struct cppISteamGameServer_SteamGameServer008_SetGameType_params +{ + void *linux_side; + const char *pchGameType; +}; +extern void cppISteamGameServer_SteamGameServer008_SetGameType( struct cppISteamGameServer_SteamGameServer008_SetGameType_params *params ); + +struct cppISteamGameServer_SteamGameServer008_BGetUserAchievementStatus_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + const char *pchAchievementName; +}; +extern void cppISteamGameServer_SteamGameServer008_BGetUserAchievementStatus( struct cppISteamGameServer_SteamGameServer008_BGetUserAchievementStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer008_GetGameplayStats_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer008_GetGameplayStats( struct cppISteamGameServer_SteamGameServer008_GetGameplayStats_params *params ); + +struct cppISteamGameServer_SteamGameServer008_RequestUserGroupStatus_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; +extern void cppISteamGameServer_SteamGameServer008_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer008_RequestUserGroupStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer008_GetPublicIP_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamGameServer_SteamGameServer008_GetPublicIP( struct cppISteamGameServer_SteamGameServer008_GetPublicIP_params *params ); + diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer009.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer009.cpp index a470e205..58f4a426 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer009.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer009.cpp @@ -12,121 +12,99 @@ extern "C" { #define SDKVER_107 #include "struct_converters.h" #include "cppISteamGameServer_SteamGameServer009.h" -void cppISteamGameServer_SteamGameServer009_LogOn(void *linux_side) +void cppISteamGameServer_SteamGameServer009_LogOn( struct cppISteamGameServer_SteamGameServer009_LogOn_params *params ) { - ((ISteamGameServer*)linux_side)->LogOn(); + ((ISteamGameServer*)params->linux_side)->LogOn( ); } -void cppISteamGameServer_SteamGameServer009_LogOff(void *linux_side) +void cppISteamGameServer_SteamGameServer009_LogOff( struct cppISteamGameServer_SteamGameServer009_LogOff_params *params ) { - ((ISteamGameServer*)linux_side)->LogOff(); + ((ISteamGameServer*)params->linux_side)->LogOff( ); } -bool cppISteamGameServer_SteamGameServer009_BLoggedOn(void *linux_side) +void cppISteamGameServer_SteamGameServer009_BLoggedOn( struct cppISteamGameServer_SteamGameServer009_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BLoggedOn( ); } -bool cppISteamGameServer_SteamGameServer009_BSecure(void *linux_side) +void cppISteamGameServer_SteamGameServer009_BSecure( struct cppISteamGameServer_SteamGameServer009_BSecure_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSecure(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSecure( ); } -CSteamID cppISteamGameServer_SteamGameServer009_GetSteamID(void *linux_side) +void cppISteamGameServer_SteamGameServer009_GetSteamID( struct cppISteamGameServer_SteamGameServer009_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetSteamID( ); } -bool cppISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) +void cppISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->SendUserConnectAndAuthenticate( (uint32)params->unIPClient, (const void *)params->pvAuthBlob, (uint32)params->cubAuthBlobSize, (CSteamID *)params->pSteamIDUser ); } -CSteamID cppISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection(void *linux_side) +void cppISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->CreateUnauthenticatedUserConnection( ); } -void cppISteamGameServer_SteamGameServer009_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +void cppISteamGameServer_SteamGameServer009_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer009_SendUserDisconnect_params *params ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + ((ISteamGameServer*)params->linux_side)->SendUserDisconnect( (CSteamID)params->steamIDUser ); } -bool cppISteamGameServer_SteamGameServer009_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) +void cppISteamGameServer_SteamGameServer009_BUpdateUserData( struct cppISteamGameServer_SteamGameServer009_BUpdateUserData_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BUpdateUserData( (CSteamID)params->steamIDUser, (const char *)params->pchPlayerName, (uint32)params->uScore ); } -bool cppISteamGameServer_SteamGameServer009_BSetServerType(void *linux_side, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) +void cppISteamGameServer_SteamGameServer009_BSetServerType( struct cppISteamGameServer_SteamGameServer009_BSetServerType_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSetServerType((uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSetServerType( (uint32)params->unServerFlags, (uint32)params->unGameIP, (uint16)params->unGamePort, (uint16)params->unSpectatorPort, (uint16)params->usQueryPort, (const char *)params->pchGameDir, (const char *)params->pchVersion, (bool)params->bLANMode ); } -void cppISteamGameServer_SteamGameServer009_UpdateServerStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) +void cppISteamGameServer_SteamGameServer009_UpdateServerStatus( struct cppISteamGameServer_SteamGameServer009_UpdateServerStatus_params *params ) { - ((ISteamGameServer*)linux_side)->UpdateServerStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); + ((ISteamGameServer*)params->linux_side)->UpdateServerStatus( (int)params->cPlayers, (int)params->cPlayersMax, (int)params->cBotPlayers, (const char *)params->pchServerName, (const char *)params->pSpectatorServerName, (const char *)params->pchMapName ); } -void cppISteamGameServer_SteamGameServer009_UpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +void cppISteamGameServer_SteamGameServer009_UpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer009_UpdateSpectatorPort_params *params ) { - ((ISteamGameServer*)linux_side)->UpdateSpectatorPort((uint16)unSpectatorPort); + ((ISteamGameServer*)params->linux_side)->UpdateSpectatorPort( (uint16)params->unSpectatorPort ); } -void cppISteamGameServer_SteamGameServer009_SetGameType(void *linux_side, const char *pchGameType) +void cppISteamGameServer_SteamGameServer009_SetGameType( struct cppISteamGameServer_SteamGameServer009_SetGameType_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameType((const char *)pchGameType); + ((ISteamGameServer*)params->linux_side)->SetGameType( (const char *)params->pchGameType ); } -bool cppISteamGameServer_SteamGameServer009_BGetUserAchievementStatus(void *linux_side, CSteamID steamID, const char *pchAchievementName) +void cppISteamGameServer_SteamGameServer009_BGetUserAchievementStatus( struct cppISteamGameServer_SteamGameServer009_BGetUserAchievementStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BGetUserAchievementStatus((CSteamID)steamID, (const char *)pchAchievementName); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BGetUserAchievementStatus( (CSteamID)params->steamID, (const char *)params->pchAchievementName ); } -void cppISteamGameServer_SteamGameServer009_GetGameplayStats(void *linux_side) +void cppISteamGameServer_SteamGameServer009_GetGameplayStats( struct cppISteamGameServer_SteamGameServer009_GetGameplayStats_params *params ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + ((ISteamGameServer*)params->linux_side)->GetGameplayStats( ); } -bool cppISteamGameServer_SteamGameServer009_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +void cppISteamGameServer_SteamGameServer009_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer009_RequestUserGroupStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->RequestUserGroupStatus( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDGroup ); } -uint32 cppISteamGameServer_SteamGameServer009_GetPublicIP(void *linux_side) +void cppISteamGameServer_SteamGameServer009_GetPublicIP( struct cppISteamGameServer_SteamGameServer009_GetPublicIP_params *params ) { - uint32 _ret; - _ret = ((ISteamGameServer*)linux_side)->GetPublicIP(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetPublicIP( ); } -void cppISteamGameServer_SteamGameServer009_SetGameData(void *linux_side, const char *pchGameData) +void cppISteamGameServer_SteamGameServer009_SetGameData( struct cppISteamGameServer_SteamGameServer009_SetGameData_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + ((ISteamGameServer*)params->linux_side)->SetGameData( (const char *)params->pchGameData ); } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer009_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamGameServer_SteamGameServer009_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer009_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer009.h b/lsteamclient/cppISteamGameServer_SteamGameServer009.h index e6375af6..6a41ba34 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer009.h +++ b/lsteamclient/cppISteamGameServer_SteamGameServer009.h @@ -1,19 +1,156 @@ -extern void cppISteamGameServer_SteamGameServer009_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer009_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer009_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer009_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer009_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer009_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer009_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern bool cppISteamGameServer_SteamGameServer009_BSetServerType(void *, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern void cppISteamGameServer_SteamGameServer009_UpdateServerStatus(void *, int, int, int, const char *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer009_UpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer009_SetGameType(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer009_BGetUserAchievementStatus(void *, CSteamID, const char *); -extern void cppISteamGameServer_SteamGameServer009_GetGameplayStats(void *); -extern bool cppISteamGameServer_SteamGameServer009_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern uint32 cppISteamGameServer_SteamGameServer009_GetPublicIP(void *); -extern void cppISteamGameServer_SteamGameServer009_SetGameData(void *, const char *); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer009_UserHasLicenseForApp(void *, CSteamID, AppId_t); +struct cppISteamGameServer_SteamGameServer009_LogOn_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer009_LogOn( struct cppISteamGameServer_SteamGameServer009_LogOn_params *params ); + +struct cppISteamGameServer_SteamGameServer009_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer009_LogOff( struct cppISteamGameServer_SteamGameServer009_LogOff_params *params ); + +struct cppISteamGameServer_SteamGameServer009_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer009_BLoggedOn( struct cppISteamGameServer_SteamGameServer009_BLoggedOn_params *params ); + +struct cppISteamGameServer_SteamGameServer009_BSecure_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer009_BSecure( struct cppISteamGameServer_SteamGameServer009_BSecure_params *params ); + +struct cppISteamGameServer_SteamGameServer009_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer009_GetSteamID( struct cppISteamGameServer_SteamGameServer009_GetSteamID_params *params ); + +struct cppISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate_params +{ + void *linux_side; + bool _ret; + uint32 unIPClient; + const void *pvAuthBlob; + uint32 cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate_params *params ); + +struct cppISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection_params *params ); + +struct cppISteamGameServer_SteamGameServer009_SendUserDisconnect_params +{ + void *linux_side; + CSteamID steamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer009_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer009_SendUserDisconnect_params *params ); + +struct cppISteamGameServer_SteamGameServer009_BUpdateUserData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32 uScore; +}; +extern void cppISteamGameServer_SteamGameServer009_BUpdateUserData( struct cppISteamGameServer_SteamGameServer009_BUpdateUserData_params *params ); + +struct cppISteamGameServer_SteamGameServer009_BSetServerType_params +{ + void *linux_side; + bool _ret; + uint32 unServerFlags; + uint32 unGameIP; + uint16 unGamePort; + uint16 unSpectatorPort; + uint16 usQueryPort; + const char *pchGameDir; + const char *pchVersion; + bool bLANMode; +}; +extern void cppISteamGameServer_SteamGameServer009_BSetServerType( struct cppISteamGameServer_SteamGameServer009_BSetServerType_params *params ); + +struct cppISteamGameServer_SteamGameServer009_UpdateServerStatus_params +{ + void *linux_side; + int cPlayers; + int cPlayersMax; + int cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; +extern void cppISteamGameServer_SteamGameServer009_UpdateServerStatus( struct cppISteamGameServer_SteamGameServer009_UpdateServerStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer009_UpdateSpectatorPort_params +{ + void *linux_side; + uint16 unSpectatorPort; +}; +extern void cppISteamGameServer_SteamGameServer009_UpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer009_UpdateSpectatorPort_params *params ); + +struct cppISteamGameServer_SteamGameServer009_SetGameType_params +{ + void *linux_side; + const char *pchGameType; +}; +extern void cppISteamGameServer_SteamGameServer009_SetGameType( struct cppISteamGameServer_SteamGameServer009_SetGameType_params *params ); + +struct cppISteamGameServer_SteamGameServer009_BGetUserAchievementStatus_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + const char *pchAchievementName; +}; +extern void cppISteamGameServer_SteamGameServer009_BGetUserAchievementStatus( struct cppISteamGameServer_SteamGameServer009_BGetUserAchievementStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer009_GetGameplayStats_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer009_GetGameplayStats( struct cppISteamGameServer_SteamGameServer009_GetGameplayStats_params *params ); + +struct cppISteamGameServer_SteamGameServer009_RequestUserGroupStatus_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; +extern void cppISteamGameServer_SteamGameServer009_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer009_RequestUserGroupStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer009_GetPublicIP_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamGameServer_SteamGameServer009_GetPublicIP( struct cppISteamGameServer_SteamGameServer009_GetPublicIP_params *params ); + +struct cppISteamGameServer_SteamGameServer009_SetGameData_params +{ + void *linux_side; + const char *pchGameData; +}; +extern void cppISteamGameServer_SteamGameServer009_SetGameData( struct cppISteamGameServer_SteamGameServer009_SetGameData_params *params ); + +struct cppISteamGameServer_SteamGameServer009_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamGameServer_SteamGameServer009_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer009_UserHasLicenseForApp_params *params ); + diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer010.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer010.cpp index 697f7e36..ad92378d 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer010.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer010.cpp @@ -12,145 +12,119 @@ extern "C" { #define SDKVER_116 #include "struct_converters.h" #include "cppISteamGameServer_SteamGameServer010.h" -void cppISteamGameServer_SteamGameServer010_LogOn(void *linux_side) +void cppISteamGameServer_SteamGameServer010_LogOn( struct cppISteamGameServer_SteamGameServer010_LogOn_params *params ) { - ((ISteamGameServer*)linux_side)->LogOn(); + ((ISteamGameServer*)params->linux_side)->LogOn( ); } -void cppISteamGameServer_SteamGameServer010_LogOff(void *linux_side) +void cppISteamGameServer_SteamGameServer010_LogOff( struct cppISteamGameServer_SteamGameServer010_LogOff_params *params ) { - ((ISteamGameServer*)linux_side)->LogOff(); + ((ISteamGameServer*)params->linux_side)->LogOff( ); } -bool cppISteamGameServer_SteamGameServer010_BLoggedOn(void *linux_side) +void cppISteamGameServer_SteamGameServer010_BLoggedOn( struct cppISteamGameServer_SteamGameServer010_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BLoggedOn( ); } -bool cppISteamGameServer_SteamGameServer010_BSecure(void *linux_side) +void cppISteamGameServer_SteamGameServer010_BSecure( struct cppISteamGameServer_SteamGameServer010_BSecure_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSecure(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSecure( ); } -CSteamID cppISteamGameServer_SteamGameServer010_GetSteamID(void *linux_side) +void cppISteamGameServer_SteamGameServer010_GetSteamID( struct cppISteamGameServer_SteamGameServer010_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetSteamID( ); } -bool cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) +void cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->SendUserConnectAndAuthenticate( (uint32)params->unIPClient, (const void *)params->pvAuthBlob, (uint32)params->cubAuthBlobSize, (CSteamID *)params->pSteamIDUser ); } -CSteamID cppISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection(void *linux_side) +void cppISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->CreateUnauthenticatedUserConnection( ); } -void cppISteamGameServer_SteamGameServer010_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +void cppISteamGameServer_SteamGameServer010_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer010_SendUserDisconnect_params *params ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + ((ISteamGameServer*)params->linux_side)->SendUserDisconnect( (CSteamID)params->steamIDUser ); } -bool cppISteamGameServer_SteamGameServer010_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) +void cppISteamGameServer_SteamGameServer010_BUpdateUserData( struct cppISteamGameServer_SteamGameServer010_BUpdateUserData_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BUpdateUserData( (CSteamID)params->steamIDUser, (const char *)params->pchPlayerName, (uint32)params->uScore ); } -bool cppISteamGameServer_SteamGameServer010_BSetServerType(void *linux_side, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) +void cppISteamGameServer_SteamGameServer010_BSetServerType( struct cppISteamGameServer_SteamGameServer010_BSetServerType_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSetServerType((uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSetServerType( (uint32)params->unServerFlags, (uint32)params->unGameIP, (uint16)params->unGamePort, (uint16)params->unSpectatorPort, (uint16)params->usQueryPort, (const char *)params->pchGameDir, (const char *)params->pchVersion, (bool)params->bLANMode ); } -void cppISteamGameServer_SteamGameServer010_UpdateServerStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) +void cppISteamGameServer_SteamGameServer010_UpdateServerStatus( struct cppISteamGameServer_SteamGameServer010_UpdateServerStatus_params *params ) { - ((ISteamGameServer*)linux_side)->UpdateServerStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); + ((ISteamGameServer*)params->linux_side)->UpdateServerStatus( (int)params->cPlayers, (int)params->cPlayersMax, (int)params->cBotPlayers, (const char *)params->pchServerName, (const char *)params->pSpectatorServerName, (const char *)params->pchMapName ); } -void cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +void cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort_params *params ) { - ((ISteamGameServer*)linux_side)->UpdateSpectatorPort((uint16)unSpectatorPort); + ((ISteamGameServer*)params->linux_side)->UpdateSpectatorPort( (uint16)params->unSpectatorPort ); } -void cppISteamGameServer_SteamGameServer010_SetGameTags(void *linux_side, const char *pchGameTags) +void cppISteamGameServer_SteamGameServer010_SetGameTags( struct cppISteamGameServer_SteamGameServer010_SetGameTags_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); + ((ISteamGameServer*)params->linux_side)->SetGameTags( (const char *)params->pchGameTags ); } -void cppISteamGameServer_SteamGameServer010_GetGameplayStats(void *linux_side) +void cppISteamGameServer_SteamGameServer010_GetGameplayStats( struct cppISteamGameServer_SteamGameServer010_GetGameplayStats_params *params ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + ((ISteamGameServer*)params->linux_side)->GetGameplayStats( ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer010_GetServerReputation(void *linux_side) +void cppISteamGameServer_SteamGameServer010_GetServerReputation( struct cppISteamGameServer_SteamGameServer010_GetServerReputation_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->GetServerReputation(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetServerReputation( ); } -bool cppISteamGameServer_SteamGameServer010_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +void cppISteamGameServer_SteamGameServer010_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer010_RequestUserGroupStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->RequestUserGroupStatus( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDGroup ); } -uint32 cppISteamGameServer_SteamGameServer010_GetPublicIP(void *linux_side) +void cppISteamGameServer_SteamGameServer010_GetPublicIP( struct cppISteamGameServer_SteamGameServer010_GetPublicIP_params *params ) { - uint32 _ret; - _ret = ((ISteamGameServer*)linux_side)->GetPublicIP(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetPublicIP( ); } -void cppISteamGameServer_SteamGameServer010_SetGameData(void *linux_side, const char *pchGameData) +void cppISteamGameServer_SteamGameServer010_SetGameData( struct cppISteamGameServer_SteamGameServer010_SetGameData_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + ((ISteamGameServer*)params->linux_side)->SetGameData( (const char *)params->pchGameData ); } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer010_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamGameServer_SteamGameServer010_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer010_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -HAuthTicket cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket( struct cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamGameServer_SteamGameServer010_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamGameServer_SteamGameServer010_BeginAuthSession( struct cppISteamGameServer_SteamGameServer010_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamGameServer_SteamGameServer010_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamGameServer_SteamGameServer010_EndAuthSession( struct cppISteamGameServer_SteamGameServer010_EndAuthSession_params *params ) { - ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamGameServer*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamGameServer_SteamGameServer010_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamGameServer_SteamGameServer010_CancelAuthTicket( struct cppISteamGameServer_SteamGameServer010_CancelAuthTicket_params *params ) { - ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamGameServer*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer010.h b/lsteamclient/cppISteamGameServer_SteamGameServer010.h index f58b7dd4..a4213ae8 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer010.h +++ b/lsteamclient/cppISteamGameServer_SteamGameServer010.h @@ -1,23 +1,188 @@ -extern void cppISteamGameServer_SteamGameServer010_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer010_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer010_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer010_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer010_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer010_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer010_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern bool cppISteamGameServer_SteamGameServer010_BSetServerType(void *, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern void cppISteamGameServer_SteamGameServer010_UpdateServerStatus(void *, int, int, int, const char *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer010_SetGameTags(void *, const char *); -extern void cppISteamGameServer_SteamGameServer010_GetGameplayStats(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer010_GetServerReputation(void *); -extern bool cppISteamGameServer_SteamGameServer010_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern uint32 cppISteamGameServer_SteamGameServer010_GetPublicIP(void *); -extern void cppISteamGameServer_SteamGameServer010_SetGameData(void *, const char *); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer010_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern HAuthTicket cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer010_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamGameServer_SteamGameServer010_EndAuthSession(void *, CSteamID); -extern void cppISteamGameServer_SteamGameServer010_CancelAuthTicket(void *, HAuthTicket); +struct cppISteamGameServer_SteamGameServer010_LogOn_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer010_LogOn( struct cppISteamGameServer_SteamGameServer010_LogOn_params *params ); + +struct cppISteamGameServer_SteamGameServer010_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer010_LogOff( struct cppISteamGameServer_SteamGameServer010_LogOff_params *params ); + +struct cppISteamGameServer_SteamGameServer010_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer010_BLoggedOn( struct cppISteamGameServer_SteamGameServer010_BLoggedOn_params *params ); + +struct cppISteamGameServer_SteamGameServer010_BSecure_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer010_BSecure( struct cppISteamGameServer_SteamGameServer010_BSecure_params *params ); + +struct cppISteamGameServer_SteamGameServer010_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer010_GetSteamID( struct cppISteamGameServer_SteamGameServer010_GetSteamID_params *params ); + +struct cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate_params +{ + void *linux_side; + bool _ret; + uint32 unIPClient; + const void *pvAuthBlob; + uint32 cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate_params *params ); + +struct cppISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection_params *params ); + +struct cppISteamGameServer_SteamGameServer010_SendUserDisconnect_params +{ + void *linux_side; + CSteamID steamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer010_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer010_SendUserDisconnect_params *params ); + +struct cppISteamGameServer_SteamGameServer010_BUpdateUserData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32 uScore; +}; +extern void cppISteamGameServer_SteamGameServer010_BUpdateUserData( struct cppISteamGameServer_SteamGameServer010_BUpdateUserData_params *params ); + +struct cppISteamGameServer_SteamGameServer010_BSetServerType_params +{ + void *linux_side; + bool _ret; + uint32 unServerFlags; + uint32 unGameIP; + uint16 unGamePort; + uint16 unSpectatorPort; + uint16 usQueryPort; + const char *pchGameDir; + const char *pchVersion; + bool bLANMode; +}; +extern void cppISteamGameServer_SteamGameServer010_BSetServerType( struct cppISteamGameServer_SteamGameServer010_BSetServerType_params *params ); + +struct cppISteamGameServer_SteamGameServer010_UpdateServerStatus_params +{ + void *linux_side; + int cPlayers; + int cPlayersMax; + int cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; +extern void cppISteamGameServer_SteamGameServer010_UpdateServerStatus( struct cppISteamGameServer_SteamGameServer010_UpdateServerStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort_params +{ + void *linux_side; + uint16 unSpectatorPort; +}; +extern void cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort( struct cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort_params *params ); + +struct cppISteamGameServer_SteamGameServer010_SetGameTags_params +{ + void *linux_side; + const char *pchGameTags; +}; +extern void cppISteamGameServer_SteamGameServer010_SetGameTags( struct cppISteamGameServer_SteamGameServer010_SetGameTags_params *params ); + +struct cppISteamGameServer_SteamGameServer010_GetGameplayStats_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer010_GetGameplayStats( struct cppISteamGameServer_SteamGameServer010_GetGameplayStats_params *params ); + +struct cppISteamGameServer_SteamGameServer010_GetServerReputation_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamGameServer_SteamGameServer010_GetServerReputation( struct cppISteamGameServer_SteamGameServer010_GetServerReputation_params *params ); + +struct cppISteamGameServer_SteamGameServer010_RequestUserGroupStatus_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; +extern void cppISteamGameServer_SteamGameServer010_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer010_RequestUserGroupStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer010_GetPublicIP_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamGameServer_SteamGameServer010_GetPublicIP( struct cppISteamGameServer_SteamGameServer010_GetPublicIP_params *params ); + +struct cppISteamGameServer_SteamGameServer010_SetGameData_params +{ + void *linux_side; + const char *pchGameData; +}; +extern void cppISteamGameServer_SteamGameServer010_SetGameData( struct cppISteamGameServer_SteamGameServer010_SetGameData_params *params ); + +struct cppISteamGameServer_SteamGameServer010_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamGameServer_SteamGameServer010_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer010_UserHasLicenseForApp_params *params ); + +struct cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket( struct cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket_params *params ); + +struct cppISteamGameServer_SteamGameServer010_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamGameServer_SteamGameServer010_BeginAuthSession( struct cppISteamGameServer_SteamGameServer010_BeginAuthSession_params *params ); + +struct cppISteamGameServer_SteamGameServer010_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamGameServer_SteamGameServer010_EndAuthSession( struct cppISteamGameServer_SteamGameServer010_EndAuthSession_params *params ); + +struct cppISteamGameServer_SteamGameServer010_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamGameServer_SteamGameServer010_CancelAuthTicket( struct cppISteamGameServer_SteamGameServer010_CancelAuthTicket_params *params ); + diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer011.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer011.cpp index a05ec5a2..1cc9eb7e 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer011.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer011.cpp @@ -12,260 +12,224 @@ extern "C" { #define SDKVER_128 #include "struct_converters.h" #include "cppISteamGameServer_SteamGameServer011.h" -bool cppISteamGameServer_SteamGameServer011_InitGameServer(void *linux_side, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char *pchVersionString) +void cppISteamGameServer_SteamGameServer011_InitGameServer( struct cppISteamGameServer_SteamGameServer011_InitGameServer_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->InitGameServer((uint32)unIP, (uint16)usGamePort, (uint16)usQueryPort, (uint32)unFlags, (AppId_t)nGameAppId, (const char *)pchVersionString); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->InitGameServer( (uint32)params->unIP, (uint16)params->usGamePort, (uint16)params->usQueryPort, (uint32)params->unFlags, (AppId_t)params->nGameAppId, (const char *)params->pchVersionString ); } -void cppISteamGameServer_SteamGameServer011_SetProduct(void *linux_side, const char *pszProduct) +void cppISteamGameServer_SteamGameServer011_SetProduct( struct cppISteamGameServer_SteamGameServer011_SetProduct_params *params ) { - ((ISteamGameServer*)linux_side)->SetProduct((const char *)pszProduct); + ((ISteamGameServer*)params->linux_side)->SetProduct( (const char *)params->pszProduct ); } -void cppISteamGameServer_SteamGameServer011_SetGameDescription(void *linux_side, const char *pszGameDescription) +void cppISteamGameServer_SteamGameServer011_SetGameDescription( struct cppISteamGameServer_SteamGameServer011_SetGameDescription_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameDescription((const char *)pszGameDescription); + ((ISteamGameServer*)params->linux_side)->SetGameDescription( (const char *)params->pszGameDescription ); } -void cppISteamGameServer_SteamGameServer011_SetModDir(void *linux_side, const char *pszModDir) +void cppISteamGameServer_SteamGameServer011_SetModDir( struct cppISteamGameServer_SteamGameServer011_SetModDir_params *params ) { - ((ISteamGameServer*)linux_side)->SetModDir((const char *)pszModDir); + ((ISteamGameServer*)params->linux_side)->SetModDir( (const char *)params->pszModDir ); } -void cppISteamGameServer_SteamGameServer011_SetDedicatedServer(void *linux_side, bool bDedicated) +void cppISteamGameServer_SteamGameServer011_SetDedicatedServer( struct cppISteamGameServer_SteamGameServer011_SetDedicatedServer_params *params ) { - ((ISteamGameServer*)linux_side)->SetDedicatedServer((bool)bDedicated); + ((ISteamGameServer*)params->linux_side)->SetDedicatedServer( (bool)params->bDedicated ); } -void cppISteamGameServer_SteamGameServer011_LogOn(void *linux_side, const char *pszAccountName, const char *pszPassword) +void cppISteamGameServer_SteamGameServer011_LogOn( struct cppISteamGameServer_SteamGameServer011_LogOn_params *params ) { - ((ISteamGameServer*)linux_side)->LogOn((const char *)pszAccountName, (const char *)pszPassword); + ((ISteamGameServer*)params->linux_side)->LogOn( (const char *)params->pszAccountName, (const char *)params->pszPassword ); } -void cppISteamGameServer_SteamGameServer011_LogOnAnonymous(void *linux_side) +void cppISteamGameServer_SteamGameServer011_LogOnAnonymous( struct cppISteamGameServer_SteamGameServer011_LogOnAnonymous_params *params ) { - ((ISteamGameServer*)linux_side)->LogOnAnonymous(); + ((ISteamGameServer*)params->linux_side)->LogOnAnonymous( ); } -void cppISteamGameServer_SteamGameServer011_LogOff(void *linux_side) +void cppISteamGameServer_SteamGameServer011_LogOff( struct cppISteamGameServer_SteamGameServer011_LogOff_params *params ) { - ((ISteamGameServer*)linux_side)->LogOff(); + ((ISteamGameServer*)params->linux_side)->LogOff( ); } -bool cppISteamGameServer_SteamGameServer011_BLoggedOn(void *linux_side) +void cppISteamGameServer_SteamGameServer011_BLoggedOn( struct cppISteamGameServer_SteamGameServer011_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BLoggedOn( ); } -bool cppISteamGameServer_SteamGameServer011_BSecure(void *linux_side) +void cppISteamGameServer_SteamGameServer011_BSecure( struct cppISteamGameServer_SteamGameServer011_BSecure_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSecure(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSecure( ); } -CSteamID cppISteamGameServer_SteamGameServer011_GetSteamID(void *linux_side) +void cppISteamGameServer_SteamGameServer011_GetSteamID( struct cppISteamGameServer_SteamGameServer011_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetSteamID( ); } -bool cppISteamGameServer_SteamGameServer011_WasRestartRequested(void *linux_side) +void cppISteamGameServer_SteamGameServer011_WasRestartRequested( struct cppISteamGameServer_SteamGameServer011_WasRestartRequested_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->WasRestartRequested(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->WasRestartRequested( ); } -void cppISteamGameServer_SteamGameServer011_SetMaxPlayerCount(void *linux_side, int cPlayersMax) +void cppISteamGameServer_SteamGameServer011_SetMaxPlayerCount( struct cppISteamGameServer_SteamGameServer011_SetMaxPlayerCount_params *params ) { - ((ISteamGameServer*)linux_side)->SetMaxPlayerCount((int)cPlayersMax); + ((ISteamGameServer*)params->linux_side)->SetMaxPlayerCount( (int)params->cPlayersMax ); } -void cppISteamGameServer_SteamGameServer011_SetBotPlayerCount(void *linux_side, int cBotplayers) +void cppISteamGameServer_SteamGameServer011_SetBotPlayerCount( struct cppISteamGameServer_SteamGameServer011_SetBotPlayerCount_params *params ) { - ((ISteamGameServer*)linux_side)->SetBotPlayerCount((int)cBotplayers); + ((ISteamGameServer*)params->linux_side)->SetBotPlayerCount( (int)params->cBotplayers ); } -void cppISteamGameServer_SteamGameServer011_SetServerName(void *linux_side, const char *pszServerName) +void cppISteamGameServer_SteamGameServer011_SetServerName( struct cppISteamGameServer_SteamGameServer011_SetServerName_params *params ) { - ((ISteamGameServer*)linux_side)->SetServerName((const char *)pszServerName); + ((ISteamGameServer*)params->linux_side)->SetServerName( (const char *)params->pszServerName ); } -void cppISteamGameServer_SteamGameServer011_SetMapName(void *linux_side, const char *pszMapName) +void cppISteamGameServer_SteamGameServer011_SetMapName( struct cppISteamGameServer_SteamGameServer011_SetMapName_params *params ) { - ((ISteamGameServer*)linux_side)->SetMapName((const char *)pszMapName); + ((ISteamGameServer*)params->linux_side)->SetMapName( (const char *)params->pszMapName ); } -void cppISteamGameServer_SteamGameServer011_SetPasswordProtected(void *linux_side, bool bPasswordProtected) +void cppISteamGameServer_SteamGameServer011_SetPasswordProtected( struct cppISteamGameServer_SteamGameServer011_SetPasswordProtected_params *params ) { - ((ISteamGameServer*)linux_side)->SetPasswordProtected((bool)bPasswordProtected); + ((ISteamGameServer*)params->linux_side)->SetPasswordProtected( (bool)params->bPasswordProtected ); } -void cppISteamGameServer_SteamGameServer011_SetSpectatorPort(void *linux_side, uint16 unSpectatorPort) +void cppISteamGameServer_SteamGameServer011_SetSpectatorPort( struct cppISteamGameServer_SteamGameServer011_SetSpectatorPort_params *params ) { - ((ISteamGameServer*)linux_side)->SetSpectatorPort((uint16)unSpectatorPort); + ((ISteamGameServer*)params->linux_side)->SetSpectatorPort( (uint16)params->unSpectatorPort ); } -void cppISteamGameServer_SteamGameServer011_SetSpectatorServerName(void *linux_side, const char *pszSpectatorServerName) +void cppISteamGameServer_SteamGameServer011_SetSpectatorServerName( struct cppISteamGameServer_SteamGameServer011_SetSpectatorServerName_params *params ) { - ((ISteamGameServer*)linux_side)->SetSpectatorServerName((const char *)pszSpectatorServerName); + ((ISteamGameServer*)params->linux_side)->SetSpectatorServerName( (const char *)params->pszSpectatorServerName ); } -void cppISteamGameServer_SteamGameServer011_ClearAllKeyValues(void *linux_side) +void cppISteamGameServer_SteamGameServer011_ClearAllKeyValues( struct cppISteamGameServer_SteamGameServer011_ClearAllKeyValues_params *params ) { - ((ISteamGameServer*)linux_side)->ClearAllKeyValues(); + ((ISteamGameServer*)params->linux_side)->ClearAllKeyValues( ); } -void cppISteamGameServer_SteamGameServer011_SetKeyValue(void *linux_side, const char *pKey, const char *pValue) +void cppISteamGameServer_SteamGameServer011_SetKeyValue( struct cppISteamGameServer_SteamGameServer011_SetKeyValue_params *params ) { - ((ISteamGameServer*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); + ((ISteamGameServer*)params->linux_side)->SetKeyValue( (const char *)params->pKey, (const char *)params->pValue ); } -void cppISteamGameServer_SteamGameServer011_SetGameTags(void *linux_side, const char *pchGameTags) +void cppISteamGameServer_SteamGameServer011_SetGameTags( struct cppISteamGameServer_SteamGameServer011_SetGameTags_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); + ((ISteamGameServer*)params->linux_side)->SetGameTags( (const char *)params->pchGameTags ); } -void cppISteamGameServer_SteamGameServer011_SetGameData(void *linux_side, const char *pchGameData) +void cppISteamGameServer_SteamGameServer011_SetGameData( struct cppISteamGameServer_SteamGameServer011_SetGameData_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + ((ISteamGameServer*)params->linux_side)->SetGameData( (const char *)params->pchGameData ); } -void cppISteamGameServer_SteamGameServer011_SetRegion(void *linux_side, const char *pszRegion) +void cppISteamGameServer_SteamGameServer011_SetRegion( struct cppISteamGameServer_SteamGameServer011_SetRegion_params *params ) { - ((ISteamGameServer*)linux_side)->SetRegion((const char *)pszRegion); + ((ISteamGameServer*)params->linux_side)->SetRegion( (const char *)params->pszRegion ); } -bool cppISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) +void cppISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->SendUserConnectAndAuthenticate( (uint32)params->unIPClient, (const void *)params->pvAuthBlob, (uint32)params->cubAuthBlobSize, (CSteamID *)params->pSteamIDUser ); } -CSteamID cppISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection(void *linux_side) +void cppISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->CreateUnauthenticatedUserConnection( ); } -void cppISteamGameServer_SteamGameServer011_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +void cppISteamGameServer_SteamGameServer011_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer011_SendUserDisconnect_params *params ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + ((ISteamGameServer*)params->linux_side)->SendUserDisconnect( (CSteamID)params->steamIDUser ); } -bool cppISteamGameServer_SteamGameServer011_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) +void cppISteamGameServer_SteamGameServer011_BUpdateUserData( struct cppISteamGameServer_SteamGameServer011_BUpdateUserData_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BUpdateUserData( (CSteamID)params->steamIDUser, (const char *)params->pchPlayerName, (uint32)params->uScore ); } -HAuthTicket cppISteamGameServer_SteamGameServer011_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamGameServer_SteamGameServer011_GetAuthSessionTicket( struct cppISteamGameServer_SteamGameServer011_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamGameServer_SteamGameServer011_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamGameServer_SteamGameServer011_BeginAuthSession( struct cppISteamGameServer_SteamGameServer011_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamGameServer_SteamGameServer011_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamGameServer_SteamGameServer011_EndAuthSession( struct cppISteamGameServer_SteamGameServer011_EndAuthSession_params *params ) { - ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamGameServer*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamGameServer_SteamGameServer011_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamGameServer_SteamGameServer011_CancelAuthTicket( struct cppISteamGameServer_SteamGameServer011_CancelAuthTicket_params *params ) { - ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamGameServer*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer011_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamGameServer_SteamGameServer011_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer011_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamGameServer_SteamGameServer011_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +void cppISteamGameServer_SteamGameServer011_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer011_RequestUserGroupStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->RequestUserGroupStatus( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDGroup ); } -void cppISteamGameServer_SteamGameServer011_GetGameplayStats(void *linux_side) +void cppISteamGameServer_SteamGameServer011_GetGameplayStats( struct cppISteamGameServer_SteamGameServer011_GetGameplayStats_params *params ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + ((ISteamGameServer*)params->linux_side)->GetGameplayStats( ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer011_GetServerReputation(void *linux_side) +void cppISteamGameServer_SteamGameServer011_GetServerReputation( struct cppISteamGameServer_SteamGameServer011_GetServerReputation_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->GetServerReputation(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetServerReputation( ); } -uint32 cppISteamGameServer_SteamGameServer011_GetPublicIP(void *linux_side) +void cppISteamGameServer_SteamGameServer011_GetPublicIP( struct cppISteamGameServer_SteamGameServer011_GetPublicIP_params *params ) { - uint32 _ret; - _ret = ((ISteamGameServer*)linux_side)->GetPublicIP(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetPublicIP( ); } -bool cppISteamGameServer_SteamGameServer011_HandleIncomingPacket(void *linux_side, const void *pData, int cbData, uint32 srcIP, uint16 srcPort) +void cppISteamGameServer_SteamGameServer011_HandleIncomingPacket( struct cppISteamGameServer_SteamGameServer011_HandleIncomingPacket_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->HandleIncomingPacket( (const void *)params->pData, (int)params->cbData, (uint32)params->srcIP, (uint16)params->srcPort ); } -int cppISteamGameServer_SteamGameServer011_GetNextOutgoingPacket(void *linux_side, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort) +void cppISteamGameServer_SteamGameServer011_GetNextOutgoingPacket( struct cppISteamGameServer_SteamGameServer011_GetNextOutgoingPacket_params *params ) { - int _ret; - _ret = ((ISteamGameServer*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetNextOutgoingPacket( (void *)params->pOut, (int)params->cbMaxOut, (uint32 *)params->pNetAdr, (uint16 *)params->pPort ); } -void cppISteamGameServer_SteamGameServer011_EnableHeartbeats(void *linux_side, bool bActive) +void cppISteamGameServer_SteamGameServer011_EnableHeartbeats( struct cppISteamGameServer_SteamGameServer011_EnableHeartbeats_params *params ) { - ((ISteamGameServer*)linux_side)->EnableHeartbeats((bool)bActive); + ((ISteamGameServer*)params->linux_side)->EnableHeartbeats( (bool)params->bActive ); } -void cppISteamGameServer_SteamGameServer011_SetHeartbeatInterval(void *linux_side, int iHeartbeatInterval) +void cppISteamGameServer_SteamGameServer011_SetHeartbeatInterval( struct cppISteamGameServer_SteamGameServer011_SetHeartbeatInterval_params *params ) { - ((ISteamGameServer*)linux_side)->SetHeartbeatInterval((int)iHeartbeatInterval); + ((ISteamGameServer*)params->linux_side)->SetHeartbeatInterval( (int)params->iHeartbeatInterval ); } -void cppISteamGameServer_SteamGameServer011_ForceHeartbeat(void *linux_side) +void cppISteamGameServer_SteamGameServer011_ForceHeartbeat( struct cppISteamGameServer_SteamGameServer011_ForceHeartbeat_params *params ) { - ((ISteamGameServer*)linux_side)->ForceHeartbeat(); + ((ISteamGameServer*)params->linux_side)->ForceHeartbeat( ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer011_AssociateWithClan(void *linux_side, CSteamID steamIDClan) +void cppISteamGameServer_SteamGameServer011_AssociateWithClan( struct cppISteamGameServer_SteamGameServer011_AssociateWithClan_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->AssociateWithClan((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->AssociateWithClan( (CSteamID)params->steamIDClan ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility(void *linux_side, CSteamID steamIDNewPlayer) +void cppISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility( struct cppISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->ComputeNewPlayerCompatibility((CSteamID)steamIDNewPlayer); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->ComputeNewPlayerCompatibility( (CSteamID)params->steamIDNewPlayer ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer011.h b/lsteamclient/cppISteamGameServer_SteamGameServer011.h index 97acd031..5e4f5910 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer011.h +++ b/lsteamclient/cppISteamGameServer_SteamGameServer011.h @@ -1,44 +1,338 @@ -extern bool cppISteamGameServer_SteamGameServer011_InitGameServer(void *, uint32, uint16, uint16, uint32, AppId_t, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetProduct(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetGameDescription(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetModDir(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetDedicatedServer(void *, bool); -extern void cppISteamGameServer_SteamGameServer011_LogOn(void *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer011_LogOnAnonymous(void *); -extern void cppISteamGameServer_SteamGameServer011_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer011_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer011_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer011_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer011_WasRestartRequested(void *); -extern void cppISteamGameServer_SteamGameServer011_SetMaxPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer011_SetBotPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer011_SetServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetMapName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetPasswordProtected(void *, bool); -extern void cppISteamGameServer_SteamGameServer011_SetSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer011_SetSpectatorServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_ClearAllKeyValues(void *); -extern void cppISteamGameServer_SteamGameServer011_SetKeyValue(void *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetGameTags(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetGameData(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetRegion(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer011_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer011_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern HAuthTicket cppISteamGameServer_SteamGameServer011_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer011_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamGameServer_SteamGameServer011_EndAuthSession(void *, CSteamID); -extern void cppISteamGameServer_SteamGameServer011_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer011_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamGameServer_SteamGameServer011_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern void cppISteamGameServer_SteamGameServer011_GetGameplayStats(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer011_GetServerReputation(void *); -extern uint32 cppISteamGameServer_SteamGameServer011_GetPublicIP(void *); -extern bool cppISteamGameServer_SteamGameServer011_HandleIncomingPacket(void *, const void *, int, uint32, uint16); -extern int cppISteamGameServer_SteamGameServer011_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); -extern void cppISteamGameServer_SteamGameServer011_EnableHeartbeats(void *, bool); -extern void cppISteamGameServer_SteamGameServer011_SetHeartbeatInterval(void *, int); -extern void cppISteamGameServer_SteamGameServer011_ForceHeartbeat(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer011_AssociateWithClan(void *, CSteamID); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility(void *, CSteamID); +struct cppISteamGameServer_SteamGameServer011_InitGameServer_params +{ + void *linux_side; + bool _ret; + uint32 unIP; + uint16 usGamePort; + uint16 usQueryPort; + uint32 unFlags; + AppId_t nGameAppId; + const char *pchVersionString; +}; +extern void cppISteamGameServer_SteamGameServer011_InitGameServer( struct cppISteamGameServer_SteamGameServer011_InitGameServer_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetProduct_params +{ + void *linux_side; + const char *pszProduct; +}; +extern void cppISteamGameServer_SteamGameServer011_SetProduct( struct cppISteamGameServer_SteamGameServer011_SetProduct_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetGameDescription_params +{ + void *linux_side; + const char *pszGameDescription; +}; +extern void cppISteamGameServer_SteamGameServer011_SetGameDescription( struct cppISteamGameServer_SteamGameServer011_SetGameDescription_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetModDir_params +{ + void *linux_side; + const char *pszModDir; +}; +extern void cppISteamGameServer_SteamGameServer011_SetModDir( struct cppISteamGameServer_SteamGameServer011_SetModDir_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetDedicatedServer_params +{ + void *linux_side; + bool bDedicated; +}; +extern void cppISteamGameServer_SteamGameServer011_SetDedicatedServer( struct cppISteamGameServer_SteamGameServer011_SetDedicatedServer_params *params ); + +struct cppISteamGameServer_SteamGameServer011_LogOn_params +{ + void *linux_side; + const char *pszAccountName; + const char *pszPassword; +}; +extern void cppISteamGameServer_SteamGameServer011_LogOn( struct cppISteamGameServer_SteamGameServer011_LogOn_params *params ); + +struct cppISteamGameServer_SteamGameServer011_LogOnAnonymous_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer011_LogOnAnonymous( struct cppISteamGameServer_SteamGameServer011_LogOnAnonymous_params *params ); + +struct cppISteamGameServer_SteamGameServer011_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer011_LogOff( struct cppISteamGameServer_SteamGameServer011_LogOff_params *params ); + +struct cppISteamGameServer_SteamGameServer011_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer011_BLoggedOn( struct cppISteamGameServer_SteamGameServer011_BLoggedOn_params *params ); + +struct cppISteamGameServer_SteamGameServer011_BSecure_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer011_BSecure( struct cppISteamGameServer_SteamGameServer011_BSecure_params *params ); + +struct cppISteamGameServer_SteamGameServer011_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer011_GetSteamID( struct cppISteamGameServer_SteamGameServer011_GetSteamID_params *params ); + +struct cppISteamGameServer_SteamGameServer011_WasRestartRequested_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer011_WasRestartRequested( struct cppISteamGameServer_SteamGameServer011_WasRestartRequested_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetMaxPlayerCount_params +{ + void *linux_side; + int cPlayersMax; +}; +extern void cppISteamGameServer_SteamGameServer011_SetMaxPlayerCount( struct cppISteamGameServer_SteamGameServer011_SetMaxPlayerCount_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetBotPlayerCount_params +{ + void *linux_side; + int cBotplayers; +}; +extern void cppISteamGameServer_SteamGameServer011_SetBotPlayerCount( struct cppISteamGameServer_SteamGameServer011_SetBotPlayerCount_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetServerName_params +{ + void *linux_side; + const char *pszServerName; +}; +extern void cppISteamGameServer_SteamGameServer011_SetServerName( struct cppISteamGameServer_SteamGameServer011_SetServerName_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetMapName_params +{ + void *linux_side; + const char *pszMapName; +}; +extern void cppISteamGameServer_SteamGameServer011_SetMapName( struct cppISteamGameServer_SteamGameServer011_SetMapName_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetPasswordProtected_params +{ + void *linux_side; + bool bPasswordProtected; +}; +extern void cppISteamGameServer_SteamGameServer011_SetPasswordProtected( struct cppISteamGameServer_SteamGameServer011_SetPasswordProtected_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetSpectatorPort_params +{ + void *linux_side; + uint16 unSpectatorPort; +}; +extern void cppISteamGameServer_SteamGameServer011_SetSpectatorPort( struct cppISteamGameServer_SteamGameServer011_SetSpectatorPort_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetSpectatorServerName_params +{ + void *linux_side; + const char *pszSpectatorServerName; +}; +extern void cppISteamGameServer_SteamGameServer011_SetSpectatorServerName( struct cppISteamGameServer_SteamGameServer011_SetSpectatorServerName_params *params ); + +struct cppISteamGameServer_SteamGameServer011_ClearAllKeyValues_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer011_ClearAllKeyValues( struct cppISteamGameServer_SteamGameServer011_ClearAllKeyValues_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetKeyValue_params +{ + void *linux_side; + const char *pKey; + const char *pValue; +}; +extern void cppISteamGameServer_SteamGameServer011_SetKeyValue( struct cppISteamGameServer_SteamGameServer011_SetKeyValue_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetGameTags_params +{ + void *linux_side; + const char *pchGameTags; +}; +extern void cppISteamGameServer_SteamGameServer011_SetGameTags( struct cppISteamGameServer_SteamGameServer011_SetGameTags_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetGameData_params +{ + void *linux_side; + const char *pchGameData; +}; +extern void cppISteamGameServer_SteamGameServer011_SetGameData( struct cppISteamGameServer_SteamGameServer011_SetGameData_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetRegion_params +{ + void *linux_side; + const char *pszRegion; +}; +extern void cppISteamGameServer_SteamGameServer011_SetRegion( struct cppISteamGameServer_SteamGameServer011_SetRegion_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate_params +{ + void *linux_side; + bool _ret; + uint32 unIPClient; + const void *pvAuthBlob; + uint32 cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate_params *params ); + +struct cppISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SendUserDisconnect_params +{ + void *linux_side; + CSteamID steamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer011_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer011_SendUserDisconnect_params *params ); + +struct cppISteamGameServer_SteamGameServer011_BUpdateUserData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32 uScore; +}; +extern void cppISteamGameServer_SteamGameServer011_BUpdateUserData( struct cppISteamGameServer_SteamGameServer011_BUpdateUserData_params *params ); + +struct cppISteamGameServer_SteamGameServer011_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamGameServer_SteamGameServer011_GetAuthSessionTicket( struct cppISteamGameServer_SteamGameServer011_GetAuthSessionTicket_params *params ); + +struct cppISteamGameServer_SteamGameServer011_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamGameServer_SteamGameServer011_BeginAuthSession( struct cppISteamGameServer_SteamGameServer011_BeginAuthSession_params *params ); + +struct cppISteamGameServer_SteamGameServer011_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamGameServer_SteamGameServer011_EndAuthSession( struct cppISteamGameServer_SteamGameServer011_EndAuthSession_params *params ); + +struct cppISteamGameServer_SteamGameServer011_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamGameServer_SteamGameServer011_CancelAuthTicket( struct cppISteamGameServer_SteamGameServer011_CancelAuthTicket_params *params ); + +struct cppISteamGameServer_SteamGameServer011_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamGameServer_SteamGameServer011_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer011_UserHasLicenseForApp_params *params ); + +struct cppISteamGameServer_SteamGameServer011_RequestUserGroupStatus_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; +extern void cppISteamGameServer_SteamGameServer011_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer011_RequestUserGroupStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer011_GetGameplayStats_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer011_GetGameplayStats( struct cppISteamGameServer_SteamGameServer011_GetGameplayStats_params *params ); + +struct cppISteamGameServer_SteamGameServer011_GetServerReputation_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamGameServer_SteamGameServer011_GetServerReputation( struct cppISteamGameServer_SteamGameServer011_GetServerReputation_params *params ); + +struct cppISteamGameServer_SteamGameServer011_GetPublicIP_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamGameServer_SteamGameServer011_GetPublicIP( struct cppISteamGameServer_SteamGameServer011_GetPublicIP_params *params ); + +struct cppISteamGameServer_SteamGameServer011_HandleIncomingPacket_params +{ + void *linux_side; + bool _ret; + const void *pData; + int cbData; + uint32 srcIP; + uint16 srcPort; +}; +extern void cppISteamGameServer_SteamGameServer011_HandleIncomingPacket( struct cppISteamGameServer_SteamGameServer011_HandleIncomingPacket_params *params ); + +struct cppISteamGameServer_SteamGameServer011_GetNextOutgoingPacket_params +{ + void *linux_side; + int _ret; + void *pOut; + int cbMaxOut; + uint32 *pNetAdr; + uint16 *pPort; +}; +extern void cppISteamGameServer_SteamGameServer011_GetNextOutgoingPacket( struct cppISteamGameServer_SteamGameServer011_GetNextOutgoingPacket_params *params ); + +struct cppISteamGameServer_SteamGameServer011_EnableHeartbeats_params +{ + void *linux_side; + bool bActive; +}; +extern void cppISteamGameServer_SteamGameServer011_EnableHeartbeats( struct cppISteamGameServer_SteamGameServer011_EnableHeartbeats_params *params ); + +struct cppISteamGameServer_SteamGameServer011_SetHeartbeatInterval_params +{ + void *linux_side; + int iHeartbeatInterval; +}; +extern void cppISteamGameServer_SteamGameServer011_SetHeartbeatInterval( struct cppISteamGameServer_SteamGameServer011_SetHeartbeatInterval_params *params ); + +struct cppISteamGameServer_SteamGameServer011_ForceHeartbeat_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer011_ForceHeartbeat( struct cppISteamGameServer_SteamGameServer011_ForceHeartbeat_params *params ); + +struct cppISteamGameServer_SteamGameServer011_AssociateWithClan_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamGameServer_SteamGameServer011_AssociateWithClan( struct cppISteamGameServer_SteamGameServer011_AssociateWithClan_params *params ); + +struct cppISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDNewPlayer; +}; +extern void cppISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility( struct cppISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility_params *params ); + diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp index 3eaa2b37..537c62dc 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp @@ -13,260 +13,224 @@ extern "C" { #define SDKVER_146 #include "struct_converters.h" #include "cppISteamGameServer_SteamGameServer012.h" -bool cppISteamGameServer_SteamGameServer012_InitGameServer(void *linux_side, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char *pchVersionString) +void cppISteamGameServer_SteamGameServer012_InitGameServer( struct cppISteamGameServer_SteamGameServer012_InitGameServer_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->InitGameServer((uint32)unIP, (uint16)usGamePort, (uint16)usQueryPort, (uint32)unFlags, (AppId_t)nGameAppId, (const char *)pchVersionString); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->InitGameServer( (uint32)params->unIP, (uint16)params->usGamePort, (uint16)params->usQueryPort, (uint32)params->unFlags, (AppId_t)params->nGameAppId, (const char *)params->pchVersionString ); } -void cppISteamGameServer_SteamGameServer012_SetProduct(void *linux_side, const char *pszProduct) +void cppISteamGameServer_SteamGameServer012_SetProduct( struct cppISteamGameServer_SteamGameServer012_SetProduct_params *params ) { - ((ISteamGameServer*)linux_side)->SetProduct((const char *)pszProduct); + ((ISteamGameServer*)params->linux_side)->SetProduct( (const char *)params->pszProduct ); } -void cppISteamGameServer_SteamGameServer012_SetGameDescription(void *linux_side, const char *pszGameDescription) +void cppISteamGameServer_SteamGameServer012_SetGameDescription( struct cppISteamGameServer_SteamGameServer012_SetGameDescription_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameDescription((const char *)pszGameDescription); + ((ISteamGameServer*)params->linux_side)->SetGameDescription( (const char *)params->pszGameDescription ); } -void cppISteamGameServer_SteamGameServer012_SetModDir(void *linux_side, const char *pszModDir) +void cppISteamGameServer_SteamGameServer012_SetModDir( struct cppISteamGameServer_SteamGameServer012_SetModDir_params *params ) { - ((ISteamGameServer*)linux_side)->SetModDir((const char *)pszModDir); + ((ISteamGameServer*)params->linux_side)->SetModDir( (const char *)params->pszModDir ); } -void cppISteamGameServer_SteamGameServer012_SetDedicatedServer(void *linux_side, bool bDedicated) +void cppISteamGameServer_SteamGameServer012_SetDedicatedServer( struct cppISteamGameServer_SteamGameServer012_SetDedicatedServer_params *params ) { - ((ISteamGameServer*)linux_side)->SetDedicatedServer((bool)bDedicated); + ((ISteamGameServer*)params->linux_side)->SetDedicatedServer( (bool)params->bDedicated ); } -void cppISteamGameServer_SteamGameServer012_LogOn(void *linux_side, const char *pszToken) +void cppISteamGameServer_SteamGameServer012_LogOn( struct cppISteamGameServer_SteamGameServer012_LogOn_params *params ) { - ((ISteamGameServer*)linux_side)->LogOn((const char *)pszToken); + ((ISteamGameServer*)params->linux_side)->LogOn( (const char *)params->pszToken ); } -void cppISteamGameServer_SteamGameServer012_LogOnAnonymous(void *linux_side) +void cppISteamGameServer_SteamGameServer012_LogOnAnonymous( struct cppISteamGameServer_SteamGameServer012_LogOnAnonymous_params *params ) { - ((ISteamGameServer*)linux_side)->LogOnAnonymous(); + ((ISteamGameServer*)params->linux_side)->LogOnAnonymous( ); } -void cppISteamGameServer_SteamGameServer012_LogOff(void *linux_side) +void cppISteamGameServer_SteamGameServer012_LogOff( struct cppISteamGameServer_SteamGameServer012_LogOff_params *params ) { - ((ISteamGameServer*)linux_side)->LogOff(); + ((ISteamGameServer*)params->linux_side)->LogOff( ); } -bool cppISteamGameServer_SteamGameServer012_BLoggedOn(void *linux_side) +void cppISteamGameServer_SteamGameServer012_BLoggedOn( struct cppISteamGameServer_SteamGameServer012_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BLoggedOn( ); } -bool cppISteamGameServer_SteamGameServer012_BSecure(void *linux_side) +void cppISteamGameServer_SteamGameServer012_BSecure( struct cppISteamGameServer_SteamGameServer012_BSecure_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSecure(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSecure( ); } -CSteamID cppISteamGameServer_SteamGameServer012_GetSteamID(void *linux_side) +void cppISteamGameServer_SteamGameServer012_GetSteamID( struct cppISteamGameServer_SteamGameServer012_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetSteamID( ); } -bool cppISteamGameServer_SteamGameServer012_WasRestartRequested(void *linux_side) +void cppISteamGameServer_SteamGameServer012_WasRestartRequested( struct cppISteamGameServer_SteamGameServer012_WasRestartRequested_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->WasRestartRequested(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->WasRestartRequested( ); } -void cppISteamGameServer_SteamGameServer012_SetMaxPlayerCount(void *linux_side, int cPlayersMax) +void cppISteamGameServer_SteamGameServer012_SetMaxPlayerCount( struct cppISteamGameServer_SteamGameServer012_SetMaxPlayerCount_params *params ) { - ((ISteamGameServer*)linux_side)->SetMaxPlayerCount((int)cPlayersMax); + ((ISteamGameServer*)params->linux_side)->SetMaxPlayerCount( (int)params->cPlayersMax ); } -void cppISteamGameServer_SteamGameServer012_SetBotPlayerCount(void *linux_side, int cBotplayers) +void cppISteamGameServer_SteamGameServer012_SetBotPlayerCount( struct cppISteamGameServer_SteamGameServer012_SetBotPlayerCount_params *params ) { - ((ISteamGameServer*)linux_side)->SetBotPlayerCount((int)cBotplayers); + ((ISteamGameServer*)params->linux_side)->SetBotPlayerCount( (int)params->cBotplayers ); } -void cppISteamGameServer_SteamGameServer012_SetServerName(void *linux_side, const char *pszServerName) +void cppISteamGameServer_SteamGameServer012_SetServerName( struct cppISteamGameServer_SteamGameServer012_SetServerName_params *params ) { - ((ISteamGameServer*)linux_side)->SetServerName((const char *)pszServerName); + ((ISteamGameServer*)params->linux_side)->SetServerName( (const char *)params->pszServerName ); } -void cppISteamGameServer_SteamGameServer012_SetMapName(void *linux_side, const char *pszMapName) +void cppISteamGameServer_SteamGameServer012_SetMapName( struct cppISteamGameServer_SteamGameServer012_SetMapName_params *params ) { - ((ISteamGameServer*)linux_side)->SetMapName((const char *)pszMapName); + ((ISteamGameServer*)params->linux_side)->SetMapName( (const char *)params->pszMapName ); } -void cppISteamGameServer_SteamGameServer012_SetPasswordProtected(void *linux_side, bool bPasswordProtected) +void cppISteamGameServer_SteamGameServer012_SetPasswordProtected( struct cppISteamGameServer_SteamGameServer012_SetPasswordProtected_params *params ) { - ((ISteamGameServer*)linux_side)->SetPasswordProtected((bool)bPasswordProtected); + ((ISteamGameServer*)params->linux_side)->SetPasswordProtected( (bool)params->bPasswordProtected ); } -void cppISteamGameServer_SteamGameServer012_SetSpectatorPort(void *linux_side, uint16 unSpectatorPort) +void cppISteamGameServer_SteamGameServer012_SetSpectatorPort( struct cppISteamGameServer_SteamGameServer012_SetSpectatorPort_params *params ) { - ((ISteamGameServer*)linux_side)->SetSpectatorPort((uint16)unSpectatorPort); + ((ISteamGameServer*)params->linux_side)->SetSpectatorPort( (uint16)params->unSpectatorPort ); } -void cppISteamGameServer_SteamGameServer012_SetSpectatorServerName(void *linux_side, const char *pszSpectatorServerName) +void cppISteamGameServer_SteamGameServer012_SetSpectatorServerName( struct cppISteamGameServer_SteamGameServer012_SetSpectatorServerName_params *params ) { - ((ISteamGameServer*)linux_side)->SetSpectatorServerName((const char *)pszSpectatorServerName); + ((ISteamGameServer*)params->linux_side)->SetSpectatorServerName( (const char *)params->pszSpectatorServerName ); } -void cppISteamGameServer_SteamGameServer012_ClearAllKeyValues(void *linux_side) +void cppISteamGameServer_SteamGameServer012_ClearAllKeyValues( struct cppISteamGameServer_SteamGameServer012_ClearAllKeyValues_params *params ) { - ((ISteamGameServer*)linux_side)->ClearAllKeyValues(); + ((ISteamGameServer*)params->linux_side)->ClearAllKeyValues( ); } -void cppISteamGameServer_SteamGameServer012_SetKeyValue(void *linux_side, const char *pKey, const char *pValue) +void cppISteamGameServer_SteamGameServer012_SetKeyValue( struct cppISteamGameServer_SteamGameServer012_SetKeyValue_params *params ) { - ((ISteamGameServer*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); + ((ISteamGameServer*)params->linux_side)->SetKeyValue( (const char *)params->pKey, (const char *)params->pValue ); } -void cppISteamGameServer_SteamGameServer012_SetGameTags(void *linux_side, const char *pchGameTags) +void cppISteamGameServer_SteamGameServer012_SetGameTags( struct cppISteamGameServer_SteamGameServer012_SetGameTags_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); + ((ISteamGameServer*)params->linux_side)->SetGameTags( (const char *)params->pchGameTags ); } -void cppISteamGameServer_SteamGameServer012_SetGameData(void *linux_side, const char *pchGameData) +void cppISteamGameServer_SteamGameServer012_SetGameData( struct cppISteamGameServer_SteamGameServer012_SetGameData_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + ((ISteamGameServer*)params->linux_side)->SetGameData( (const char *)params->pchGameData ); } -void cppISteamGameServer_SteamGameServer012_SetRegion(void *linux_side, const char *pszRegion) +void cppISteamGameServer_SteamGameServer012_SetRegion( struct cppISteamGameServer_SteamGameServer012_SetRegion_params *params ) { - ((ISteamGameServer*)linux_side)->SetRegion((const char *)pszRegion); + ((ISteamGameServer*)params->linux_side)->SetRegion( (const char *)params->pszRegion ); } -bool cppISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) +void cppISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->SendUserConnectAndAuthenticate( (uint32)params->unIPClient, (const void *)params->pvAuthBlob, (uint32)params->cubAuthBlobSize, (CSteamID *)params->pSteamIDUser ); } -CSteamID cppISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection(void *linux_side) +void cppISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->CreateUnauthenticatedUserConnection( ); } -void cppISteamGameServer_SteamGameServer012_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +void cppISteamGameServer_SteamGameServer012_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer012_SendUserDisconnect_params *params ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + ((ISteamGameServer*)params->linux_side)->SendUserDisconnect( (CSteamID)params->steamIDUser ); } -bool cppISteamGameServer_SteamGameServer012_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) +void cppISteamGameServer_SteamGameServer012_BUpdateUserData( struct cppISteamGameServer_SteamGameServer012_BUpdateUserData_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BUpdateUserData( (CSteamID)params->steamIDUser, (const char *)params->pchPlayerName, (uint32)params->uScore ); } -HAuthTicket cppISteamGameServer_SteamGameServer012_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamGameServer_SteamGameServer012_GetAuthSessionTicket( struct cppISteamGameServer_SteamGameServer012_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamGameServer_SteamGameServer012_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamGameServer_SteamGameServer012_BeginAuthSession( struct cppISteamGameServer_SteamGameServer012_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamGameServer_SteamGameServer012_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamGameServer_SteamGameServer012_EndAuthSession( struct cppISteamGameServer_SteamGameServer012_EndAuthSession_params *params ) { - ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamGameServer*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamGameServer_SteamGameServer012_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamGameServer_SteamGameServer012_CancelAuthTicket( struct cppISteamGameServer_SteamGameServer012_CancelAuthTicket_params *params ) { - ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamGameServer*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer012_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamGameServer_SteamGameServer012_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer012_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamGameServer_SteamGameServer012_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +void cppISteamGameServer_SteamGameServer012_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer012_RequestUserGroupStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->RequestUserGroupStatus( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDGroup ); } -void cppISteamGameServer_SteamGameServer012_GetGameplayStats(void *linux_side) +void cppISteamGameServer_SteamGameServer012_GetGameplayStats( struct cppISteamGameServer_SteamGameServer012_GetGameplayStats_params *params ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + ((ISteamGameServer*)params->linux_side)->GetGameplayStats( ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer012_GetServerReputation(void *linux_side) +void cppISteamGameServer_SteamGameServer012_GetServerReputation( struct cppISteamGameServer_SteamGameServer012_GetServerReputation_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->GetServerReputation(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetServerReputation( ); } -uint32 cppISteamGameServer_SteamGameServer012_GetPublicIP(void *linux_side) +void cppISteamGameServer_SteamGameServer012_GetPublicIP( struct cppISteamGameServer_SteamGameServer012_GetPublicIP_params *params ) { - uint32 _ret; - _ret = ((ISteamGameServer*)linux_side)->GetPublicIP(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetPublicIP( ); } -bool cppISteamGameServer_SteamGameServer012_HandleIncomingPacket(void *linux_side, const void *pData, int cbData, uint32 srcIP, uint16 srcPort) +void cppISteamGameServer_SteamGameServer012_HandleIncomingPacket( struct cppISteamGameServer_SteamGameServer012_HandleIncomingPacket_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->HandleIncomingPacket( (const void *)params->pData, (int)params->cbData, (uint32)params->srcIP, (uint16)params->srcPort ); } -int cppISteamGameServer_SteamGameServer012_GetNextOutgoingPacket(void *linux_side, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort) +void cppISteamGameServer_SteamGameServer012_GetNextOutgoingPacket( struct cppISteamGameServer_SteamGameServer012_GetNextOutgoingPacket_params *params ) { - int _ret; - _ret = ((ISteamGameServer*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetNextOutgoingPacket( (void *)params->pOut, (int)params->cbMaxOut, (uint32 *)params->pNetAdr, (uint16 *)params->pPort ); } -void cppISteamGameServer_SteamGameServer012_EnableHeartbeats(void *linux_side, bool bActive) +void cppISteamGameServer_SteamGameServer012_EnableHeartbeats( struct cppISteamGameServer_SteamGameServer012_EnableHeartbeats_params *params ) { - ((ISteamGameServer*)linux_side)->EnableHeartbeats((bool)bActive); + ((ISteamGameServer*)params->linux_side)->EnableHeartbeats( (bool)params->bActive ); } -void cppISteamGameServer_SteamGameServer012_SetHeartbeatInterval(void *linux_side, int iHeartbeatInterval) +void cppISteamGameServer_SteamGameServer012_SetHeartbeatInterval( struct cppISteamGameServer_SteamGameServer012_SetHeartbeatInterval_params *params ) { - ((ISteamGameServer*)linux_side)->SetHeartbeatInterval((int)iHeartbeatInterval); + ((ISteamGameServer*)params->linux_side)->SetHeartbeatInterval( (int)params->iHeartbeatInterval ); } -void cppISteamGameServer_SteamGameServer012_ForceHeartbeat(void *linux_side) +void cppISteamGameServer_SteamGameServer012_ForceHeartbeat( struct cppISteamGameServer_SteamGameServer012_ForceHeartbeat_params *params ) { - ((ISteamGameServer*)linux_side)->ForceHeartbeat(); + ((ISteamGameServer*)params->linux_side)->ForceHeartbeat( ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer012_AssociateWithClan(void *linux_side, CSteamID steamIDClan) +void cppISteamGameServer_SteamGameServer012_AssociateWithClan( struct cppISteamGameServer_SteamGameServer012_AssociateWithClan_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->AssociateWithClan((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->AssociateWithClan( (CSteamID)params->steamIDClan ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility(void *linux_side, CSteamID steamIDNewPlayer) +void cppISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility( struct cppISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->ComputeNewPlayerCompatibility((CSteamID)steamIDNewPlayer); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->ComputeNewPlayerCompatibility( (CSteamID)params->steamIDNewPlayer ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer012.h b/lsteamclient/cppISteamGameServer_SteamGameServer012.h index 91e7323e..8a79da87 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer012.h +++ b/lsteamclient/cppISteamGameServer_SteamGameServer012.h @@ -1,44 +1,337 @@ -extern bool cppISteamGameServer_SteamGameServer012_InitGameServer(void *, uint32, uint16, uint16, uint32, AppId_t, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetProduct(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetGameDescription(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetModDir(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetDedicatedServer(void *, bool); -extern void cppISteamGameServer_SteamGameServer012_LogOn(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_LogOnAnonymous(void *); -extern void cppISteamGameServer_SteamGameServer012_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer012_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer012_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer012_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer012_WasRestartRequested(void *); -extern void cppISteamGameServer_SteamGameServer012_SetMaxPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer012_SetBotPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer012_SetServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetMapName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetPasswordProtected(void *, bool); -extern void cppISteamGameServer_SteamGameServer012_SetSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer012_SetSpectatorServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_ClearAllKeyValues(void *); -extern void cppISteamGameServer_SteamGameServer012_SetKeyValue(void *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetGameTags(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetGameData(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetRegion(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer012_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer012_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern HAuthTicket cppISteamGameServer_SteamGameServer012_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer012_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamGameServer_SteamGameServer012_EndAuthSession(void *, CSteamID); -extern void cppISteamGameServer_SteamGameServer012_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer012_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamGameServer_SteamGameServer012_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern void cppISteamGameServer_SteamGameServer012_GetGameplayStats(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer012_GetServerReputation(void *); -extern uint32 cppISteamGameServer_SteamGameServer012_GetPublicIP(void *); -extern bool cppISteamGameServer_SteamGameServer012_HandleIncomingPacket(void *, const void *, int, uint32, uint16); -extern int cppISteamGameServer_SteamGameServer012_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); -extern void cppISteamGameServer_SteamGameServer012_EnableHeartbeats(void *, bool); -extern void cppISteamGameServer_SteamGameServer012_SetHeartbeatInterval(void *, int); -extern void cppISteamGameServer_SteamGameServer012_ForceHeartbeat(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer012_AssociateWithClan(void *, CSteamID); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility(void *, CSteamID); +struct cppISteamGameServer_SteamGameServer012_InitGameServer_params +{ + void *linux_side; + bool _ret; + uint32 unIP; + uint16 usGamePort; + uint16 usQueryPort; + uint32 unFlags; + AppId_t nGameAppId; + const char *pchVersionString; +}; +extern void cppISteamGameServer_SteamGameServer012_InitGameServer( struct cppISteamGameServer_SteamGameServer012_InitGameServer_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetProduct_params +{ + void *linux_side; + const char *pszProduct; +}; +extern void cppISteamGameServer_SteamGameServer012_SetProduct( struct cppISteamGameServer_SteamGameServer012_SetProduct_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetGameDescription_params +{ + void *linux_side; + const char *pszGameDescription; +}; +extern void cppISteamGameServer_SteamGameServer012_SetGameDescription( struct cppISteamGameServer_SteamGameServer012_SetGameDescription_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetModDir_params +{ + void *linux_side; + const char *pszModDir; +}; +extern void cppISteamGameServer_SteamGameServer012_SetModDir( struct cppISteamGameServer_SteamGameServer012_SetModDir_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetDedicatedServer_params +{ + void *linux_side; + bool bDedicated; +}; +extern void cppISteamGameServer_SteamGameServer012_SetDedicatedServer( struct cppISteamGameServer_SteamGameServer012_SetDedicatedServer_params *params ); + +struct cppISteamGameServer_SteamGameServer012_LogOn_params +{ + void *linux_side; + const char *pszToken; +}; +extern void cppISteamGameServer_SteamGameServer012_LogOn( struct cppISteamGameServer_SteamGameServer012_LogOn_params *params ); + +struct cppISteamGameServer_SteamGameServer012_LogOnAnonymous_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer012_LogOnAnonymous( struct cppISteamGameServer_SteamGameServer012_LogOnAnonymous_params *params ); + +struct cppISteamGameServer_SteamGameServer012_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer012_LogOff( struct cppISteamGameServer_SteamGameServer012_LogOff_params *params ); + +struct cppISteamGameServer_SteamGameServer012_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer012_BLoggedOn( struct cppISteamGameServer_SteamGameServer012_BLoggedOn_params *params ); + +struct cppISteamGameServer_SteamGameServer012_BSecure_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer012_BSecure( struct cppISteamGameServer_SteamGameServer012_BSecure_params *params ); + +struct cppISteamGameServer_SteamGameServer012_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer012_GetSteamID( struct cppISteamGameServer_SteamGameServer012_GetSteamID_params *params ); + +struct cppISteamGameServer_SteamGameServer012_WasRestartRequested_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer012_WasRestartRequested( struct cppISteamGameServer_SteamGameServer012_WasRestartRequested_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetMaxPlayerCount_params +{ + void *linux_side; + int cPlayersMax; +}; +extern void cppISteamGameServer_SteamGameServer012_SetMaxPlayerCount( struct cppISteamGameServer_SteamGameServer012_SetMaxPlayerCount_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetBotPlayerCount_params +{ + void *linux_side; + int cBotplayers; +}; +extern void cppISteamGameServer_SteamGameServer012_SetBotPlayerCount( struct cppISteamGameServer_SteamGameServer012_SetBotPlayerCount_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetServerName_params +{ + void *linux_side; + const char *pszServerName; +}; +extern void cppISteamGameServer_SteamGameServer012_SetServerName( struct cppISteamGameServer_SteamGameServer012_SetServerName_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetMapName_params +{ + void *linux_side; + const char *pszMapName; +}; +extern void cppISteamGameServer_SteamGameServer012_SetMapName( struct cppISteamGameServer_SteamGameServer012_SetMapName_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetPasswordProtected_params +{ + void *linux_side; + bool bPasswordProtected; +}; +extern void cppISteamGameServer_SteamGameServer012_SetPasswordProtected( struct cppISteamGameServer_SteamGameServer012_SetPasswordProtected_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetSpectatorPort_params +{ + void *linux_side; + uint16 unSpectatorPort; +}; +extern void cppISteamGameServer_SteamGameServer012_SetSpectatorPort( struct cppISteamGameServer_SteamGameServer012_SetSpectatorPort_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetSpectatorServerName_params +{ + void *linux_side; + const char *pszSpectatorServerName; +}; +extern void cppISteamGameServer_SteamGameServer012_SetSpectatorServerName( struct cppISteamGameServer_SteamGameServer012_SetSpectatorServerName_params *params ); + +struct cppISteamGameServer_SteamGameServer012_ClearAllKeyValues_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer012_ClearAllKeyValues( struct cppISteamGameServer_SteamGameServer012_ClearAllKeyValues_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetKeyValue_params +{ + void *linux_side; + const char *pKey; + const char *pValue; +}; +extern void cppISteamGameServer_SteamGameServer012_SetKeyValue( struct cppISteamGameServer_SteamGameServer012_SetKeyValue_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetGameTags_params +{ + void *linux_side; + const char *pchGameTags; +}; +extern void cppISteamGameServer_SteamGameServer012_SetGameTags( struct cppISteamGameServer_SteamGameServer012_SetGameTags_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetGameData_params +{ + void *linux_side; + const char *pchGameData; +}; +extern void cppISteamGameServer_SteamGameServer012_SetGameData( struct cppISteamGameServer_SteamGameServer012_SetGameData_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetRegion_params +{ + void *linux_side; + const char *pszRegion; +}; +extern void cppISteamGameServer_SteamGameServer012_SetRegion( struct cppISteamGameServer_SteamGameServer012_SetRegion_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate_params +{ + void *linux_side; + bool _ret; + uint32 unIPClient; + const void *pvAuthBlob; + uint32 cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate_params *params ); + +struct cppISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SendUserDisconnect_params +{ + void *linux_side; + CSteamID steamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer012_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer012_SendUserDisconnect_params *params ); + +struct cppISteamGameServer_SteamGameServer012_BUpdateUserData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32 uScore; +}; +extern void cppISteamGameServer_SteamGameServer012_BUpdateUserData( struct cppISteamGameServer_SteamGameServer012_BUpdateUserData_params *params ); + +struct cppISteamGameServer_SteamGameServer012_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamGameServer_SteamGameServer012_GetAuthSessionTicket( struct cppISteamGameServer_SteamGameServer012_GetAuthSessionTicket_params *params ); + +struct cppISteamGameServer_SteamGameServer012_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamGameServer_SteamGameServer012_BeginAuthSession( struct cppISteamGameServer_SteamGameServer012_BeginAuthSession_params *params ); + +struct cppISteamGameServer_SteamGameServer012_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamGameServer_SteamGameServer012_EndAuthSession( struct cppISteamGameServer_SteamGameServer012_EndAuthSession_params *params ); + +struct cppISteamGameServer_SteamGameServer012_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamGameServer_SteamGameServer012_CancelAuthTicket( struct cppISteamGameServer_SteamGameServer012_CancelAuthTicket_params *params ); + +struct cppISteamGameServer_SteamGameServer012_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamGameServer_SteamGameServer012_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer012_UserHasLicenseForApp_params *params ); + +struct cppISteamGameServer_SteamGameServer012_RequestUserGroupStatus_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; +extern void cppISteamGameServer_SteamGameServer012_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer012_RequestUserGroupStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer012_GetGameplayStats_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer012_GetGameplayStats( struct cppISteamGameServer_SteamGameServer012_GetGameplayStats_params *params ); + +struct cppISteamGameServer_SteamGameServer012_GetServerReputation_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamGameServer_SteamGameServer012_GetServerReputation( struct cppISteamGameServer_SteamGameServer012_GetServerReputation_params *params ); + +struct cppISteamGameServer_SteamGameServer012_GetPublicIP_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamGameServer_SteamGameServer012_GetPublicIP( struct cppISteamGameServer_SteamGameServer012_GetPublicIP_params *params ); + +struct cppISteamGameServer_SteamGameServer012_HandleIncomingPacket_params +{ + void *linux_side; + bool _ret; + const void *pData; + int cbData; + uint32 srcIP; + uint16 srcPort; +}; +extern void cppISteamGameServer_SteamGameServer012_HandleIncomingPacket( struct cppISteamGameServer_SteamGameServer012_HandleIncomingPacket_params *params ); + +struct cppISteamGameServer_SteamGameServer012_GetNextOutgoingPacket_params +{ + void *linux_side; + int _ret; + void *pOut; + int cbMaxOut; + uint32 *pNetAdr; + uint16 *pPort; +}; +extern void cppISteamGameServer_SteamGameServer012_GetNextOutgoingPacket( struct cppISteamGameServer_SteamGameServer012_GetNextOutgoingPacket_params *params ); + +struct cppISteamGameServer_SteamGameServer012_EnableHeartbeats_params +{ + void *linux_side; + bool bActive; +}; +extern void cppISteamGameServer_SteamGameServer012_EnableHeartbeats( struct cppISteamGameServer_SteamGameServer012_EnableHeartbeats_params *params ); + +struct cppISteamGameServer_SteamGameServer012_SetHeartbeatInterval_params +{ + void *linux_side; + int iHeartbeatInterval; +}; +extern void cppISteamGameServer_SteamGameServer012_SetHeartbeatInterval( struct cppISteamGameServer_SteamGameServer012_SetHeartbeatInterval_params *params ); + +struct cppISteamGameServer_SteamGameServer012_ForceHeartbeat_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer012_ForceHeartbeat( struct cppISteamGameServer_SteamGameServer012_ForceHeartbeat_params *params ); + +struct cppISteamGameServer_SteamGameServer012_AssociateWithClan_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamGameServer_SteamGameServer012_AssociateWithClan( struct cppISteamGameServer_SteamGameServer012_AssociateWithClan_params *params ); + +struct cppISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDNewPlayer; +}; +extern void cppISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility( struct cppISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility_params *params ); + diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer013.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer013.cpp index ef99c4c0..59ed04f5 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer013.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer013.cpp @@ -13,260 +13,224 @@ extern "C" { #define SDKVER_151 #include "struct_converters.h" #include "cppISteamGameServer_SteamGameServer013.h" -bool cppISteamGameServer_SteamGameServer013_InitGameServer(void *linux_side, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char *pchVersionString) +void cppISteamGameServer_SteamGameServer013_InitGameServer( struct cppISteamGameServer_SteamGameServer013_InitGameServer_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->InitGameServer((uint32)unIP, (uint16)usGamePort, (uint16)usQueryPort, (uint32)unFlags, (AppId_t)nGameAppId, (const char *)pchVersionString); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->InitGameServer( (uint32)params->unIP, (uint16)params->usGamePort, (uint16)params->usQueryPort, (uint32)params->unFlags, (AppId_t)params->nGameAppId, (const char *)params->pchVersionString ); } -void cppISteamGameServer_SteamGameServer013_SetProduct(void *linux_side, const char *pszProduct) +void cppISteamGameServer_SteamGameServer013_SetProduct( struct cppISteamGameServer_SteamGameServer013_SetProduct_params *params ) { - ((ISteamGameServer*)linux_side)->SetProduct((const char *)pszProduct); + ((ISteamGameServer*)params->linux_side)->SetProduct( (const char *)params->pszProduct ); } -void cppISteamGameServer_SteamGameServer013_SetGameDescription(void *linux_side, const char *pszGameDescription) +void cppISteamGameServer_SteamGameServer013_SetGameDescription( struct cppISteamGameServer_SteamGameServer013_SetGameDescription_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameDescription((const char *)pszGameDescription); + ((ISteamGameServer*)params->linux_side)->SetGameDescription( (const char *)params->pszGameDescription ); } -void cppISteamGameServer_SteamGameServer013_SetModDir(void *linux_side, const char *pszModDir) +void cppISteamGameServer_SteamGameServer013_SetModDir( struct cppISteamGameServer_SteamGameServer013_SetModDir_params *params ) { - ((ISteamGameServer*)linux_side)->SetModDir((const char *)pszModDir); + ((ISteamGameServer*)params->linux_side)->SetModDir( (const char *)params->pszModDir ); } -void cppISteamGameServer_SteamGameServer013_SetDedicatedServer(void *linux_side, bool bDedicated) +void cppISteamGameServer_SteamGameServer013_SetDedicatedServer( struct cppISteamGameServer_SteamGameServer013_SetDedicatedServer_params *params ) { - ((ISteamGameServer*)linux_side)->SetDedicatedServer((bool)bDedicated); + ((ISteamGameServer*)params->linux_side)->SetDedicatedServer( (bool)params->bDedicated ); } -void cppISteamGameServer_SteamGameServer013_LogOn(void *linux_side, const char *pszToken) +void cppISteamGameServer_SteamGameServer013_LogOn( struct cppISteamGameServer_SteamGameServer013_LogOn_params *params ) { - ((ISteamGameServer*)linux_side)->LogOn((const char *)pszToken); + ((ISteamGameServer*)params->linux_side)->LogOn( (const char *)params->pszToken ); } -void cppISteamGameServer_SteamGameServer013_LogOnAnonymous(void *linux_side) +void cppISteamGameServer_SteamGameServer013_LogOnAnonymous( struct cppISteamGameServer_SteamGameServer013_LogOnAnonymous_params *params ) { - ((ISteamGameServer*)linux_side)->LogOnAnonymous(); + ((ISteamGameServer*)params->linux_side)->LogOnAnonymous( ); } -void cppISteamGameServer_SteamGameServer013_LogOff(void *linux_side) +void cppISteamGameServer_SteamGameServer013_LogOff( struct cppISteamGameServer_SteamGameServer013_LogOff_params *params ) { - ((ISteamGameServer*)linux_side)->LogOff(); + ((ISteamGameServer*)params->linux_side)->LogOff( ); } -bool cppISteamGameServer_SteamGameServer013_BLoggedOn(void *linux_side) +void cppISteamGameServer_SteamGameServer013_BLoggedOn( struct cppISteamGameServer_SteamGameServer013_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BLoggedOn( ); } -bool cppISteamGameServer_SteamGameServer013_BSecure(void *linux_side) +void cppISteamGameServer_SteamGameServer013_BSecure( struct cppISteamGameServer_SteamGameServer013_BSecure_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSecure(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSecure( ); } -CSteamID cppISteamGameServer_SteamGameServer013_GetSteamID(void *linux_side) +void cppISteamGameServer_SteamGameServer013_GetSteamID( struct cppISteamGameServer_SteamGameServer013_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetSteamID( ); } -bool cppISteamGameServer_SteamGameServer013_WasRestartRequested(void *linux_side) +void cppISteamGameServer_SteamGameServer013_WasRestartRequested( struct cppISteamGameServer_SteamGameServer013_WasRestartRequested_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->WasRestartRequested(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->WasRestartRequested( ); } -void cppISteamGameServer_SteamGameServer013_SetMaxPlayerCount(void *linux_side, int cPlayersMax) +void cppISteamGameServer_SteamGameServer013_SetMaxPlayerCount( struct cppISteamGameServer_SteamGameServer013_SetMaxPlayerCount_params *params ) { - ((ISteamGameServer*)linux_side)->SetMaxPlayerCount((int)cPlayersMax); + ((ISteamGameServer*)params->linux_side)->SetMaxPlayerCount( (int)params->cPlayersMax ); } -void cppISteamGameServer_SteamGameServer013_SetBotPlayerCount(void *linux_side, int cBotplayers) +void cppISteamGameServer_SteamGameServer013_SetBotPlayerCount( struct cppISteamGameServer_SteamGameServer013_SetBotPlayerCount_params *params ) { - ((ISteamGameServer*)linux_side)->SetBotPlayerCount((int)cBotplayers); + ((ISteamGameServer*)params->linux_side)->SetBotPlayerCount( (int)params->cBotplayers ); } -void cppISteamGameServer_SteamGameServer013_SetServerName(void *linux_side, const char *pszServerName) +void cppISteamGameServer_SteamGameServer013_SetServerName( struct cppISteamGameServer_SteamGameServer013_SetServerName_params *params ) { - ((ISteamGameServer*)linux_side)->SetServerName((const char *)pszServerName); + ((ISteamGameServer*)params->linux_side)->SetServerName( (const char *)params->pszServerName ); } -void cppISteamGameServer_SteamGameServer013_SetMapName(void *linux_side, const char *pszMapName) +void cppISteamGameServer_SteamGameServer013_SetMapName( struct cppISteamGameServer_SteamGameServer013_SetMapName_params *params ) { - ((ISteamGameServer*)linux_side)->SetMapName((const char *)pszMapName); + ((ISteamGameServer*)params->linux_side)->SetMapName( (const char *)params->pszMapName ); } -void cppISteamGameServer_SteamGameServer013_SetPasswordProtected(void *linux_side, bool bPasswordProtected) +void cppISteamGameServer_SteamGameServer013_SetPasswordProtected( struct cppISteamGameServer_SteamGameServer013_SetPasswordProtected_params *params ) { - ((ISteamGameServer*)linux_side)->SetPasswordProtected((bool)bPasswordProtected); + ((ISteamGameServer*)params->linux_side)->SetPasswordProtected( (bool)params->bPasswordProtected ); } -void cppISteamGameServer_SteamGameServer013_SetSpectatorPort(void *linux_side, uint16 unSpectatorPort) +void cppISteamGameServer_SteamGameServer013_SetSpectatorPort( struct cppISteamGameServer_SteamGameServer013_SetSpectatorPort_params *params ) { - ((ISteamGameServer*)linux_side)->SetSpectatorPort((uint16)unSpectatorPort); + ((ISteamGameServer*)params->linux_side)->SetSpectatorPort( (uint16)params->unSpectatorPort ); } -void cppISteamGameServer_SteamGameServer013_SetSpectatorServerName(void *linux_side, const char *pszSpectatorServerName) +void cppISteamGameServer_SteamGameServer013_SetSpectatorServerName( struct cppISteamGameServer_SteamGameServer013_SetSpectatorServerName_params *params ) { - ((ISteamGameServer*)linux_side)->SetSpectatorServerName((const char *)pszSpectatorServerName); + ((ISteamGameServer*)params->linux_side)->SetSpectatorServerName( (const char *)params->pszSpectatorServerName ); } -void cppISteamGameServer_SteamGameServer013_ClearAllKeyValues(void *linux_side) +void cppISteamGameServer_SteamGameServer013_ClearAllKeyValues( struct cppISteamGameServer_SteamGameServer013_ClearAllKeyValues_params *params ) { - ((ISteamGameServer*)linux_side)->ClearAllKeyValues(); + ((ISteamGameServer*)params->linux_side)->ClearAllKeyValues( ); } -void cppISteamGameServer_SteamGameServer013_SetKeyValue(void *linux_side, const char *pKey, const char *pValue) +void cppISteamGameServer_SteamGameServer013_SetKeyValue( struct cppISteamGameServer_SteamGameServer013_SetKeyValue_params *params ) { - ((ISteamGameServer*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); + ((ISteamGameServer*)params->linux_side)->SetKeyValue( (const char *)params->pKey, (const char *)params->pValue ); } -void cppISteamGameServer_SteamGameServer013_SetGameTags(void *linux_side, const char *pchGameTags) +void cppISteamGameServer_SteamGameServer013_SetGameTags( struct cppISteamGameServer_SteamGameServer013_SetGameTags_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); + ((ISteamGameServer*)params->linux_side)->SetGameTags( (const char *)params->pchGameTags ); } -void cppISteamGameServer_SteamGameServer013_SetGameData(void *linux_side, const char *pchGameData) +void cppISteamGameServer_SteamGameServer013_SetGameData( struct cppISteamGameServer_SteamGameServer013_SetGameData_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + ((ISteamGameServer*)params->linux_side)->SetGameData( (const char *)params->pchGameData ); } -void cppISteamGameServer_SteamGameServer013_SetRegion(void *linux_side, const char *pszRegion) +void cppISteamGameServer_SteamGameServer013_SetRegion( struct cppISteamGameServer_SteamGameServer013_SetRegion_params *params ) { - ((ISteamGameServer*)linux_side)->SetRegion((const char *)pszRegion); + ((ISteamGameServer*)params->linux_side)->SetRegion( (const char *)params->pszRegion ); } -bool cppISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) +void cppISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->SendUserConnectAndAuthenticate( (uint32)params->unIPClient, (const void *)params->pvAuthBlob, (uint32)params->cubAuthBlobSize, (CSteamID *)params->pSteamIDUser ); } -CSteamID cppISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection(void *linux_side) +void cppISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->CreateUnauthenticatedUserConnection( ); } -void cppISteamGameServer_SteamGameServer013_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +void cppISteamGameServer_SteamGameServer013_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer013_SendUserDisconnect_params *params ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + ((ISteamGameServer*)params->linux_side)->SendUserDisconnect( (CSteamID)params->steamIDUser ); } -bool cppISteamGameServer_SteamGameServer013_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) +void cppISteamGameServer_SteamGameServer013_BUpdateUserData( struct cppISteamGameServer_SteamGameServer013_BUpdateUserData_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BUpdateUserData( (CSteamID)params->steamIDUser, (const char *)params->pchPlayerName, (uint32)params->uScore ); } -HAuthTicket cppISteamGameServer_SteamGameServer013_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamGameServer_SteamGameServer013_GetAuthSessionTicket( struct cppISteamGameServer_SteamGameServer013_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamGameServer_SteamGameServer013_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamGameServer_SteamGameServer013_BeginAuthSession( struct cppISteamGameServer_SteamGameServer013_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamGameServer_SteamGameServer013_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamGameServer_SteamGameServer013_EndAuthSession( struct cppISteamGameServer_SteamGameServer013_EndAuthSession_params *params ) { - ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamGameServer*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamGameServer_SteamGameServer013_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamGameServer_SteamGameServer013_CancelAuthTicket( struct cppISteamGameServer_SteamGameServer013_CancelAuthTicket_params *params ) { - ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamGameServer*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer013_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamGameServer_SteamGameServer013_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer013_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamGameServer_SteamGameServer013_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +void cppISteamGameServer_SteamGameServer013_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer013_RequestUserGroupStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->RequestUserGroupStatus( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDGroup ); } -void cppISteamGameServer_SteamGameServer013_GetGameplayStats(void *linux_side) +void cppISteamGameServer_SteamGameServer013_GetGameplayStats( struct cppISteamGameServer_SteamGameServer013_GetGameplayStats_params *params ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + ((ISteamGameServer*)params->linux_side)->GetGameplayStats( ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer013_GetServerReputation(void *linux_side) +void cppISteamGameServer_SteamGameServer013_GetServerReputation( struct cppISteamGameServer_SteamGameServer013_GetServerReputation_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->GetServerReputation(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetServerReputation( ); } -SteamIPAddress_t cppISteamGameServer_SteamGameServer013_GetPublicIP(void *linux_side) +void cppISteamGameServer_SteamGameServer013_GetPublicIP( struct cppISteamGameServer_SteamGameServer013_GetPublicIP_params *params ) { - SteamIPAddress_t _ret; - _ret = ((ISteamGameServer*)linux_side)->GetPublicIP(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetPublicIP( ); } -bool cppISteamGameServer_SteamGameServer013_HandleIncomingPacket(void *linux_side, const void *pData, int cbData, uint32 srcIP, uint16 srcPort) +void cppISteamGameServer_SteamGameServer013_HandleIncomingPacket( struct cppISteamGameServer_SteamGameServer013_HandleIncomingPacket_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->HandleIncomingPacket( (const void *)params->pData, (int)params->cbData, (uint32)params->srcIP, (uint16)params->srcPort ); } -int cppISteamGameServer_SteamGameServer013_GetNextOutgoingPacket(void *linux_side, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort) +void cppISteamGameServer_SteamGameServer013_GetNextOutgoingPacket( struct cppISteamGameServer_SteamGameServer013_GetNextOutgoingPacket_params *params ) { - int _ret; - _ret = ((ISteamGameServer*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetNextOutgoingPacket( (void *)params->pOut, (int)params->cbMaxOut, (uint32 *)params->pNetAdr, (uint16 *)params->pPort ); } -void cppISteamGameServer_SteamGameServer013_EnableHeartbeats(void *linux_side, bool bActive) +void cppISteamGameServer_SteamGameServer013_EnableHeartbeats( struct cppISteamGameServer_SteamGameServer013_EnableHeartbeats_params *params ) { - ((ISteamGameServer*)linux_side)->EnableHeartbeats((bool)bActive); + ((ISteamGameServer*)params->linux_side)->EnableHeartbeats( (bool)params->bActive ); } -void cppISteamGameServer_SteamGameServer013_SetHeartbeatInterval(void *linux_side, int iHeartbeatInterval) +void cppISteamGameServer_SteamGameServer013_SetHeartbeatInterval( struct cppISteamGameServer_SteamGameServer013_SetHeartbeatInterval_params *params ) { - ((ISteamGameServer*)linux_side)->SetHeartbeatInterval((int)iHeartbeatInterval); + ((ISteamGameServer*)params->linux_side)->SetHeartbeatInterval( (int)params->iHeartbeatInterval ); } -void cppISteamGameServer_SteamGameServer013_ForceHeartbeat(void *linux_side) +void cppISteamGameServer_SteamGameServer013_ForceHeartbeat( struct cppISteamGameServer_SteamGameServer013_ForceHeartbeat_params *params ) { - ((ISteamGameServer*)linux_side)->ForceHeartbeat(); + ((ISteamGameServer*)params->linux_side)->ForceHeartbeat( ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer013_AssociateWithClan(void *linux_side, CSteamID steamIDClan) +void cppISteamGameServer_SteamGameServer013_AssociateWithClan( struct cppISteamGameServer_SteamGameServer013_AssociateWithClan_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->AssociateWithClan((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->AssociateWithClan( (CSteamID)params->steamIDClan ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility(void *linux_side, CSteamID steamIDNewPlayer) +void cppISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility( struct cppISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->ComputeNewPlayerCompatibility((CSteamID)steamIDNewPlayer); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->ComputeNewPlayerCompatibility( (CSteamID)params->steamIDNewPlayer ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer013.h b/lsteamclient/cppISteamGameServer_SteamGameServer013.h index 0bd056b7..1f05a27d 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer013.h +++ b/lsteamclient/cppISteamGameServer_SteamGameServer013.h @@ -1,44 +1,337 @@ -extern bool cppISteamGameServer_SteamGameServer013_InitGameServer(void *, uint32, uint16, uint16, uint32, AppId_t, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetProduct(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetGameDescription(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetModDir(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetDedicatedServer(void *, bool); -extern void cppISteamGameServer_SteamGameServer013_LogOn(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_LogOnAnonymous(void *); -extern void cppISteamGameServer_SteamGameServer013_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer013_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer013_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer013_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer013_WasRestartRequested(void *); -extern void cppISteamGameServer_SteamGameServer013_SetMaxPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer013_SetBotPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer013_SetServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetMapName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetPasswordProtected(void *, bool); -extern void cppISteamGameServer_SteamGameServer013_SetSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer013_SetSpectatorServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_ClearAllKeyValues(void *); -extern void cppISteamGameServer_SteamGameServer013_SetKeyValue(void *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetGameTags(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetGameData(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetRegion(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer013_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer013_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern HAuthTicket cppISteamGameServer_SteamGameServer013_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer013_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamGameServer_SteamGameServer013_EndAuthSession(void *, CSteamID); -extern void cppISteamGameServer_SteamGameServer013_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer013_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamGameServer_SteamGameServer013_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern void cppISteamGameServer_SteamGameServer013_GetGameplayStats(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer013_GetServerReputation(void *); -extern SteamIPAddress_t cppISteamGameServer_SteamGameServer013_GetPublicIP(void *); -extern bool cppISteamGameServer_SteamGameServer013_HandleIncomingPacket(void *, const void *, int, uint32, uint16); -extern int cppISteamGameServer_SteamGameServer013_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); -extern void cppISteamGameServer_SteamGameServer013_EnableHeartbeats(void *, bool); -extern void cppISteamGameServer_SteamGameServer013_SetHeartbeatInterval(void *, int); -extern void cppISteamGameServer_SteamGameServer013_ForceHeartbeat(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer013_AssociateWithClan(void *, CSteamID); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility(void *, CSteamID); +struct cppISteamGameServer_SteamGameServer013_InitGameServer_params +{ + void *linux_side; + bool _ret; + uint32 unIP; + uint16 usGamePort; + uint16 usQueryPort; + uint32 unFlags; + AppId_t nGameAppId; + const char *pchVersionString; +}; +extern void cppISteamGameServer_SteamGameServer013_InitGameServer( struct cppISteamGameServer_SteamGameServer013_InitGameServer_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetProduct_params +{ + void *linux_side; + const char *pszProduct; +}; +extern void cppISteamGameServer_SteamGameServer013_SetProduct( struct cppISteamGameServer_SteamGameServer013_SetProduct_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetGameDescription_params +{ + void *linux_side; + const char *pszGameDescription; +}; +extern void cppISteamGameServer_SteamGameServer013_SetGameDescription( struct cppISteamGameServer_SteamGameServer013_SetGameDescription_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetModDir_params +{ + void *linux_side; + const char *pszModDir; +}; +extern void cppISteamGameServer_SteamGameServer013_SetModDir( struct cppISteamGameServer_SteamGameServer013_SetModDir_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetDedicatedServer_params +{ + void *linux_side; + bool bDedicated; +}; +extern void cppISteamGameServer_SteamGameServer013_SetDedicatedServer( struct cppISteamGameServer_SteamGameServer013_SetDedicatedServer_params *params ); + +struct cppISteamGameServer_SteamGameServer013_LogOn_params +{ + void *linux_side; + const char *pszToken; +}; +extern void cppISteamGameServer_SteamGameServer013_LogOn( struct cppISteamGameServer_SteamGameServer013_LogOn_params *params ); + +struct cppISteamGameServer_SteamGameServer013_LogOnAnonymous_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer013_LogOnAnonymous( struct cppISteamGameServer_SteamGameServer013_LogOnAnonymous_params *params ); + +struct cppISteamGameServer_SteamGameServer013_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer013_LogOff( struct cppISteamGameServer_SteamGameServer013_LogOff_params *params ); + +struct cppISteamGameServer_SteamGameServer013_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer013_BLoggedOn( struct cppISteamGameServer_SteamGameServer013_BLoggedOn_params *params ); + +struct cppISteamGameServer_SteamGameServer013_BSecure_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer013_BSecure( struct cppISteamGameServer_SteamGameServer013_BSecure_params *params ); + +struct cppISteamGameServer_SteamGameServer013_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer013_GetSteamID( struct cppISteamGameServer_SteamGameServer013_GetSteamID_params *params ); + +struct cppISteamGameServer_SteamGameServer013_WasRestartRequested_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer013_WasRestartRequested( struct cppISteamGameServer_SteamGameServer013_WasRestartRequested_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetMaxPlayerCount_params +{ + void *linux_side; + int cPlayersMax; +}; +extern void cppISteamGameServer_SteamGameServer013_SetMaxPlayerCount( struct cppISteamGameServer_SteamGameServer013_SetMaxPlayerCount_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetBotPlayerCount_params +{ + void *linux_side; + int cBotplayers; +}; +extern void cppISteamGameServer_SteamGameServer013_SetBotPlayerCount( struct cppISteamGameServer_SteamGameServer013_SetBotPlayerCount_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetServerName_params +{ + void *linux_side; + const char *pszServerName; +}; +extern void cppISteamGameServer_SteamGameServer013_SetServerName( struct cppISteamGameServer_SteamGameServer013_SetServerName_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetMapName_params +{ + void *linux_side; + const char *pszMapName; +}; +extern void cppISteamGameServer_SteamGameServer013_SetMapName( struct cppISteamGameServer_SteamGameServer013_SetMapName_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetPasswordProtected_params +{ + void *linux_side; + bool bPasswordProtected; +}; +extern void cppISteamGameServer_SteamGameServer013_SetPasswordProtected( struct cppISteamGameServer_SteamGameServer013_SetPasswordProtected_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetSpectatorPort_params +{ + void *linux_side; + uint16 unSpectatorPort; +}; +extern void cppISteamGameServer_SteamGameServer013_SetSpectatorPort( struct cppISteamGameServer_SteamGameServer013_SetSpectatorPort_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetSpectatorServerName_params +{ + void *linux_side; + const char *pszSpectatorServerName; +}; +extern void cppISteamGameServer_SteamGameServer013_SetSpectatorServerName( struct cppISteamGameServer_SteamGameServer013_SetSpectatorServerName_params *params ); + +struct cppISteamGameServer_SteamGameServer013_ClearAllKeyValues_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer013_ClearAllKeyValues( struct cppISteamGameServer_SteamGameServer013_ClearAllKeyValues_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetKeyValue_params +{ + void *linux_side; + const char *pKey; + const char *pValue; +}; +extern void cppISteamGameServer_SteamGameServer013_SetKeyValue( struct cppISteamGameServer_SteamGameServer013_SetKeyValue_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetGameTags_params +{ + void *linux_side; + const char *pchGameTags; +}; +extern void cppISteamGameServer_SteamGameServer013_SetGameTags( struct cppISteamGameServer_SteamGameServer013_SetGameTags_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetGameData_params +{ + void *linux_side; + const char *pchGameData; +}; +extern void cppISteamGameServer_SteamGameServer013_SetGameData( struct cppISteamGameServer_SteamGameServer013_SetGameData_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetRegion_params +{ + void *linux_side; + const char *pszRegion; +}; +extern void cppISteamGameServer_SteamGameServer013_SetRegion( struct cppISteamGameServer_SteamGameServer013_SetRegion_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate_params +{ + void *linux_side; + bool _ret; + uint32 unIPClient; + const void *pvAuthBlob; + uint32 cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate( struct cppISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate_params *params ); + +struct cppISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SendUserDisconnect_params +{ + void *linux_side; + CSteamID steamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer013_SendUserDisconnect( struct cppISteamGameServer_SteamGameServer013_SendUserDisconnect_params *params ); + +struct cppISteamGameServer_SteamGameServer013_BUpdateUserData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32 uScore; +}; +extern void cppISteamGameServer_SteamGameServer013_BUpdateUserData( struct cppISteamGameServer_SteamGameServer013_BUpdateUserData_params *params ); + +struct cppISteamGameServer_SteamGameServer013_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamGameServer_SteamGameServer013_GetAuthSessionTicket( struct cppISteamGameServer_SteamGameServer013_GetAuthSessionTicket_params *params ); + +struct cppISteamGameServer_SteamGameServer013_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamGameServer_SteamGameServer013_BeginAuthSession( struct cppISteamGameServer_SteamGameServer013_BeginAuthSession_params *params ); + +struct cppISteamGameServer_SteamGameServer013_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamGameServer_SteamGameServer013_EndAuthSession( struct cppISteamGameServer_SteamGameServer013_EndAuthSession_params *params ); + +struct cppISteamGameServer_SteamGameServer013_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamGameServer_SteamGameServer013_CancelAuthTicket( struct cppISteamGameServer_SteamGameServer013_CancelAuthTicket_params *params ); + +struct cppISteamGameServer_SteamGameServer013_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamGameServer_SteamGameServer013_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer013_UserHasLicenseForApp_params *params ); + +struct cppISteamGameServer_SteamGameServer013_RequestUserGroupStatus_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; +extern void cppISteamGameServer_SteamGameServer013_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer013_RequestUserGroupStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer013_GetGameplayStats_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer013_GetGameplayStats( struct cppISteamGameServer_SteamGameServer013_GetGameplayStats_params *params ); + +struct cppISteamGameServer_SteamGameServer013_GetServerReputation_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamGameServer_SteamGameServer013_GetServerReputation( struct cppISteamGameServer_SteamGameServer013_GetServerReputation_params *params ); + +struct cppISteamGameServer_SteamGameServer013_GetPublicIP_params +{ + void *linux_side; + SteamIPAddress_t *_ret; +}; +extern void cppISteamGameServer_SteamGameServer013_GetPublicIP( struct cppISteamGameServer_SteamGameServer013_GetPublicIP_params *params ); + +struct cppISteamGameServer_SteamGameServer013_HandleIncomingPacket_params +{ + void *linux_side; + bool _ret; + const void *pData; + int cbData; + uint32 srcIP; + uint16 srcPort; +}; +extern void cppISteamGameServer_SteamGameServer013_HandleIncomingPacket( struct cppISteamGameServer_SteamGameServer013_HandleIncomingPacket_params *params ); + +struct cppISteamGameServer_SteamGameServer013_GetNextOutgoingPacket_params +{ + void *linux_side; + int _ret; + void *pOut; + int cbMaxOut; + uint32 *pNetAdr; + uint16 *pPort; +}; +extern void cppISteamGameServer_SteamGameServer013_GetNextOutgoingPacket( struct cppISteamGameServer_SteamGameServer013_GetNextOutgoingPacket_params *params ); + +struct cppISteamGameServer_SteamGameServer013_EnableHeartbeats_params +{ + void *linux_side; + bool bActive; +}; +extern void cppISteamGameServer_SteamGameServer013_EnableHeartbeats( struct cppISteamGameServer_SteamGameServer013_EnableHeartbeats_params *params ); + +struct cppISteamGameServer_SteamGameServer013_SetHeartbeatInterval_params +{ + void *linux_side; + int iHeartbeatInterval; +}; +extern void cppISteamGameServer_SteamGameServer013_SetHeartbeatInterval( struct cppISteamGameServer_SteamGameServer013_SetHeartbeatInterval_params *params ); + +struct cppISteamGameServer_SteamGameServer013_ForceHeartbeat_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer013_ForceHeartbeat( struct cppISteamGameServer_SteamGameServer013_ForceHeartbeat_params *params ); + +struct cppISteamGameServer_SteamGameServer013_AssociateWithClan_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamGameServer_SteamGameServer013_AssociateWithClan( struct cppISteamGameServer_SteamGameServer013_AssociateWithClan_params *params ); + +struct cppISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDNewPlayer; +}; +extern void cppISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility( struct cppISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility_params *params ); + diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer014.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer014.cpp index dc6ecf4c..cd4f53a8 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer014.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer014.cpp @@ -13,260 +13,224 @@ extern "C" { #define SDKVER_155 #include "struct_converters.h" #include "cppISteamGameServer_SteamGameServer014.h" -bool cppISteamGameServer_SteamGameServer014_InitGameServer(void *linux_side, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char *pchVersionString) +void cppISteamGameServer_SteamGameServer014_InitGameServer( struct cppISteamGameServer_SteamGameServer014_InitGameServer_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->InitGameServer((uint32)unIP, (uint16)usGamePort, (uint16)usQueryPort, (uint32)unFlags, (AppId_t)nGameAppId, (const char *)pchVersionString); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->InitGameServer( (uint32)params->unIP, (uint16)params->usGamePort, (uint16)params->usQueryPort, (uint32)params->unFlags, (AppId_t)params->nGameAppId, (const char *)params->pchVersionString ); } -void cppISteamGameServer_SteamGameServer014_SetProduct(void *linux_side, const char *pszProduct) +void cppISteamGameServer_SteamGameServer014_SetProduct( struct cppISteamGameServer_SteamGameServer014_SetProduct_params *params ) { - ((ISteamGameServer*)linux_side)->SetProduct((const char *)pszProduct); + ((ISteamGameServer*)params->linux_side)->SetProduct( (const char *)params->pszProduct ); } -void cppISteamGameServer_SteamGameServer014_SetGameDescription(void *linux_side, const char *pszGameDescription) +void cppISteamGameServer_SteamGameServer014_SetGameDescription( struct cppISteamGameServer_SteamGameServer014_SetGameDescription_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameDescription((const char *)pszGameDescription); + ((ISteamGameServer*)params->linux_side)->SetGameDescription( (const char *)params->pszGameDescription ); } -void cppISteamGameServer_SteamGameServer014_SetModDir(void *linux_side, const char *pszModDir) +void cppISteamGameServer_SteamGameServer014_SetModDir( struct cppISteamGameServer_SteamGameServer014_SetModDir_params *params ) { - ((ISteamGameServer*)linux_side)->SetModDir((const char *)pszModDir); + ((ISteamGameServer*)params->linux_side)->SetModDir( (const char *)params->pszModDir ); } -void cppISteamGameServer_SteamGameServer014_SetDedicatedServer(void *linux_side, bool bDedicated) +void cppISteamGameServer_SteamGameServer014_SetDedicatedServer( struct cppISteamGameServer_SteamGameServer014_SetDedicatedServer_params *params ) { - ((ISteamGameServer*)linux_side)->SetDedicatedServer((bool)bDedicated); + ((ISteamGameServer*)params->linux_side)->SetDedicatedServer( (bool)params->bDedicated ); } -void cppISteamGameServer_SteamGameServer014_LogOn(void *linux_side, const char *pszToken) +void cppISteamGameServer_SteamGameServer014_LogOn( struct cppISteamGameServer_SteamGameServer014_LogOn_params *params ) { - ((ISteamGameServer*)linux_side)->LogOn((const char *)pszToken); + ((ISteamGameServer*)params->linux_side)->LogOn( (const char *)params->pszToken ); } -void cppISteamGameServer_SteamGameServer014_LogOnAnonymous(void *linux_side) +void cppISteamGameServer_SteamGameServer014_LogOnAnonymous( struct cppISteamGameServer_SteamGameServer014_LogOnAnonymous_params *params ) { - ((ISteamGameServer*)linux_side)->LogOnAnonymous(); + ((ISteamGameServer*)params->linux_side)->LogOnAnonymous( ); } -void cppISteamGameServer_SteamGameServer014_LogOff(void *linux_side) +void cppISteamGameServer_SteamGameServer014_LogOff( struct cppISteamGameServer_SteamGameServer014_LogOff_params *params ) { - ((ISteamGameServer*)linux_side)->LogOff(); + ((ISteamGameServer*)params->linux_side)->LogOff( ); } -bool cppISteamGameServer_SteamGameServer014_BLoggedOn(void *linux_side) +void cppISteamGameServer_SteamGameServer014_BLoggedOn( struct cppISteamGameServer_SteamGameServer014_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BLoggedOn( ); } -bool cppISteamGameServer_SteamGameServer014_BSecure(void *linux_side) +void cppISteamGameServer_SteamGameServer014_BSecure( struct cppISteamGameServer_SteamGameServer014_BSecure_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSecure(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSecure( ); } -CSteamID cppISteamGameServer_SteamGameServer014_GetSteamID(void *linux_side) +void cppISteamGameServer_SteamGameServer014_GetSteamID( struct cppISteamGameServer_SteamGameServer014_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetSteamID( ); } -bool cppISteamGameServer_SteamGameServer014_WasRestartRequested(void *linux_side) +void cppISteamGameServer_SteamGameServer014_WasRestartRequested( struct cppISteamGameServer_SteamGameServer014_WasRestartRequested_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->WasRestartRequested(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->WasRestartRequested( ); } -void cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount(void *linux_side, int cPlayersMax) +void cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount( struct cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount_params *params ) { - ((ISteamGameServer*)linux_side)->SetMaxPlayerCount((int)cPlayersMax); + ((ISteamGameServer*)params->linux_side)->SetMaxPlayerCount( (int)params->cPlayersMax ); } -void cppISteamGameServer_SteamGameServer014_SetBotPlayerCount(void *linux_side, int cBotplayers) +void cppISteamGameServer_SteamGameServer014_SetBotPlayerCount( struct cppISteamGameServer_SteamGameServer014_SetBotPlayerCount_params *params ) { - ((ISteamGameServer*)linux_side)->SetBotPlayerCount((int)cBotplayers); + ((ISteamGameServer*)params->linux_side)->SetBotPlayerCount( (int)params->cBotplayers ); } -void cppISteamGameServer_SteamGameServer014_SetServerName(void *linux_side, const char *pszServerName) +void cppISteamGameServer_SteamGameServer014_SetServerName( struct cppISteamGameServer_SteamGameServer014_SetServerName_params *params ) { - ((ISteamGameServer*)linux_side)->SetServerName((const char *)pszServerName); + ((ISteamGameServer*)params->linux_side)->SetServerName( (const char *)params->pszServerName ); } -void cppISteamGameServer_SteamGameServer014_SetMapName(void *linux_side, const char *pszMapName) +void cppISteamGameServer_SteamGameServer014_SetMapName( struct cppISteamGameServer_SteamGameServer014_SetMapName_params *params ) { - ((ISteamGameServer*)linux_side)->SetMapName((const char *)pszMapName); + ((ISteamGameServer*)params->linux_side)->SetMapName( (const char *)params->pszMapName ); } -void cppISteamGameServer_SteamGameServer014_SetPasswordProtected(void *linux_side, bool bPasswordProtected) +void cppISteamGameServer_SteamGameServer014_SetPasswordProtected( struct cppISteamGameServer_SteamGameServer014_SetPasswordProtected_params *params ) { - ((ISteamGameServer*)linux_side)->SetPasswordProtected((bool)bPasswordProtected); + ((ISteamGameServer*)params->linux_side)->SetPasswordProtected( (bool)params->bPasswordProtected ); } -void cppISteamGameServer_SteamGameServer014_SetSpectatorPort(void *linux_side, uint16 unSpectatorPort) +void cppISteamGameServer_SteamGameServer014_SetSpectatorPort( struct cppISteamGameServer_SteamGameServer014_SetSpectatorPort_params *params ) { - ((ISteamGameServer*)linux_side)->SetSpectatorPort((uint16)unSpectatorPort); + ((ISteamGameServer*)params->linux_side)->SetSpectatorPort( (uint16)params->unSpectatorPort ); } -void cppISteamGameServer_SteamGameServer014_SetSpectatorServerName(void *linux_side, const char *pszSpectatorServerName) +void cppISteamGameServer_SteamGameServer014_SetSpectatorServerName( struct cppISteamGameServer_SteamGameServer014_SetSpectatorServerName_params *params ) { - ((ISteamGameServer*)linux_side)->SetSpectatorServerName((const char *)pszSpectatorServerName); + ((ISteamGameServer*)params->linux_side)->SetSpectatorServerName( (const char *)params->pszSpectatorServerName ); } -void cppISteamGameServer_SteamGameServer014_ClearAllKeyValues(void *linux_side) +void cppISteamGameServer_SteamGameServer014_ClearAllKeyValues( struct cppISteamGameServer_SteamGameServer014_ClearAllKeyValues_params *params ) { - ((ISteamGameServer*)linux_side)->ClearAllKeyValues(); + ((ISteamGameServer*)params->linux_side)->ClearAllKeyValues( ); } -void cppISteamGameServer_SteamGameServer014_SetKeyValue(void *linux_side, const char *pKey, const char *pValue) +void cppISteamGameServer_SteamGameServer014_SetKeyValue( struct cppISteamGameServer_SteamGameServer014_SetKeyValue_params *params ) { - ((ISteamGameServer*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); + ((ISteamGameServer*)params->linux_side)->SetKeyValue( (const char *)params->pKey, (const char *)params->pValue ); } -void cppISteamGameServer_SteamGameServer014_SetGameTags(void *linux_side, const char *pchGameTags) +void cppISteamGameServer_SteamGameServer014_SetGameTags( struct cppISteamGameServer_SteamGameServer014_SetGameTags_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); + ((ISteamGameServer*)params->linux_side)->SetGameTags( (const char *)params->pchGameTags ); } -void cppISteamGameServer_SteamGameServer014_SetGameData(void *linux_side, const char *pchGameData) +void cppISteamGameServer_SteamGameServer014_SetGameData( struct cppISteamGameServer_SteamGameServer014_SetGameData_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + ((ISteamGameServer*)params->linux_side)->SetGameData( (const char *)params->pchGameData ); } -void cppISteamGameServer_SteamGameServer014_SetRegion(void *linux_side, const char *pszRegion) +void cppISteamGameServer_SteamGameServer014_SetRegion( struct cppISteamGameServer_SteamGameServer014_SetRegion_params *params ) { - ((ISteamGameServer*)linux_side)->SetRegion((const char *)pszRegion); + ((ISteamGameServer*)params->linux_side)->SetRegion( (const char *)params->pszRegion ); } -void cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive(void *linux_side, bool bActive) +void cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive( struct cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive_params *params ) { - ((ISteamGameServer*)linux_side)->SetAdvertiseServerActive((bool)bActive); + ((ISteamGameServer*)params->linux_side)->SetAdvertiseServerActive( (bool)params->bActive ); } -HAuthTicket cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket( struct cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamGameServer_SteamGameServer014_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamGameServer_SteamGameServer014_BeginAuthSession( struct cppISteamGameServer_SteamGameServer014_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamGameServer_SteamGameServer014_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamGameServer_SteamGameServer014_EndAuthSession( struct cppISteamGameServer_SteamGameServer014_EndAuthSession_params *params ) { - ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamGameServer*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamGameServer_SteamGameServer014_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamGameServer_SteamGameServer014_CancelAuthTicket( struct cppISteamGameServer_SteamGameServer014_CancelAuthTicket_params *params ) { - ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamGameServer*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +void cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->RequestUserGroupStatus( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDGroup ); } -void cppISteamGameServer_SteamGameServer014_GetGameplayStats(void *linux_side) +void cppISteamGameServer_SteamGameServer014_GetGameplayStats( struct cppISteamGameServer_SteamGameServer014_GetGameplayStats_params *params ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + ((ISteamGameServer*)params->linux_side)->GetGameplayStats( ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer014_GetServerReputation(void *linux_side) +void cppISteamGameServer_SteamGameServer014_GetServerReputation( struct cppISteamGameServer_SteamGameServer014_GetServerReputation_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->GetServerReputation(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetServerReputation( ); } -SteamIPAddress_t cppISteamGameServer_SteamGameServer014_GetPublicIP(void *linux_side) +void cppISteamGameServer_SteamGameServer014_GetPublicIP( struct cppISteamGameServer_SteamGameServer014_GetPublicIP_params *params ) { - SteamIPAddress_t _ret; - _ret = ((ISteamGameServer*)linux_side)->GetPublicIP(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetPublicIP( ); } -bool cppISteamGameServer_SteamGameServer014_HandleIncomingPacket(void *linux_side, const void *pData, int cbData, uint32 srcIP, uint16 srcPort) +void cppISteamGameServer_SteamGameServer014_HandleIncomingPacket( struct cppISteamGameServer_SteamGameServer014_HandleIncomingPacket_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->HandleIncomingPacket( (const void *)params->pData, (int)params->cbData, (uint32)params->srcIP, (uint16)params->srcPort ); } -int cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket(void *linux_side, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort) +void cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket( struct cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket_params *params ) { - int _ret; - _ret = ((ISteamGameServer*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetNextOutgoingPacket( (void *)params->pOut, (int)params->cbMaxOut, (uint32 *)params->pNetAdr, (uint16 *)params->pPort ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer014_AssociateWithClan(void *linux_side, CSteamID steamIDClan) +void cppISteamGameServer_SteamGameServer014_AssociateWithClan( struct cppISteamGameServer_SteamGameServer014_AssociateWithClan_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->AssociateWithClan((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->AssociateWithClan( (CSteamID)params->steamIDClan ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility(void *linux_side, CSteamID steamIDNewPlayer) +void cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility( struct cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->ComputeNewPlayerCompatibility((CSteamID)steamIDNewPlayer); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->ComputeNewPlayerCompatibility( (CSteamID)params->steamIDNewPlayer ); } -bool cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED(void *linux_side, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) +void cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED( struct cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate_DEPRECATED((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->SendUserConnectAndAuthenticate_DEPRECATED( (uint32)params->unIPClient, (const void *)params->pvAuthBlob, (uint32)params->cubAuthBlobSize, (CSteamID *)params->pSteamIDUser ); } -CSteamID cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection(void *linux_side) +void cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->CreateUnauthenticatedUserConnection( ); } -void cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED(void *linux_side, CSteamID steamIDUser) +void cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED( struct cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED_params *params ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect_DEPRECATED((CSteamID)steamIDUser); + ((ISteamGameServer*)params->linux_side)->SendUserDisconnect_DEPRECATED( (CSteamID)params->steamIDUser ); } -bool cppISteamGameServer_SteamGameServer014_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) +void cppISteamGameServer_SteamGameServer014_BUpdateUserData( struct cppISteamGameServer_SteamGameServer014_BUpdateUserData_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BUpdateUserData( (CSteamID)params->steamIDUser, (const char *)params->pchPlayerName, (uint32)params->uScore ); } -void cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED(void *linux_side, int iHeartbeatInterval) +void cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED( struct cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED_params *params ) { - ((ISteamGameServer*)linux_side)->SetMasterServerHeartbeatInterval_DEPRECATED((int)iHeartbeatInterval); + ((ISteamGameServer*)params->linux_side)->SetMasterServerHeartbeatInterval_DEPRECATED( (int)params->iHeartbeatInterval ); } -void cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED(void *linux_side) +void cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED( struct cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED_params *params ) { - ((ISteamGameServer*)linux_side)->ForceMasterServerHeartbeat_DEPRECATED(); + ((ISteamGameServer*)params->linux_side)->ForceMasterServerHeartbeat_DEPRECATED( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer014.h b/lsteamclient/cppISteamGameServer_SteamGameServer014.h index a6479e55..6db484db 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer014.h +++ b/lsteamclient/cppISteamGameServer_SteamGameServer014.h @@ -1,44 +1,337 @@ -extern bool cppISteamGameServer_SteamGameServer014_InitGameServer(void *, uint32, uint16, uint16, uint32, AppId_t, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetProduct(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetGameDescription(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetModDir(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetDedicatedServer(void *, bool); -extern void cppISteamGameServer_SteamGameServer014_LogOn(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_LogOnAnonymous(void *); -extern void cppISteamGameServer_SteamGameServer014_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer014_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer014_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer014_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer014_WasRestartRequested(void *); -extern void cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer014_SetBotPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer014_SetServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetMapName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetPasswordProtected(void *, bool); -extern void cppISteamGameServer_SteamGameServer014_SetSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer014_SetSpectatorServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_ClearAllKeyValues(void *); -extern void cppISteamGameServer_SteamGameServer014_SetKeyValue(void *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetGameTags(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetGameData(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetRegion(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive(void *, bool); -extern HAuthTicket cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer014_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamGameServer_SteamGameServer014_EndAuthSession(void *, CSteamID); -extern void cppISteamGameServer_SteamGameServer014_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern void cppISteamGameServer_SteamGameServer014_GetGameplayStats(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer014_GetServerReputation(void *); -extern SteamIPAddress_t cppISteamGameServer_SteamGameServer014_GetPublicIP(void *); -extern bool cppISteamGameServer_SteamGameServer014_HandleIncomingPacket(void *, const void *, int, uint32, uint16); -extern int cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer014_AssociateWithClan(void *, CSteamID); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer014_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern void cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED(void *, int); -extern void cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED(void *); +struct cppISteamGameServer_SteamGameServer014_InitGameServer_params +{ + void *linux_side; + bool _ret; + uint32 unIP; + uint16 usGamePort; + uint16 usQueryPort; + uint32 unFlags; + AppId_t nGameAppId; + const char *pchVersionString; +}; +extern void cppISteamGameServer_SteamGameServer014_InitGameServer( struct cppISteamGameServer_SteamGameServer014_InitGameServer_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetProduct_params +{ + void *linux_side; + const char *pszProduct; +}; +extern void cppISteamGameServer_SteamGameServer014_SetProduct( struct cppISteamGameServer_SteamGameServer014_SetProduct_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetGameDescription_params +{ + void *linux_side; + const char *pszGameDescription; +}; +extern void cppISteamGameServer_SteamGameServer014_SetGameDescription( struct cppISteamGameServer_SteamGameServer014_SetGameDescription_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetModDir_params +{ + void *linux_side; + const char *pszModDir; +}; +extern void cppISteamGameServer_SteamGameServer014_SetModDir( struct cppISteamGameServer_SteamGameServer014_SetModDir_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetDedicatedServer_params +{ + void *linux_side; + bool bDedicated; +}; +extern void cppISteamGameServer_SteamGameServer014_SetDedicatedServer( struct cppISteamGameServer_SteamGameServer014_SetDedicatedServer_params *params ); + +struct cppISteamGameServer_SteamGameServer014_LogOn_params +{ + void *linux_side; + const char *pszToken; +}; +extern void cppISteamGameServer_SteamGameServer014_LogOn( struct cppISteamGameServer_SteamGameServer014_LogOn_params *params ); + +struct cppISteamGameServer_SteamGameServer014_LogOnAnonymous_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer014_LogOnAnonymous( struct cppISteamGameServer_SteamGameServer014_LogOnAnonymous_params *params ); + +struct cppISteamGameServer_SteamGameServer014_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer014_LogOff( struct cppISteamGameServer_SteamGameServer014_LogOff_params *params ); + +struct cppISteamGameServer_SteamGameServer014_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer014_BLoggedOn( struct cppISteamGameServer_SteamGameServer014_BLoggedOn_params *params ); + +struct cppISteamGameServer_SteamGameServer014_BSecure_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer014_BSecure( struct cppISteamGameServer_SteamGameServer014_BSecure_params *params ); + +struct cppISteamGameServer_SteamGameServer014_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer014_GetSteamID( struct cppISteamGameServer_SteamGameServer014_GetSteamID_params *params ); + +struct cppISteamGameServer_SteamGameServer014_WasRestartRequested_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer014_WasRestartRequested( struct cppISteamGameServer_SteamGameServer014_WasRestartRequested_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount_params +{ + void *linux_side; + int cPlayersMax; +}; +extern void cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount( struct cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetBotPlayerCount_params +{ + void *linux_side; + int cBotplayers; +}; +extern void cppISteamGameServer_SteamGameServer014_SetBotPlayerCount( struct cppISteamGameServer_SteamGameServer014_SetBotPlayerCount_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetServerName_params +{ + void *linux_side; + const char *pszServerName; +}; +extern void cppISteamGameServer_SteamGameServer014_SetServerName( struct cppISteamGameServer_SteamGameServer014_SetServerName_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetMapName_params +{ + void *linux_side; + const char *pszMapName; +}; +extern void cppISteamGameServer_SteamGameServer014_SetMapName( struct cppISteamGameServer_SteamGameServer014_SetMapName_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetPasswordProtected_params +{ + void *linux_side; + bool bPasswordProtected; +}; +extern void cppISteamGameServer_SteamGameServer014_SetPasswordProtected( struct cppISteamGameServer_SteamGameServer014_SetPasswordProtected_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetSpectatorPort_params +{ + void *linux_side; + uint16 unSpectatorPort; +}; +extern void cppISteamGameServer_SteamGameServer014_SetSpectatorPort( struct cppISteamGameServer_SteamGameServer014_SetSpectatorPort_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetSpectatorServerName_params +{ + void *linux_side; + const char *pszSpectatorServerName; +}; +extern void cppISteamGameServer_SteamGameServer014_SetSpectatorServerName( struct cppISteamGameServer_SteamGameServer014_SetSpectatorServerName_params *params ); + +struct cppISteamGameServer_SteamGameServer014_ClearAllKeyValues_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer014_ClearAllKeyValues( struct cppISteamGameServer_SteamGameServer014_ClearAllKeyValues_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetKeyValue_params +{ + void *linux_side; + const char *pKey; + const char *pValue; +}; +extern void cppISteamGameServer_SteamGameServer014_SetKeyValue( struct cppISteamGameServer_SteamGameServer014_SetKeyValue_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetGameTags_params +{ + void *linux_side; + const char *pchGameTags; +}; +extern void cppISteamGameServer_SteamGameServer014_SetGameTags( struct cppISteamGameServer_SteamGameServer014_SetGameTags_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetGameData_params +{ + void *linux_side; + const char *pchGameData; +}; +extern void cppISteamGameServer_SteamGameServer014_SetGameData( struct cppISteamGameServer_SteamGameServer014_SetGameData_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetRegion_params +{ + void *linux_side; + const char *pszRegion; +}; +extern void cppISteamGameServer_SteamGameServer014_SetRegion( struct cppISteamGameServer_SteamGameServer014_SetRegion_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive_params +{ + void *linux_side; + bool bActive; +}; +extern void cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive( struct cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive_params *params ); + +struct cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket( struct cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket_params *params ); + +struct cppISteamGameServer_SteamGameServer014_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamGameServer_SteamGameServer014_BeginAuthSession( struct cppISteamGameServer_SteamGameServer014_BeginAuthSession_params *params ); + +struct cppISteamGameServer_SteamGameServer014_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamGameServer_SteamGameServer014_EndAuthSession( struct cppISteamGameServer_SteamGameServer014_EndAuthSession_params *params ); + +struct cppISteamGameServer_SteamGameServer014_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamGameServer_SteamGameServer014_CancelAuthTicket( struct cppISteamGameServer_SteamGameServer014_CancelAuthTicket_params *params ); + +struct cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp_params *params ); + +struct cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; +extern void cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer014_GetGameplayStats_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer014_GetGameplayStats( struct cppISteamGameServer_SteamGameServer014_GetGameplayStats_params *params ); + +struct cppISteamGameServer_SteamGameServer014_GetServerReputation_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamGameServer_SteamGameServer014_GetServerReputation( struct cppISteamGameServer_SteamGameServer014_GetServerReputation_params *params ); + +struct cppISteamGameServer_SteamGameServer014_GetPublicIP_params +{ + void *linux_side; + SteamIPAddress_t *_ret; +}; +extern void cppISteamGameServer_SteamGameServer014_GetPublicIP( struct cppISteamGameServer_SteamGameServer014_GetPublicIP_params *params ); + +struct cppISteamGameServer_SteamGameServer014_HandleIncomingPacket_params +{ + void *linux_side; + bool _ret; + const void *pData; + int cbData; + uint32 srcIP; + uint16 srcPort; +}; +extern void cppISteamGameServer_SteamGameServer014_HandleIncomingPacket( struct cppISteamGameServer_SteamGameServer014_HandleIncomingPacket_params *params ); + +struct cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket_params +{ + void *linux_side; + int _ret; + void *pOut; + int cbMaxOut; + uint32 *pNetAdr; + uint16 *pPort; +}; +extern void cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket( struct cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket_params *params ); + +struct cppISteamGameServer_SteamGameServer014_AssociateWithClan_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamGameServer_SteamGameServer014_AssociateWithClan( struct cppISteamGameServer_SteamGameServer014_AssociateWithClan_params *params ); + +struct cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDNewPlayer; +}; +extern void cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility( struct cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED_params +{ + void *linux_side; + bool _ret; + uint32 unIPClient; + const void *pvAuthBlob; + uint32 cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED( struct cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED_params *params ); + +struct cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED_params +{ + void *linux_side; + CSteamID steamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED( struct cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED_params *params ); + +struct cppISteamGameServer_SteamGameServer014_BUpdateUserData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32 uScore; +}; +extern void cppISteamGameServer_SteamGameServer014_BUpdateUserData( struct cppISteamGameServer_SteamGameServer014_BUpdateUserData_params *params ); + +struct cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED_params +{ + void *linux_side; + int iHeartbeatInterval; +}; +extern void cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED( struct cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED_params *params ); + +struct cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED( struct cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED_params *params ); + diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer015.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer015.cpp index c5c93f9b..d59d54cd 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer015.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer015.cpp @@ -13,260 +13,224 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamGameServer_SteamGameServer015.h" -bool cppISteamGameServer_SteamGameServer015_InitGameServer(void *linux_side, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char *pchVersionString) +void cppISteamGameServer_SteamGameServer015_InitGameServer( struct cppISteamGameServer_SteamGameServer015_InitGameServer_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->InitGameServer((uint32)unIP, (uint16)usGamePort, (uint16)usQueryPort, (uint32)unFlags, (AppId_t)nGameAppId, (const char *)pchVersionString); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->InitGameServer( (uint32)params->unIP, (uint16)params->usGamePort, (uint16)params->usQueryPort, (uint32)params->unFlags, (AppId_t)params->nGameAppId, (const char *)params->pchVersionString ); } -void cppISteamGameServer_SteamGameServer015_SetProduct(void *linux_side, const char *pszProduct) +void cppISteamGameServer_SteamGameServer015_SetProduct( struct cppISteamGameServer_SteamGameServer015_SetProduct_params *params ) { - ((ISteamGameServer*)linux_side)->SetProduct((const char *)pszProduct); + ((ISteamGameServer*)params->linux_side)->SetProduct( (const char *)params->pszProduct ); } -void cppISteamGameServer_SteamGameServer015_SetGameDescription(void *linux_side, const char *pszGameDescription) +void cppISteamGameServer_SteamGameServer015_SetGameDescription( struct cppISteamGameServer_SteamGameServer015_SetGameDescription_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameDescription((const char *)pszGameDescription); + ((ISteamGameServer*)params->linux_side)->SetGameDescription( (const char *)params->pszGameDescription ); } -void cppISteamGameServer_SteamGameServer015_SetModDir(void *linux_side, const char *pszModDir) +void cppISteamGameServer_SteamGameServer015_SetModDir( struct cppISteamGameServer_SteamGameServer015_SetModDir_params *params ) { - ((ISteamGameServer*)linux_side)->SetModDir((const char *)pszModDir); + ((ISteamGameServer*)params->linux_side)->SetModDir( (const char *)params->pszModDir ); } -void cppISteamGameServer_SteamGameServer015_SetDedicatedServer(void *linux_side, bool bDedicated) +void cppISteamGameServer_SteamGameServer015_SetDedicatedServer( struct cppISteamGameServer_SteamGameServer015_SetDedicatedServer_params *params ) { - ((ISteamGameServer*)linux_side)->SetDedicatedServer((bool)bDedicated); + ((ISteamGameServer*)params->linux_side)->SetDedicatedServer( (bool)params->bDedicated ); } -void cppISteamGameServer_SteamGameServer015_LogOn(void *linux_side, const char *pszToken) +void cppISteamGameServer_SteamGameServer015_LogOn( struct cppISteamGameServer_SteamGameServer015_LogOn_params *params ) { - ((ISteamGameServer*)linux_side)->LogOn((const char *)pszToken); + ((ISteamGameServer*)params->linux_side)->LogOn( (const char *)params->pszToken ); } -void cppISteamGameServer_SteamGameServer015_LogOnAnonymous(void *linux_side) +void cppISteamGameServer_SteamGameServer015_LogOnAnonymous( struct cppISteamGameServer_SteamGameServer015_LogOnAnonymous_params *params ) { - ((ISteamGameServer*)linux_side)->LogOnAnonymous(); + ((ISteamGameServer*)params->linux_side)->LogOnAnonymous( ); } -void cppISteamGameServer_SteamGameServer015_LogOff(void *linux_side) +void cppISteamGameServer_SteamGameServer015_LogOff( struct cppISteamGameServer_SteamGameServer015_LogOff_params *params ) { - ((ISteamGameServer*)linux_side)->LogOff(); + ((ISteamGameServer*)params->linux_side)->LogOff( ); } -bool cppISteamGameServer_SteamGameServer015_BLoggedOn(void *linux_side) +void cppISteamGameServer_SteamGameServer015_BLoggedOn( struct cppISteamGameServer_SteamGameServer015_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BLoggedOn( ); } -bool cppISteamGameServer_SteamGameServer015_BSecure(void *linux_side) +void cppISteamGameServer_SteamGameServer015_BSecure( struct cppISteamGameServer_SteamGameServer015_BSecure_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BSecure(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BSecure( ); } -CSteamID cppISteamGameServer_SteamGameServer015_GetSteamID(void *linux_side) +void cppISteamGameServer_SteamGameServer015_GetSteamID( struct cppISteamGameServer_SteamGameServer015_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetSteamID( ); } -bool cppISteamGameServer_SteamGameServer015_WasRestartRequested(void *linux_side) +void cppISteamGameServer_SteamGameServer015_WasRestartRequested( struct cppISteamGameServer_SteamGameServer015_WasRestartRequested_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->WasRestartRequested(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->WasRestartRequested( ); } -void cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount(void *linux_side, int cPlayersMax) +void cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount( struct cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount_params *params ) { - ((ISteamGameServer*)linux_side)->SetMaxPlayerCount((int)cPlayersMax); + ((ISteamGameServer*)params->linux_side)->SetMaxPlayerCount( (int)params->cPlayersMax ); } -void cppISteamGameServer_SteamGameServer015_SetBotPlayerCount(void *linux_side, int cBotplayers) +void cppISteamGameServer_SteamGameServer015_SetBotPlayerCount( struct cppISteamGameServer_SteamGameServer015_SetBotPlayerCount_params *params ) { - ((ISteamGameServer*)linux_side)->SetBotPlayerCount((int)cBotplayers); + ((ISteamGameServer*)params->linux_side)->SetBotPlayerCount( (int)params->cBotplayers ); } -void cppISteamGameServer_SteamGameServer015_SetServerName(void *linux_side, const char *pszServerName) +void cppISteamGameServer_SteamGameServer015_SetServerName( struct cppISteamGameServer_SteamGameServer015_SetServerName_params *params ) { - ((ISteamGameServer*)linux_side)->SetServerName((const char *)pszServerName); + ((ISteamGameServer*)params->linux_side)->SetServerName( (const char *)params->pszServerName ); } -void cppISteamGameServer_SteamGameServer015_SetMapName(void *linux_side, const char *pszMapName) +void cppISteamGameServer_SteamGameServer015_SetMapName( struct cppISteamGameServer_SteamGameServer015_SetMapName_params *params ) { - ((ISteamGameServer*)linux_side)->SetMapName((const char *)pszMapName); + ((ISteamGameServer*)params->linux_side)->SetMapName( (const char *)params->pszMapName ); } -void cppISteamGameServer_SteamGameServer015_SetPasswordProtected(void *linux_side, bool bPasswordProtected) +void cppISteamGameServer_SteamGameServer015_SetPasswordProtected( struct cppISteamGameServer_SteamGameServer015_SetPasswordProtected_params *params ) { - ((ISteamGameServer*)linux_side)->SetPasswordProtected((bool)bPasswordProtected); + ((ISteamGameServer*)params->linux_side)->SetPasswordProtected( (bool)params->bPasswordProtected ); } -void cppISteamGameServer_SteamGameServer015_SetSpectatorPort(void *linux_side, uint16 unSpectatorPort) +void cppISteamGameServer_SteamGameServer015_SetSpectatorPort( struct cppISteamGameServer_SteamGameServer015_SetSpectatorPort_params *params ) { - ((ISteamGameServer*)linux_side)->SetSpectatorPort((uint16)unSpectatorPort); + ((ISteamGameServer*)params->linux_side)->SetSpectatorPort( (uint16)params->unSpectatorPort ); } -void cppISteamGameServer_SteamGameServer015_SetSpectatorServerName(void *linux_side, const char *pszSpectatorServerName) +void cppISteamGameServer_SteamGameServer015_SetSpectatorServerName( struct cppISteamGameServer_SteamGameServer015_SetSpectatorServerName_params *params ) { - ((ISteamGameServer*)linux_side)->SetSpectatorServerName((const char *)pszSpectatorServerName); + ((ISteamGameServer*)params->linux_side)->SetSpectatorServerName( (const char *)params->pszSpectatorServerName ); } -void cppISteamGameServer_SteamGameServer015_ClearAllKeyValues(void *linux_side) +void cppISteamGameServer_SteamGameServer015_ClearAllKeyValues( struct cppISteamGameServer_SteamGameServer015_ClearAllKeyValues_params *params ) { - ((ISteamGameServer*)linux_side)->ClearAllKeyValues(); + ((ISteamGameServer*)params->linux_side)->ClearAllKeyValues( ); } -void cppISteamGameServer_SteamGameServer015_SetKeyValue(void *linux_side, const char *pKey, const char *pValue) +void cppISteamGameServer_SteamGameServer015_SetKeyValue( struct cppISteamGameServer_SteamGameServer015_SetKeyValue_params *params ) { - ((ISteamGameServer*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); + ((ISteamGameServer*)params->linux_side)->SetKeyValue( (const char *)params->pKey, (const char *)params->pValue ); } -void cppISteamGameServer_SteamGameServer015_SetGameTags(void *linux_side, const char *pchGameTags) +void cppISteamGameServer_SteamGameServer015_SetGameTags( struct cppISteamGameServer_SteamGameServer015_SetGameTags_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); + ((ISteamGameServer*)params->linux_side)->SetGameTags( (const char *)params->pchGameTags ); } -void cppISteamGameServer_SteamGameServer015_SetGameData(void *linux_side, const char *pchGameData) +void cppISteamGameServer_SteamGameServer015_SetGameData( struct cppISteamGameServer_SteamGameServer015_SetGameData_params *params ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + ((ISteamGameServer*)params->linux_side)->SetGameData( (const char *)params->pchGameData ); } -void cppISteamGameServer_SteamGameServer015_SetRegion(void *linux_side, const char *pszRegion) +void cppISteamGameServer_SteamGameServer015_SetRegion( struct cppISteamGameServer_SteamGameServer015_SetRegion_params *params ) { - ((ISteamGameServer*)linux_side)->SetRegion((const char *)pszRegion); + ((ISteamGameServer*)params->linux_side)->SetRegion( (const char *)params->pszRegion ); } -void cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive(void *linux_side, bool bActive) +void cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive( struct cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive_params *params ) { - ((ISteamGameServer*)linux_side)->SetAdvertiseServerActive((bool)bActive); + ((ISteamGameServer*)params->linux_side)->SetAdvertiseServerActive( (bool)params->bActive ); } -HAuthTicket cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket, const SteamNetworkingIdentity *pSnid) +void cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket( struct cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket, (const SteamNetworkingIdentity *)pSnid); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket, (const SteamNetworkingIdentity *)params->pSnid ); } -EBeginAuthSessionResult cppISteamGameServer_SteamGameServer015_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamGameServer_SteamGameServer015_BeginAuthSession( struct cppISteamGameServer_SteamGameServer015_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamGameServer_SteamGameServer015_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamGameServer_SteamGameServer015_EndAuthSession( struct cppISteamGameServer_SteamGameServer015_EndAuthSession_params *params ) { - ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamGameServer*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamGameServer_SteamGameServer015_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamGameServer_SteamGameServer015_CancelAuthTicket( struct cppISteamGameServer_SteamGameServer015_CancelAuthTicket_params *params ) { - ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamGameServer*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +void cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->RequestUserGroupStatus( (CSteamID)params->steamIDUser, (CSteamID)params->steamIDGroup ); } -void cppISteamGameServer_SteamGameServer015_GetGameplayStats(void *linux_side) +void cppISteamGameServer_SteamGameServer015_GetGameplayStats( struct cppISteamGameServer_SteamGameServer015_GetGameplayStats_params *params ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + ((ISteamGameServer*)params->linux_side)->GetGameplayStats( ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer015_GetServerReputation(void *linux_side) +void cppISteamGameServer_SteamGameServer015_GetServerReputation( struct cppISteamGameServer_SteamGameServer015_GetServerReputation_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->GetServerReputation(); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetServerReputation( ); } -SteamIPAddress_t cppISteamGameServer_SteamGameServer015_GetPublicIP(void *linux_side) +void cppISteamGameServer_SteamGameServer015_GetPublicIP( struct cppISteamGameServer_SteamGameServer015_GetPublicIP_params *params ) { - SteamIPAddress_t _ret; - _ret = ((ISteamGameServer*)linux_side)->GetPublicIP(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->GetPublicIP( ); } -bool cppISteamGameServer_SteamGameServer015_HandleIncomingPacket(void *linux_side, const void *pData, int cbData, uint32 srcIP, uint16 srcPort) +void cppISteamGameServer_SteamGameServer015_HandleIncomingPacket( struct cppISteamGameServer_SteamGameServer015_HandleIncomingPacket_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->HandleIncomingPacket( (const void *)params->pData, (int)params->cbData, (uint32)params->srcIP, (uint16)params->srcPort ); } -int cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket(void *linux_side, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort) +void cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket( struct cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket_params *params ) { - int _ret; - _ret = ((ISteamGameServer*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->GetNextOutgoingPacket( (void *)params->pOut, (int)params->cbMaxOut, (uint32 *)params->pNetAdr, (uint16 *)params->pPort ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer015_AssociateWithClan(void *linux_side, CSteamID steamIDClan) +void cppISteamGameServer_SteamGameServer015_AssociateWithClan( struct cppISteamGameServer_SteamGameServer015_AssociateWithClan_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->AssociateWithClan((CSteamID)steamIDClan); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->AssociateWithClan( (CSteamID)params->steamIDClan ); } -SteamAPICall_t cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility(void *linux_side, CSteamID steamIDNewPlayer) +void cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility( struct cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameServer*)linux_side)->ComputeNewPlayerCompatibility((CSteamID)steamIDNewPlayer); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->ComputeNewPlayerCompatibility( (CSteamID)params->steamIDNewPlayer ); } -bool cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED(void *linux_side, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) +void cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED( struct cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate_DEPRECATED((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->SendUserConnectAndAuthenticate_DEPRECATED( (uint32)params->unIPClient, (const void *)params->pvAuthBlob, (uint32)params->cubAuthBlobSize, (CSteamID *)params->pSteamIDUser ); } -CSteamID cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection(void *linux_side) +void cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection_params *params ) { - CSteamID _ret; - _ret = ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); - return (_ret); + *params->_ret = ((ISteamGameServer*)params->linux_side)->CreateUnauthenticatedUserConnection( ); } -void cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED(void *linux_side, CSteamID steamIDUser) +void cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED( struct cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED_params *params ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect_DEPRECATED((CSteamID)steamIDUser); + ((ISteamGameServer*)params->linux_side)->SendUserDisconnect_DEPRECATED( (CSteamID)params->steamIDUser ); } -bool cppISteamGameServer_SteamGameServer015_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) +void cppISteamGameServer_SteamGameServer015_BUpdateUserData( struct cppISteamGameServer_SteamGameServer015_BUpdateUserData_params *params ) { - bool _ret; - _ret = ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); - return (_ret); + params->_ret = ((ISteamGameServer*)params->linux_side)->BUpdateUserData( (CSteamID)params->steamIDUser, (const char *)params->pchPlayerName, (uint32)params->uScore ); } -void cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED(void *linux_side, int iHeartbeatInterval) +void cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED( struct cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED_params *params ) { - ((ISteamGameServer*)linux_side)->SetMasterServerHeartbeatInterval_DEPRECATED((int)iHeartbeatInterval); + ((ISteamGameServer*)params->linux_side)->SetMasterServerHeartbeatInterval_DEPRECATED( (int)params->iHeartbeatInterval ); } -void cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED(void *linux_side) +void cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED( struct cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED_params *params ) { - ((ISteamGameServer*)linux_side)->ForceMasterServerHeartbeat_DEPRECATED(); + ((ISteamGameServer*)params->linux_side)->ForceMasterServerHeartbeat_DEPRECATED( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer015.h b/lsteamclient/cppISteamGameServer_SteamGameServer015.h index 766d7b61..ca4be14d 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer015.h +++ b/lsteamclient/cppISteamGameServer_SteamGameServer015.h @@ -1,44 +1,338 @@ -extern bool cppISteamGameServer_SteamGameServer015_InitGameServer(void *, uint32, uint16, uint16, uint32, AppId_t, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetProduct(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetGameDescription(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetModDir(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetDedicatedServer(void *, bool); -extern void cppISteamGameServer_SteamGameServer015_LogOn(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_LogOnAnonymous(void *); -extern void cppISteamGameServer_SteamGameServer015_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer015_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer015_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer015_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer015_WasRestartRequested(void *); -extern void cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer015_SetBotPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer015_SetServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetMapName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetPasswordProtected(void *, bool); -extern void cppISteamGameServer_SteamGameServer015_SetSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer015_SetSpectatorServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_ClearAllKeyValues(void *); -extern void cppISteamGameServer_SteamGameServer015_SetKeyValue(void *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetGameTags(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetGameData(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetRegion(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive(void *, bool); -extern HAuthTicket cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket(void *, void *, int, uint32 *, const SteamNetworkingIdentity *); -extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer015_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamGameServer_SteamGameServer015_EndAuthSession(void *, CSteamID); -extern void cppISteamGameServer_SteamGameServer015_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern void cppISteamGameServer_SteamGameServer015_GetGameplayStats(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer015_GetServerReputation(void *); -extern SteamIPAddress_t cppISteamGameServer_SteamGameServer015_GetPublicIP(void *); -extern bool cppISteamGameServer_SteamGameServer015_HandleIncomingPacket(void *, const void *, int, uint32, uint16); -extern int cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer015_AssociateWithClan(void *, CSteamID); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer015_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern void cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED(void *, int); -extern void cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED(void *); +struct cppISteamGameServer_SteamGameServer015_InitGameServer_params +{ + void *linux_side; + bool _ret; + uint32 unIP; + uint16 usGamePort; + uint16 usQueryPort; + uint32 unFlags; + AppId_t nGameAppId; + const char *pchVersionString; +}; +extern void cppISteamGameServer_SteamGameServer015_InitGameServer( struct cppISteamGameServer_SteamGameServer015_InitGameServer_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetProduct_params +{ + void *linux_side; + const char *pszProduct; +}; +extern void cppISteamGameServer_SteamGameServer015_SetProduct( struct cppISteamGameServer_SteamGameServer015_SetProduct_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetGameDescription_params +{ + void *linux_side; + const char *pszGameDescription; +}; +extern void cppISteamGameServer_SteamGameServer015_SetGameDescription( struct cppISteamGameServer_SteamGameServer015_SetGameDescription_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetModDir_params +{ + void *linux_side; + const char *pszModDir; +}; +extern void cppISteamGameServer_SteamGameServer015_SetModDir( struct cppISteamGameServer_SteamGameServer015_SetModDir_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetDedicatedServer_params +{ + void *linux_side; + bool bDedicated; +}; +extern void cppISteamGameServer_SteamGameServer015_SetDedicatedServer( struct cppISteamGameServer_SteamGameServer015_SetDedicatedServer_params *params ); + +struct cppISteamGameServer_SteamGameServer015_LogOn_params +{ + void *linux_side; + const char *pszToken; +}; +extern void cppISteamGameServer_SteamGameServer015_LogOn( struct cppISteamGameServer_SteamGameServer015_LogOn_params *params ); + +struct cppISteamGameServer_SteamGameServer015_LogOnAnonymous_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer015_LogOnAnonymous( struct cppISteamGameServer_SteamGameServer015_LogOnAnonymous_params *params ); + +struct cppISteamGameServer_SteamGameServer015_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer015_LogOff( struct cppISteamGameServer_SteamGameServer015_LogOff_params *params ); + +struct cppISteamGameServer_SteamGameServer015_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer015_BLoggedOn( struct cppISteamGameServer_SteamGameServer015_BLoggedOn_params *params ); + +struct cppISteamGameServer_SteamGameServer015_BSecure_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer015_BSecure( struct cppISteamGameServer_SteamGameServer015_BSecure_params *params ); + +struct cppISteamGameServer_SteamGameServer015_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer015_GetSteamID( struct cppISteamGameServer_SteamGameServer015_GetSteamID_params *params ); + +struct cppISteamGameServer_SteamGameServer015_WasRestartRequested_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamGameServer_SteamGameServer015_WasRestartRequested( struct cppISteamGameServer_SteamGameServer015_WasRestartRequested_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount_params +{ + void *linux_side; + int cPlayersMax; +}; +extern void cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount( struct cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetBotPlayerCount_params +{ + void *linux_side; + int cBotplayers; +}; +extern void cppISteamGameServer_SteamGameServer015_SetBotPlayerCount( struct cppISteamGameServer_SteamGameServer015_SetBotPlayerCount_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetServerName_params +{ + void *linux_side; + const char *pszServerName; +}; +extern void cppISteamGameServer_SteamGameServer015_SetServerName( struct cppISteamGameServer_SteamGameServer015_SetServerName_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetMapName_params +{ + void *linux_side; + const char *pszMapName; +}; +extern void cppISteamGameServer_SteamGameServer015_SetMapName( struct cppISteamGameServer_SteamGameServer015_SetMapName_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetPasswordProtected_params +{ + void *linux_side; + bool bPasswordProtected; +}; +extern void cppISteamGameServer_SteamGameServer015_SetPasswordProtected( struct cppISteamGameServer_SteamGameServer015_SetPasswordProtected_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetSpectatorPort_params +{ + void *linux_side; + uint16 unSpectatorPort; +}; +extern void cppISteamGameServer_SteamGameServer015_SetSpectatorPort( struct cppISteamGameServer_SteamGameServer015_SetSpectatorPort_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetSpectatorServerName_params +{ + void *linux_side; + const char *pszSpectatorServerName; +}; +extern void cppISteamGameServer_SteamGameServer015_SetSpectatorServerName( struct cppISteamGameServer_SteamGameServer015_SetSpectatorServerName_params *params ); + +struct cppISteamGameServer_SteamGameServer015_ClearAllKeyValues_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer015_ClearAllKeyValues( struct cppISteamGameServer_SteamGameServer015_ClearAllKeyValues_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetKeyValue_params +{ + void *linux_side; + const char *pKey; + const char *pValue; +}; +extern void cppISteamGameServer_SteamGameServer015_SetKeyValue( struct cppISteamGameServer_SteamGameServer015_SetKeyValue_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetGameTags_params +{ + void *linux_side; + const char *pchGameTags; +}; +extern void cppISteamGameServer_SteamGameServer015_SetGameTags( struct cppISteamGameServer_SteamGameServer015_SetGameTags_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetGameData_params +{ + void *linux_side; + const char *pchGameData; +}; +extern void cppISteamGameServer_SteamGameServer015_SetGameData( struct cppISteamGameServer_SteamGameServer015_SetGameData_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetRegion_params +{ + void *linux_side; + const char *pszRegion; +}; +extern void cppISteamGameServer_SteamGameServer015_SetRegion( struct cppISteamGameServer_SteamGameServer015_SetRegion_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive_params +{ + void *linux_side; + bool bActive; +}; +extern void cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive( struct cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive_params *params ); + +struct cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; + const SteamNetworkingIdentity *pSnid; +}; +extern void cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket( struct cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket_params *params ); + +struct cppISteamGameServer_SteamGameServer015_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamGameServer_SteamGameServer015_BeginAuthSession( struct cppISteamGameServer_SteamGameServer015_BeginAuthSession_params *params ); + +struct cppISteamGameServer_SteamGameServer015_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamGameServer_SteamGameServer015_EndAuthSession( struct cppISteamGameServer_SteamGameServer015_EndAuthSession_params *params ); + +struct cppISteamGameServer_SteamGameServer015_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamGameServer_SteamGameServer015_CancelAuthTicket( struct cppISteamGameServer_SteamGameServer015_CancelAuthTicket_params *params ); + +struct cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp( struct cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp_params *params ); + +struct cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; +extern void cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus( struct cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus_params *params ); + +struct cppISteamGameServer_SteamGameServer015_GetGameplayStats_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer015_GetGameplayStats( struct cppISteamGameServer_SteamGameServer015_GetGameplayStats_params *params ); + +struct cppISteamGameServer_SteamGameServer015_GetServerReputation_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamGameServer_SteamGameServer015_GetServerReputation( struct cppISteamGameServer_SteamGameServer015_GetServerReputation_params *params ); + +struct cppISteamGameServer_SteamGameServer015_GetPublicIP_params +{ + void *linux_side; + SteamIPAddress_t *_ret; +}; +extern void cppISteamGameServer_SteamGameServer015_GetPublicIP( struct cppISteamGameServer_SteamGameServer015_GetPublicIP_params *params ); + +struct cppISteamGameServer_SteamGameServer015_HandleIncomingPacket_params +{ + void *linux_side; + bool _ret; + const void *pData; + int cbData; + uint32 srcIP; + uint16 srcPort; +}; +extern void cppISteamGameServer_SteamGameServer015_HandleIncomingPacket( struct cppISteamGameServer_SteamGameServer015_HandleIncomingPacket_params *params ); + +struct cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket_params +{ + void *linux_side; + int _ret; + void *pOut; + int cbMaxOut; + uint32 *pNetAdr; + uint16 *pPort; +}; +extern void cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket( struct cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket_params *params ); + +struct cppISteamGameServer_SteamGameServer015_AssociateWithClan_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDClan; +}; +extern void cppISteamGameServer_SteamGameServer015_AssociateWithClan( struct cppISteamGameServer_SteamGameServer015_AssociateWithClan_params *params ); + +struct cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDNewPlayer; +}; +extern void cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility( struct cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED_params +{ + void *linux_side; + bool _ret; + uint32 unIPClient; + const void *pvAuthBlob; + uint32 cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED( struct cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED_params *params ); + +struct cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection( struct cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED_params +{ + void *linux_side; + CSteamID steamIDUser; +}; +extern void cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED( struct cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED_params *params ); + +struct cppISteamGameServer_SteamGameServer015_BUpdateUserData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32 uScore; +}; +extern void cppISteamGameServer_SteamGameServer015_BUpdateUserData( struct cppISteamGameServer_SteamGameServer015_BUpdateUserData_params *params ); + +struct cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED_params +{ + void *linux_side; + int iHeartbeatInterval; +}; +extern void cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED( struct cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED_params *params ); + +struct cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED_params +{ + void *linux_side; +}; +extern void cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED( struct cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED_params *params ); + diff --git a/lsteamclient/cppISteamGameStats_SteamGameStats001.cpp b/lsteamclient/cppISteamGameStats_SteamGameStats001.cpp index c84eba24..b814708c 100644 --- a/lsteamclient/cppISteamGameStats_SteamGameStats001.cpp +++ b/lsteamclient/cppISteamGameStats_SteamGameStats001.cpp @@ -12,95 +12,69 @@ extern "C" { #define SDKVER_117 #include "struct_converters.h" #include "cppISteamGameStats_SteamGameStats001.h" -SteamAPICall_t cppISteamGameStats_SteamGameStats001_GetNewSession(void *linux_side, int8 nAccountType, uint64 ulAccountID, int32 nAppID, RTime32 rtTimeStarted) +void cppISteamGameStats_SteamGameStats001_GetNewSession( struct cppISteamGameStats_SteamGameStats001_GetNewSession_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameStats*)linux_side)->GetNewSession((int8)nAccountType, (uint64)ulAccountID, (int32)nAppID, (RTime32)rtTimeStarted); - return (_ret); + params->_ret = ((ISteamGameStats*)params->linux_side)->GetNewSession( (int8)params->nAccountType, (uint64)params->ulAccountID, (int32)params->nAppID, (RTime32)params->rtTimeStarted ); } -SteamAPICall_t cppISteamGameStats_SteamGameStats001_EndSession(void *linux_side, uint64 ulSessionID, RTime32 rtTimeEnded, int nReasonCode) +void cppISteamGameStats_SteamGameStats001_EndSession( struct cppISteamGameStats_SteamGameStats001_EndSession_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamGameStats*)linux_side)->EndSession((uint64)ulSessionID, (RTime32)rtTimeEnded, (int)nReasonCode); - return (_ret); + params->_ret = ((ISteamGameStats*)params->linux_side)->EndSession( (uint64)params->ulSessionID, (RTime32)params->rtTimeEnded, (int)params->nReasonCode ); } -EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt(void *linux_side, uint64 ulSessionID, const char *pstrName, int32 nData) +void cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt( struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt_params *params ) { - EResult _ret; - _ret = ((ISteamGameStats*)linux_side)->AddSessionAttributeInt((uint64)ulSessionID, (const char *)pstrName, (int32)nData); - return (_ret); + params->_ret = ((ISteamGameStats*)params->linux_side)->AddSessionAttributeInt( (uint64)params->ulSessionID, (const char *)params->pstrName, (int32)params->nData ); } -EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeString(void *linux_side, uint64 ulSessionID, const char *pstrName, const char *pstrData) +void cppISteamGameStats_SteamGameStats001_AddSessionAttributeString( struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeString_params *params ) { - EResult _ret; - _ret = ((ISteamGameStats*)linux_side)->AddSessionAttributeString((uint64)ulSessionID, (const char *)pstrName, (const char *)pstrData); - return (_ret); + params->_ret = ((ISteamGameStats*)params->linux_side)->AddSessionAttributeString( (uint64)params->ulSessionID, (const char *)params->pstrName, (const char *)params->pstrData ); } -EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(void *linux_side, uint64 ulSessionID, const char *pstrName, float fData) +void cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat( struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat_params *params ) { - EResult _ret; - _ret = ((ISteamGameStats*)linux_side)->AddSessionAttributeFloat((uint64)ulSessionID, (const char *)pstrName, (float)fData); - return (_ret); + params->_ret = ((ISteamGameStats*)params->linux_side)->AddSessionAttributeFloat( (uint64)params->ulSessionID, (const char *)params->pstrName, (float)params->fData ); } -EResult cppISteamGameStats_SteamGameStats001_AddNewRow(void *linux_side, uint64 *pulRowID, uint64 ulSessionID, const char *pstrTableName) +void cppISteamGameStats_SteamGameStats001_AddNewRow( struct cppISteamGameStats_SteamGameStats001_AddNewRow_params *params ) { - EResult _ret; - _ret = ((ISteamGameStats*)linux_side)->AddNewRow((uint64 *)pulRowID, (uint64)ulSessionID, (const char *)pstrTableName); - return (_ret); + params->_ret = ((ISteamGameStats*)params->linux_side)->AddNewRow( (uint64 *)params->pulRowID, (uint64)params->ulSessionID, (const char *)params->pstrTableName ); } -EResult cppISteamGameStats_SteamGameStats001_CommitRow(void *linux_side, uint64 ulRowID) +void cppISteamGameStats_SteamGameStats001_CommitRow( struct cppISteamGameStats_SteamGameStats001_CommitRow_params *params ) { - EResult _ret; - _ret = ((ISteamGameStats*)linux_side)->CommitRow((uint64)ulRowID); - return (_ret); + params->_ret = ((ISteamGameStats*)params->linux_side)->CommitRow( (uint64)params->ulRowID ); } -EResult cppISteamGameStats_SteamGameStats001_CommitOutstandingRows(void *linux_side, uint64 ulSessionID) +void cppISteamGameStats_SteamGameStats001_CommitOutstandingRows( struct cppISteamGameStats_SteamGameStats001_CommitOutstandingRows_params *params ) { - EResult _ret; - _ret = ((ISteamGameStats*)linux_side)->CommitOutstandingRows((uint64)ulSessionID); - return (_ret); + params->_ret = ((ISteamGameStats*)params->linux_side)->CommitOutstandingRows( (uint64)params->ulSessionID ); } -EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeInt(void *linux_side, uint64 ulRowID, const char *pstrName, int32 nData) +void cppISteamGameStats_SteamGameStats001_AddRowAttributeInt( struct cppISteamGameStats_SteamGameStats001_AddRowAttributeInt_params *params ) { - EResult _ret; - _ret = ((ISteamGameStats*)linux_side)->AddRowAttributeInt((uint64)ulRowID, (const char *)pstrName, (int32)nData); - return (_ret); + params->_ret = ((ISteamGameStats*)params->linux_side)->AddRowAttributeInt( (uint64)params->ulRowID, (const char *)params->pstrName, (int32)params->nData ); } -EResult cppISteamGameStats_SteamGameStats001_AddRowAtributeString(void *linux_side, uint64 ulRowID, const char *pstrName, const char *pstrData) +void cppISteamGameStats_SteamGameStats001_AddRowAtributeString( struct cppISteamGameStats_SteamGameStats001_AddRowAtributeString_params *params ) { - EResult _ret; - _ret = ((ISteamGameStats*)linux_side)->AddRowAtributeString((uint64)ulRowID, (const char *)pstrName, (const char *)pstrData); - return (_ret); + params->_ret = ((ISteamGameStats*)params->linux_side)->AddRowAtributeString( (uint64)params->ulRowID, (const char *)params->pstrName, (const char *)params->pstrData ); } -EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat(void *linux_side, uint64 ulRowID, const char *pstrName, float fData) +void cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat( struct cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat_params *params ) { - EResult _ret; - _ret = ((ISteamGameStats*)linux_side)->AddRowAttributeFloat((uint64)ulRowID, (const char *)pstrName, (float)fData); - return (_ret); + params->_ret = ((ISteamGameStats*)params->linux_side)->AddRowAttributeFloat( (uint64)params->ulRowID, (const char *)params->pstrName, (float)params->fData ); } -EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(void *linux_side, uint64 ulSessionID, const char *pstrName, int64 llData) +void cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64( struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64_params *params ) { - EResult _ret; - _ret = ((ISteamGameStats*)linux_side)->AddSessionAttributeInt64((uint64)ulSessionID, (const char *)pstrName, (int64)llData); - return (_ret); + params->_ret = ((ISteamGameStats*)params->linux_side)->AddSessionAttributeInt64( (uint64)params->ulSessionID, (const char *)params->pstrName, (int64)params->llData ); } -EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64(void *linux_side, uint64 ulRowID, const char *pstrName, int64 llData) +void cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64( struct cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64_params *params ) { - EResult _ret; - _ret = ((ISteamGameStats*)linux_side)->AddRowAttributeInt64((uint64)ulRowID, (const char *)pstrName, (int64)llData); - return (_ret); + params->_ret = ((ISteamGameStats*)params->linux_side)->AddRowAttributeInt64( (uint64)params->ulRowID, (const char *)params->pstrName, (int64)params->llData ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamGameStats_SteamGameStats001.h b/lsteamclient/cppISteamGameStats_SteamGameStats001.h index 21839be4..b3e353b1 100644 --- a/lsteamclient/cppISteamGameStats_SteamGameStats001.h +++ b/lsteamclient/cppISteamGameStats_SteamGameStats001.h @@ -1,13 +1,127 @@ -extern SteamAPICall_t cppISteamGameStats_SteamGameStats001_GetNewSession(void *, int8, uint64, int32, RTime32); -extern SteamAPICall_t cppISteamGameStats_SteamGameStats001_EndSession(void *, uint64, RTime32, int); -extern EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt(void *, uint64, const char *, int32); -extern EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeString(void *, uint64, const char *, const char *); -extern EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(void *, uint64, const char *, float); -extern EResult cppISteamGameStats_SteamGameStats001_AddNewRow(void *, uint64 *, uint64, const char *); -extern EResult cppISteamGameStats_SteamGameStats001_CommitRow(void *, uint64); -extern EResult cppISteamGameStats_SteamGameStats001_CommitOutstandingRows(void *, uint64); -extern EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeInt(void *, uint64, const char *, int32); -extern EResult cppISteamGameStats_SteamGameStats001_AddRowAtributeString(void *, uint64, const char *, const char *); -extern EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat(void *, uint64, const char *, float); -extern EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(void *, uint64, const char *, int64); -extern EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64(void *, uint64, const char *, int64); +struct cppISteamGameStats_SteamGameStats001_GetNewSession_params +{ + void *linux_side; + SteamAPICall_t _ret; + int8 nAccountType; + uint64 ulAccountID; + int32 nAppID; + RTime32 rtTimeStarted; +}; +extern void cppISteamGameStats_SteamGameStats001_GetNewSession( struct cppISteamGameStats_SteamGameStats001_GetNewSession_params *params ); + +struct cppISteamGameStats_SteamGameStats001_EndSession_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint64 ulSessionID; + RTime32 rtTimeEnded; + int nReasonCode; +}; +extern void cppISteamGameStats_SteamGameStats001_EndSession( struct cppISteamGameStats_SteamGameStats001_EndSession_params *params ); + +struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt_params +{ + void *linux_side; + EResult _ret; + uint64 ulSessionID; + const char *pstrName; + int32 nData; +}; +extern void cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt( struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt_params *params ); + +struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeString_params +{ + void *linux_side; + EResult _ret; + uint64 ulSessionID; + const char *pstrName; + const char *pstrData; +}; +extern void cppISteamGameStats_SteamGameStats001_AddSessionAttributeString( struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeString_params *params ); + +struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat_params +{ + void *linux_side; + EResult _ret; + uint64 ulSessionID; + const char *pstrName; + float fData; +}; +extern void cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat( struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat_params *params ); + +struct cppISteamGameStats_SteamGameStats001_AddNewRow_params +{ + void *linux_side; + EResult _ret; + uint64 *pulRowID; + uint64 ulSessionID; + const char *pstrTableName; +}; +extern void cppISteamGameStats_SteamGameStats001_AddNewRow( struct cppISteamGameStats_SteamGameStats001_AddNewRow_params *params ); + +struct cppISteamGameStats_SteamGameStats001_CommitRow_params +{ + void *linux_side; + EResult _ret; + uint64 ulRowID; +}; +extern void cppISteamGameStats_SteamGameStats001_CommitRow( struct cppISteamGameStats_SteamGameStats001_CommitRow_params *params ); + +struct cppISteamGameStats_SteamGameStats001_CommitOutstandingRows_params +{ + void *linux_side; + EResult _ret; + uint64 ulSessionID; +}; +extern void cppISteamGameStats_SteamGameStats001_CommitOutstandingRows( struct cppISteamGameStats_SteamGameStats001_CommitOutstandingRows_params *params ); + +struct cppISteamGameStats_SteamGameStats001_AddRowAttributeInt_params +{ + void *linux_side; + EResult _ret; + uint64 ulRowID; + const char *pstrName; + int32 nData; +}; +extern void cppISteamGameStats_SteamGameStats001_AddRowAttributeInt( struct cppISteamGameStats_SteamGameStats001_AddRowAttributeInt_params *params ); + +struct cppISteamGameStats_SteamGameStats001_AddRowAtributeString_params +{ + void *linux_side; + EResult _ret; + uint64 ulRowID; + const char *pstrName; + const char *pstrData; +}; +extern void cppISteamGameStats_SteamGameStats001_AddRowAtributeString( struct cppISteamGameStats_SteamGameStats001_AddRowAtributeString_params *params ); + +struct cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat_params +{ + void *linux_side; + EResult _ret; + uint64 ulRowID; + const char *pstrName; + float fData; +}; +extern void cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat( struct cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat_params *params ); + +struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64_params +{ + void *linux_side; + EResult _ret; + uint64 ulSessionID; + const char *pstrName; + int64 llData; +}; +extern void cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64( struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64_params *params ); + +struct cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64_params +{ + void *linux_side; + EResult _ret; + uint64 ulRowID; + const char *pstrName; + int64 llData; +}; +extern void cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64( struct cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64_params *params ); + diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.cpp index b8e05846..d000a4bb 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.cpp @@ -11,172 +11,166 @@ extern "C" { #define SDKVER_130x #include "struct_converters.h" #include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.h" -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init(void *linux_side) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init_params *params ) { - bool _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->Init(); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->Init( ); } -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown(void *linux_side) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->Shutdown( ); } -SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser(void *linux_side, const char *pchUserAgent, const char *pchUserCSS) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->CreateBrowser((const char *)pchUserAgent, (const char *)pchUserCSS); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->CreateBrowser( (const char *)params->pchUserAgent, (const char *)params->pchUserCSS ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser_params *params ) { - ((ISteamHTMLSurface*)linux_side)->RemoveBrowser((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->RemoveBrowser( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchURL, const char *pchPostData) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL_params *params ) { - ((ISteamHTMLSurface*)linux_side)->LoadURL((HHTMLBrowser)unBrowserHandle, (const char *)pchURL, (const char *)pchPostData); + ((ISteamHTMLSurface*)params->linux_side)->LoadURL( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchURL, (const char *)params->pchPostData ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetSize((HHTMLBrowser)unBrowserHandle, (uint32)unWidth, (uint32)unHeight); + ((ISteamHTMLSurface*)params->linux_side)->SetSize( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->unWidth, (uint32)params->unHeight ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad_params *params ) { - ((ISteamHTMLSurface*)linux_side)->StopLoad((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->StopLoad( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload_params *params ) { - ((ISteamHTMLSurface*)linux_side)->Reload((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->Reload( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GoBack((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->GoBack( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GoForward((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->GoForward( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchKey, const char *pchValue) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader_params *params ) { - ((ISteamHTMLSurface*)linux_side)->AddHeader((HHTMLBrowser)unBrowserHandle, (const char *)pchKey, (const char *)pchValue); + ((ISteamHTMLSurface*)params->linux_side)->AddHeader( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchKey, (const char *)params->pchValue ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchScript) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript_params *params ) { - ((ISteamHTMLSurface*)linux_side)->ExecuteJavascript((HHTMLBrowser)unBrowserHandle, (const char *)pchScript); + ((ISteamHTMLSurface*)params->linux_side)->ExecuteJavascript( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchScript ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseUp((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseUp( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseDown((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseDown( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseDoubleClick((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseDoubleClick( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseMove((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + ((ISteamHTMLSurface*)params->linux_side)->MouseMove( (HHTMLBrowser)params->unBrowserHandle, (int)params->x, (int)params->y ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel(void *linux_side, HHTMLBrowser unBrowserHandle, int32 nDelta) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseWheel((HHTMLBrowser)unBrowserHandle, (int32)nDelta); + ((ISteamHTMLSurface*)params->linux_side)->MouseWheel( (HHTMLBrowser)params->unBrowserHandle, (int32)params->nDelta ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown_params *params ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyDown((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + params->nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + ((ISteamHTMLSurface*)params->linux_side)->KeyDown( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp_params *params ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyUp((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + params->nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + ((ISteamHTMLSurface*)params->linux_side)->KeyUp( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar_params *params ) { - ((ISteamHTMLSurface*)linux_side)->KeyChar((HHTMLBrowser)unBrowserHandle, (uint32)cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + ((ISteamHTMLSurface*)params->linux_side)->KeyChar( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetHorizontalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + ((ISteamHTMLSurface*)params->linux_side)->SetHorizontalScroll( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nAbsolutePixelScroll ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetVerticalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + ((ISteamHTMLSurface*)params->linux_side)->SetVerticalScroll( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nAbsolutePixelScroll ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus(void *linux_side, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetKeyFocus((HHTMLBrowser)unBrowserHandle, (bool)bHasKeyFocus); + ((ISteamHTMLSurface*)params->linux_side)->SetKeyFocus( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bHasKeyFocus ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource_params *params ) { - ((ISteamHTMLSurface*)linux_side)->ViewSource((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->ViewSource( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard_params *params ) { - ((ISteamHTMLSurface*)linux_side)->CopyToClipboard((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->CopyToClipboard( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard_params *params ) { - ((ISteamHTMLSurface*)linux_side)->PasteFromClipboard((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->PasteFromClipboard( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchSearchStr, bool bCurrentlyInFind, bool bReverse) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find_params *params ) { - ((ISteamHTMLSurface*)linux_side)->Find((HHTMLBrowser)unBrowserHandle, (const char *)pchSearchStr, (bool)bCurrentlyInFind, (bool)bReverse); + ((ISteamHTMLSurface*)params->linux_side)->Find( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchSearchStr, (bool)params->bCurrentlyInFind, (bool)params->bReverse ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind_params *params ) { - ((ISteamHTMLSurface*)linux_side)->StopFind((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->StopFind( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GetLinkAtPosition((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + ((ISteamHTMLSurface*)params->linux_side)->GetLinkAtPosition( (HHTMLBrowser)params->unBrowserHandle, (int)params->x, (int)params->y ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest(void *linux_side, HHTMLBrowser unBrowserHandle, bool bAllowed) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest_params *params ) { - ((ISteamHTMLSurface*)linux_side)->AllowStartRequest((HHTMLBrowser)unBrowserHandle, (bool)bAllowed); + ((ISteamHTMLSurface*)params->linux_side)->AllowStartRequest( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bAllowed ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, bool bResult) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse_params *params ) { - ((ISteamHTMLSurface*)linux_side)->JSDialogResponse((HHTMLBrowser)unBrowserHandle, (bool)bResult); + ((ISteamHTMLSurface*)params->linux_side)->JSDialogResponse( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bResult ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, const char **pchSelectedFiles) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse_params *params ) { - ((ISteamHTMLSurface*)linux_side)->FileLoadDialogResponse((HHTMLBrowser)unBrowserHandle, (const char **)pchSelectedFiles); + ((ISteamHTMLSurface*)params->linux_side)->FileLoadDialogResponse( (HHTMLBrowser)params->unBrowserHandle, (const char **)params->pchSelectedFiles ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.h b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.h index 14aea708..4d46bf8a 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.h +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.h @@ -1,32 +1,256 @@ -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init(void *); -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown(void *); -extern SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser(void *, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize(void *, HHTMLBrowser, uint32, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript(void *, HHTMLBrowser, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel(void *, HHTMLBrowser, int32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find(void *, HHTMLBrowser, const char *, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse(void *, HHTMLBrowser, const char **); +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchUserAgent; + const char *pchUserCSS; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchURL; + const char *pchPostData; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 unWidth; + uint32 unHeight; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchScript; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int x; + int y; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int32 nDelta; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nNativeKeyCode; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nNativeKeyCode; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 cUnicodeChar; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nAbsolutePixelScroll; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nAbsolutePixelScroll; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bHasKeyFocus; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchSearchStr; + bool bCurrentlyInFind; + bool bReverse; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int x; + int y; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bAllowed; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bResult; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char **pchSelectedFiles; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse_params *params ); + diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp index f73f70b5..f4cc9d87 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp @@ -11,182 +11,176 @@ extern "C" { #define SDKVER_133a #include "struct_converters.h" #include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.h" -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init(void *linux_side) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init_params *params ) { - bool _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->Init(); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->Init( ); } -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown(void *linux_side) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->Shutdown( ); } -SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser(void *linux_side, const char *pchUserAgent, const char *pchUserCSS) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->CreateBrowser((const char *)pchUserAgent, (const char *)pchUserCSS); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->CreateBrowser( (const char *)params->pchUserAgent, (const char *)params->pchUserCSS ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser_params *params ) { - ((ISteamHTMLSurface*)linux_side)->RemoveBrowser((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->RemoveBrowser( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchURL, const char *pchPostData) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL_params *params ) { - ((ISteamHTMLSurface*)linux_side)->LoadURL((HHTMLBrowser)unBrowserHandle, (const char *)pchURL, (const char *)pchPostData); + ((ISteamHTMLSurface*)params->linux_side)->LoadURL( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchURL, (const char *)params->pchPostData ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetSize((HHTMLBrowser)unBrowserHandle, (uint32)unWidth, (uint32)unHeight); + ((ISteamHTMLSurface*)params->linux_side)->SetSize( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->unWidth, (uint32)params->unHeight ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad_params *params ) { - ((ISteamHTMLSurface*)linux_side)->StopLoad((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->StopLoad( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload_params *params ) { - ((ISteamHTMLSurface*)linux_side)->Reload((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->Reload( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GoBack((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->GoBack( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GoForward((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->GoForward( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchKey, const char *pchValue) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader_params *params ) { - ((ISteamHTMLSurface*)linux_side)->AddHeader((HHTMLBrowser)unBrowserHandle, (const char *)pchKey, (const char *)pchValue); + ((ISteamHTMLSurface*)params->linux_side)->AddHeader( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchKey, (const char *)params->pchValue ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchScript) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript_params *params ) { - ((ISteamHTMLSurface*)linux_side)->ExecuteJavascript((HHTMLBrowser)unBrowserHandle, (const char *)pchScript); + ((ISteamHTMLSurface*)params->linux_side)->ExecuteJavascript( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchScript ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseUp((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseUp( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseDown((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseDown( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseDoubleClick((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseDoubleClick( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseMove((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + ((ISteamHTMLSurface*)params->linux_side)->MouseMove( (HHTMLBrowser)params->unBrowserHandle, (int)params->x, (int)params->y ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel(void *linux_side, HHTMLBrowser unBrowserHandle, int32 nDelta) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseWheel((HHTMLBrowser)unBrowserHandle, (int32)nDelta); + ((ISteamHTMLSurface*)params->linux_side)->MouseWheel( (HHTMLBrowser)params->unBrowserHandle, (int32)params->nDelta ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown_params *params ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyDown((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + params->nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + ((ISteamHTMLSurface*)params->linux_side)->KeyDown( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp_params *params ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyUp((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + params->nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + ((ISteamHTMLSurface*)params->linux_side)->KeyUp( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar_params *params ) { - ((ISteamHTMLSurface*)linux_side)->KeyChar((HHTMLBrowser)unBrowserHandle, (uint32)cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + ((ISteamHTMLSurface*)params->linux_side)->KeyChar( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetHorizontalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + ((ISteamHTMLSurface*)params->linux_side)->SetHorizontalScroll( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nAbsolutePixelScroll ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetVerticalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + ((ISteamHTMLSurface*)params->linux_side)->SetVerticalScroll( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nAbsolutePixelScroll ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus(void *linux_side, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetKeyFocus((HHTMLBrowser)unBrowserHandle, (bool)bHasKeyFocus); + ((ISteamHTMLSurface*)params->linux_side)->SetKeyFocus( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bHasKeyFocus ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource_params *params ) { - ((ISteamHTMLSurface*)linux_side)->ViewSource((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->ViewSource( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard_params *params ) { - ((ISteamHTMLSurface*)linux_side)->CopyToClipboard((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->CopyToClipboard( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard_params *params ) { - ((ISteamHTMLSurface*)linux_side)->PasteFromClipboard((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->PasteFromClipboard( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchSearchStr, bool bCurrentlyInFind, bool bReverse) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find_params *params ) { - ((ISteamHTMLSurface*)linux_side)->Find((HHTMLBrowser)unBrowserHandle, (const char *)pchSearchStr, (bool)bCurrentlyInFind, (bool)bReverse); + ((ISteamHTMLSurface*)params->linux_side)->Find( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchSearchStr, (bool)params->bCurrentlyInFind, (bool)params->bReverse ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind_params *params ) { - ((ISteamHTMLSurface*)linux_side)->StopFind((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->StopFind( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GetLinkAtPosition((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + ((ISteamHTMLSurface*)params->linux_side)->GetLinkAtPosition( (HHTMLBrowser)params->unBrowserHandle, (int)params->x, (int)params->y ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie(void *linux_side, const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetCookie((const char *)pchHostname, (const char *)pchKey, (const char *)pchValue, (const char *)pchPath, (RTime32)nExpires, (bool)bSecure, (bool)bHTTPOnly); + ((ISteamHTMLSurface*)params->linux_side)->SetCookie( (const char *)params->pchHostname, (const char *)params->pchKey, (const char *)params->pchValue, (const char *)params->pchPath, (RTime32)params->nExpires, (bool)params->bSecure, (bool)params->bHTTPOnly ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor(void *linux_side, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetPageScaleFactor((HHTMLBrowser)unBrowserHandle, (float)flZoom, (int)nPointX, (int)nPointY); + ((ISteamHTMLSurface*)params->linux_side)->SetPageScaleFactor( (HHTMLBrowser)params->unBrowserHandle, (float)params->flZoom, (int)params->nPointX, (int)params->nPointY ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest(void *linux_side, HHTMLBrowser unBrowserHandle, bool bAllowed) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest_params *params ) { - ((ISteamHTMLSurface*)linux_side)->AllowStartRequest((HHTMLBrowser)unBrowserHandle, (bool)bAllowed); + ((ISteamHTMLSurface*)params->linux_side)->AllowStartRequest( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bAllowed ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, bool bResult) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse_params *params ) { - ((ISteamHTMLSurface*)linux_side)->JSDialogResponse((HHTMLBrowser)unBrowserHandle, (bool)bResult); + ((ISteamHTMLSurface*)params->linux_side)->JSDialogResponse( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bResult ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, const char **pchSelectedFiles) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse_params *params ) { - ((ISteamHTMLSurface*)linux_side)->FileLoadDialogResponse((HHTMLBrowser)unBrowserHandle, (const char **)pchSelectedFiles); + ((ISteamHTMLSurface*)params->linux_side)->FileLoadDialogResponse( (HHTMLBrowser)params->unBrowserHandle, (const char **)params->pchSelectedFiles ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.h b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.h index a47d1ef7..566cc349 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.h +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.h @@ -1,34 +1,279 @@ -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init(void *); -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown(void *); -extern SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser(void *, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize(void *, HHTMLBrowser, uint32, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript(void *, HHTMLBrowser, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel(void *, HHTMLBrowser, int32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find(void *, HHTMLBrowser, const char *, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie(void *, const char *, const char *, const char *, const char *, RTime32, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor(void *, HHTMLBrowser, float, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse(void *, HHTMLBrowser, const char **); +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchUserAgent; + const char *pchUserCSS; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchURL; + const char *pchPostData; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 unWidth; + uint32 unHeight; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchScript; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int x; + int y; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int32 nDelta; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nNativeKeyCode; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nNativeKeyCode; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 cUnicodeChar; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nAbsolutePixelScroll; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nAbsolutePixelScroll; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bHasKeyFocus; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchSearchStr; + bool bCurrentlyInFind; + bool bReverse; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int x; + int y; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie_params +{ + void *linux_side; + const char *pchHostname; + const char *pchKey; + const char *pchValue; + const char *pchPath; + RTime32 nExpires; + bool bSecure; + bool bHTTPOnly; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + float flZoom; + int nPointX; + int nPointY; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bAllowed; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bResult; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char **pchSelectedFiles; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse_params *params ); + diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp index ea8e8751..fbf26445 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp @@ -11,187 +11,181 @@ extern "C" { #define SDKVER_140 #include "struct_converters.h" #include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.h" -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init(void *linux_side) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init_params *params ) { - bool _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->Init(); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->Init( ); } -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown(void *linux_side) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->Shutdown( ); } -SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser(void *linux_side, const char *pchUserAgent, const char *pchUserCSS) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->CreateBrowser((const char *)pchUserAgent, (const char *)pchUserCSS); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->CreateBrowser( (const char *)params->pchUserAgent, (const char *)params->pchUserCSS ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser_params *params ) { - ((ISteamHTMLSurface*)linux_side)->RemoveBrowser((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->RemoveBrowser( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchURL, const char *pchPostData) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL_params *params ) { - ((ISteamHTMLSurface*)linux_side)->LoadURL((HHTMLBrowser)unBrowserHandle, (const char *)pchURL, (const char *)pchPostData); + ((ISteamHTMLSurface*)params->linux_side)->LoadURL( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchURL, (const char *)params->pchPostData ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetSize((HHTMLBrowser)unBrowserHandle, (uint32)unWidth, (uint32)unHeight); + ((ISteamHTMLSurface*)params->linux_side)->SetSize( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->unWidth, (uint32)params->unHeight ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad_params *params ) { - ((ISteamHTMLSurface*)linux_side)->StopLoad((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->StopLoad( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload_params *params ) { - ((ISteamHTMLSurface*)linux_side)->Reload((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->Reload( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GoBack((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->GoBack( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GoForward((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->GoForward( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchKey, const char *pchValue) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader_params *params ) { - ((ISteamHTMLSurface*)linux_side)->AddHeader((HHTMLBrowser)unBrowserHandle, (const char *)pchKey, (const char *)pchValue); + ((ISteamHTMLSurface*)params->linux_side)->AddHeader( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchKey, (const char *)params->pchValue ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchScript) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript_params *params ) { - ((ISteamHTMLSurface*)linux_side)->ExecuteJavascript((HHTMLBrowser)unBrowserHandle, (const char *)pchScript); + ((ISteamHTMLSurface*)params->linux_side)->ExecuteJavascript( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchScript ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseUp((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseUp( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseDown((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseDown( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseDoubleClick((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseDoubleClick( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseMove((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + ((ISteamHTMLSurface*)params->linux_side)->MouseMove( (HHTMLBrowser)params->unBrowserHandle, (int)params->x, (int)params->y ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel(void *linux_side, HHTMLBrowser unBrowserHandle, int32 nDelta) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseWheel((HHTMLBrowser)unBrowserHandle, (int32)nDelta); + ((ISteamHTMLSurface*)params->linux_side)->MouseWheel( (HHTMLBrowser)params->unBrowserHandle, (int32)params->nDelta ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown_params *params ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyDown((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + params->nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + ((ISteamHTMLSurface*)params->linux_side)->KeyDown( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp_params *params ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyUp((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + params->nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + ((ISteamHTMLSurface*)params->linux_side)->KeyUp( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar_params *params ) { - ((ISteamHTMLSurface*)linux_side)->KeyChar((HHTMLBrowser)unBrowserHandle, (uint32)cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + ((ISteamHTMLSurface*)params->linux_side)->KeyChar( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetHorizontalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + ((ISteamHTMLSurface*)params->linux_side)->SetHorizontalScroll( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nAbsolutePixelScroll ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetVerticalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + ((ISteamHTMLSurface*)params->linux_side)->SetVerticalScroll( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nAbsolutePixelScroll ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus(void *linux_side, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetKeyFocus((HHTMLBrowser)unBrowserHandle, (bool)bHasKeyFocus); + ((ISteamHTMLSurface*)params->linux_side)->SetKeyFocus( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bHasKeyFocus ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource_params *params ) { - ((ISteamHTMLSurface*)linux_side)->ViewSource((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->ViewSource( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard_params *params ) { - ((ISteamHTMLSurface*)linux_side)->CopyToClipboard((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->CopyToClipboard( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard_params *params ) { - ((ISteamHTMLSurface*)linux_side)->PasteFromClipboard((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->PasteFromClipboard( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchSearchStr, bool bCurrentlyInFind, bool bReverse) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find_params *params ) { - ((ISteamHTMLSurface*)linux_side)->Find((HHTMLBrowser)unBrowserHandle, (const char *)pchSearchStr, (bool)bCurrentlyInFind, (bool)bReverse); + ((ISteamHTMLSurface*)params->linux_side)->Find( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchSearchStr, (bool)params->bCurrentlyInFind, (bool)params->bReverse ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind_params *params ) { - ((ISteamHTMLSurface*)linux_side)->StopFind((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->StopFind( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GetLinkAtPosition((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + ((ISteamHTMLSurface*)params->linux_side)->GetLinkAtPosition( (HHTMLBrowser)params->unBrowserHandle, (int)params->x, (int)params->y ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie(void *linux_side, const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetCookie((const char *)pchHostname, (const char *)pchKey, (const char *)pchValue, (const char *)pchPath, (RTime32)nExpires, (bool)bSecure, (bool)bHTTPOnly); + ((ISteamHTMLSurface*)params->linux_side)->SetCookie( (const char *)params->pchHostname, (const char *)params->pchKey, (const char *)params->pchValue, (const char *)params->pchPath, (RTime32)params->nExpires, (bool)params->bSecure, (bool)params->bHTTPOnly ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor(void *linux_side, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetPageScaleFactor((HHTMLBrowser)unBrowserHandle, (float)flZoom, (int)nPointX, (int)nPointY); + ((ISteamHTMLSurface*)params->linux_side)->SetPageScaleFactor( (HHTMLBrowser)params->unBrowserHandle, (float)params->flZoom, (int)params->nPointX, (int)params->nPointY ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode(void *linux_side, HHTMLBrowser unBrowserHandle, bool bBackgroundMode) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetBackgroundMode((HHTMLBrowser)unBrowserHandle, (bool)bBackgroundMode); + ((ISteamHTMLSurface*)params->linux_side)->SetBackgroundMode( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bBackgroundMode ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest(void *linux_side, HHTMLBrowser unBrowserHandle, bool bAllowed) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest_params *params ) { - ((ISteamHTMLSurface*)linux_side)->AllowStartRequest((HHTMLBrowser)unBrowserHandle, (bool)bAllowed); + ((ISteamHTMLSurface*)params->linux_side)->AllowStartRequest( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bAllowed ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, bool bResult) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse_params *params ) { - ((ISteamHTMLSurface*)linux_side)->JSDialogResponse((HHTMLBrowser)unBrowserHandle, (bool)bResult); + ((ISteamHTMLSurface*)params->linux_side)->JSDialogResponse( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bResult ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, const char **pchSelectedFiles) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse_params *params ) { - ((ISteamHTMLSurface*)linux_side)->FileLoadDialogResponse((HHTMLBrowser)unBrowserHandle, (const char **)pchSelectedFiles); + ((ISteamHTMLSurface*)params->linux_side)->FileLoadDialogResponse( (HHTMLBrowser)params->unBrowserHandle, (const char **)params->pchSelectedFiles ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.h b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.h index 4913ed76..ceb2f764 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.h +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.h @@ -1,35 +1,287 @@ -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init(void *); -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown(void *); -extern SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser(void *, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize(void *, HHTMLBrowser, uint32, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript(void *, HHTMLBrowser, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel(void *, HHTMLBrowser, int32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find(void *, HHTMLBrowser, const char *, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie(void *, const char *, const char *, const char *, const char *, RTime32, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor(void *, HHTMLBrowser, float, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse(void *, HHTMLBrowser, const char **); +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchUserAgent; + const char *pchUserCSS; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchURL; + const char *pchPostData; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 unWidth; + uint32 unHeight; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchScript; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int x; + int y; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int32 nDelta; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nNativeKeyCode; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nNativeKeyCode; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 cUnicodeChar; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nAbsolutePixelScroll; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nAbsolutePixelScroll; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bHasKeyFocus; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchSearchStr; + bool bCurrentlyInFind; + bool bReverse; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int x; + int y; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie_params +{ + void *linux_side; + const char *pchHostname; + const char *pchKey; + const char *pchValue; + const char *pchPath; + RTime32 nExpires; + bool bSecure; + bool bHTTPOnly; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + float flZoom; + int nPointX; + int nPointY; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bBackgroundMode; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bAllowed; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bResult; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char **pchSelectedFiles; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse_params *params ); + diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp index eb40c0e5..dc299113 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp @@ -11,192 +11,186 @@ extern "C" { #define SDKVER_142 #include "struct_converters.h" #include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.h" -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init(void *linux_side) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init_params *params ) { - bool _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->Init(); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->Init( ); } -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown(void *linux_side) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->Shutdown( ); } -SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser(void *linux_side, const char *pchUserAgent, const char *pchUserCSS) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->CreateBrowser((const char *)pchUserAgent, (const char *)pchUserCSS); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->CreateBrowser( (const char *)params->pchUserAgent, (const char *)params->pchUserCSS ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser_params *params ) { - ((ISteamHTMLSurface*)linux_side)->RemoveBrowser((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->RemoveBrowser( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchURL, const char *pchPostData) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL_params *params ) { - ((ISteamHTMLSurface*)linux_side)->LoadURL((HHTMLBrowser)unBrowserHandle, (const char *)pchURL, (const char *)pchPostData); + ((ISteamHTMLSurface*)params->linux_side)->LoadURL( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchURL, (const char *)params->pchPostData ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetSize((HHTMLBrowser)unBrowserHandle, (uint32)unWidth, (uint32)unHeight); + ((ISteamHTMLSurface*)params->linux_side)->SetSize( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->unWidth, (uint32)params->unHeight ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad_params *params ) { - ((ISteamHTMLSurface*)linux_side)->StopLoad((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->StopLoad( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload_params *params ) { - ((ISteamHTMLSurface*)linux_side)->Reload((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->Reload( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GoBack((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->GoBack( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GoForward((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->GoForward( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchKey, const char *pchValue) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader_params *params ) { - ((ISteamHTMLSurface*)linux_side)->AddHeader((HHTMLBrowser)unBrowserHandle, (const char *)pchKey, (const char *)pchValue); + ((ISteamHTMLSurface*)params->linux_side)->AddHeader( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchKey, (const char *)params->pchValue ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchScript) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript_params *params ) { - ((ISteamHTMLSurface*)linux_side)->ExecuteJavascript((HHTMLBrowser)unBrowserHandle, (const char *)pchScript); + ((ISteamHTMLSurface*)params->linux_side)->ExecuteJavascript( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchScript ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseUp((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseUp( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseDown((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseDown( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseDoubleClick((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseDoubleClick( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseMove((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + ((ISteamHTMLSurface*)params->linux_side)->MouseMove( (HHTMLBrowser)params->unBrowserHandle, (int)params->x, (int)params->y ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel(void *linux_side, HHTMLBrowser unBrowserHandle, int32 nDelta) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseWheel((HHTMLBrowser)unBrowserHandle, (int32)nDelta); + ((ISteamHTMLSurface*)params->linux_side)->MouseWheel( (HHTMLBrowser)params->unBrowserHandle, (int32)params->nDelta ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown_params *params ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyDown((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + params->nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + ((ISteamHTMLSurface*)params->linux_side)->KeyDown( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp_params *params ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyUp((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + params->nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + ((ISteamHTMLSurface*)params->linux_side)->KeyUp( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar_params *params ) { - ((ISteamHTMLSurface*)linux_side)->KeyChar((HHTMLBrowser)unBrowserHandle, (uint32)cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + ((ISteamHTMLSurface*)params->linux_side)->KeyChar( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetHorizontalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + ((ISteamHTMLSurface*)params->linux_side)->SetHorizontalScroll( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nAbsolutePixelScroll ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetVerticalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + ((ISteamHTMLSurface*)params->linux_side)->SetVerticalScroll( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nAbsolutePixelScroll ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus(void *linux_side, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetKeyFocus((HHTMLBrowser)unBrowserHandle, (bool)bHasKeyFocus); + ((ISteamHTMLSurface*)params->linux_side)->SetKeyFocus( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bHasKeyFocus ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource_params *params ) { - ((ISteamHTMLSurface*)linux_side)->ViewSource((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->ViewSource( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard_params *params ) { - ((ISteamHTMLSurface*)linux_side)->CopyToClipboard((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->CopyToClipboard( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard_params *params ) { - ((ISteamHTMLSurface*)linux_side)->PasteFromClipboard((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->PasteFromClipboard( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchSearchStr, bool bCurrentlyInFind, bool bReverse) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find_params *params ) { - ((ISteamHTMLSurface*)linux_side)->Find((HHTMLBrowser)unBrowserHandle, (const char *)pchSearchStr, (bool)bCurrentlyInFind, (bool)bReverse); + ((ISteamHTMLSurface*)params->linux_side)->Find( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchSearchStr, (bool)params->bCurrentlyInFind, (bool)params->bReverse ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind_params *params ) { - ((ISteamHTMLSurface*)linux_side)->StopFind((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->StopFind( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GetLinkAtPosition((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + ((ISteamHTMLSurface*)params->linux_side)->GetLinkAtPosition( (HHTMLBrowser)params->unBrowserHandle, (int)params->x, (int)params->y ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie(void *linux_side, const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetCookie((const char *)pchHostname, (const char *)pchKey, (const char *)pchValue, (const char *)pchPath, (RTime32)nExpires, (bool)bSecure, (bool)bHTTPOnly); + ((ISteamHTMLSurface*)params->linux_side)->SetCookie( (const char *)params->pchHostname, (const char *)params->pchKey, (const char *)params->pchValue, (const char *)params->pchPath, (RTime32)params->nExpires, (bool)params->bSecure, (bool)params->bHTTPOnly ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor(void *linux_side, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetPageScaleFactor((HHTMLBrowser)unBrowserHandle, (float)flZoom, (int)nPointX, (int)nPointY); + ((ISteamHTMLSurface*)params->linux_side)->SetPageScaleFactor( (HHTMLBrowser)params->unBrowserHandle, (float)params->flZoom, (int)params->nPointX, (int)params->nPointY ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode(void *linux_side, HHTMLBrowser unBrowserHandle, bool bBackgroundMode) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetBackgroundMode((HHTMLBrowser)unBrowserHandle, (bool)bBackgroundMode); + ((ISteamHTMLSurface*)params->linux_side)->SetBackgroundMode( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bBackgroundMode ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor(void *linux_side, HHTMLBrowser unBrowserHandle, float flDPIScaling) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetDPIScalingFactor((HHTMLBrowser)unBrowserHandle, (float)flDPIScaling); + ((ISteamHTMLSurface*)params->linux_side)->SetDPIScalingFactor( (HHTMLBrowser)params->unBrowserHandle, (float)params->flDPIScaling ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest(void *linux_side, HHTMLBrowser unBrowserHandle, bool bAllowed) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest_params *params ) { - ((ISteamHTMLSurface*)linux_side)->AllowStartRequest((HHTMLBrowser)unBrowserHandle, (bool)bAllowed); + ((ISteamHTMLSurface*)params->linux_side)->AllowStartRequest( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bAllowed ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, bool bResult) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse_params *params ) { - ((ISteamHTMLSurface*)linux_side)->JSDialogResponse((HHTMLBrowser)unBrowserHandle, (bool)bResult); + ((ISteamHTMLSurface*)params->linux_side)->JSDialogResponse( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bResult ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, const char **pchSelectedFiles) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse_params *params ) { - ((ISteamHTMLSurface*)linux_side)->FileLoadDialogResponse((HHTMLBrowser)unBrowserHandle, (const char **)pchSelectedFiles); + ((ISteamHTMLSurface*)params->linux_side)->FileLoadDialogResponse( (HHTMLBrowser)params->unBrowserHandle, (const char **)params->pchSelectedFiles ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.h b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.h index 4f365964..4b0e5276 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.h +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.h @@ -1,36 +1,295 @@ -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init(void *); -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown(void *); -extern SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser(void *, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize(void *, HHTMLBrowser, uint32, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript(void *, HHTMLBrowser, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel(void *, HHTMLBrowser, int32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find(void *, HHTMLBrowser, const char *, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie(void *, const char *, const char *, const char *, const char *, RTime32, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor(void *, HHTMLBrowser, float, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor(void *, HHTMLBrowser, float); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse(void *, HHTMLBrowser, const char **); +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchUserAgent; + const char *pchUserCSS; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchURL; + const char *pchPostData; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 unWidth; + uint32 unHeight; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchScript; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int x; + int y; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int32 nDelta; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nNativeKeyCode; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nNativeKeyCode; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 cUnicodeChar; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nAbsolutePixelScroll; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nAbsolutePixelScroll; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bHasKeyFocus; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchSearchStr; + bool bCurrentlyInFind; + bool bReverse; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int x; + int y; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie_params +{ + void *linux_side; + const char *pchHostname; + const char *pchKey; + const char *pchValue; + const char *pchPath; + RTime32 nExpires; + bool bSecure; + bool bHTTPOnly; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + float flZoom; + int nPointX; + int nPointY; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bBackgroundMode; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + float flDPIScaling; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bAllowed; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bResult; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char **pchSelectedFiles; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse_params *params ); + diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp index e82e0faa..cded5589 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp @@ -12,197 +12,191 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h" -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init(void *linux_side) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init_params *params ) { - bool _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->Init(); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->Init( ); } -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown(void *linux_side) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->Shutdown( ); } -SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser(void *linux_side, const char *pchUserAgent, const char *pchUserCSS) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamHTMLSurface*)linux_side)->CreateBrowser((const char *)pchUserAgent, (const char *)pchUserCSS); - return (_ret); + params->_ret = ((ISteamHTMLSurface*)params->linux_side)->CreateBrowser( (const char *)params->pchUserAgent, (const char *)params->pchUserCSS ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser_params *params ) { - ((ISteamHTMLSurface*)linux_side)->RemoveBrowser((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->RemoveBrowser( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchURL, const char *pchPostData) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL_params *params ) { - ((ISteamHTMLSurface*)linux_side)->LoadURL((HHTMLBrowser)unBrowserHandle, (const char *)pchURL, (const char *)pchPostData); + ((ISteamHTMLSurface*)params->linux_side)->LoadURL( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchURL, (const char *)params->pchPostData ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetSize((HHTMLBrowser)unBrowserHandle, (uint32)unWidth, (uint32)unHeight); + ((ISteamHTMLSurface*)params->linux_side)->SetSize( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->unWidth, (uint32)params->unHeight ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad_params *params ) { - ((ISteamHTMLSurface*)linux_side)->StopLoad((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->StopLoad( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload_params *params ) { - ((ISteamHTMLSurface*)linux_side)->Reload((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->Reload( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GoBack((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->GoBack( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GoForward((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->GoForward( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchKey, const char *pchValue) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader_params *params ) { - ((ISteamHTMLSurface*)linux_side)->AddHeader((HHTMLBrowser)unBrowserHandle, (const char *)pchKey, (const char *)pchValue); + ((ISteamHTMLSurface*)params->linux_side)->AddHeader( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchKey, (const char *)params->pchValue ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchScript) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript_params *params ) { - ((ISteamHTMLSurface*)linux_side)->ExecuteJavascript((HHTMLBrowser)unBrowserHandle, (const char *)pchScript); + ((ISteamHTMLSurface*)params->linux_side)->ExecuteJavascript( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchScript ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseUp((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseUp( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseDown((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseDown( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseDoubleClick((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + ((ISteamHTMLSurface*)params->linux_side)->MouseDoubleClick( (HHTMLBrowser)params->unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)params->eMouseButton ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseMove((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + ((ISteamHTMLSurface*)params->linux_side)->MouseMove( (HHTMLBrowser)params->unBrowserHandle, (int)params->x, (int)params->y ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel(void *linux_side, HHTMLBrowser unBrowserHandle, int32 nDelta) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel_params *params ) { - ((ISteamHTMLSurface*)linux_side)->MouseWheel((HHTMLBrowser)unBrowserHandle, (int32)nDelta); + ((ISteamHTMLSurface*)params->linux_side)->MouseWheel( (HHTMLBrowser)params->unBrowserHandle, (int32)params->nDelta ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers, bool bIsSystemKey) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown_params *params ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyDown((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers, (bool)bIsSystemKey); + params->nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + ((ISteamHTMLSurface*)params->linux_side)->KeyDown( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers, (bool)params->bIsSystemKey ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp_params *params ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyUp((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + params->nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + ((ISteamHTMLSurface*)params->linux_side)->KeyUp( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar_params *params ) { - ((ISteamHTMLSurface*)linux_side)->KeyChar((HHTMLBrowser)unBrowserHandle, (uint32)cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + ((ISteamHTMLSurface*)params->linux_side)->KeyChar( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)params->eHTMLKeyModifiers ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetHorizontalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + ((ISteamHTMLSurface*)params->linux_side)->SetHorizontalScroll( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nAbsolutePixelScroll ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetVerticalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + ((ISteamHTMLSurface*)params->linux_side)->SetVerticalScroll( (HHTMLBrowser)params->unBrowserHandle, (uint32)params->nAbsolutePixelScroll ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus(void *linux_side, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetKeyFocus((HHTMLBrowser)unBrowserHandle, (bool)bHasKeyFocus); + ((ISteamHTMLSurface*)params->linux_side)->SetKeyFocus( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bHasKeyFocus ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource_params *params ) { - ((ISteamHTMLSurface*)linux_side)->ViewSource((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->ViewSource( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard_params *params ) { - ((ISteamHTMLSurface*)linux_side)->CopyToClipboard((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->CopyToClipboard( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard_params *params ) { - ((ISteamHTMLSurface*)linux_side)->PasteFromClipboard((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->PasteFromClipboard( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find(void *linux_side, HHTMLBrowser unBrowserHandle, const char *pchSearchStr, bool bCurrentlyInFind, bool bReverse) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find_params *params ) { - ((ISteamHTMLSurface*)linux_side)->Find((HHTMLBrowser)unBrowserHandle, (const char *)pchSearchStr, (bool)bCurrentlyInFind, (bool)bReverse); + ((ISteamHTMLSurface*)params->linux_side)->Find( (HHTMLBrowser)params->unBrowserHandle, (const char *)params->pchSearchStr, (bool)params->bCurrentlyInFind, (bool)params->bReverse ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind_params *params ) { - ((ISteamHTMLSurface*)linux_side)->StopFind((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->StopFind( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition_params *params ) { - ((ISteamHTMLSurface*)linux_side)->GetLinkAtPosition((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + ((ISteamHTMLSurface*)params->linux_side)->GetLinkAtPosition( (HHTMLBrowser)params->unBrowserHandle, (int)params->x, (int)params->y ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie(void *linux_side, const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetCookie((const char *)pchHostname, (const char *)pchKey, (const char *)pchValue, (const char *)pchPath, (RTime32)nExpires, (bool)bSecure, (bool)bHTTPOnly); + ((ISteamHTMLSurface*)params->linux_side)->SetCookie( (const char *)params->pchHostname, (const char *)params->pchKey, (const char *)params->pchValue, (const char *)params->pchPath, (RTime32)params->nExpires, (bool)params->bSecure, (bool)params->bHTTPOnly ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor(void *linux_side, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetPageScaleFactor((HHTMLBrowser)unBrowserHandle, (float)flZoom, (int)nPointX, (int)nPointY); + ((ISteamHTMLSurface*)params->linux_side)->SetPageScaleFactor( (HHTMLBrowser)params->unBrowserHandle, (float)params->flZoom, (int)params->nPointX, (int)params->nPointY ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode(void *linux_side, HHTMLBrowser unBrowserHandle, bool bBackgroundMode) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetBackgroundMode((HHTMLBrowser)unBrowserHandle, (bool)bBackgroundMode); + ((ISteamHTMLSurface*)params->linux_side)->SetBackgroundMode( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bBackgroundMode ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor(void *linux_side, HHTMLBrowser unBrowserHandle, float flDPIScaling) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor_params *params ) { - ((ISteamHTMLSurface*)linux_side)->SetDPIScalingFactor((HHTMLBrowser)unBrowserHandle, (float)flDPIScaling); + ((ISteamHTMLSurface*)params->linux_side)->SetDPIScalingFactor( (HHTMLBrowser)params->unBrowserHandle, (float)params->flDPIScaling ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools(void *linux_side, HHTMLBrowser unBrowserHandle) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools_params *params ) { - ((ISteamHTMLSurface*)linux_side)->OpenDeveloperTools((HHTMLBrowser)unBrowserHandle); + ((ISteamHTMLSurface*)params->linux_side)->OpenDeveloperTools( (HHTMLBrowser)params->unBrowserHandle ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest(void *linux_side, HHTMLBrowser unBrowserHandle, bool bAllowed) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest_params *params ) { - ((ISteamHTMLSurface*)linux_side)->AllowStartRequest((HHTMLBrowser)unBrowserHandle, (bool)bAllowed); + ((ISteamHTMLSurface*)params->linux_side)->AllowStartRequest( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bAllowed ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, bool bResult) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse_params *params ) { - ((ISteamHTMLSurface*)linux_side)->JSDialogResponse((HHTMLBrowser)unBrowserHandle, (bool)bResult); + ((ISteamHTMLSurface*)params->linux_side)->JSDialogResponse( (HHTMLBrowser)params->unBrowserHandle, (bool)params->bResult ); } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, const char **pchSelectedFiles) +void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse_params *params ) { - ((ISteamHTMLSurface*)linux_side)->FileLoadDialogResponse((HHTMLBrowser)unBrowserHandle, (const char **)pchSelectedFiles); + ((ISteamHTMLSurface*)params->linux_side)->FileLoadDialogResponse( (HHTMLBrowser)params->unBrowserHandle, (const char **)params->pchSelectedFiles ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h index a1f424b4..5f225977 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h @@ -1,37 +1,303 @@ -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init(void *); -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown(void *); -extern SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser(void *, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize(void *, HHTMLBrowser, uint32, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript(void *, HHTMLBrowser, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel(void *, HHTMLBrowser, int32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find(void *, HHTMLBrowser, const char *, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie(void *, const char *, const char *, const char *, const char *, RTime32, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor(void *, HHTMLBrowser, float, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor(void *, HHTMLBrowser, float); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse(void *, HHTMLBrowser, const char **); +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchUserAgent; + const char *pchUserCSS; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchURL; + const char *pchPostData; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 unWidth; + uint32 unHeight; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchScript; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + EHTMLMouseButton eMouseButton; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int x; + int y; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int32 nDelta; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nNativeKeyCode; + EHTMLKeyModifiers eHTMLKeyModifiers; + bool bIsSystemKey; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nNativeKeyCode; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 cUnicodeChar; + EHTMLKeyModifiers eHTMLKeyModifiers; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nAbsolutePixelScroll; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + uint32 nAbsolutePixelScroll; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bHasKeyFocus; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char *pchSearchStr; + bool bCurrentlyInFind; + bool bReverse; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + int x; + int y; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie_params +{ + void *linux_side; + const char *pchHostname; + const char *pchKey; + const char *pchValue; + const char *pchPath; + RTime32 nExpires; + bool bSecure; + bool bHTTPOnly; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + float flZoom; + int nPointX; + int nPointY; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bBackgroundMode; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + float flDPIScaling; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bAllowed; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + bool bResult; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse_params *params ); + +struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse_params +{ + void *linux_side; + HHTMLBrowser unBrowserHandle; + const char **pchSelectedFiles; +}; +extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse_params *params ); + diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp index 4536ef43..53c3e68a 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp @@ -11,109 +11,79 @@ extern "C" { #define SDKVER_121 #include "struct_converters.h" #include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.h" -HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest(void *linux_side, EHTTPMethod eHTTPRequestMethod, const char *pchAbsoluteURL) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest_params *params ) { - HTTPRequestHandle _ret; - _ret = ((ISteamHTTP*)linux_side)->CreateHTTPRequest((EHTTPMethod)eHTTPRequestMethod, (const char *)pchAbsoluteURL); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->CreateHTTPRequest( (EHTTPMethod)params->eHTTPRequestMethod, (const char *)params->pchAbsoluteURL ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue(void *linux_side, HTTPRequestHandle hRequest, uint64 ulContextValue) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestContextValue((HTTPRequestHandle)hRequest, (uint64)ulContextValue); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestContextValue( (HTTPRequestHandle)params->hRequest, (uint64)params->ulContextValue ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout(void *linux_side, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestNetworkActivityTimeout((HTTPRequestHandle)hRequest, (uint32)unTimeoutSeconds); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestNetworkActivityTimeout( (HTTPRequestHandle)params->hRequest, (uint32)params->unTimeoutSeconds ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue(void *linux_side, HTTPRequestHandle hRequest, const char *pchHeaderName, const char *pchHeaderValue) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestHeaderValue((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (const char *)pchHeaderValue); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestHeaderValue( (HTTPRequestHandle)params->hRequest, (const char *)params->pchHeaderName, (const char *)params->pchHeaderValue ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter(void *linux_side, HTTPRequestHandle hRequest, const char *pchParamName, const char *pchParamValue) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestGetOrPostParameter((HTTPRequestHandle)hRequest, (const char *)pchParamName, (const char *)pchParamValue); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestGetOrPostParameter( (HTTPRequestHandle)params->hRequest, (const char *)params->pchParamName, (const char *)params->pchParamValue ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest(void *linux_side, HTTPRequestHandle hRequest, SteamAPICall_t *pCallHandle) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SendHTTPRequest((HTTPRequestHandle)hRequest, (SteamAPICall_t *)pCallHandle); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SendHTTPRequest( (HTTPRequestHandle)params->hRequest, (SteamAPICall_t *)params->pCallHandle ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->DeferHTTPRequest((HTTPRequestHandle)hRequest); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->DeferHTTPRequest( (HTTPRequestHandle)params->hRequest ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->PrioritizeHTTPRequest((HTTPRequestHandle)hRequest); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->PrioritizeHTTPRequest( (HTTPRequestHandle)params->hRequest ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize(void *linux_side, HTTPRequestHandle hRequest, const char *pchHeaderName, uint32 *unResponseHeaderSize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPResponseHeaderSize((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (uint32 *)unResponseHeaderSize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPResponseHeaderSize( (HTTPRequestHandle)params->hRequest, (const char *)params->pchHeaderName, (uint32 *)params->unResponseHeaderSize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue(void *linux_side, HTTPRequestHandle hRequest, const char *pchHeaderName, uint8 *pHeaderValueBuffer, uint32 unBufferSize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPResponseHeaderValue((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (uint8 *)pHeaderValueBuffer, (uint32)unBufferSize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPResponseHeaderValue( (HTTPRequestHandle)params->hRequest, (const char *)params->pchHeaderName, (uint8 *)params->pHeaderValueBuffer, (uint32)params->unBufferSize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize(void *linux_side, HTTPRequestHandle hRequest, uint32 *unBodySize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPResponseBodySize((HTTPRequestHandle)hRequest, (uint32 *)unBodySize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPResponseBodySize( (HTTPRequestHandle)params->hRequest, (uint32 *)params->unBodySize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData(void *linux_side, HTTPRequestHandle hRequest, uint8 *pBodyDataBuffer, uint32 unBufferSize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPResponseBodyData((HTTPRequestHandle)hRequest, (uint8 *)pBodyDataBuffer, (uint32)unBufferSize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPResponseBodyData( (HTTPRequestHandle)params->hRequest, (uint8 *)params->pBodyDataBuffer, (uint32)params->unBufferSize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->ReleaseHTTPRequest((HTTPRequestHandle)hRequest); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->ReleaseHTTPRequest( (HTTPRequestHandle)params->hRequest ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct(void *linux_side, HTTPRequestHandle hRequest, float *pflPercentOut) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPDownloadProgressPct((HTTPRequestHandle)hRequest, (float *)pflPercentOut); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPDownloadProgressPct( (HTTPRequestHandle)params->hRequest, (float *)params->pflPercentOut ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody(void *linux_side, HTTPRequestHandle hRequest, const char *pchContentType, uint8 *pubBody, uint32 unBodyLen) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestRawPostBody((HTTPRequestHandle)hRequest, (const char *)pchContentType, (uint8 *)pubBody, (uint32)unBodyLen); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestRawPostBody( (HTTPRequestHandle)params->hRequest, (const char *)params->pchContentType, (uint8 *)params->pubBody, (uint32)params->unBodyLen ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.h b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.h index 1a476937..7005db87 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.h +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.h @@ -1,15 +1,140 @@ -extern HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest(void *, EHTTPMethod, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue(void *, HTTPRequestHandle, uint64); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout(void *, HTTPRequestHandle, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue(void *, HTTPRequestHandle, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter(void *, HTTPRequestHandle, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest(void *, HTTPRequestHandle, SteamAPICall_t *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize(void *, HTTPRequestHandle, const char *, uint32 *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue(void *, HTTPRequestHandle, const char *, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize(void *, HTTPRequestHandle, uint32 *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData(void *, HTTPRequestHandle, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct(void *, HTTPRequestHandle, float *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody(void *, HTTPRequestHandle, const char *, uint8 *, uint32); +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest_params +{ + void *linux_side; + HTTPRequestHandle _ret; + EHTTPMethod eHTTPRequestMethod; + const char *pchAbsoluteURL; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint64 ulContextValue; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint32 unTimeoutSeconds; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchHeaderName; + const char *pchHeaderValue; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchParamName; + const char *pchParamValue; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + SteamAPICall_t *pCallHandle; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchHeaderName; + uint32 *unResponseHeaderSize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchHeaderName; + uint8 *pHeaderValueBuffer; + uint32 unBufferSize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint32 *unBodySize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint8 *pBodyDataBuffer; + uint32 unBufferSize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + float *pflPercentOut; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchContentType; + uint8 *pubBody; + uint32 unBodyLen; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody_params *params ); + diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp index b8aa06ee..79db302b 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp @@ -11,179 +11,129 @@ extern "C" { #define SDKVER_142 #include "struct_converters.h" #include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.h" -HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest(void *linux_side, EHTTPMethod eHTTPRequestMethod, const char *pchAbsoluteURL) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest_params *params ) { - HTTPRequestHandle _ret; - _ret = ((ISteamHTTP*)linux_side)->CreateHTTPRequest((EHTTPMethod)eHTTPRequestMethod, (const char *)pchAbsoluteURL); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->CreateHTTPRequest( (EHTTPMethod)params->eHTTPRequestMethod, (const char *)params->pchAbsoluteURL ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue(void *linux_side, HTTPRequestHandle hRequest, uint64 ulContextValue) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestContextValue((HTTPRequestHandle)hRequest, (uint64)ulContextValue); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestContextValue( (HTTPRequestHandle)params->hRequest, (uint64)params->ulContextValue ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout(void *linux_side, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestNetworkActivityTimeout((HTTPRequestHandle)hRequest, (uint32)unTimeoutSeconds); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestNetworkActivityTimeout( (HTTPRequestHandle)params->hRequest, (uint32)params->unTimeoutSeconds ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue(void *linux_side, HTTPRequestHandle hRequest, const char *pchHeaderName, const char *pchHeaderValue) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestHeaderValue((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (const char *)pchHeaderValue); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestHeaderValue( (HTTPRequestHandle)params->hRequest, (const char *)params->pchHeaderName, (const char *)params->pchHeaderValue ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter(void *linux_side, HTTPRequestHandle hRequest, const char *pchParamName, const char *pchParamValue) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestGetOrPostParameter((HTTPRequestHandle)hRequest, (const char *)pchParamName, (const char *)pchParamValue); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestGetOrPostParameter( (HTTPRequestHandle)params->hRequest, (const char *)params->pchParamName, (const char *)params->pchParamValue ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest(void *linux_side, HTTPRequestHandle hRequest, SteamAPICall_t *pCallHandle) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SendHTTPRequest((HTTPRequestHandle)hRequest, (SteamAPICall_t *)pCallHandle); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SendHTTPRequest( (HTTPRequestHandle)params->hRequest, (SteamAPICall_t *)params->pCallHandle ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse(void *linux_side, HTTPRequestHandle hRequest, SteamAPICall_t *pCallHandle) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SendHTTPRequestAndStreamResponse((HTTPRequestHandle)hRequest, (SteamAPICall_t *)pCallHandle); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SendHTTPRequestAndStreamResponse( (HTTPRequestHandle)params->hRequest, (SteamAPICall_t *)params->pCallHandle ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->DeferHTTPRequest((HTTPRequestHandle)hRequest); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->DeferHTTPRequest( (HTTPRequestHandle)params->hRequest ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->PrioritizeHTTPRequest((HTTPRequestHandle)hRequest); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->PrioritizeHTTPRequest( (HTTPRequestHandle)params->hRequest ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize(void *linux_side, HTTPRequestHandle hRequest, const char *pchHeaderName, uint32 *unResponseHeaderSize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPResponseHeaderSize((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (uint32 *)unResponseHeaderSize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPResponseHeaderSize( (HTTPRequestHandle)params->hRequest, (const char *)params->pchHeaderName, (uint32 *)params->unResponseHeaderSize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue(void *linux_side, HTTPRequestHandle hRequest, const char *pchHeaderName, uint8 *pHeaderValueBuffer, uint32 unBufferSize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPResponseHeaderValue((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (uint8 *)pHeaderValueBuffer, (uint32)unBufferSize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPResponseHeaderValue( (HTTPRequestHandle)params->hRequest, (const char *)params->pchHeaderName, (uint8 *)params->pHeaderValueBuffer, (uint32)params->unBufferSize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize(void *linux_side, HTTPRequestHandle hRequest, uint32 *unBodySize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPResponseBodySize((HTTPRequestHandle)hRequest, (uint32 *)unBodySize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPResponseBodySize( (HTTPRequestHandle)params->hRequest, (uint32 *)params->unBodySize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData(void *linux_side, HTTPRequestHandle hRequest, uint8 *pBodyDataBuffer, uint32 unBufferSize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPResponseBodyData((HTTPRequestHandle)hRequest, (uint8 *)pBodyDataBuffer, (uint32)unBufferSize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPResponseBodyData( (HTTPRequestHandle)params->hRequest, (uint8 *)params->pBodyDataBuffer, (uint32)params->unBufferSize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData(void *linux_side, HTTPRequestHandle hRequest, uint32 cOffset, uint8 *pBodyDataBuffer, uint32 unBufferSize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPStreamingResponseBodyData((HTTPRequestHandle)hRequest, (uint32)cOffset, (uint8 *)pBodyDataBuffer, (uint32)unBufferSize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPStreamingResponseBodyData( (HTTPRequestHandle)params->hRequest, (uint32)params->cOffset, (uint8 *)params->pBodyDataBuffer, (uint32)params->unBufferSize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->ReleaseHTTPRequest((HTTPRequestHandle)hRequest); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->ReleaseHTTPRequest( (HTTPRequestHandle)params->hRequest ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct(void *linux_side, HTTPRequestHandle hRequest, float *pflPercentOut) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPDownloadProgressPct((HTTPRequestHandle)hRequest, (float *)pflPercentOut); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPDownloadProgressPct( (HTTPRequestHandle)params->hRequest, (float *)params->pflPercentOut ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody(void *linux_side, HTTPRequestHandle hRequest, const char *pchContentType, uint8 *pubBody, uint32 unBodyLen) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestRawPostBody((HTTPRequestHandle)hRequest, (const char *)pchContentType, (uint8 *)pubBody, (uint32)unBodyLen); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestRawPostBody( (HTTPRequestHandle)params->hRequest, (const char *)params->pchContentType, (uint8 *)params->pubBody, (uint32)params->unBodyLen ); } -HTTPCookieContainerHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer(void *linux_side, bool bAllowResponsesToModify) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer_params *params ) { - HTTPCookieContainerHandle _ret; - _ret = ((ISteamHTTP*)linux_side)->CreateCookieContainer((bool)bAllowResponsesToModify); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->CreateCookieContainer( (bool)params->bAllowResponsesToModify ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer(void *linux_side, HTTPCookieContainerHandle hCookieContainer) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->ReleaseCookieContainer((HTTPCookieContainerHandle)hCookieContainer); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->ReleaseCookieContainer( (HTTPCookieContainerHandle)params->hCookieContainer ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie(void *linux_side, HTTPCookieContainerHandle hCookieContainer, const char *pchHost, const char *pchUrl, const char *pchCookie) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetCookie((HTTPCookieContainerHandle)hCookieContainer, (const char *)pchHost, (const char *)pchUrl, (const char *)pchCookie); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetCookie( (HTTPCookieContainerHandle)params->hCookieContainer, (const char *)params->pchHost, (const char *)params->pchUrl, (const char *)params->pchCookie ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer(void *linux_side, HTTPRequestHandle hRequest, HTTPCookieContainerHandle hCookieContainer) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestCookieContainer((HTTPRequestHandle)hRequest, (HTTPCookieContainerHandle)hCookieContainer); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestCookieContainer( (HTTPRequestHandle)params->hRequest, (HTTPCookieContainerHandle)params->hCookieContainer ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo(void *linux_side, HTTPRequestHandle hRequest, const char *pchUserAgentInfo) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestUserAgentInfo((HTTPRequestHandle)hRequest, (const char *)pchUserAgentInfo); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestUserAgentInfo( (HTTPRequestHandle)params->hRequest, (const char *)params->pchUserAgentInfo ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate(void *linux_side, HTTPRequestHandle hRequest, bool bRequireVerifiedCertificate) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestRequiresVerifiedCertificate((HTTPRequestHandle)hRequest, (bool)bRequireVerifiedCertificate); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestRequiresVerifiedCertificate( (HTTPRequestHandle)params->hRequest, (bool)params->bRequireVerifiedCertificate ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS(void *linux_side, HTTPRequestHandle hRequest, uint32 unMilliseconds) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestAbsoluteTimeoutMS((HTTPRequestHandle)hRequest, (uint32)unMilliseconds); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestAbsoluteTimeoutMS( (HTTPRequestHandle)params->hRequest, (uint32)params->unMilliseconds ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut(void *linux_side, HTTPRequestHandle hRequest, bool *pbWasTimedOut) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPRequestWasTimedOut((HTTPRequestHandle)hRequest, (bool *)pbWasTimedOut); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPRequestWasTimedOut( (HTTPRequestHandle)params->hRequest, (bool *)params->pbWasTimedOut ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.h b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.h index 14b63a1e..78b9468f 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.h +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.h @@ -1,25 +1,232 @@ -extern HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest(void *, EHTTPMethod, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue(void *, HTTPRequestHandle, uint64); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout(void *, HTTPRequestHandle, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue(void *, HTTPRequestHandle, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter(void *, HTTPRequestHandle, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest(void *, HTTPRequestHandle, SteamAPICall_t *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse(void *, HTTPRequestHandle, SteamAPICall_t *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize(void *, HTTPRequestHandle, const char *, uint32 *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue(void *, HTTPRequestHandle, const char *, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize(void *, HTTPRequestHandle, uint32 *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData(void *, HTTPRequestHandle, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData(void *, HTTPRequestHandle, uint32, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct(void *, HTTPRequestHandle, float *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody(void *, HTTPRequestHandle, const char *, uint8 *, uint32); -extern HTTPCookieContainerHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer(void *, bool); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer(void *, HTTPCookieContainerHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie(void *, HTTPCookieContainerHandle, const char *, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer(void *, HTTPRequestHandle, HTTPCookieContainerHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo(void *, HTTPRequestHandle, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate(void *, HTTPRequestHandle, bool); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS(void *, HTTPRequestHandle, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut(void *, HTTPRequestHandle, bool *); +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest_params +{ + void *linux_side; + HTTPRequestHandle _ret; + EHTTPMethod eHTTPRequestMethod; + const char *pchAbsoluteURL; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint64 ulContextValue; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint32 unTimeoutSeconds; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchHeaderName; + const char *pchHeaderValue; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchParamName; + const char *pchParamValue; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + SteamAPICall_t *pCallHandle; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + SteamAPICall_t *pCallHandle; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchHeaderName; + uint32 *unResponseHeaderSize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchHeaderName; + uint8 *pHeaderValueBuffer; + uint32 unBufferSize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint32 *unBodySize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint8 *pBodyDataBuffer; + uint32 unBufferSize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint32 cOffset; + uint8 *pBodyDataBuffer; + uint32 unBufferSize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + float *pflPercentOut; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchContentType; + uint8 *pubBody; + uint32 unBodyLen; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer_params +{ + void *linux_side; + HTTPCookieContainerHandle _ret; + bool bAllowResponsesToModify; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer_params +{ + void *linux_side; + bool _ret; + HTTPCookieContainerHandle hCookieContainer; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie_params +{ + void *linux_side; + bool _ret; + HTTPCookieContainerHandle hCookieContainer; + const char *pchHost; + const char *pchUrl; + const char *pchCookie; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + HTTPCookieContainerHandle hCookieContainer; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchUserAgentInfo; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + bool bRequireVerifiedCertificate; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint32 unMilliseconds; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + bool *pbWasTimedOut; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut_params *params ); + diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp index fb43838b..766b4306 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp @@ -12,179 +12,129 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h" -HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest(void *linux_side, EHTTPMethod eHTTPRequestMethod, const char *pchAbsoluteURL) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest_params *params ) { - HTTPRequestHandle _ret; - _ret = ((ISteamHTTP*)linux_side)->CreateHTTPRequest((EHTTPMethod)eHTTPRequestMethod, (const char *)pchAbsoluteURL); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->CreateHTTPRequest( (EHTTPMethod)params->eHTTPRequestMethod, (const char *)params->pchAbsoluteURL ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue(void *linux_side, HTTPRequestHandle hRequest, uint64 ulContextValue) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestContextValue((HTTPRequestHandle)hRequest, (uint64)ulContextValue); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestContextValue( (HTTPRequestHandle)params->hRequest, (uint64)params->ulContextValue ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout(void *linux_side, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestNetworkActivityTimeout((HTTPRequestHandle)hRequest, (uint32)unTimeoutSeconds); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestNetworkActivityTimeout( (HTTPRequestHandle)params->hRequest, (uint32)params->unTimeoutSeconds ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue(void *linux_side, HTTPRequestHandle hRequest, const char *pchHeaderName, const char *pchHeaderValue) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestHeaderValue((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (const char *)pchHeaderValue); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestHeaderValue( (HTTPRequestHandle)params->hRequest, (const char *)params->pchHeaderName, (const char *)params->pchHeaderValue ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter(void *linux_side, HTTPRequestHandle hRequest, const char *pchParamName, const char *pchParamValue) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestGetOrPostParameter((HTTPRequestHandle)hRequest, (const char *)pchParamName, (const char *)pchParamValue); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestGetOrPostParameter( (HTTPRequestHandle)params->hRequest, (const char *)params->pchParamName, (const char *)params->pchParamValue ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest(void *linux_side, HTTPRequestHandle hRequest, SteamAPICall_t *pCallHandle) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SendHTTPRequest((HTTPRequestHandle)hRequest, (SteamAPICall_t *)pCallHandle); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SendHTTPRequest( (HTTPRequestHandle)params->hRequest, (SteamAPICall_t *)params->pCallHandle ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse(void *linux_side, HTTPRequestHandle hRequest, SteamAPICall_t *pCallHandle) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SendHTTPRequestAndStreamResponse((HTTPRequestHandle)hRequest, (SteamAPICall_t *)pCallHandle); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SendHTTPRequestAndStreamResponse( (HTTPRequestHandle)params->hRequest, (SteamAPICall_t *)params->pCallHandle ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->DeferHTTPRequest((HTTPRequestHandle)hRequest); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->DeferHTTPRequest( (HTTPRequestHandle)params->hRequest ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->PrioritizeHTTPRequest((HTTPRequestHandle)hRequest); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->PrioritizeHTTPRequest( (HTTPRequestHandle)params->hRequest ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize(void *linux_side, HTTPRequestHandle hRequest, const char *pchHeaderName, uint32 *unResponseHeaderSize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPResponseHeaderSize((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (uint32 *)unResponseHeaderSize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPResponseHeaderSize( (HTTPRequestHandle)params->hRequest, (const char *)params->pchHeaderName, (uint32 *)params->unResponseHeaderSize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue(void *linux_side, HTTPRequestHandle hRequest, const char *pchHeaderName, uint8 *pHeaderValueBuffer, uint32 unBufferSize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPResponseHeaderValue((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (uint8 *)pHeaderValueBuffer, (uint32)unBufferSize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPResponseHeaderValue( (HTTPRequestHandle)params->hRequest, (const char *)params->pchHeaderName, (uint8 *)params->pHeaderValueBuffer, (uint32)params->unBufferSize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize(void *linux_side, HTTPRequestHandle hRequest, uint32 *unBodySize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPResponseBodySize((HTTPRequestHandle)hRequest, (uint32 *)unBodySize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPResponseBodySize( (HTTPRequestHandle)params->hRequest, (uint32 *)params->unBodySize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData(void *linux_side, HTTPRequestHandle hRequest, uint8 *pBodyDataBuffer, uint32 unBufferSize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPResponseBodyData((HTTPRequestHandle)hRequest, (uint8 *)pBodyDataBuffer, (uint32)unBufferSize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPResponseBodyData( (HTTPRequestHandle)params->hRequest, (uint8 *)params->pBodyDataBuffer, (uint32)params->unBufferSize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData(void *linux_side, HTTPRequestHandle hRequest, uint32 cOffset, uint8 *pBodyDataBuffer, uint32 unBufferSize) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPStreamingResponseBodyData((HTTPRequestHandle)hRequest, (uint32)cOffset, (uint8 *)pBodyDataBuffer, (uint32)unBufferSize); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPStreamingResponseBodyData( (HTTPRequestHandle)params->hRequest, (uint32)params->cOffset, (uint8 *)params->pBodyDataBuffer, (uint32)params->unBufferSize ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->ReleaseHTTPRequest((HTTPRequestHandle)hRequest); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->ReleaseHTTPRequest( (HTTPRequestHandle)params->hRequest ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct(void *linux_side, HTTPRequestHandle hRequest, float *pflPercentOut) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPDownloadProgressPct((HTTPRequestHandle)hRequest, (float *)pflPercentOut); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPDownloadProgressPct( (HTTPRequestHandle)params->hRequest, (float *)params->pflPercentOut ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody(void *linux_side, HTTPRequestHandle hRequest, const char *pchContentType, uint8 *pubBody, uint32 unBodyLen) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestRawPostBody((HTTPRequestHandle)hRequest, (const char *)pchContentType, (uint8 *)pubBody, (uint32)unBodyLen); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestRawPostBody( (HTTPRequestHandle)params->hRequest, (const char *)params->pchContentType, (uint8 *)params->pubBody, (uint32)params->unBodyLen ); } -HTTPCookieContainerHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer(void *linux_side, bool bAllowResponsesToModify) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer_params *params ) { - HTTPCookieContainerHandle _ret; - _ret = ((ISteamHTTP*)linux_side)->CreateCookieContainer((bool)bAllowResponsesToModify); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->CreateCookieContainer( (bool)params->bAllowResponsesToModify ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer(void *linux_side, HTTPCookieContainerHandle hCookieContainer) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->ReleaseCookieContainer((HTTPCookieContainerHandle)hCookieContainer); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->ReleaseCookieContainer( (HTTPCookieContainerHandle)params->hCookieContainer ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie(void *linux_side, HTTPCookieContainerHandle hCookieContainer, const char *pchHost, const char *pchUrl, const char *pchCookie) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetCookie((HTTPCookieContainerHandle)hCookieContainer, (const char *)pchHost, (const char *)pchUrl, (const char *)pchCookie); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetCookie( (HTTPCookieContainerHandle)params->hCookieContainer, (const char *)params->pchHost, (const char *)params->pchUrl, (const char *)params->pchCookie ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer(void *linux_side, HTTPRequestHandle hRequest, HTTPCookieContainerHandle hCookieContainer) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestCookieContainer((HTTPRequestHandle)hRequest, (HTTPCookieContainerHandle)hCookieContainer); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestCookieContainer( (HTTPRequestHandle)params->hRequest, (HTTPCookieContainerHandle)params->hCookieContainer ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo(void *linux_side, HTTPRequestHandle hRequest, const char *pchUserAgentInfo) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestUserAgentInfo((HTTPRequestHandle)hRequest, (const char *)pchUserAgentInfo); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestUserAgentInfo( (HTTPRequestHandle)params->hRequest, (const char *)params->pchUserAgentInfo ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate(void *linux_side, HTTPRequestHandle hRequest, bool bRequireVerifiedCertificate) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestRequiresVerifiedCertificate((HTTPRequestHandle)hRequest, (bool)bRequireVerifiedCertificate); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestRequiresVerifiedCertificate( (HTTPRequestHandle)params->hRequest, (bool)params->bRequireVerifiedCertificate ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS(void *linux_side, HTTPRequestHandle hRequest, uint32 unMilliseconds) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->SetHTTPRequestAbsoluteTimeoutMS((HTTPRequestHandle)hRequest, (uint32)unMilliseconds); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->SetHTTPRequestAbsoluteTimeoutMS( (HTTPRequestHandle)params->hRequest, (uint32)params->unMilliseconds ); } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut(void *linux_side, HTTPRequestHandle hRequest, bool *pbWasTimedOut) +void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut_params *params ) { - bool _ret; - _ret = ((ISteamHTTP*)linux_side)->GetHTTPRequestWasTimedOut((HTTPRequestHandle)hRequest, (bool *)pbWasTimedOut); - return (_ret); + params->_ret = ((ISteamHTTP*)params->linux_side)->GetHTTPRequestWasTimedOut( (HTTPRequestHandle)params->hRequest, (bool *)params->pbWasTimedOut ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h index 12978553..1827aac6 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h @@ -1,25 +1,232 @@ -extern HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest(void *, EHTTPMethod, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue(void *, HTTPRequestHandle, uint64); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout(void *, HTTPRequestHandle, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue(void *, HTTPRequestHandle, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter(void *, HTTPRequestHandle, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest(void *, HTTPRequestHandle, SteamAPICall_t *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse(void *, HTTPRequestHandle, SteamAPICall_t *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize(void *, HTTPRequestHandle, const char *, uint32 *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue(void *, HTTPRequestHandle, const char *, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize(void *, HTTPRequestHandle, uint32 *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData(void *, HTTPRequestHandle, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData(void *, HTTPRequestHandle, uint32, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct(void *, HTTPRequestHandle, float *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody(void *, HTTPRequestHandle, const char *, uint8 *, uint32); -extern HTTPCookieContainerHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer(void *, bool); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer(void *, HTTPCookieContainerHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie(void *, HTTPCookieContainerHandle, const char *, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer(void *, HTTPRequestHandle, HTTPCookieContainerHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo(void *, HTTPRequestHandle, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate(void *, HTTPRequestHandle, bool); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS(void *, HTTPRequestHandle, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut(void *, HTTPRequestHandle, bool *); +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest_params +{ + void *linux_side; + HTTPRequestHandle _ret; + EHTTPMethod eHTTPRequestMethod; + const char *pchAbsoluteURL; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint64 ulContextValue; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint32 unTimeoutSeconds; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchHeaderName; + const char *pchHeaderValue; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchParamName; + const char *pchParamValue; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + SteamAPICall_t *pCallHandle; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + SteamAPICall_t *pCallHandle; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchHeaderName; + uint32 *unResponseHeaderSize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchHeaderName; + uint8 *pHeaderValueBuffer; + uint32 unBufferSize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint32 *unBodySize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint8 *pBodyDataBuffer; + uint32 unBufferSize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint32 cOffset; + uint8 *pBodyDataBuffer; + uint32 unBufferSize; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + float *pflPercentOut; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchContentType; + uint8 *pubBody; + uint32 unBodyLen; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer_params +{ + void *linux_side; + HTTPCookieContainerHandle _ret; + bool bAllowResponsesToModify; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer_params +{ + void *linux_side; + bool _ret; + HTTPCookieContainerHandle hCookieContainer; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie_params +{ + void *linux_side; + bool _ret; + HTTPCookieContainerHandle hCookieContainer; + const char *pchHost; + const char *pchUrl; + const char *pchCookie; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + HTTPCookieContainerHandle hCookieContainer; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + const char *pchUserAgentInfo; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + bool bRequireVerifiedCertificate; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + uint32 unMilliseconds; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS_params *params ); + +struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut_params +{ + void *linux_side; + bool _ret; + HTTPRequestHandle hRequest; + bool *pbWasTimedOut; +}; +extern void cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut( struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut_params *params ); + diff --git a/lsteamclient/cppISteamInput_SteamInput001.cpp b/lsteamclient/cppISteamInput_SteamInput001.cpp index 04946db8..af6e0251 100644 --- a/lsteamclient/cppISteamInput_SteamInput001.cpp +++ b/lsteamclient/cppISteamInput_SteamInput001.cpp @@ -12,215 +12,169 @@ extern "C" { #define SDKVER_150 #include "struct_converters.h" #include "cppISteamInput_SteamInput001.h" -bool cppISteamInput_SteamInput001_Init(void *linux_side) +void cppISteamInput_SteamInput001_Init( struct cppISteamInput_SteamInput001_Init_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->Init(); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->Init( ); } -bool cppISteamInput_SteamInput001_Shutdown(void *linux_side) +void cppISteamInput_SteamInput001_Shutdown( struct cppISteamInput_SteamInput001_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->Shutdown( ); } -void cppISteamInput_SteamInput001_RunFrame(void *linux_side) +void cppISteamInput_SteamInput001_RunFrame( struct cppISteamInput_SteamInput001_RunFrame_params *params ) { - ((ISteamInput*)linux_side)->RunFrame(); + ((ISteamInput*)params->linux_side)->RunFrame( ); } -int cppISteamInput_SteamInput001_GetConnectedControllers(void *linux_side, InputHandle_t *handlesOut) +void cppISteamInput_SteamInput001_GetConnectedControllers( struct cppISteamInput_SteamInput001_GetConnectedControllers_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetConnectedControllers((InputHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetConnectedControllers( (InputHandle_t *)params->handlesOut ); } -InputActionSetHandle_t cppISteamInput_SteamInput001_GetActionSetHandle(void *linux_side, const char *pszActionSetName) +void cppISteamInput_SteamInput001_GetActionSetHandle( struct cppISteamInput_SteamInput001_GetActionSetHandle_params *params ) { - InputActionSetHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetActionSetHandle( (const char *)params->pszActionSetName ); } -void cppISteamInput_SteamInput001_ActivateActionSet(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +void cppISteamInput_SteamInput001_ActivateActionSet( struct cppISteamInput_SteamInput001_ActivateActionSet_params *params ) { - ((ISteamInput*)linux_side)->ActivateActionSet((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle); + ((ISteamInput*)params->linux_side)->ActivateActionSet( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetHandle ); } -InputActionSetHandle_t cppISteamInput_SteamInput001_GetCurrentActionSet(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput001_GetCurrentActionSet( struct cppISteamInput_SteamInput001_GetCurrentActionSet_params *params ) { - InputActionSetHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetCurrentActionSet((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetCurrentActionSet( (InputHandle_t)params->inputHandle ); } -void cppISteamInput_SteamInput001_ActivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +void cppISteamInput_SteamInput001_ActivateActionSetLayer( struct cppISteamInput_SteamInput001_ActivateActionSetLayer_params *params ) { - ((ISteamInput*)linux_side)->ActivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + ((ISteamInput*)params->linux_side)->ActivateActionSetLayer( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamInput_SteamInput001_DeactivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +void cppISteamInput_SteamInput001_DeactivateActionSetLayer( struct cppISteamInput_SteamInput001_DeactivateActionSetLayer_params *params ) { - ((ISteamInput*)linux_side)->DeactivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + ((ISteamInput*)params->linux_side)->DeactivateActionSetLayer( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamInput_SteamInput001_DeactivateAllActionSetLayers(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput001_DeactivateAllActionSetLayers( struct cppISteamInput_SteamInput001_DeactivateAllActionSetLayers_params *params ) { - ((ISteamInput*)linux_side)->DeactivateAllActionSetLayers((InputHandle_t)inputHandle); + ((ISteamInput*)params->linux_side)->DeactivateAllActionSetLayers( (InputHandle_t)params->inputHandle ); } -int cppISteamInput_SteamInput001_GetActiveActionSetLayers(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t *handlesOut) +void cppISteamInput_SteamInput001_GetActiveActionSetLayers( struct cppISteamInput_SteamInput001_GetActiveActionSetLayers_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetActiveActionSetLayers((InputHandle_t)inputHandle, (InputActionSetHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetActiveActionSetLayers( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t *)params->handlesOut ); } -InputDigitalActionHandle_t cppISteamInput_SteamInput001_GetDigitalActionHandle(void *linux_side, const char *pszActionName) +void cppISteamInput_SteamInput001_GetDigitalActionHandle( struct cppISteamInput_SteamInput001_GetDigitalActionHandle_params *params ) { - InputDigitalActionHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetDigitalActionHandle( (const char *)params->pszActionName ); } -InputDigitalActionData_t cppISteamInput_SteamInput001_GetDigitalActionData(void *linux_side, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +void cppISteamInput_SteamInput001_GetDigitalActionData( struct cppISteamInput_SteamInput001_GetDigitalActionData_params *params ) { - InputDigitalActionData_t _ret; - _ret = ((ISteamInput*)linux_side)->GetDigitalActionData((InputHandle_t)inputHandle, (InputDigitalActionHandle_t)digitalActionHandle); - return (_ret); + *params->_ret = ((ISteamInput*)params->linux_side)->GetDigitalActionData( (InputHandle_t)params->inputHandle, (InputDigitalActionHandle_t)params->digitalActionHandle ); } -int cppISteamInput_SteamInput001_GetDigitalActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin *originsOut) +void cppISteamInput_SteamInput001_GetDigitalActionOrigins( struct cppISteamInput_SteamInput001_GetDigitalActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetDigitalActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputDigitalActionHandle_t)digitalActionHandle, (EInputActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetDigitalActionOrigins( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetHandle, (InputDigitalActionHandle_t)params->digitalActionHandle, (EInputActionOrigin *)params->originsOut ); } -InputAnalogActionHandle_t cppISteamInput_SteamInput001_GetAnalogActionHandle(void *linux_side, const char *pszActionName) +void cppISteamInput_SteamInput001_GetAnalogActionHandle( struct cppISteamInput_SteamInput001_GetAnalogActionHandle_params *params ) { - InputAnalogActionHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetAnalogActionHandle( (const char *)params->pszActionName ); } -InputAnalogActionData_t cppISteamInput_SteamInput001_GetAnalogActionData(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) +void cppISteamInput_SteamInput001_GetAnalogActionData( struct cppISteamInput_SteamInput001_GetAnalogActionData_params *params ) { - InputAnalogActionData_t _ret; - _ret = ((ISteamInput*)linux_side)->GetAnalogActionData((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)analogActionHandle); - return (_ret); + *params->_ret = ((ISteamInput*)params->linux_side)->GetAnalogActionData( (InputHandle_t)params->inputHandle, (InputAnalogActionHandle_t)params->analogActionHandle ); } -int cppISteamInput_SteamInput001_GetAnalogActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin *originsOut) +void cppISteamInput_SteamInput001_GetAnalogActionOrigins( struct cppISteamInput_SteamInput001_GetAnalogActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetAnalogActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputAnalogActionHandle_t)analogActionHandle, (EInputActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetAnalogActionOrigins( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetHandle, (InputAnalogActionHandle_t)params->analogActionHandle, (EInputActionOrigin *)params->originsOut ); } -const char * cppISteamInput_SteamInput001_GetStringForActionOrigin(void *linux_side, EInputActionOrigin eOrigin) +void cppISteamInput_SteamInput001_GetStringForActionOrigin( struct cppISteamInput_SteamInput001_GetStringForActionOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamInput*)linux_side)->GetStringForActionOrigin((EInputActionOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetStringForActionOrigin( (EInputActionOrigin)params->eOrigin ); } -void cppISteamInput_SteamInput001_StopAnalogActionMomentum(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) +void cppISteamInput_SteamInput001_StopAnalogActionMomentum( struct cppISteamInput_SteamInput001_StopAnalogActionMomentum_params *params ) { - ((ISteamInput*)linux_side)->StopAnalogActionMomentum((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)eAction); + ((ISteamInput*)params->linux_side)->StopAnalogActionMomentum( (InputHandle_t)params->inputHandle, (InputAnalogActionHandle_t)params->eAction ); } -InputMotionData_t cppISteamInput_SteamInput001_GetMotionData(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput001_GetMotionData( struct cppISteamInput_SteamInput001_GetMotionData_params *params ) { - InputMotionData_t _ret; - _ret = ((ISteamInput*)linux_side)->GetMotionData((InputHandle_t)inputHandle); - return (_ret); + *params->_ret = ((ISteamInput*)params->linux_side)->GetMotionData( (InputHandle_t)params->inputHandle ); } -void cppISteamInput_SteamInput001_TriggerVibration(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +void cppISteamInput_SteamInput001_TriggerVibration( struct cppISteamInput_SteamInput001_TriggerVibration_params *params ) { - ((ISteamInput*)linux_side)->TriggerVibration((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + ((ISteamInput*)params->linux_side)->TriggerVibration( (InputHandle_t)params->inputHandle, (unsigned short)params->usLeftSpeed, (unsigned short)params->usRightSpeed ); } -void cppISteamInput_SteamInput001_SetLEDColor(void *linux_side, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +void cppISteamInput_SteamInput001_SetLEDColor( struct cppISteamInput_SteamInput001_SetLEDColor_params *params ) { - ((ISteamInput*)linux_side)->SetLEDColor((InputHandle_t)inputHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + ((ISteamInput*)params->linux_side)->SetLEDColor( (InputHandle_t)params->inputHandle, (uint8)params->nColorR, (uint8)params->nColorG, (uint8)params->nColorB, (unsigned int)params->nFlags ); } -void cppISteamInput_SteamInput001_TriggerHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void cppISteamInput_SteamInput001_TriggerHapticPulse( struct cppISteamInput_SteamInput001_TriggerHapticPulse_params *params ) { - ((ISteamInput*)linux_side)->TriggerHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + ((ISteamInput*)params->linux_side)->TriggerHapticPulse( (InputHandle_t)params->inputHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec ); } -void cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +void cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse( struct cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse_params *params ) { - ((ISteamInput*)linux_side)->TriggerRepeatedHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + ((ISteamInput*)params->linux_side)->TriggerRepeatedHapticPulse( (InputHandle_t)params->inputHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec, (unsigned short)params->usOffMicroSec, (unsigned short)params->unRepeat, (unsigned int)params->nFlags ); } -bool cppISteamInput_SteamInput001_ShowBindingPanel(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput001_ShowBindingPanel( struct cppISteamInput_SteamInput001_ShowBindingPanel_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->ShowBindingPanel((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->ShowBindingPanel( (InputHandle_t)params->inputHandle ); } -ESteamInputType cppISteamInput_SteamInput001_GetInputTypeForHandle(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput001_GetInputTypeForHandle( struct cppISteamInput_SteamInput001_GetInputTypeForHandle_params *params ) { - ESteamInputType _ret; - _ret = ((ISteamInput*)linux_side)->GetInputTypeForHandle((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetInputTypeForHandle( (InputHandle_t)params->inputHandle ); } -InputHandle_t cppISteamInput_SteamInput001_GetControllerForGamepadIndex(void *linux_side, int nIndex) +void cppISteamInput_SteamInput001_GetControllerForGamepadIndex( struct cppISteamInput_SteamInput001_GetControllerForGamepadIndex_params *params ) { - InputHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetControllerForGamepadIndex((int)nIndex); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetControllerForGamepadIndex( (int)params->nIndex ); } -int cppISteamInput_SteamInput001_GetGamepadIndexForController(void *linux_side, InputHandle_t ulinputHandle) +void cppISteamInput_SteamInput001_GetGamepadIndexForController( struct cppISteamInput_SteamInput001_GetGamepadIndexForController_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetGamepadIndexForController((InputHandle_t)ulinputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetGamepadIndexForController( (InputHandle_t)params->ulinputHandle ); } -const char * cppISteamInput_SteamInput001_GetStringForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +void cppISteamInput_SteamInput001_GetStringForXboxOrigin( struct cppISteamInput_SteamInput001_GetStringForXboxOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamInput*)linux_side)->GetStringForXboxOrigin((EXboxOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetStringForXboxOrigin( (EXboxOrigin)params->eOrigin ); } -EInputActionOrigin cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin(void *linux_side, InputHandle_t inputHandle, EXboxOrigin eOrigin) +void cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin( struct cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin_params *params ) { - EInputActionOrigin _ret; - _ret = ((ISteamInput*)linux_side)->GetActionOriginFromXboxOrigin((InputHandle_t)inputHandle, (EXboxOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetActionOriginFromXboxOrigin( (InputHandle_t)params->inputHandle, (EXboxOrigin)params->eOrigin ); } -EInputActionOrigin cppISteamInput_SteamInput001_TranslateActionOrigin(void *linux_side, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +void cppISteamInput_SteamInput001_TranslateActionOrigin( struct cppISteamInput_SteamInput001_TranslateActionOrigin_params *params ) { - EInputActionOrigin _ret; - _ret = ((ISteamInput*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EInputActionOrigin)eSourceOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->TranslateActionOrigin( (ESteamInputType)params->eDestinationInputType, (EInputActionOrigin)params->eSourceOrigin ); } -bool cppISteamInput_SteamInput001_GetDeviceBindingRevision(void *linux_side, InputHandle_t inputHandle, int *pMajor, int *pMinor) +void cppISteamInput_SteamInput001_GetDeviceBindingRevision( struct cppISteamInput_SteamInput001_GetDeviceBindingRevision_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->GetDeviceBindingRevision((InputHandle_t)inputHandle, (int *)pMajor, (int *)pMinor); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetDeviceBindingRevision( (InputHandle_t)params->inputHandle, (int *)params->pMajor, (int *)params->pMinor ); } -uint32 cppISteamInput_SteamInput001_GetRemotePlaySessionID(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput001_GetRemotePlaySessionID( struct cppISteamInput_SteamInput001_GetRemotePlaySessionID_params *params ) { - uint32 _ret; - _ret = ((ISteamInput*)linux_side)->GetRemotePlaySessionID((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetRemotePlaySessionID( (InputHandle_t)params->inputHandle ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamInput_SteamInput001.h b/lsteamclient/cppISteamInput_SteamInput001.h index b97273c5..89b5c720 100644 --- a/lsteamclient/cppISteamInput_SteamInput001.h +++ b/lsteamclient/cppISteamInput_SteamInput001.h @@ -1,35 +1,297 @@ -extern bool cppISteamInput_SteamInput001_Init(void *); -extern bool cppISteamInput_SteamInput001_Shutdown(void *); -extern void cppISteamInput_SteamInput001_RunFrame(void *); -extern int cppISteamInput_SteamInput001_GetConnectedControllers(void *, InputHandle_t *); -extern InputActionSetHandle_t cppISteamInput_SteamInput001_GetActionSetHandle(void *, const char *); -extern void cppISteamInput_SteamInput001_ActivateActionSet(void *, InputHandle_t, InputActionSetHandle_t); -extern InputActionSetHandle_t cppISteamInput_SteamInput001_GetCurrentActionSet(void *, InputHandle_t); -extern void cppISteamInput_SteamInput001_ActivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput001_DeactivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput001_DeactivateAllActionSetLayers(void *, InputHandle_t); -extern int cppISteamInput_SteamInput001_GetActiveActionSetLayers(void *, InputHandle_t, InputActionSetHandle_t *); -extern InputDigitalActionHandle_t cppISteamInput_SteamInput001_GetDigitalActionHandle(void *, const char *); -extern InputDigitalActionData_t cppISteamInput_SteamInput001_GetDigitalActionData(void *, InputHandle_t, InputDigitalActionHandle_t); -extern int cppISteamInput_SteamInput001_GetDigitalActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputDigitalActionHandle_t, EInputActionOrigin *); -extern InputAnalogActionHandle_t cppISteamInput_SteamInput001_GetAnalogActionHandle(void *, const char *); -extern InputAnalogActionData_t cppISteamInput_SteamInput001_GetAnalogActionData(void *, InputHandle_t, InputAnalogActionHandle_t); -extern int cppISteamInput_SteamInput001_GetAnalogActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputAnalogActionHandle_t, EInputActionOrigin *); -extern const char * cppISteamInput_SteamInput001_GetGlyphForActionOrigin(void *, EInputActionOrigin); -extern const char * cppISteamInput_SteamInput001_GetStringForActionOrigin(void *, EInputActionOrigin); -extern void cppISteamInput_SteamInput001_StopAnalogActionMomentum(void *, InputHandle_t, InputAnalogActionHandle_t); -extern InputMotionData_t cppISteamInput_SteamInput001_GetMotionData(void *, InputHandle_t); -extern void cppISteamInput_SteamInput001_TriggerVibration(void *, InputHandle_t, unsigned short, unsigned short); -extern void cppISteamInput_SteamInput001_SetLEDColor(void *, InputHandle_t, uint8, uint8, uint8, unsigned int); -extern void cppISteamInput_SteamInput001_TriggerHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern bool cppISteamInput_SteamInput001_ShowBindingPanel(void *, InputHandle_t); -extern ESteamInputType cppISteamInput_SteamInput001_GetInputTypeForHandle(void *, InputHandle_t); -extern InputHandle_t cppISteamInput_SteamInput001_GetControllerForGamepadIndex(void *, int); -extern int cppISteamInput_SteamInput001_GetGamepadIndexForController(void *, InputHandle_t); -extern const char * cppISteamInput_SteamInput001_GetStringForXboxOrigin(void *, EXboxOrigin); -extern const char * cppISteamInput_SteamInput001_GetGlyphForXboxOrigin(void *, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin(void *, InputHandle_t, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput001_TranslateActionOrigin(void *, ESteamInputType, EInputActionOrigin); -extern bool cppISteamInput_SteamInput001_GetDeviceBindingRevision(void *, InputHandle_t, int *, int *); -extern uint32 cppISteamInput_SteamInput001_GetRemotePlaySessionID(void *, InputHandle_t); +struct cppISteamInput_SteamInput001_Init_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamInput_SteamInput001_Init( struct cppISteamInput_SteamInput001_Init_params *params ); + +struct cppISteamInput_SteamInput001_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamInput_SteamInput001_Shutdown( struct cppISteamInput_SteamInput001_Shutdown_params *params ); + +struct cppISteamInput_SteamInput001_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamInput_SteamInput001_RunFrame( struct cppISteamInput_SteamInput001_RunFrame_params *params ); + +struct cppISteamInput_SteamInput001_GetConnectedControllers_params +{ + void *linux_side; + int _ret; + InputHandle_t *handlesOut; +}; +extern void cppISteamInput_SteamInput001_GetConnectedControllers( struct cppISteamInput_SteamInput001_GetConnectedControllers_params *params ); + +struct cppISteamInput_SteamInput001_GetActionSetHandle_params +{ + void *linux_side; + InputActionSetHandle_t _ret; + const char *pszActionSetName; +}; +extern void cppISteamInput_SteamInput001_GetActionSetHandle( struct cppISteamInput_SteamInput001_GetActionSetHandle_params *params ); + +struct cppISteamInput_SteamInput001_ActivateActionSet_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetHandle; +}; +extern void cppISteamInput_SteamInput001_ActivateActionSet( struct cppISteamInput_SteamInput001_ActivateActionSet_params *params ); + +struct cppISteamInput_SteamInput001_GetCurrentActionSet_params +{ + void *linux_side; + InputActionSetHandle_t _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput001_GetCurrentActionSet( struct cppISteamInput_SteamInput001_GetCurrentActionSet_params *params ); + +struct cppISteamInput_SteamInput001_ActivateActionSetLayer_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamInput_SteamInput001_ActivateActionSetLayer( struct cppISteamInput_SteamInput001_ActivateActionSetLayer_params *params ); + +struct cppISteamInput_SteamInput001_DeactivateActionSetLayer_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamInput_SteamInput001_DeactivateActionSetLayer( struct cppISteamInput_SteamInput001_DeactivateActionSetLayer_params *params ); + +struct cppISteamInput_SteamInput001_DeactivateAllActionSetLayers_params +{ + void *linux_side; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput001_DeactivateAllActionSetLayers( struct cppISteamInput_SteamInput001_DeactivateAllActionSetLayers_params *params ); + +struct cppISteamInput_SteamInput001_GetActiveActionSetLayers_params +{ + void *linux_side; + int _ret; + InputHandle_t inputHandle; + InputActionSetHandle_t *handlesOut; +}; +extern void cppISteamInput_SteamInput001_GetActiveActionSetLayers( struct cppISteamInput_SteamInput001_GetActiveActionSetLayers_params *params ); + +struct cppISteamInput_SteamInput001_GetDigitalActionHandle_params +{ + void *linux_side; + InputDigitalActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamInput_SteamInput001_GetDigitalActionHandle( struct cppISteamInput_SteamInput001_GetDigitalActionHandle_params *params ); + +struct cppISteamInput_SteamInput001_GetDigitalActionData_params +{ + void *linux_side; + InputDigitalActionData_t *_ret; + InputHandle_t inputHandle; + InputDigitalActionHandle_t digitalActionHandle; +}; +extern void cppISteamInput_SteamInput001_GetDigitalActionData( struct cppISteamInput_SteamInput001_GetDigitalActionData_params *params ); + +struct cppISteamInput_SteamInput001_GetDigitalActionOrigins_params +{ + void *linux_side; + int _ret; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetHandle; + InputDigitalActionHandle_t digitalActionHandle; + EInputActionOrigin *originsOut; +}; +extern void cppISteamInput_SteamInput001_GetDigitalActionOrigins( struct cppISteamInput_SteamInput001_GetDigitalActionOrigins_params *params ); + +struct cppISteamInput_SteamInput001_GetAnalogActionHandle_params +{ + void *linux_side; + InputAnalogActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamInput_SteamInput001_GetAnalogActionHandle( struct cppISteamInput_SteamInput001_GetAnalogActionHandle_params *params ); + +struct cppISteamInput_SteamInput001_GetAnalogActionData_params +{ + void *linux_side; + InputAnalogActionData_t *_ret; + InputHandle_t inputHandle; + InputAnalogActionHandle_t analogActionHandle; +}; +extern void cppISteamInput_SteamInput001_GetAnalogActionData( struct cppISteamInput_SteamInput001_GetAnalogActionData_params *params ); + +struct cppISteamInput_SteamInput001_GetAnalogActionOrigins_params +{ + void *linux_side; + int _ret; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetHandle; + InputAnalogActionHandle_t analogActionHandle; + EInputActionOrigin *originsOut; +}; +extern void cppISteamInput_SteamInput001_GetAnalogActionOrigins( struct cppISteamInput_SteamInput001_GetAnalogActionOrigins_params *params ); + +struct cppISteamInput_SteamInput001_GetGlyphForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EInputActionOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput001_GetGlyphForActionOrigin( struct cppISteamInput_SteamInput001_GetGlyphForActionOrigin_params *params ); + +struct cppISteamInput_SteamInput001_GetStringForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EInputActionOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput001_GetStringForActionOrigin( struct cppISteamInput_SteamInput001_GetStringForActionOrigin_params *params ); + +struct cppISteamInput_SteamInput001_StopAnalogActionMomentum_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputAnalogActionHandle_t eAction; +}; +extern void cppISteamInput_SteamInput001_StopAnalogActionMomentum( struct cppISteamInput_SteamInput001_StopAnalogActionMomentum_params *params ); + +struct cppISteamInput_SteamInput001_GetMotionData_params +{ + void *linux_side; + InputMotionData_t *_ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput001_GetMotionData( struct cppISteamInput_SteamInput001_GetMotionData_params *params ); + +struct cppISteamInput_SteamInput001_TriggerVibration_params +{ + void *linux_side; + InputHandle_t inputHandle; + unsigned short usLeftSpeed; + unsigned short usRightSpeed; +}; +extern void cppISteamInput_SteamInput001_TriggerVibration( struct cppISteamInput_SteamInput001_TriggerVibration_params *params ); + +struct cppISteamInput_SteamInput001_SetLEDColor_params +{ + void *linux_side; + InputHandle_t inputHandle; + uint8 nColorR; + uint8 nColorG; + uint8 nColorB; + unsigned int nFlags; +}; +extern void cppISteamInput_SteamInput001_SetLEDColor( struct cppISteamInput_SteamInput001_SetLEDColor_params *params ); + +struct cppISteamInput_SteamInput001_TriggerHapticPulse_params +{ + void *linux_side; + InputHandle_t inputHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; +}; +extern void cppISteamInput_SteamInput001_TriggerHapticPulse( struct cppISteamInput_SteamInput001_TriggerHapticPulse_params *params ); + +struct cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse_params +{ + void *linux_side; + InputHandle_t inputHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; + unsigned short usOffMicroSec; + unsigned short unRepeat; + unsigned int nFlags; +}; +extern void cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse( struct cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse_params *params ); + +struct cppISteamInput_SteamInput001_ShowBindingPanel_params +{ + void *linux_side; + bool _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput001_ShowBindingPanel( struct cppISteamInput_SteamInput001_ShowBindingPanel_params *params ); + +struct cppISteamInput_SteamInput001_GetInputTypeForHandle_params +{ + void *linux_side; + ESteamInputType _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput001_GetInputTypeForHandle( struct cppISteamInput_SteamInput001_GetInputTypeForHandle_params *params ); + +struct cppISteamInput_SteamInput001_GetControllerForGamepadIndex_params +{ + void *linux_side; + InputHandle_t _ret; + int nIndex; +}; +extern void cppISteamInput_SteamInput001_GetControllerForGamepadIndex( struct cppISteamInput_SteamInput001_GetControllerForGamepadIndex_params *params ); + +struct cppISteamInput_SteamInput001_GetGamepadIndexForController_params +{ + void *linux_side; + int _ret; + InputHandle_t ulinputHandle; +}; +extern void cppISteamInput_SteamInput001_GetGamepadIndexForController( struct cppISteamInput_SteamInput001_GetGamepadIndexForController_params *params ); + +struct cppISteamInput_SteamInput001_GetStringForXboxOrigin_params +{ + void *linux_side; + const char *_ret; + EXboxOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput001_GetStringForXboxOrigin( struct cppISteamInput_SteamInput001_GetStringForXboxOrigin_params *params ); + +struct cppISteamInput_SteamInput001_GetGlyphForXboxOrigin_params +{ + void *linux_side; + const char *_ret; + EXboxOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput001_GetGlyphForXboxOrigin( struct cppISteamInput_SteamInput001_GetGlyphForXboxOrigin_params *params ); + +struct cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin_params +{ + void *linux_side; + EInputActionOrigin _ret; + InputHandle_t inputHandle; + EXboxOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin( struct cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin_params *params ); + +struct cppISteamInput_SteamInput001_TranslateActionOrigin_params +{ + void *linux_side; + EInputActionOrigin _ret; + ESteamInputType eDestinationInputType; + EInputActionOrigin eSourceOrigin; +}; +extern void cppISteamInput_SteamInput001_TranslateActionOrigin( struct cppISteamInput_SteamInput001_TranslateActionOrigin_params *params ); + +struct cppISteamInput_SteamInput001_GetDeviceBindingRevision_params +{ + void *linux_side; + bool _ret; + InputHandle_t inputHandle; + int *pMajor; + int *pMinor; +}; +extern void cppISteamInput_SteamInput001_GetDeviceBindingRevision( struct cppISteamInput_SteamInput001_GetDeviceBindingRevision_params *params ); + +struct cppISteamInput_SteamInput001_GetRemotePlaySessionID_params +{ + void *linux_side; + uint32 _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput001_GetRemotePlaySessionID( struct cppISteamInput_SteamInput001_GetRemotePlaySessionID_params *params ); + diff --git a/lsteamclient/cppISteamInput_SteamInput002.cpp b/lsteamclient/cppISteamInput_SteamInput002.cpp index 3c835c45..67c5d782 100644 --- a/lsteamclient/cppISteamInput_SteamInput002.cpp +++ b/lsteamclient/cppISteamInput_SteamInput002.cpp @@ -12,215 +12,169 @@ extern "C" { #define SDKVER_151 #include "struct_converters.h" #include "cppISteamInput_SteamInput002.h" -bool cppISteamInput_SteamInput002_Init(void *linux_side) +void cppISteamInput_SteamInput002_Init( struct cppISteamInput_SteamInput002_Init_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->Init(); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->Init( ); } -bool cppISteamInput_SteamInput002_Shutdown(void *linux_side) +void cppISteamInput_SteamInput002_Shutdown( struct cppISteamInput_SteamInput002_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->Shutdown( ); } -void cppISteamInput_SteamInput002_RunFrame(void *linux_side) +void cppISteamInput_SteamInput002_RunFrame( struct cppISteamInput_SteamInput002_RunFrame_params *params ) { - ((ISteamInput*)linux_side)->RunFrame(); + ((ISteamInput*)params->linux_side)->RunFrame( ); } -int cppISteamInput_SteamInput002_GetConnectedControllers(void *linux_side, InputHandle_t *handlesOut) +void cppISteamInput_SteamInput002_GetConnectedControllers( struct cppISteamInput_SteamInput002_GetConnectedControllers_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetConnectedControllers((InputHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetConnectedControllers( (InputHandle_t *)params->handlesOut ); } -InputActionSetHandle_t cppISteamInput_SteamInput002_GetActionSetHandle(void *linux_side, const char *pszActionSetName) +void cppISteamInput_SteamInput002_GetActionSetHandle( struct cppISteamInput_SteamInput002_GetActionSetHandle_params *params ) { - InputActionSetHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetActionSetHandle( (const char *)params->pszActionSetName ); } -void cppISteamInput_SteamInput002_ActivateActionSet(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +void cppISteamInput_SteamInput002_ActivateActionSet( struct cppISteamInput_SteamInput002_ActivateActionSet_params *params ) { - ((ISteamInput*)linux_side)->ActivateActionSet((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle); + ((ISteamInput*)params->linux_side)->ActivateActionSet( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetHandle ); } -InputActionSetHandle_t cppISteamInput_SteamInput002_GetCurrentActionSet(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput002_GetCurrentActionSet( struct cppISteamInput_SteamInput002_GetCurrentActionSet_params *params ) { - InputActionSetHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetCurrentActionSet((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetCurrentActionSet( (InputHandle_t)params->inputHandle ); } -void cppISteamInput_SteamInput002_ActivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +void cppISteamInput_SteamInput002_ActivateActionSetLayer( struct cppISteamInput_SteamInput002_ActivateActionSetLayer_params *params ) { - ((ISteamInput*)linux_side)->ActivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + ((ISteamInput*)params->linux_side)->ActivateActionSetLayer( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamInput_SteamInput002_DeactivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +void cppISteamInput_SteamInput002_DeactivateActionSetLayer( struct cppISteamInput_SteamInput002_DeactivateActionSetLayer_params *params ) { - ((ISteamInput*)linux_side)->DeactivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + ((ISteamInput*)params->linux_side)->DeactivateActionSetLayer( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamInput_SteamInput002_DeactivateAllActionSetLayers(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput002_DeactivateAllActionSetLayers( struct cppISteamInput_SteamInput002_DeactivateAllActionSetLayers_params *params ) { - ((ISteamInput*)linux_side)->DeactivateAllActionSetLayers((InputHandle_t)inputHandle); + ((ISteamInput*)params->linux_side)->DeactivateAllActionSetLayers( (InputHandle_t)params->inputHandle ); } -int cppISteamInput_SteamInput002_GetActiveActionSetLayers(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t *handlesOut) +void cppISteamInput_SteamInput002_GetActiveActionSetLayers( struct cppISteamInput_SteamInput002_GetActiveActionSetLayers_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetActiveActionSetLayers((InputHandle_t)inputHandle, (InputActionSetHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetActiveActionSetLayers( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t *)params->handlesOut ); } -InputDigitalActionHandle_t cppISteamInput_SteamInput002_GetDigitalActionHandle(void *linux_side, const char *pszActionName) +void cppISteamInput_SteamInput002_GetDigitalActionHandle( struct cppISteamInput_SteamInput002_GetDigitalActionHandle_params *params ) { - InputDigitalActionHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetDigitalActionHandle( (const char *)params->pszActionName ); } -InputDigitalActionData_t cppISteamInput_SteamInput002_GetDigitalActionData(void *linux_side, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +void cppISteamInput_SteamInput002_GetDigitalActionData( struct cppISteamInput_SteamInput002_GetDigitalActionData_params *params ) { - InputDigitalActionData_t _ret; - _ret = ((ISteamInput*)linux_side)->GetDigitalActionData((InputHandle_t)inputHandle, (InputDigitalActionHandle_t)digitalActionHandle); - return (_ret); + *params->_ret = ((ISteamInput*)params->linux_side)->GetDigitalActionData( (InputHandle_t)params->inputHandle, (InputDigitalActionHandle_t)params->digitalActionHandle ); } -int cppISteamInput_SteamInput002_GetDigitalActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin *originsOut) +void cppISteamInput_SteamInput002_GetDigitalActionOrigins( struct cppISteamInput_SteamInput002_GetDigitalActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetDigitalActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputDigitalActionHandle_t)digitalActionHandle, (EInputActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetDigitalActionOrigins( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetHandle, (InputDigitalActionHandle_t)params->digitalActionHandle, (EInputActionOrigin *)params->originsOut ); } -InputAnalogActionHandle_t cppISteamInput_SteamInput002_GetAnalogActionHandle(void *linux_side, const char *pszActionName) +void cppISteamInput_SteamInput002_GetAnalogActionHandle( struct cppISteamInput_SteamInput002_GetAnalogActionHandle_params *params ) { - InputAnalogActionHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetAnalogActionHandle( (const char *)params->pszActionName ); } -InputAnalogActionData_t cppISteamInput_SteamInput002_GetAnalogActionData(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) +void cppISteamInput_SteamInput002_GetAnalogActionData( struct cppISteamInput_SteamInput002_GetAnalogActionData_params *params ) { - InputAnalogActionData_t _ret; - _ret = ((ISteamInput*)linux_side)->GetAnalogActionData((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)analogActionHandle); - return (_ret); + *params->_ret = ((ISteamInput*)params->linux_side)->GetAnalogActionData( (InputHandle_t)params->inputHandle, (InputAnalogActionHandle_t)params->analogActionHandle ); } -int cppISteamInput_SteamInput002_GetAnalogActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin *originsOut) +void cppISteamInput_SteamInput002_GetAnalogActionOrigins( struct cppISteamInput_SteamInput002_GetAnalogActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetAnalogActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputAnalogActionHandle_t)analogActionHandle, (EInputActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetAnalogActionOrigins( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetHandle, (InputAnalogActionHandle_t)params->analogActionHandle, (EInputActionOrigin *)params->originsOut ); } -const char * cppISteamInput_SteamInput002_GetStringForActionOrigin(void *linux_side, EInputActionOrigin eOrigin) +void cppISteamInput_SteamInput002_GetStringForActionOrigin( struct cppISteamInput_SteamInput002_GetStringForActionOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamInput*)linux_side)->GetStringForActionOrigin((EInputActionOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetStringForActionOrigin( (EInputActionOrigin)params->eOrigin ); } -void cppISteamInput_SteamInput002_StopAnalogActionMomentum(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) +void cppISteamInput_SteamInput002_StopAnalogActionMomentum( struct cppISteamInput_SteamInput002_StopAnalogActionMomentum_params *params ) { - ((ISteamInput*)linux_side)->StopAnalogActionMomentum((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)eAction); + ((ISteamInput*)params->linux_side)->StopAnalogActionMomentum( (InputHandle_t)params->inputHandle, (InputAnalogActionHandle_t)params->eAction ); } -InputMotionData_t cppISteamInput_SteamInput002_GetMotionData(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput002_GetMotionData( struct cppISteamInput_SteamInput002_GetMotionData_params *params ) { - InputMotionData_t _ret; - _ret = ((ISteamInput*)linux_side)->GetMotionData((InputHandle_t)inputHandle); - return (_ret); + *params->_ret = ((ISteamInput*)params->linux_side)->GetMotionData( (InputHandle_t)params->inputHandle ); } -void cppISteamInput_SteamInput002_TriggerVibration(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +void cppISteamInput_SteamInput002_TriggerVibration( struct cppISteamInput_SteamInput002_TriggerVibration_params *params ) { - ((ISteamInput*)linux_side)->TriggerVibration((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + ((ISteamInput*)params->linux_side)->TriggerVibration( (InputHandle_t)params->inputHandle, (unsigned short)params->usLeftSpeed, (unsigned short)params->usRightSpeed ); } -void cppISteamInput_SteamInput002_SetLEDColor(void *linux_side, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +void cppISteamInput_SteamInput002_SetLEDColor( struct cppISteamInput_SteamInput002_SetLEDColor_params *params ) { - ((ISteamInput*)linux_side)->SetLEDColor((InputHandle_t)inputHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + ((ISteamInput*)params->linux_side)->SetLEDColor( (InputHandle_t)params->inputHandle, (uint8)params->nColorR, (uint8)params->nColorG, (uint8)params->nColorB, (unsigned int)params->nFlags ); } -void cppISteamInput_SteamInput002_TriggerHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void cppISteamInput_SteamInput002_TriggerHapticPulse( struct cppISteamInput_SteamInput002_TriggerHapticPulse_params *params ) { - ((ISteamInput*)linux_side)->TriggerHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + ((ISteamInput*)params->linux_side)->TriggerHapticPulse( (InputHandle_t)params->inputHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec ); } -void cppISteamInput_SteamInput002_TriggerRepeatedHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +void cppISteamInput_SteamInput002_TriggerRepeatedHapticPulse( struct cppISteamInput_SteamInput002_TriggerRepeatedHapticPulse_params *params ) { - ((ISteamInput*)linux_side)->TriggerRepeatedHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + ((ISteamInput*)params->linux_side)->TriggerRepeatedHapticPulse( (InputHandle_t)params->inputHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec, (unsigned short)params->usOffMicroSec, (unsigned short)params->unRepeat, (unsigned int)params->nFlags ); } -bool cppISteamInput_SteamInput002_ShowBindingPanel(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput002_ShowBindingPanel( struct cppISteamInput_SteamInput002_ShowBindingPanel_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->ShowBindingPanel((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->ShowBindingPanel( (InputHandle_t)params->inputHandle ); } -ESteamInputType cppISteamInput_SteamInput002_GetInputTypeForHandle(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput002_GetInputTypeForHandle( struct cppISteamInput_SteamInput002_GetInputTypeForHandle_params *params ) { - ESteamInputType _ret; - _ret = ((ISteamInput*)linux_side)->GetInputTypeForHandle((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetInputTypeForHandle( (InputHandle_t)params->inputHandle ); } -InputHandle_t cppISteamInput_SteamInput002_GetControllerForGamepadIndex(void *linux_side, int nIndex) +void cppISteamInput_SteamInput002_GetControllerForGamepadIndex( struct cppISteamInput_SteamInput002_GetControllerForGamepadIndex_params *params ) { - InputHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetControllerForGamepadIndex((int)nIndex); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetControllerForGamepadIndex( (int)params->nIndex ); } -int cppISteamInput_SteamInput002_GetGamepadIndexForController(void *linux_side, InputHandle_t ulinputHandle) +void cppISteamInput_SteamInput002_GetGamepadIndexForController( struct cppISteamInput_SteamInput002_GetGamepadIndexForController_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetGamepadIndexForController((InputHandle_t)ulinputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetGamepadIndexForController( (InputHandle_t)params->ulinputHandle ); } -const char * cppISteamInput_SteamInput002_GetStringForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +void cppISteamInput_SteamInput002_GetStringForXboxOrigin( struct cppISteamInput_SteamInput002_GetStringForXboxOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamInput*)linux_side)->GetStringForXboxOrigin((EXboxOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetStringForXboxOrigin( (EXboxOrigin)params->eOrigin ); } -EInputActionOrigin cppISteamInput_SteamInput002_GetActionOriginFromXboxOrigin(void *linux_side, InputHandle_t inputHandle, EXboxOrigin eOrigin) +void cppISteamInput_SteamInput002_GetActionOriginFromXboxOrigin( struct cppISteamInput_SteamInput002_GetActionOriginFromXboxOrigin_params *params ) { - EInputActionOrigin _ret; - _ret = ((ISteamInput*)linux_side)->GetActionOriginFromXboxOrigin((InputHandle_t)inputHandle, (EXboxOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetActionOriginFromXboxOrigin( (InputHandle_t)params->inputHandle, (EXboxOrigin)params->eOrigin ); } -EInputActionOrigin cppISteamInput_SteamInput002_TranslateActionOrigin(void *linux_side, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +void cppISteamInput_SteamInput002_TranslateActionOrigin( struct cppISteamInput_SteamInput002_TranslateActionOrigin_params *params ) { - EInputActionOrigin _ret; - _ret = ((ISteamInput*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EInputActionOrigin)eSourceOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->TranslateActionOrigin( (ESteamInputType)params->eDestinationInputType, (EInputActionOrigin)params->eSourceOrigin ); } -bool cppISteamInput_SteamInput002_GetDeviceBindingRevision(void *linux_side, InputHandle_t inputHandle, int *pMajor, int *pMinor) +void cppISteamInput_SteamInput002_GetDeviceBindingRevision( struct cppISteamInput_SteamInput002_GetDeviceBindingRevision_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->GetDeviceBindingRevision((InputHandle_t)inputHandle, (int *)pMajor, (int *)pMinor); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetDeviceBindingRevision( (InputHandle_t)params->inputHandle, (int *)params->pMajor, (int *)params->pMinor ); } -uint32 cppISteamInput_SteamInput002_GetRemotePlaySessionID(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput002_GetRemotePlaySessionID( struct cppISteamInput_SteamInput002_GetRemotePlaySessionID_params *params ) { - uint32 _ret; - _ret = ((ISteamInput*)linux_side)->GetRemotePlaySessionID((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetRemotePlaySessionID( (InputHandle_t)params->inputHandle ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamInput_SteamInput002.h b/lsteamclient/cppISteamInput_SteamInput002.h index f4284f8b..a314c4c3 100644 --- a/lsteamclient/cppISteamInput_SteamInput002.h +++ b/lsteamclient/cppISteamInput_SteamInput002.h @@ -1,35 +1,297 @@ -extern bool cppISteamInput_SteamInput002_Init(void *); -extern bool cppISteamInput_SteamInput002_Shutdown(void *); -extern void cppISteamInput_SteamInput002_RunFrame(void *); -extern int cppISteamInput_SteamInput002_GetConnectedControllers(void *, InputHandle_t *); -extern InputActionSetHandle_t cppISteamInput_SteamInput002_GetActionSetHandle(void *, const char *); -extern void cppISteamInput_SteamInput002_ActivateActionSet(void *, InputHandle_t, InputActionSetHandle_t); -extern InputActionSetHandle_t cppISteamInput_SteamInput002_GetCurrentActionSet(void *, InputHandle_t); -extern void cppISteamInput_SteamInput002_ActivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput002_DeactivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput002_DeactivateAllActionSetLayers(void *, InputHandle_t); -extern int cppISteamInput_SteamInput002_GetActiveActionSetLayers(void *, InputHandle_t, InputActionSetHandle_t *); -extern InputDigitalActionHandle_t cppISteamInput_SteamInput002_GetDigitalActionHandle(void *, const char *); -extern InputDigitalActionData_t cppISteamInput_SteamInput002_GetDigitalActionData(void *, InputHandle_t, InputDigitalActionHandle_t); -extern int cppISteamInput_SteamInput002_GetDigitalActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputDigitalActionHandle_t, EInputActionOrigin *); -extern InputAnalogActionHandle_t cppISteamInput_SteamInput002_GetAnalogActionHandle(void *, const char *); -extern InputAnalogActionData_t cppISteamInput_SteamInput002_GetAnalogActionData(void *, InputHandle_t, InputAnalogActionHandle_t); -extern int cppISteamInput_SteamInput002_GetAnalogActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputAnalogActionHandle_t, EInputActionOrigin *); -extern const char * cppISteamInput_SteamInput002_GetGlyphForActionOrigin(void *, EInputActionOrigin); -extern const char * cppISteamInput_SteamInput002_GetStringForActionOrigin(void *, EInputActionOrigin); -extern void cppISteamInput_SteamInput002_StopAnalogActionMomentum(void *, InputHandle_t, InputAnalogActionHandle_t); -extern InputMotionData_t cppISteamInput_SteamInput002_GetMotionData(void *, InputHandle_t); -extern void cppISteamInput_SteamInput002_TriggerVibration(void *, InputHandle_t, unsigned short, unsigned short); -extern void cppISteamInput_SteamInput002_SetLEDColor(void *, InputHandle_t, uint8, uint8, uint8, unsigned int); -extern void cppISteamInput_SteamInput002_TriggerHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamInput_SteamInput002_TriggerRepeatedHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern bool cppISteamInput_SteamInput002_ShowBindingPanel(void *, InputHandle_t); -extern ESteamInputType cppISteamInput_SteamInput002_GetInputTypeForHandle(void *, InputHandle_t); -extern InputHandle_t cppISteamInput_SteamInput002_GetControllerForGamepadIndex(void *, int); -extern int cppISteamInput_SteamInput002_GetGamepadIndexForController(void *, InputHandle_t); -extern const char * cppISteamInput_SteamInput002_GetStringForXboxOrigin(void *, EXboxOrigin); -extern const char * cppISteamInput_SteamInput002_GetGlyphForXboxOrigin(void *, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput002_GetActionOriginFromXboxOrigin(void *, InputHandle_t, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput002_TranslateActionOrigin(void *, ESteamInputType, EInputActionOrigin); -extern bool cppISteamInput_SteamInput002_GetDeviceBindingRevision(void *, InputHandle_t, int *, int *); -extern uint32 cppISteamInput_SteamInput002_GetRemotePlaySessionID(void *, InputHandle_t); +struct cppISteamInput_SteamInput002_Init_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamInput_SteamInput002_Init( struct cppISteamInput_SteamInput002_Init_params *params ); + +struct cppISteamInput_SteamInput002_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamInput_SteamInput002_Shutdown( struct cppISteamInput_SteamInput002_Shutdown_params *params ); + +struct cppISteamInput_SteamInput002_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamInput_SteamInput002_RunFrame( struct cppISteamInput_SteamInput002_RunFrame_params *params ); + +struct cppISteamInput_SteamInput002_GetConnectedControllers_params +{ + void *linux_side; + int _ret; + InputHandle_t *handlesOut; +}; +extern void cppISteamInput_SteamInput002_GetConnectedControllers( struct cppISteamInput_SteamInput002_GetConnectedControllers_params *params ); + +struct cppISteamInput_SteamInput002_GetActionSetHandle_params +{ + void *linux_side; + InputActionSetHandle_t _ret; + const char *pszActionSetName; +}; +extern void cppISteamInput_SteamInput002_GetActionSetHandle( struct cppISteamInput_SteamInput002_GetActionSetHandle_params *params ); + +struct cppISteamInput_SteamInput002_ActivateActionSet_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetHandle; +}; +extern void cppISteamInput_SteamInput002_ActivateActionSet( struct cppISteamInput_SteamInput002_ActivateActionSet_params *params ); + +struct cppISteamInput_SteamInput002_GetCurrentActionSet_params +{ + void *linux_side; + InputActionSetHandle_t _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput002_GetCurrentActionSet( struct cppISteamInput_SteamInput002_GetCurrentActionSet_params *params ); + +struct cppISteamInput_SteamInput002_ActivateActionSetLayer_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamInput_SteamInput002_ActivateActionSetLayer( struct cppISteamInput_SteamInput002_ActivateActionSetLayer_params *params ); + +struct cppISteamInput_SteamInput002_DeactivateActionSetLayer_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamInput_SteamInput002_DeactivateActionSetLayer( struct cppISteamInput_SteamInput002_DeactivateActionSetLayer_params *params ); + +struct cppISteamInput_SteamInput002_DeactivateAllActionSetLayers_params +{ + void *linux_side; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput002_DeactivateAllActionSetLayers( struct cppISteamInput_SteamInput002_DeactivateAllActionSetLayers_params *params ); + +struct cppISteamInput_SteamInput002_GetActiveActionSetLayers_params +{ + void *linux_side; + int _ret; + InputHandle_t inputHandle; + InputActionSetHandle_t *handlesOut; +}; +extern void cppISteamInput_SteamInput002_GetActiveActionSetLayers( struct cppISteamInput_SteamInput002_GetActiveActionSetLayers_params *params ); + +struct cppISteamInput_SteamInput002_GetDigitalActionHandle_params +{ + void *linux_side; + InputDigitalActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamInput_SteamInput002_GetDigitalActionHandle( struct cppISteamInput_SteamInput002_GetDigitalActionHandle_params *params ); + +struct cppISteamInput_SteamInput002_GetDigitalActionData_params +{ + void *linux_side; + InputDigitalActionData_t *_ret; + InputHandle_t inputHandle; + InputDigitalActionHandle_t digitalActionHandle; +}; +extern void cppISteamInput_SteamInput002_GetDigitalActionData( struct cppISteamInput_SteamInput002_GetDigitalActionData_params *params ); + +struct cppISteamInput_SteamInput002_GetDigitalActionOrigins_params +{ + void *linux_side; + int _ret; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetHandle; + InputDigitalActionHandle_t digitalActionHandle; + EInputActionOrigin *originsOut; +}; +extern void cppISteamInput_SteamInput002_GetDigitalActionOrigins( struct cppISteamInput_SteamInput002_GetDigitalActionOrigins_params *params ); + +struct cppISteamInput_SteamInput002_GetAnalogActionHandle_params +{ + void *linux_side; + InputAnalogActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamInput_SteamInput002_GetAnalogActionHandle( struct cppISteamInput_SteamInput002_GetAnalogActionHandle_params *params ); + +struct cppISteamInput_SteamInput002_GetAnalogActionData_params +{ + void *linux_side; + InputAnalogActionData_t *_ret; + InputHandle_t inputHandle; + InputAnalogActionHandle_t analogActionHandle; +}; +extern void cppISteamInput_SteamInput002_GetAnalogActionData( struct cppISteamInput_SteamInput002_GetAnalogActionData_params *params ); + +struct cppISteamInput_SteamInput002_GetAnalogActionOrigins_params +{ + void *linux_side; + int _ret; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetHandle; + InputAnalogActionHandle_t analogActionHandle; + EInputActionOrigin *originsOut; +}; +extern void cppISteamInput_SteamInput002_GetAnalogActionOrigins( struct cppISteamInput_SteamInput002_GetAnalogActionOrigins_params *params ); + +struct cppISteamInput_SteamInput002_GetGlyphForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EInputActionOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput002_GetGlyphForActionOrigin( struct cppISteamInput_SteamInput002_GetGlyphForActionOrigin_params *params ); + +struct cppISteamInput_SteamInput002_GetStringForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EInputActionOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput002_GetStringForActionOrigin( struct cppISteamInput_SteamInput002_GetStringForActionOrigin_params *params ); + +struct cppISteamInput_SteamInput002_StopAnalogActionMomentum_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputAnalogActionHandle_t eAction; +}; +extern void cppISteamInput_SteamInput002_StopAnalogActionMomentum( struct cppISteamInput_SteamInput002_StopAnalogActionMomentum_params *params ); + +struct cppISteamInput_SteamInput002_GetMotionData_params +{ + void *linux_side; + InputMotionData_t *_ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput002_GetMotionData( struct cppISteamInput_SteamInput002_GetMotionData_params *params ); + +struct cppISteamInput_SteamInput002_TriggerVibration_params +{ + void *linux_side; + InputHandle_t inputHandle; + unsigned short usLeftSpeed; + unsigned short usRightSpeed; +}; +extern void cppISteamInput_SteamInput002_TriggerVibration( struct cppISteamInput_SteamInput002_TriggerVibration_params *params ); + +struct cppISteamInput_SteamInput002_SetLEDColor_params +{ + void *linux_side; + InputHandle_t inputHandle; + uint8 nColorR; + uint8 nColorG; + uint8 nColorB; + unsigned int nFlags; +}; +extern void cppISteamInput_SteamInput002_SetLEDColor( struct cppISteamInput_SteamInput002_SetLEDColor_params *params ); + +struct cppISteamInput_SteamInput002_TriggerHapticPulse_params +{ + void *linux_side; + InputHandle_t inputHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; +}; +extern void cppISteamInput_SteamInput002_TriggerHapticPulse( struct cppISteamInput_SteamInput002_TriggerHapticPulse_params *params ); + +struct cppISteamInput_SteamInput002_TriggerRepeatedHapticPulse_params +{ + void *linux_side; + InputHandle_t inputHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; + unsigned short usOffMicroSec; + unsigned short unRepeat; + unsigned int nFlags; +}; +extern void cppISteamInput_SteamInput002_TriggerRepeatedHapticPulse( struct cppISteamInput_SteamInput002_TriggerRepeatedHapticPulse_params *params ); + +struct cppISteamInput_SteamInput002_ShowBindingPanel_params +{ + void *linux_side; + bool _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput002_ShowBindingPanel( struct cppISteamInput_SteamInput002_ShowBindingPanel_params *params ); + +struct cppISteamInput_SteamInput002_GetInputTypeForHandle_params +{ + void *linux_side; + ESteamInputType _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput002_GetInputTypeForHandle( struct cppISteamInput_SteamInput002_GetInputTypeForHandle_params *params ); + +struct cppISteamInput_SteamInput002_GetControllerForGamepadIndex_params +{ + void *linux_side; + InputHandle_t _ret; + int nIndex; +}; +extern void cppISteamInput_SteamInput002_GetControllerForGamepadIndex( struct cppISteamInput_SteamInput002_GetControllerForGamepadIndex_params *params ); + +struct cppISteamInput_SteamInput002_GetGamepadIndexForController_params +{ + void *linux_side; + int _ret; + InputHandle_t ulinputHandle; +}; +extern void cppISteamInput_SteamInput002_GetGamepadIndexForController( struct cppISteamInput_SteamInput002_GetGamepadIndexForController_params *params ); + +struct cppISteamInput_SteamInput002_GetStringForXboxOrigin_params +{ + void *linux_side; + const char *_ret; + EXboxOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput002_GetStringForXboxOrigin( struct cppISteamInput_SteamInput002_GetStringForXboxOrigin_params *params ); + +struct cppISteamInput_SteamInput002_GetGlyphForXboxOrigin_params +{ + void *linux_side; + const char *_ret; + EXboxOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput002_GetGlyphForXboxOrigin( struct cppISteamInput_SteamInput002_GetGlyphForXboxOrigin_params *params ); + +struct cppISteamInput_SteamInput002_GetActionOriginFromXboxOrigin_params +{ + void *linux_side; + EInputActionOrigin _ret; + InputHandle_t inputHandle; + EXboxOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput002_GetActionOriginFromXboxOrigin( struct cppISteamInput_SteamInput002_GetActionOriginFromXboxOrigin_params *params ); + +struct cppISteamInput_SteamInput002_TranslateActionOrigin_params +{ + void *linux_side; + EInputActionOrigin _ret; + ESteamInputType eDestinationInputType; + EInputActionOrigin eSourceOrigin; +}; +extern void cppISteamInput_SteamInput002_TranslateActionOrigin( struct cppISteamInput_SteamInput002_TranslateActionOrigin_params *params ); + +struct cppISteamInput_SteamInput002_GetDeviceBindingRevision_params +{ + void *linux_side; + bool _ret; + InputHandle_t inputHandle; + int *pMajor; + int *pMinor; +}; +extern void cppISteamInput_SteamInput002_GetDeviceBindingRevision( struct cppISteamInput_SteamInput002_GetDeviceBindingRevision_params *params ); + +struct cppISteamInput_SteamInput002_GetRemotePlaySessionID_params +{ + void *linux_side; + uint32 _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput002_GetRemotePlaySessionID( struct cppISteamInput_SteamInput002_GetRemotePlaySessionID_params *params ); + diff --git a/lsteamclient/cppISteamInput_SteamInput005.cpp b/lsteamclient/cppISteamInput_SteamInput005.cpp index efdec46a..1bb129f9 100644 --- a/lsteamclient/cppISteamInput_SteamInput005.cpp +++ b/lsteamclient/cppISteamInput_SteamInput005.cpp @@ -12,272 +12,214 @@ extern "C" { #define SDKVER_152 #include "struct_converters.h" #include "cppISteamInput_SteamInput005.h" -bool cppISteamInput_SteamInput005_Init(void *linux_side, bool bExplicitlyCallRunFrame) +void cppISteamInput_SteamInput005_Init( struct cppISteamInput_SteamInput005_Init_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->Init((bool)bExplicitlyCallRunFrame); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->Init( (bool)params->bExplicitlyCallRunFrame ); } -bool cppISteamInput_SteamInput005_Shutdown(void *linux_side) +void cppISteamInput_SteamInput005_Shutdown( struct cppISteamInput_SteamInput005_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->Shutdown( ); } -bool cppISteamInput_SteamInput005_SetInputActionManifestFilePath(void *linux_side, const char *pchInputActionManifestAbsolutePath) +void cppISteamInput_SteamInput005_SetInputActionManifestFilePath( struct cppISteamInput_SteamInput005_SetInputActionManifestFilePath_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->SetInputActionManifestFilePath((const char *)pchInputActionManifestAbsolutePath); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->SetInputActionManifestFilePath( (const char *)params->pchInputActionManifestAbsolutePath ); } -void cppISteamInput_SteamInput005_RunFrame(void *linux_side, bool bReservedValue) +void cppISteamInput_SteamInput005_RunFrame( struct cppISteamInput_SteamInput005_RunFrame_params *params ) { - ((ISteamInput*)linux_side)->RunFrame((bool)bReservedValue); + ((ISteamInput*)params->linux_side)->RunFrame( (bool)params->bReservedValue ); } -bool cppISteamInput_SteamInput005_BWaitForData(void *linux_side, bool bWaitForever, uint32 unTimeout) +void cppISteamInput_SteamInput005_BWaitForData( struct cppISteamInput_SteamInput005_BWaitForData_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->BWaitForData((bool)bWaitForever, (uint32)unTimeout); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->BWaitForData( (bool)params->bWaitForever, (uint32)params->unTimeout ); } -bool cppISteamInput_SteamInput005_BNewDataAvailable(void *linux_side) +void cppISteamInput_SteamInput005_BNewDataAvailable( struct cppISteamInput_SteamInput005_BNewDataAvailable_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->BNewDataAvailable(); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->BNewDataAvailable( ); } -int cppISteamInput_SteamInput005_GetConnectedControllers(void *linux_side, InputHandle_t *handlesOut) +void cppISteamInput_SteamInput005_GetConnectedControllers( struct cppISteamInput_SteamInput005_GetConnectedControllers_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetConnectedControllers((InputHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetConnectedControllers( (InputHandle_t *)params->handlesOut ); } -void cppISteamInput_SteamInput005_EnableDeviceCallbacks(void *linux_side) +void cppISteamInput_SteamInput005_EnableDeviceCallbacks( struct cppISteamInput_SteamInput005_EnableDeviceCallbacks_params *params ) { - ((ISteamInput*)linux_side)->EnableDeviceCallbacks(); + ((ISteamInput*)params->linux_side)->EnableDeviceCallbacks( ); } -InputActionSetHandle_t cppISteamInput_SteamInput005_GetActionSetHandle(void *linux_side, const char *pszActionSetName) +void cppISteamInput_SteamInput005_GetActionSetHandle( struct cppISteamInput_SteamInput005_GetActionSetHandle_params *params ) { - InputActionSetHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetActionSetHandle( (const char *)params->pszActionSetName ); } -void cppISteamInput_SteamInput005_ActivateActionSet(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +void cppISteamInput_SteamInput005_ActivateActionSet( struct cppISteamInput_SteamInput005_ActivateActionSet_params *params ) { - ((ISteamInput*)linux_side)->ActivateActionSet((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle); + ((ISteamInput*)params->linux_side)->ActivateActionSet( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetHandle ); } -InputActionSetHandle_t cppISteamInput_SteamInput005_GetCurrentActionSet(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput005_GetCurrentActionSet( struct cppISteamInput_SteamInput005_GetCurrentActionSet_params *params ) { - InputActionSetHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetCurrentActionSet((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetCurrentActionSet( (InputHandle_t)params->inputHandle ); } -void cppISteamInput_SteamInput005_ActivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +void cppISteamInput_SteamInput005_ActivateActionSetLayer( struct cppISteamInput_SteamInput005_ActivateActionSetLayer_params *params ) { - ((ISteamInput*)linux_side)->ActivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + ((ISteamInput*)params->linux_side)->ActivateActionSetLayer( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamInput_SteamInput005_DeactivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +void cppISteamInput_SteamInput005_DeactivateActionSetLayer( struct cppISteamInput_SteamInput005_DeactivateActionSetLayer_params *params ) { - ((ISteamInput*)linux_side)->DeactivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + ((ISteamInput*)params->linux_side)->DeactivateActionSetLayer( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamInput_SteamInput005_DeactivateAllActionSetLayers(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput005_DeactivateAllActionSetLayers( struct cppISteamInput_SteamInput005_DeactivateAllActionSetLayers_params *params ) { - ((ISteamInput*)linux_side)->DeactivateAllActionSetLayers((InputHandle_t)inputHandle); + ((ISteamInput*)params->linux_side)->DeactivateAllActionSetLayers( (InputHandle_t)params->inputHandle ); } -int cppISteamInput_SteamInput005_GetActiveActionSetLayers(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t *handlesOut) +void cppISteamInput_SteamInput005_GetActiveActionSetLayers( struct cppISteamInput_SteamInput005_GetActiveActionSetLayers_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetActiveActionSetLayers((InputHandle_t)inputHandle, (InputActionSetHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetActiveActionSetLayers( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t *)params->handlesOut ); } -InputDigitalActionHandle_t cppISteamInput_SteamInput005_GetDigitalActionHandle(void *linux_side, const char *pszActionName) +void cppISteamInput_SteamInput005_GetDigitalActionHandle( struct cppISteamInput_SteamInput005_GetDigitalActionHandle_params *params ) { - InputDigitalActionHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetDigitalActionHandle( (const char *)params->pszActionName ); } -InputDigitalActionData_t cppISteamInput_SteamInput005_GetDigitalActionData(void *linux_side, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +void cppISteamInput_SteamInput005_GetDigitalActionData( struct cppISteamInput_SteamInput005_GetDigitalActionData_params *params ) { - InputDigitalActionData_t _ret; - _ret = ((ISteamInput*)linux_side)->GetDigitalActionData((InputHandle_t)inputHandle, (InputDigitalActionHandle_t)digitalActionHandle); - return (_ret); + *params->_ret = ((ISteamInput*)params->linux_side)->GetDigitalActionData( (InputHandle_t)params->inputHandle, (InputDigitalActionHandle_t)params->digitalActionHandle ); } -int cppISteamInput_SteamInput005_GetDigitalActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin *originsOut) +void cppISteamInput_SteamInput005_GetDigitalActionOrigins( struct cppISteamInput_SteamInput005_GetDigitalActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetDigitalActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputDigitalActionHandle_t)digitalActionHandle, (EInputActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetDigitalActionOrigins( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetHandle, (InputDigitalActionHandle_t)params->digitalActionHandle, (EInputActionOrigin *)params->originsOut ); } -const char * cppISteamInput_SteamInput005_GetStringForDigitalActionName(void *linux_side, InputDigitalActionHandle_t eActionHandle) +void cppISteamInput_SteamInput005_GetStringForDigitalActionName( struct cppISteamInput_SteamInput005_GetStringForDigitalActionName_params *params ) { - const char *_ret; - _ret = ((ISteamInput*)linux_side)->GetStringForDigitalActionName((InputDigitalActionHandle_t)eActionHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetStringForDigitalActionName( (InputDigitalActionHandle_t)params->eActionHandle ); } -InputAnalogActionHandle_t cppISteamInput_SteamInput005_GetAnalogActionHandle(void *linux_side, const char *pszActionName) +void cppISteamInput_SteamInput005_GetAnalogActionHandle( struct cppISteamInput_SteamInput005_GetAnalogActionHandle_params *params ) { - InputAnalogActionHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetAnalogActionHandle( (const char *)params->pszActionName ); } -InputAnalogActionData_t cppISteamInput_SteamInput005_GetAnalogActionData(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) +void cppISteamInput_SteamInput005_GetAnalogActionData( struct cppISteamInput_SteamInput005_GetAnalogActionData_params *params ) { - InputAnalogActionData_t _ret; - _ret = ((ISteamInput*)linux_side)->GetAnalogActionData((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)analogActionHandle); - return (_ret); + *params->_ret = ((ISteamInput*)params->linux_side)->GetAnalogActionData( (InputHandle_t)params->inputHandle, (InputAnalogActionHandle_t)params->analogActionHandle ); } -int cppISteamInput_SteamInput005_GetAnalogActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin *originsOut) +void cppISteamInput_SteamInput005_GetAnalogActionOrigins( struct cppISteamInput_SteamInput005_GetAnalogActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetAnalogActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputAnalogActionHandle_t)analogActionHandle, (EInputActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetAnalogActionOrigins( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetHandle, (InputAnalogActionHandle_t)params->analogActionHandle, (EInputActionOrigin *)params->originsOut ); } -const char * cppISteamInput_SteamInput005_GetStringForActionOrigin(void *linux_side, EInputActionOrigin eOrigin) +void cppISteamInput_SteamInput005_GetStringForActionOrigin( struct cppISteamInput_SteamInput005_GetStringForActionOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamInput*)linux_side)->GetStringForActionOrigin((EInputActionOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetStringForActionOrigin( (EInputActionOrigin)params->eOrigin ); } -const char * cppISteamInput_SteamInput005_GetStringForAnalogActionName(void *linux_side, InputAnalogActionHandle_t eActionHandle) +void cppISteamInput_SteamInput005_GetStringForAnalogActionName( struct cppISteamInput_SteamInput005_GetStringForAnalogActionName_params *params ) { - const char *_ret; - _ret = ((ISteamInput*)linux_side)->GetStringForAnalogActionName((InputAnalogActionHandle_t)eActionHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetStringForAnalogActionName( (InputAnalogActionHandle_t)params->eActionHandle ); } -void cppISteamInput_SteamInput005_StopAnalogActionMomentum(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) +void cppISteamInput_SteamInput005_StopAnalogActionMomentum( struct cppISteamInput_SteamInput005_StopAnalogActionMomentum_params *params ) { - ((ISteamInput*)linux_side)->StopAnalogActionMomentum((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)eAction); + ((ISteamInput*)params->linux_side)->StopAnalogActionMomentum( (InputHandle_t)params->inputHandle, (InputAnalogActionHandle_t)params->eAction ); } -InputMotionData_t cppISteamInput_SteamInput005_GetMotionData(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput005_GetMotionData( struct cppISteamInput_SteamInput005_GetMotionData_params *params ) { - InputMotionData_t _ret; - _ret = ((ISteamInput*)linux_side)->GetMotionData((InputHandle_t)inputHandle); - return (_ret); + *params->_ret = ((ISteamInput*)params->linux_side)->GetMotionData( (InputHandle_t)params->inputHandle ); } -void cppISteamInput_SteamInput005_TriggerVibration(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +void cppISteamInput_SteamInput005_TriggerVibration( struct cppISteamInput_SteamInput005_TriggerVibration_params *params ) { - ((ISteamInput*)linux_side)->TriggerVibration((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + ((ISteamInput*)params->linux_side)->TriggerVibration( (InputHandle_t)params->inputHandle, (unsigned short)params->usLeftSpeed, (unsigned short)params->usRightSpeed ); } -void cppISteamInput_SteamInput005_TriggerVibrationExtended(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed, unsigned short usLeftTriggerSpeed, unsigned short usRightTriggerSpeed) +void cppISteamInput_SteamInput005_TriggerVibrationExtended( struct cppISteamInput_SteamInput005_TriggerVibrationExtended_params *params ) { - ((ISteamInput*)linux_side)->TriggerVibrationExtended((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed, (unsigned short)usLeftTriggerSpeed, (unsigned short)usRightTriggerSpeed); + ((ISteamInput*)params->linux_side)->TriggerVibrationExtended( (InputHandle_t)params->inputHandle, (unsigned short)params->usLeftSpeed, (unsigned short)params->usRightSpeed, (unsigned short)params->usLeftTriggerSpeed, (unsigned short)params->usRightTriggerSpeed ); } -void cppISteamInput_SteamInput005_TriggerSimpleHapticEvent(void *linux_side, InputHandle_t inputHandle, EControllerHapticLocation eHapticLocation, uint8 nIntensity, char nGainDB, uint8 nOtherIntensity, char nOtherGainDB) +void cppISteamInput_SteamInput005_TriggerSimpleHapticEvent( struct cppISteamInput_SteamInput005_TriggerSimpleHapticEvent_params *params ) { - ((ISteamInput*)linux_side)->TriggerSimpleHapticEvent((InputHandle_t)inputHandle, (EControllerHapticLocation)eHapticLocation, (uint8)nIntensity, (char)nGainDB, (uint8)nOtherIntensity, (char)nOtherGainDB); + ((ISteamInput*)params->linux_side)->TriggerSimpleHapticEvent( (InputHandle_t)params->inputHandle, (EControllerHapticLocation)params->eHapticLocation, (uint8)params->nIntensity, (char)params->nGainDB, (uint8)params->nOtherIntensity, (char)params->nOtherGainDB ); } -void cppISteamInput_SteamInput005_SetLEDColor(void *linux_side, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +void cppISteamInput_SteamInput005_SetLEDColor( struct cppISteamInput_SteamInput005_SetLEDColor_params *params ) { - ((ISteamInput*)linux_side)->SetLEDColor((InputHandle_t)inputHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + ((ISteamInput*)params->linux_side)->SetLEDColor( (InputHandle_t)params->inputHandle, (uint8)params->nColorR, (uint8)params->nColorG, (uint8)params->nColorB, (unsigned int)params->nFlags ); } -void cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse( struct cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse_params *params ) { - ((ISteamInput*)linux_side)->Legacy_TriggerHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + ((ISteamInput*)params->linux_side)->Legacy_TriggerHapticPulse( (InputHandle_t)params->inputHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec ); } -void cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +void cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse( struct cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse_params *params ) { - ((ISteamInput*)linux_side)->Legacy_TriggerRepeatedHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + ((ISteamInput*)params->linux_side)->Legacy_TriggerRepeatedHapticPulse( (InputHandle_t)params->inputHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec, (unsigned short)params->usOffMicroSec, (unsigned short)params->unRepeat, (unsigned int)params->nFlags ); } -bool cppISteamInput_SteamInput005_ShowBindingPanel(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput005_ShowBindingPanel( struct cppISteamInput_SteamInput005_ShowBindingPanel_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->ShowBindingPanel((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->ShowBindingPanel( (InputHandle_t)params->inputHandle ); } -ESteamInputType cppISteamInput_SteamInput005_GetInputTypeForHandle(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput005_GetInputTypeForHandle( struct cppISteamInput_SteamInput005_GetInputTypeForHandle_params *params ) { - ESteamInputType _ret; - _ret = ((ISteamInput*)linux_side)->GetInputTypeForHandle((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetInputTypeForHandle( (InputHandle_t)params->inputHandle ); } -InputHandle_t cppISteamInput_SteamInput005_GetControllerForGamepadIndex(void *linux_side, int nIndex) +void cppISteamInput_SteamInput005_GetControllerForGamepadIndex( struct cppISteamInput_SteamInput005_GetControllerForGamepadIndex_params *params ) { - InputHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetControllerForGamepadIndex((int)nIndex); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetControllerForGamepadIndex( (int)params->nIndex ); } -int cppISteamInput_SteamInput005_GetGamepadIndexForController(void *linux_side, InputHandle_t ulinputHandle) +void cppISteamInput_SteamInput005_GetGamepadIndexForController( struct cppISteamInput_SteamInput005_GetGamepadIndexForController_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetGamepadIndexForController((InputHandle_t)ulinputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetGamepadIndexForController( (InputHandle_t)params->ulinputHandle ); } -const char * cppISteamInput_SteamInput005_GetStringForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +void cppISteamInput_SteamInput005_GetStringForXboxOrigin( struct cppISteamInput_SteamInput005_GetStringForXboxOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamInput*)linux_side)->GetStringForXboxOrigin((EXboxOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetStringForXboxOrigin( (EXboxOrigin)params->eOrigin ); } -EInputActionOrigin cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(void *linux_side, InputHandle_t inputHandle, EXboxOrigin eOrigin) +void cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin( struct cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin_params *params ) { - EInputActionOrigin _ret; - _ret = ((ISteamInput*)linux_side)->GetActionOriginFromXboxOrigin((InputHandle_t)inputHandle, (EXboxOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetActionOriginFromXboxOrigin( (InputHandle_t)params->inputHandle, (EXboxOrigin)params->eOrigin ); } -EInputActionOrigin cppISteamInput_SteamInput005_TranslateActionOrigin(void *linux_side, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +void cppISteamInput_SteamInput005_TranslateActionOrigin( struct cppISteamInput_SteamInput005_TranslateActionOrigin_params *params ) { - EInputActionOrigin _ret; - _ret = ((ISteamInput*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EInputActionOrigin)eSourceOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->TranslateActionOrigin( (ESteamInputType)params->eDestinationInputType, (EInputActionOrigin)params->eSourceOrigin ); } -bool cppISteamInput_SteamInput005_GetDeviceBindingRevision(void *linux_side, InputHandle_t inputHandle, int *pMajor, int *pMinor) +void cppISteamInput_SteamInput005_GetDeviceBindingRevision( struct cppISteamInput_SteamInput005_GetDeviceBindingRevision_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->GetDeviceBindingRevision((InputHandle_t)inputHandle, (int *)pMajor, (int *)pMinor); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetDeviceBindingRevision( (InputHandle_t)params->inputHandle, (int *)params->pMajor, (int *)params->pMinor ); } -uint32 cppISteamInput_SteamInput005_GetRemotePlaySessionID(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput005_GetRemotePlaySessionID( struct cppISteamInput_SteamInput005_GetRemotePlaySessionID_params *params ) { - uint32 _ret; - _ret = ((ISteamInput*)linux_side)->GetRemotePlaySessionID((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetRemotePlaySessionID( (InputHandle_t)params->inputHandle ); } -uint16 cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings(void *linux_side) +void cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings( struct cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings_params *params ) { - uint16 _ret; - _ret = ((ISteamInput*)linux_side)->GetSessionInputConfigurationSettings(); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetSessionInputConfigurationSettings( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamInput_SteamInput005.h b/lsteamclient/cppISteamInput_SteamInput005.h index 903dc799..bcb77065 100644 --- a/lsteamclient/cppISteamInput_SteamInput005.h +++ b/lsteamclient/cppISteamInput_SteamInput005.h @@ -1,47 +1,401 @@ -extern bool cppISteamInput_SteamInput005_Init(void *, bool); -extern bool cppISteamInput_SteamInput005_Shutdown(void *); -extern bool cppISteamInput_SteamInput005_SetInputActionManifestFilePath(void *, const char *); -extern void cppISteamInput_SteamInput005_RunFrame(void *, bool); -extern bool cppISteamInput_SteamInput005_BWaitForData(void *, bool, uint32); -extern bool cppISteamInput_SteamInput005_BNewDataAvailable(void *); -extern int cppISteamInput_SteamInput005_GetConnectedControllers(void *, InputHandle_t *); -extern void cppISteamInput_SteamInput005_EnableDeviceCallbacks(void *); -extern void cppISteamInput_SteamInput005_EnableActionEventCallbacks(void *, SteamInputActionEventCallbackPointer); -extern InputActionSetHandle_t cppISteamInput_SteamInput005_GetActionSetHandle(void *, const char *); -extern void cppISteamInput_SteamInput005_ActivateActionSet(void *, InputHandle_t, InputActionSetHandle_t); -extern InputActionSetHandle_t cppISteamInput_SteamInput005_GetCurrentActionSet(void *, InputHandle_t); -extern void cppISteamInput_SteamInput005_ActivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput005_DeactivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput005_DeactivateAllActionSetLayers(void *, InputHandle_t); -extern int cppISteamInput_SteamInput005_GetActiveActionSetLayers(void *, InputHandle_t, InputActionSetHandle_t *); -extern InputDigitalActionHandle_t cppISteamInput_SteamInput005_GetDigitalActionHandle(void *, const char *); -extern InputDigitalActionData_t cppISteamInput_SteamInput005_GetDigitalActionData(void *, InputHandle_t, InputDigitalActionHandle_t); -extern int cppISteamInput_SteamInput005_GetDigitalActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputDigitalActionHandle_t, EInputActionOrigin *); -extern const char * cppISteamInput_SteamInput005_GetStringForDigitalActionName(void *, InputDigitalActionHandle_t); -extern InputAnalogActionHandle_t cppISteamInput_SteamInput005_GetAnalogActionHandle(void *, const char *); -extern InputAnalogActionData_t cppISteamInput_SteamInput005_GetAnalogActionData(void *, InputHandle_t, InputAnalogActionHandle_t); -extern int cppISteamInput_SteamInput005_GetAnalogActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputAnalogActionHandle_t, EInputActionOrigin *); -extern const char * cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin(void *, EInputActionOrigin, ESteamInputGlyphSize, uint32); -extern const char * cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin(void *, EInputActionOrigin, uint32); -extern const char * cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy(void *, EInputActionOrigin); -extern const char * cppISteamInput_SteamInput005_GetStringForActionOrigin(void *, EInputActionOrigin); -extern const char * cppISteamInput_SteamInput005_GetStringForAnalogActionName(void *, InputAnalogActionHandle_t); -extern void cppISteamInput_SteamInput005_StopAnalogActionMomentum(void *, InputHandle_t, InputAnalogActionHandle_t); -extern InputMotionData_t cppISteamInput_SteamInput005_GetMotionData(void *, InputHandle_t); -extern void cppISteamInput_SteamInput005_TriggerVibration(void *, InputHandle_t, unsigned short, unsigned short); -extern void cppISteamInput_SteamInput005_TriggerVibrationExtended(void *, InputHandle_t, unsigned short, unsigned short, unsigned short, unsigned short); -extern void cppISteamInput_SteamInput005_TriggerSimpleHapticEvent(void *, InputHandle_t, EControllerHapticLocation, uint8, char, uint8, char); -extern void cppISteamInput_SteamInput005_SetLEDColor(void *, InputHandle_t, uint8, uint8, uint8, unsigned int); -extern void cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern bool cppISteamInput_SteamInput005_ShowBindingPanel(void *, InputHandle_t); -extern ESteamInputType cppISteamInput_SteamInput005_GetInputTypeForHandle(void *, InputHandle_t); -extern InputHandle_t cppISteamInput_SteamInput005_GetControllerForGamepadIndex(void *, int); -extern int cppISteamInput_SteamInput005_GetGamepadIndexForController(void *, InputHandle_t); -extern const char * cppISteamInput_SteamInput005_GetStringForXboxOrigin(void *, EXboxOrigin); -extern const char * cppISteamInput_SteamInput005_GetGlyphForXboxOrigin(void *, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(void *, InputHandle_t, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput005_TranslateActionOrigin(void *, ESteamInputType, EInputActionOrigin); -extern bool cppISteamInput_SteamInput005_GetDeviceBindingRevision(void *, InputHandle_t, int *, int *); -extern uint32 cppISteamInput_SteamInput005_GetRemotePlaySessionID(void *, InputHandle_t); -extern uint16 cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings(void *); +struct cppISteamInput_SteamInput005_Init_params +{ + void *linux_side; + bool _ret; + bool bExplicitlyCallRunFrame; +}; +extern void cppISteamInput_SteamInput005_Init( struct cppISteamInput_SteamInput005_Init_params *params ); + +struct cppISteamInput_SteamInput005_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamInput_SteamInput005_Shutdown( struct cppISteamInput_SteamInput005_Shutdown_params *params ); + +struct cppISteamInput_SteamInput005_SetInputActionManifestFilePath_params +{ + void *linux_side; + bool _ret; + const char *pchInputActionManifestAbsolutePath; +}; +extern void cppISteamInput_SteamInput005_SetInputActionManifestFilePath( struct cppISteamInput_SteamInput005_SetInputActionManifestFilePath_params *params ); + +struct cppISteamInput_SteamInput005_RunFrame_params +{ + void *linux_side; + bool bReservedValue; +}; +extern void cppISteamInput_SteamInput005_RunFrame( struct cppISteamInput_SteamInput005_RunFrame_params *params ); + +struct cppISteamInput_SteamInput005_BWaitForData_params +{ + void *linux_side; + bool _ret; + bool bWaitForever; + uint32 unTimeout; +}; +extern void cppISteamInput_SteamInput005_BWaitForData( struct cppISteamInput_SteamInput005_BWaitForData_params *params ); + +struct cppISteamInput_SteamInput005_BNewDataAvailable_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamInput_SteamInput005_BNewDataAvailable( struct cppISteamInput_SteamInput005_BNewDataAvailable_params *params ); + +struct cppISteamInput_SteamInput005_GetConnectedControllers_params +{ + void *linux_side; + int _ret; + InputHandle_t *handlesOut; +}; +extern void cppISteamInput_SteamInput005_GetConnectedControllers( struct cppISteamInput_SteamInput005_GetConnectedControllers_params *params ); + +struct cppISteamInput_SteamInput005_EnableDeviceCallbacks_params +{ + void *linux_side; +}; +extern void cppISteamInput_SteamInput005_EnableDeviceCallbacks( struct cppISteamInput_SteamInput005_EnableDeviceCallbacks_params *params ); + +struct cppISteamInput_SteamInput005_EnableActionEventCallbacks_params +{ + void *linux_side; + SteamInputActionEventCallbackPointer pCallback; +}; +extern void cppISteamInput_SteamInput005_EnableActionEventCallbacks( struct cppISteamInput_SteamInput005_EnableActionEventCallbacks_params *params ); + +struct cppISteamInput_SteamInput005_GetActionSetHandle_params +{ + void *linux_side; + InputActionSetHandle_t _ret; + const char *pszActionSetName; +}; +extern void cppISteamInput_SteamInput005_GetActionSetHandle( struct cppISteamInput_SteamInput005_GetActionSetHandle_params *params ); + +struct cppISteamInput_SteamInput005_ActivateActionSet_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetHandle; +}; +extern void cppISteamInput_SteamInput005_ActivateActionSet( struct cppISteamInput_SteamInput005_ActivateActionSet_params *params ); + +struct cppISteamInput_SteamInput005_GetCurrentActionSet_params +{ + void *linux_side; + InputActionSetHandle_t _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput005_GetCurrentActionSet( struct cppISteamInput_SteamInput005_GetCurrentActionSet_params *params ); + +struct cppISteamInput_SteamInput005_ActivateActionSetLayer_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamInput_SteamInput005_ActivateActionSetLayer( struct cppISteamInput_SteamInput005_ActivateActionSetLayer_params *params ); + +struct cppISteamInput_SteamInput005_DeactivateActionSetLayer_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamInput_SteamInput005_DeactivateActionSetLayer( struct cppISteamInput_SteamInput005_DeactivateActionSetLayer_params *params ); + +struct cppISteamInput_SteamInput005_DeactivateAllActionSetLayers_params +{ + void *linux_side; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput005_DeactivateAllActionSetLayers( struct cppISteamInput_SteamInput005_DeactivateAllActionSetLayers_params *params ); + +struct cppISteamInput_SteamInput005_GetActiveActionSetLayers_params +{ + void *linux_side; + int _ret; + InputHandle_t inputHandle; + InputActionSetHandle_t *handlesOut; +}; +extern void cppISteamInput_SteamInput005_GetActiveActionSetLayers( struct cppISteamInput_SteamInput005_GetActiveActionSetLayers_params *params ); + +struct cppISteamInput_SteamInput005_GetDigitalActionHandle_params +{ + void *linux_side; + InputDigitalActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamInput_SteamInput005_GetDigitalActionHandle( struct cppISteamInput_SteamInput005_GetDigitalActionHandle_params *params ); + +struct cppISteamInput_SteamInput005_GetDigitalActionData_params +{ + void *linux_side; + InputDigitalActionData_t *_ret; + InputHandle_t inputHandle; + InputDigitalActionHandle_t digitalActionHandle; +}; +extern void cppISteamInput_SteamInput005_GetDigitalActionData( struct cppISteamInput_SteamInput005_GetDigitalActionData_params *params ); + +struct cppISteamInput_SteamInput005_GetDigitalActionOrigins_params +{ + void *linux_side; + int _ret; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetHandle; + InputDigitalActionHandle_t digitalActionHandle; + EInputActionOrigin *originsOut; +}; +extern void cppISteamInput_SteamInput005_GetDigitalActionOrigins( struct cppISteamInput_SteamInput005_GetDigitalActionOrigins_params *params ); + +struct cppISteamInput_SteamInput005_GetStringForDigitalActionName_params +{ + void *linux_side; + const char *_ret; + InputDigitalActionHandle_t eActionHandle; +}; +extern void cppISteamInput_SteamInput005_GetStringForDigitalActionName( struct cppISteamInput_SteamInput005_GetStringForDigitalActionName_params *params ); + +struct cppISteamInput_SteamInput005_GetAnalogActionHandle_params +{ + void *linux_side; + InputAnalogActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamInput_SteamInput005_GetAnalogActionHandle( struct cppISteamInput_SteamInput005_GetAnalogActionHandle_params *params ); + +struct cppISteamInput_SteamInput005_GetAnalogActionData_params +{ + void *linux_side; + InputAnalogActionData_t *_ret; + InputHandle_t inputHandle; + InputAnalogActionHandle_t analogActionHandle; +}; +extern void cppISteamInput_SteamInput005_GetAnalogActionData( struct cppISteamInput_SteamInput005_GetAnalogActionData_params *params ); + +struct cppISteamInput_SteamInput005_GetAnalogActionOrigins_params +{ + void *linux_side; + int _ret; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetHandle; + InputAnalogActionHandle_t analogActionHandle; + EInputActionOrigin *originsOut; +}; +extern void cppISteamInput_SteamInput005_GetAnalogActionOrigins( struct cppISteamInput_SteamInput005_GetAnalogActionOrigins_params *params ); + +struct cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EInputActionOrigin eOrigin; + ESteamInputGlyphSize eSize; + uint32 unFlags; +}; +extern void cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin( struct cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin_params *params ); + +struct cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EInputActionOrigin eOrigin; + uint32 unFlags; +}; +extern void cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin( struct cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin_params *params ); + +struct cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy_params +{ + void *linux_side; + const char *_ret; + EInputActionOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy( struct cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy_params *params ); + +struct cppISteamInput_SteamInput005_GetStringForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EInputActionOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput005_GetStringForActionOrigin( struct cppISteamInput_SteamInput005_GetStringForActionOrigin_params *params ); + +struct cppISteamInput_SteamInput005_GetStringForAnalogActionName_params +{ + void *linux_side; + const char *_ret; + InputAnalogActionHandle_t eActionHandle; +}; +extern void cppISteamInput_SteamInput005_GetStringForAnalogActionName( struct cppISteamInput_SteamInput005_GetStringForAnalogActionName_params *params ); + +struct cppISteamInput_SteamInput005_StopAnalogActionMomentum_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputAnalogActionHandle_t eAction; +}; +extern void cppISteamInput_SteamInput005_StopAnalogActionMomentum( struct cppISteamInput_SteamInput005_StopAnalogActionMomentum_params *params ); + +struct cppISteamInput_SteamInput005_GetMotionData_params +{ + void *linux_side; + InputMotionData_t *_ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput005_GetMotionData( struct cppISteamInput_SteamInput005_GetMotionData_params *params ); + +struct cppISteamInput_SteamInput005_TriggerVibration_params +{ + void *linux_side; + InputHandle_t inputHandle; + unsigned short usLeftSpeed; + unsigned short usRightSpeed; +}; +extern void cppISteamInput_SteamInput005_TriggerVibration( struct cppISteamInput_SteamInput005_TriggerVibration_params *params ); + +struct cppISteamInput_SteamInput005_TriggerVibrationExtended_params +{ + void *linux_side; + InputHandle_t inputHandle; + unsigned short usLeftSpeed; + unsigned short usRightSpeed; + unsigned short usLeftTriggerSpeed; + unsigned short usRightTriggerSpeed; +}; +extern void cppISteamInput_SteamInput005_TriggerVibrationExtended( struct cppISteamInput_SteamInput005_TriggerVibrationExtended_params *params ); + +struct cppISteamInput_SteamInput005_TriggerSimpleHapticEvent_params +{ + void *linux_side; + InputHandle_t inputHandle; + EControllerHapticLocation eHapticLocation; + uint8 nIntensity; + char nGainDB; + uint8 nOtherIntensity; + char nOtherGainDB; +}; +extern void cppISteamInput_SteamInput005_TriggerSimpleHapticEvent( struct cppISteamInput_SteamInput005_TriggerSimpleHapticEvent_params *params ); + +struct cppISteamInput_SteamInput005_SetLEDColor_params +{ + void *linux_side; + InputHandle_t inputHandle; + uint8 nColorR; + uint8 nColorG; + uint8 nColorB; + unsigned int nFlags; +}; +extern void cppISteamInput_SteamInput005_SetLEDColor( struct cppISteamInput_SteamInput005_SetLEDColor_params *params ); + +struct cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse_params +{ + void *linux_side; + InputHandle_t inputHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; +}; +extern void cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse( struct cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse_params *params ); + +struct cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse_params +{ + void *linux_side; + InputHandle_t inputHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; + unsigned short usOffMicroSec; + unsigned short unRepeat; + unsigned int nFlags; +}; +extern void cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse( struct cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse_params *params ); + +struct cppISteamInput_SteamInput005_ShowBindingPanel_params +{ + void *linux_side; + bool _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput005_ShowBindingPanel( struct cppISteamInput_SteamInput005_ShowBindingPanel_params *params ); + +struct cppISteamInput_SteamInput005_GetInputTypeForHandle_params +{ + void *linux_side; + ESteamInputType _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput005_GetInputTypeForHandle( struct cppISteamInput_SteamInput005_GetInputTypeForHandle_params *params ); + +struct cppISteamInput_SteamInput005_GetControllerForGamepadIndex_params +{ + void *linux_side; + InputHandle_t _ret; + int nIndex; +}; +extern void cppISteamInput_SteamInput005_GetControllerForGamepadIndex( struct cppISteamInput_SteamInput005_GetControllerForGamepadIndex_params *params ); + +struct cppISteamInput_SteamInput005_GetGamepadIndexForController_params +{ + void *linux_side; + int _ret; + InputHandle_t ulinputHandle; +}; +extern void cppISteamInput_SteamInput005_GetGamepadIndexForController( struct cppISteamInput_SteamInput005_GetGamepadIndexForController_params *params ); + +struct cppISteamInput_SteamInput005_GetStringForXboxOrigin_params +{ + void *linux_side; + const char *_ret; + EXboxOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput005_GetStringForXboxOrigin( struct cppISteamInput_SteamInput005_GetStringForXboxOrigin_params *params ); + +struct cppISteamInput_SteamInput005_GetGlyphForXboxOrigin_params +{ + void *linux_side; + const char *_ret; + EXboxOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput005_GetGlyphForXboxOrigin( struct cppISteamInput_SteamInput005_GetGlyphForXboxOrigin_params *params ); + +struct cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin_params +{ + void *linux_side; + EInputActionOrigin _ret; + InputHandle_t inputHandle; + EXboxOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin( struct cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin_params *params ); + +struct cppISteamInput_SteamInput005_TranslateActionOrigin_params +{ + void *linux_side; + EInputActionOrigin _ret; + ESteamInputType eDestinationInputType; + EInputActionOrigin eSourceOrigin; +}; +extern void cppISteamInput_SteamInput005_TranslateActionOrigin( struct cppISteamInput_SteamInput005_TranslateActionOrigin_params *params ); + +struct cppISteamInput_SteamInput005_GetDeviceBindingRevision_params +{ + void *linux_side; + bool _ret; + InputHandle_t inputHandle; + int *pMajor; + int *pMinor; +}; +extern void cppISteamInput_SteamInput005_GetDeviceBindingRevision( struct cppISteamInput_SteamInput005_GetDeviceBindingRevision_params *params ); + +struct cppISteamInput_SteamInput005_GetRemotePlaySessionID_params +{ + void *linux_side; + uint32 _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput005_GetRemotePlaySessionID( struct cppISteamInput_SteamInput005_GetRemotePlaySessionID_params *params ); + +struct cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings_params +{ + void *linux_side; + uint16 _ret; +}; +extern void cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings( struct cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings_params *params ); + diff --git a/lsteamclient/cppISteamInput_SteamInput006.cpp b/lsteamclient/cppISteamInput_SteamInput006.cpp index f0c53671..91c1652c 100644 --- a/lsteamclient/cppISteamInput_SteamInput006.cpp +++ b/lsteamclient/cppISteamInput_SteamInput006.cpp @@ -12,277 +12,219 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamInput_SteamInput006.h" -bool cppISteamInput_SteamInput006_Init(void *linux_side, bool bExplicitlyCallRunFrame) +void cppISteamInput_SteamInput006_Init( struct cppISteamInput_SteamInput006_Init_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->Init((bool)bExplicitlyCallRunFrame); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->Init( (bool)params->bExplicitlyCallRunFrame ); } -bool cppISteamInput_SteamInput006_Shutdown(void *linux_side) +void cppISteamInput_SteamInput006_Shutdown( struct cppISteamInput_SteamInput006_Shutdown_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->Shutdown(); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->Shutdown( ); } -bool cppISteamInput_SteamInput006_SetInputActionManifestFilePath(void *linux_side, const char *pchInputActionManifestAbsolutePath) +void cppISteamInput_SteamInput006_SetInputActionManifestFilePath( struct cppISteamInput_SteamInput006_SetInputActionManifestFilePath_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->SetInputActionManifestFilePath((const char *)pchInputActionManifestAbsolutePath); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->SetInputActionManifestFilePath( (const char *)params->pchInputActionManifestAbsolutePath ); } -void cppISteamInput_SteamInput006_RunFrame(void *linux_side, bool bReservedValue) +void cppISteamInput_SteamInput006_RunFrame( struct cppISteamInput_SteamInput006_RunFrame_params *params ) { - ((ISteamInput*)linux_side)->RunFrame((bool)bReservedValue); + ((ISteamInput*)params->linux_side)->RunFrame( (bool)params->bReservedValue ); } -bool cppISteamInput_SteamInput006_BWaitForData(void *linux_side, bool bWaitForever, uint32 unTimeout) +void cppISteamInput_SteamInput006_BWaitForData( struct cppISteamInput_SteamInput006_BWaitForData_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->BWaitForData((bool)bWaitForever, (uint32)unTimeout); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->BWaitForData( (bool)params->bWaitForever, (uint32)params->unTimeout ); } -bool cppISteamInput_SteamInput006_BNewDataAvailable(void *linux_side) +void cppISteamInput_SteamInput006_BNewDataAvailable( struct cppISteamInput_SteamInput006_BNewDataAvailable_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->BNewDataAvailable(); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->BNewDataAvailable( ); } -int cppISteamInput_SteamInput006_GetConnectedControllers(void *linux_side, InputHandle_t *handlesOut) +void cppISteamInput_SteamInput006_GetConnectedControllers( struct cppISteamInput_SteamInput006_GetConnectedControllers_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetConnectedControllers((InputHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetConnectedControllers( (InputHandle_t *)params->handlesOut ); } -void cppISteamInput_SteamInput006_EnableDeviceCallbacks(void *linux_side) +void cppISteamInput_SteamInput006_EnableDeviceCallbacks( struct cppISteamInput_SteamInput006_EnableDeviceCallbacks_params *params ) { - ((ISteamInput*)linux_side)->EnableDeviceCallbacks(); + ((ISteamInput*)params->linux_side)->EnableDeviceCallbacks( ); } -InputActionSetHandle_t cppISteamInput_SteamInput006_GetActionSetHandle(void *linux_side, const char *pszActionSetName) +void cppISteamInput_SteamInput006_GetActionSetHandle( struct cppISteamInput_SteamInput006_GetActionSetHandle_params *params ) { - InputActionSetHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetActionSetHandle( (const char *)params->pszActionSetName ); } -void cppISteamInput_SteamInput006_ActivateActionSet(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +void cppISteamInput_SteamInput006_ActivateActionSet( struct cppISteamInput_SteamInput006_ActivateActionSet_params *params ) { - ((ISteamInput*)linux_side)->ActivateActionSet((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle); + ((ISteamInput*)params->linux_side)->ActivateActionSet( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetHandle ); } -InputActionSetHandle_t cppISteamInput_SteamInput006_GetCurrentActionSet(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput006_GetCurrentActionSet( struct cppISteamInput_SteamInput006_GetCurrentActionSet_params *params ) { - InputActionSetHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetCurrentActionSet((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetCurrentActionSet( (InputHandle_t)params->inputHandle ); } -void cppISteamInput_SteamInput006_ActivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +void cppISteamInput_SteamInput006_ActivateActionSetLayer( struct cppISteamInput_SteamInput006_ActivateActionSetLayer_params *params ) { - ((ISteamInput*)linux_side)->ActivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + ((ISteamInput*)params->linux_side)->ActivateActionSetLayer( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamInput_SteamInput006_DeactivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +void cppISteamInput_SteamInput006_DeactivateActionSetLayer( struct cppISteamInput_SteamInput006_DeactivateActionSetLayer_params *params ) { - ((ISteamInput*)linux_side)->DeactivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + ((ISteamInput*)params->linux_side)->DeactivateActionSetLayer( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetLayerHandle ); } -void cppISteamInput_SteamInput006_DeactivateAllActionSetLayers(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput006_DeactivateAllActionSetLayers( struct cppISteamInput_SteamInput006_DeactivateAllActionSetLayers_params *params ) { - ((ISteamInput*)linux_side)->DeactivateAllActionSetLayers((InputHandle_t)inputHandle); + ((ISteamInput*)params->linux_side)->DeactivateAllActionSetLayers( (InputHandle_t)params->inputHandle ); } -int cppISteamInput_SteamInput006_GetActiveActionSetLayers(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t *handlesOut) +void cppISteamInput_SteamInput006_GetActiveActionSetLayers( struct cppISteamInput_SteamInput006_GetActiveActionSetLayers_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetActiveActionSetLayers((InputHandle_t)inputHandle, (InputActionSetHandle_t *)handlesOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetActiveActionSetLayers( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t *)params->handlesOut ); } -InputDigitalActionHandle_t cppISteamInput_SteamInput006_GetDigitalActionHandle(void *linux_side, const char *pszActionName) +void cppISteamInput_SteamInput006_GetDigitalActionHandle( struct cppISteamInput_SteamInput006_GetDigitalActionHandle_params *params ) { - InputDigitalActionHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetDigitalActionHandle( (const char *)params->pszActionName ); } -InputDigitalActionData_t cppISteamInput_SteamInput006_GetDigitalActionData(void *linux_side, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +void cppISteamInput_SteamInput006_GetDigitalActionData( struct cppISteamInput_SteamInput006_GetDigitalActionData_params *params ) { - InputDigitalActionData_t _ret; - _ret = ((ISteamInput*)linux_side)->GetDigitalActionData((InputHandle_t)inputHandle, (InputDigitalActionHandle_t)digitalActionHandle); - return (_ret); + *params->_ret = ((ISteamInput*)params->linux_side)->GetDigitalActionData( (InputHandle_t)params->inputHandle, (InputDigitalActionHandle_t)params->digitalActionHandle ); } -int cppISteamInput_SteamInput006_GetDigitalActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin *originsOut) +void cppISteamInput_SteamInput006_GetDigitalActionOrigins( struct cppISteamInput_SteamInput006_GetDigitalActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetDigitalActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputDigitalActionHandle_t)digitalActionHandle, (EInputActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetDigitalActionOrigins( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetHandle, (InputDigitalActionHandle_t)params->digitalActionHandle, (EInputActionOrigin *)params->originsOut ); } -const char * cppISteamInput_SteamInput006_GetStringForDigitalActionName(void *linux_side, InputDigitalActionHandle_t eActionHandle) +void cppISteamInput_SteamInput006_GetStringForDigitalActionName( struct cppISteamInput_SteamInput006_GetStringForDigitalActionName_params *params ) { - const char *_ret; - _ret = ((ISteamInput*)linux_side)->GetStringForDigitalActionName((InputDigitalActionHandle_t)eActionHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetStringForDigitalActionName( (InputDigitalActionHandle_t)params->eActionHandle ); } -InputAnalogActionHandle_t cppISteamInput_SteamInput006_GetAnalogActionHandle(void *linux_side, const char *pszActionName) +void cppISteamInput_SteamInput006_GetAnalogActionHandle( struct cppISteamInput_SteamInput006_GetAnalogActionHandle_params *params ) { - InputAnalogActionHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetAnalogActionHandle( (const char *)params->pszActionName ); } -InputAnalogActionData_t cppISteamInput_SteamInput006_GetAnalogActionData(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) +void cppISteamInput_SteamInput006_GetAnalogActionData( struct cppISteamInput_SteamInput006_GetAnalogActionData_params *params ) { - InputAnalogActionData_t _ret; - _ret = ((ISteamInput*)linux_side)->GetAnalogActionData((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)analogActionHandle); - return (_ret); + *params->_ret = ((ISteamInput*)params->linux_side)->GetAnalogActionData( (InputHandle_t)params->inputHandle, (InputAnalogActionHandle_t)params->analogActionHandle ); } -int cppISteamInput_SteamInput006_GetAnalogActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin *originsOut) +void cppISteamInput_SteamInput006_GetAnalogActionOrigins( struct cppISteamInput_SteamInput006_GetAnalogActionOrigins_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetAnalogActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputAnalogActionHandle_t)analogActionHandle, (EInputActionOrigin *)originsOut); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetAnalogActionOrigins( (InputHandle_t)params->inputHandle, (InputActionSetHandle_t)params->actionSetHandle, (InputAnalogActionHandle_t)params->analogActionHandle, (EInputActionOrigin *)params->originsOut ); } -const char * cppISteamInput_SteamInput006_GetStringForActionOrigin(void *linux_side, EInputActionOrigin eOrigin) +void cppISteamInput_SteamInput006_GetStringForActionOrigin( struct cppISteamInput_SteamInput006_GetStringForActionOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamInput*)linux_side)->GetStringForActionOrigin((EInputActionOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetStringForActionOrigin( (EInputActionOrigin)params->eOrigin ); } -const char * cppISteamInput_SteamInput006_GetStringForAnalogActionName(void *linux_side, InputAnalogActionHandle_t eActionHandle) +void cppISteamInput_SteamInput006_GetStringForAnalogActionName( struct cppISteamInput_SteamInput006_GetStringForAnalogActionName_params *params ) { - const char *_ret; - _ret = ((ISteamInput*)linux_side)->GetStringForAnalogActionName((InputAnalogActionHandle_t)eActionHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetStringForAnalogActionName( (InputAnalogActionHandle_t)params->eActionHandle ); } -void cppISteamInput_SteamInput006_StopAnalogActionMomentum(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) +void cppISteamInput_SteamInput006_StopAnalogActionMomentum( struct cppISteamInput_SteamInput006_StopAnalogActionMomentum_params *params ) { - ((ISteamInput*)linux_side)->StopAnalogActionMomentum((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)eAction); + ((ISteamInput*)params->linux_side)->StopAnalogActionMomentum( (InputHandle_t)params->inputHandle, (InputAnalogActionHandle_t)params->eAction ); } -InputMotionData_t cppISteamInput_SteamInput006_GetMotionData(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput006_GetMotionData( struct cppISteamInput_SteamInput006_GetMotionData_params *params ) { - InputMotionData_t _ret; - _ret = ((ISteamInput*)linux_side)->GetMotionData((InputHandle_t)inputHandle); - return (_ret); + *params->_ret = ((ISteamInput*)params->linux_side)->GetMotionData( (InputHandle_t)params->inputHandle ); } -void cppISteamInput_SteamInput006_TriggerVibration(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +void cppISteamInput_SteamInput006_TriggerVibration( struct cppISteamInput_SteamInput006_TriggerVibration_params *params ) { - ((ISteamInput*)linux_side)->TriggerVibration((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + ((ISteamInput*)params->linux_side)->TriggerVibration( (InputHandle_t)params->inputHandle, (unsigned short)params->usLeftSpeed, (unsigned short)params->usRightSpeed ); } -void cppISteamInput_SteamInput006_TriggerVibrationExtended(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed, unsigned short usLeftTriggerSpeed, unsigned short usRightTriggerSpeed) +void cppISteamInput_SteamInput006_TriggerVibrationExtended( struct cppISteamInput_SteamInput006_TriggerVibrationExtended_params *params ) { - ((ISteamInput*)linux_side)->TriggerVibrationExtended((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed, (unsigned short)usLeftTriggerSpeed, (unsigned short)usRightTriggerSpeed); + ((ISteamInput*)params->linux_side)->TriggerVibrationExtended( (InputHandle_t)params->inputHandle, (unsigned short)params->usLeftSpeed, (unsigned short)params->usRightSpeed, (unsigned short)params->usLeftTriggerSpeed, (unsigned short)params->usRightTriggerSpeed ); } -void cppISteamInput_SteamInput006_TriggerSimpleHapticEvent(void *linux_side, InputHandle_t inputHandle, EControllerHapticLocation eHapticLocation, uint8 nIntensity, char nGainDB, uint8 nOtherIntensity, char nOtherGainDB) +void cppISteamInput_SteamInput006_TriggerSimpleHapticEvent( struct cppISteamInput_SteamInput006_TriggerSimpleHapticEvent_params *params ) { - ((ISteamInput*)linux_side)->TriggerSimpleHapticEvent((InputHandle_t)inputHandle, (EControllerHapticLocation)eHapticLocation, (uint8)nIntensity, (char)nGainDB, (uint8)nOtherIntensity, (char)nOtherGainDB); + ((ISteamInput*)params->linux_side)->TriggerSimpleHapticEvent( (InputHandle_t)params->inputHandle, (EControllerHapticLocation)params->eHapticLocation, (uint8)params->nIntensity, (char)params->nGainDB, (uint8)params->nOtherIntensity, (char)params->nOtherGainDB ); } -void cppISteamInput_SteamInput006_SetLEDColor(void *linux_side, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +void cppISteamInput_SteamInput006_SetLEDColor( struct cppISteamInput_SteamInput006_SetLEDColor_params *params ) { - ((ISteamInput*)linux_side)->SetLEDColor((InputHandle_t)inputHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + ((ISteamInput*)params->linux_side)->SetLEDColor( (InputHandle_t)params->inputHandle, (uint8)params->nColorR, (uint8)params->nColorG, (uint8)params->nColorB, (unsigned int)params->nFlags ); } -void cppISteamInput_SteamInput006_Legacy_TriggerHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void cppISteamInput_SteamInput006_Legacy_TriggerHapticPulse( struct cppISteamInput_SteamInput006_Legacy_TriggerHapticPulse_params *params ) { - ((ISteamInput*)linux_side)->Legacy_TriggerHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + ((ISteamInput*)params->linux_side)->Legacy_TriggerHapticPulse( (InputHandle_t)params->inputHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec ); } -void cppISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +void cppISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse( struct cppISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse_params *params ) { - ((ISteamInput*)linux_side)->Legacy_TriggerRepeatedHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + ((ISteamInput*)params->linux_side)->Legacy_TriggerRepeatedHapticPulse( (InputHandle_t)params->inputHandle, (ESteamControllerPad)params->eTargetPad, (unsigned short)params->usDurationMicroSec, (unsigned short)params->usOffMicroSec, (unsigned short)params->unRepeat, (unsigned int)params->nFlags ); } -bool cppISteamInput_SteamInput006_ShowBindingPanel(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput006_ShowBindingPanel( struct cppISteamInput_SteamInput006_ShowBindingPanel_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->ShowBindingPanel((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->ShowBindingPanel( (InputHandle_t)params->inputHandle ); } -ESteamInputType cppISteamInput_SteamInput006_GetInputTypeForHandle(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput006_GetInputTypeForHandle( struct cppISteamInput_SteamInput006_GetInputTypeForHandle_params *params ) { - ESteamInputType _ret; - _ret = ((ISteamInput*)linux_side)->GetInputTypeForHandle((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetInputTypeForHandle( (InputHandle_t)params->inputHandle ); } -InputHandle_t cppISteamInput_SteamInput006_GetControllerForGamepadIndex(void *linux_side, int nIndex) +void cppISteamInput_SteamInput006_GetControllerForGamepadIndex( struct cppISteamInput_SteamInput006_GetControllerForGamepadIndex_params *params ) { - InputHandle_t _ret; - _ret = ((ISteamInput*)linux_side)->GetControllerForGamepadIndex((int)nIndex); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetControllerForGamepadIndex( (int)params->nIndex ); } -int cppISteamInput_SteamInput006_GetGamepadIndexForController(void *linux_side, InputHandle_t ulinputHandle) +void cppISteamInput_SteamInput006_GetGamepadIndexForController( struct cppISteamInput_SteamInput006_GetGamepadIndexForController_params *params ) { - int _ret; - _ret = ((ISteamInput*)linux_side)->GetGamepadIndexForController((InputHandle_t)ulinputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetGamepadIndexForController( (InputHandle_t)params->ulinputHandle ); } -const char * cppISteamInput_SteamInput006_GetStringForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +void cppISteamInput_SteamInput006_GetStringForXboxOrigin( struct cppISteamInput_SteamInput006_GetStringForXboxOrigin_params *params ) { - const char *_ret; - _ret = ((ISteamInput*)linux_side)->GetStringForXboxOrigin((EXboxOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetStringForXboxOrigin( (EXboxOrigin)params->eOrigin ); } -EInputActionOrigin cppISteamInput_SteamInput006_GetActionOriginFromXboxOrigin(void *linux_side, InputHandle_t inputHandle, EXboxOrigin eOrigin) +void cppISteamInput_SteamInput006_GetActionOriginFromXboxOrigin( struct cppISteamInput_SteamInput006_GetActionOriginFromXboxOrigin_params *params ) { - EInputActionOrigin _ret; - _ret = ((ISteamInput*)linux_side)->GetActionOriginFromXboxOrigin((InputHandle_t)inputHandle, (EXboxOrigin)eOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetActionOriginFromXboxOrigin( (InputHandle_t)params->inputHandle, (EXboxOrigin)params->eOrigin ); } -EInputActionOrigin cppISteamInput_SteamInput006_TranslateActionOrigin(void *linux_side, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +void cppISteamInput_SteamInput006_TranslateActionOrigin( struct cppISteamInput_SteamInput006_TranslateActionOrigin_params *params ) { - EInputActionOrigin _ret; - _ret = ((ISteamInput*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EInputActionOrigin)eSourceOrigin); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->TranslateActionOrigin( (ESteamInputType)params->eDestinationInputType, (EInputActionOrigin)params->eSourceOrigin ); } -bool cppISteamInput_SteamInput006_GetDeviceBindingRevision(void *linux_side, InputHandle_t inputHandle, int *pMajor, int *pMinor) +void cppISteamInput_SteamInput006_GetDeviceBindingRevision( struct cppISteamInput_SteamInput006_GetDeviceBindingRevision_params *params ) { - bool _ret; - _ret = ((ISteamInput*)linux_side)->GetDeviceBindingRevision((InputHandle_t)inputHandle, (int *)pMajor, (int *)pMinor); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetDeviceBindingRevision( (InputHandle_t)params->inputHandle, (int *)params->pMajor, (int *)params->pMinor ); } -uint32 cppISteamInput_SteamInput006_GetRemotePlaySessionID(void *linux_side, InputHandle_t inputHandle) +void cppISteamInput_SteamInput006_GetRemotePlaySessionID( struct cppISteamInput_SteamInput006_GetRemotePlaySessionID_params *params ) { - uint32 _ret; - _ret = ((ISteamInput*)linux_side)->GetRemotePlaySessionID((InputHandle_t)inputHandle); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetRemotePlaySessionID( (InputHandle_t)params->inputHandle ); } -uint16 cppISteamInput_SteamInput006_GetSessionInputConfigurationSettings(void *linux_side) +void cppISteamInput_SteamInput006_GetSessionInputConfigurationSettings( struct cppISteamInput_SteamInput006_GetSessionInputConfigurationSettings_params *params ) { - uint16 _ret; - _ret = ((ISteamInput*)linux_side)->GetSessionInputConfigurationSettings(); - return (_ret); + params->_ret = ((ISteamInput*)params->linux_side)->GetSessionInputConfigurationSettings( ); } -void cppISteamInput_SteamInput006_SetDualSenseTriggerEffect(void *linux_side, InputHandle_t inputHandle, const ScePadTriggerEffectParam *pParam) +void cppISteamInput_SteamInput006_SetDualSenseTriggerEffect( struct cppISteamInput_SteamInput006_SetDualSenseTriggerEffect_params *params ) { - ((ISteamInput*)linux_side)->SetDualSenseTriggerEffect((InputHandle_t)inputHandle, (const ScePadTriggerEffectParam *)pParam); + ((ISteamInput*)params->linux_side)->SetDualSenseTriggerEffect( (InputHandle_t)params->inputHandle, (const ScePadTriggerEffectParam *)params->pParam ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamInput_SteamInput006.h b/lsteamclient/cppISteamInput_SteamInput006.h index 2be5e65e..f8e994f5 100644 --- a/lsteamclient/cppISteamInput_SteamInput006.h +++ b/lsteamclient/cppISteamInput_SteamInput006.h @@ -1,48 +1,409 @@ -extern bool cppISteamInput_SteamInput006_Init(void *, bool); -extern bool cppISteamInput_SteamInput006_Shutdown(void *); -extern bool cppISteamInput_SteamInput006_SetInputActionManifestFilePath(void *, const char *); -extern void cppISteamInput_SteamInput006_RunFrame(void *, bool); -extern bool cppISteamInput_SteamInput006_BWaitForData(void *, bool, uint32); -extern bool cppISteamInput_SteamInput006_BNewDataAvailable(void *); -extern int cppISteamInput_SteamInput006_GetConnectedControllers(void *, InputHandle_t *); -extern void cppISteamInput_SteamInput006_EnableDeviceCallbacks(void *); -extern void cppISteamInput_SteamInput006_EnableActionEventCallbacks(void *, SteamInputActionEventCallbackPointer); -extern InputActionSetHandle_t cppISteamInput_SteamInput006_GetActionSetHandle(void *, const char *); -extern void cppISteamInput_SteamInput006_ActivateActionSet(void *, InputHandle_t, InputActionSetHandle_t); -extern InputActionSetHandle_t cppISteamInput_SteamInput006_GetCurrentActionSet(void *, InputHandle_t); -extern void cppISteamInput_SteamInput006_ActivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput006_DeactivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput006_DeactivateAllActionSetLayers(void *, InputHandle_t); -extern int cppISteamInput_SteamInput006_GetActiveActionSetLayers(void *, InputHandle_t, InputActionSetHandle_t *); -extern InputDigitalActionHandle_t cppISteamInput_SteamInput006_GetDigitalActionHandle(void *, const char *); -extern InputDigitalActionData_t cppISteamInput_SteamInput006_GetDigitalActionData(void *, InputHandle_t, InputDigitalActionHandle_t); -extern int cppISteamInput_SteamInput006_GetDigitalActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputDigitalActionHandle_t, EInputActionOrigin *); -extern const char * cppISteamInput_SteamInput006_GetStringForDigitalActionName(void *, InputDigitalActionHandle_t); -extern InputAnalogActionHandle_t cppISteamInput_SteamInput006_GetAnalogActionHandle(void *, const char *); -extern InputAnalogActionData_t cppISteamInput_SteamInput006_GetAnalogActionData(void *, InputHandle_t, InputAnalogActionHandle_t); -extern int cppISteamInput_SteamInput006_GetAnalogActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputAnalogActionHandle_t, EInputActionOrigin *); -extern const char * cppISteamInput_SteamInput006_GetGlyphPNGForActionOrigin(void *, EInputActionOrigin, ESteamInputGlyphSize, uint32); -extern const char * cppISteamInput_SteamInput006_GetGlyphSVGForActionOrigin(void *, EInputActionOrigin, uint32); -extern const char * cppISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy(void *, EInputActionOrigin); -extern const char * cppISteamInput_SteamInput006_GetStringForActionOrigin(void *, EInputActionOrigin); -extern const char * cppISteamInput_SteamInput006_GetStringForAnalogActionName(void *, InputAnalogActionHandle_t); -extern void cppISteamInput_SteamInput006_StopAnalogActionMomentum(void *, InputHandle_t, InputAnalogActionHandle_t); -extern InputMotionData_t cppISteamInput_SteamInput006_GetMotionData(void *, InputHandle_t); -extern void cppISteamInput_SteamInput006_TriggerVibration(void *, InputHandle_t, unsigned short, unsigned short); -extern void cppISteamInput_SteamInput006_TriggerVibrationExtended(void *, InputHandle_t, unsigned short, unsigned short, unsigned short, unsigned short); -extern void cppISteamInput_SteamInput006_TriggerSimpleHapticEvent(void *, InputHandle_t, EControllerHapticLocation, uint8, char, uint8, char); -extern void cppISteamInput_SteamInput006_SetLEDColor(void *, InputHandle_t, uint8, uint8, uint8, unsigned int); -extern void cppISteamInput_SteamInput006_Legacy_TriggerHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern bool cppISteamInput_SteamInput006_ShowBindingPanel(void *, InputHandle_t); -extern ESteamInputType cppISteamInput_SteamInput006_GetInputTypeForHandle(void *, InputHandle_t); -extern InputHandle_t cppISteamInput_SteamInput006_GetControllerForGamepadIndex(void *, int); -extern int cppISteamInput_SteamInput006_GetGamepadIndexForController(void *, InputHandle_t); -extern const char * cppISteamInput_SteamInput006_GetStringForXboxOrigin(void *, EXboxOrigin); -extern const char * cppISteamInput_SteamInput006_GetGlyphForXboxOrigin(void *, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput006_GetActionOriginFromXboxOrigin(void *, InputHandle_t, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput006_TranslateActionOrigin(void *, ESteamInputType, EInputActionOrigin); -extern bool cppISteamInput_SteamInput006_GetDeviceBindingRevision(void *, InputHandle_t, int *, int *); -extern uint32 cppISteamInput_SteamInput006_GetRemotePlaySessionID(void *, InputHandle_t); -extern uint16 cppISteamInput_SteamInput006_GetSessionInputConfigurationSettings(void *); -extern void cppISteamInput_SteamInput006_SetDualSenseTriggerEffect(void *, InputHandle_t, const ScePadTriggerEffectParam *); +struct cppISteamInput_SteamInput006_Init_params +{ + void *linux_side; + bool _ret; + bool bExplicitlyCallRunFrame; +}; +extern void cppISteamInput_SteamInput006_Init( struct cppISteamInput_SteamInput006_Init_params *params ); + +struct cppISteamInput_SteamInput006_Shutdown_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamInput_SteamInput006_Shutdown( struct cppISteamInput_SteamInput006_Shutdown_params *params ); + +struct cppISteamInput_SteamInput006_SetInputActionManifestFilePath_params +{ + void *linux_side; + bool _ret; + const char *pchInputActionManifestAbsolutePath; +}; +extern void cppISteamInput_SteamInput006_SetInputActionManifestFilePath( struct cppISteamInput_SteamInput006_SetInputActionManifestFilePath_params *params ); + +struct cppISteamInput_SteamInput006_RunFrame_params +{ + void *linux_side; + bool bReservedValue; +}; +extern void cppISteamInput_SteamInput006_RunFrame( struct cppISteamInput_SteamInput006_RunFrame_params *params ); + +struct cppISteamInput_SteamInput006_BWaitForData_params +{ + void *linux_side; + bool _ret; + bool bWaitForever; + uint32 unTimeout; +}; +extern void cppISteamInput_SteamInput006_BWaitForData( struct cppISteamInput_SteamInput006_BWaitForData_params *params ); + +struct cppISteamInput_SteamInput006_BNewDataAvailable_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamInput_SteamInput006_BNewDataAvailable( struct cppISteamInput_SteamInput006_BNewDataAvailable_params *params ); + +struct cppISteamInput_SteamInput006_GetConnectedControllers_params +{ + void *linux_side; + int _ret; + InputHandle_t *handlesOut; +}; +extern void cppISteamInput_SteamInput006_GetConnectedControllers( struct cppISteamInput_SteamInput006_GetConnectedControllers_params *params ); + +struct cppISteamInput_SteamInput006_EnableDeviceCallbacks_params +{ + void *linux_side; +}; +extern void cppISteamInput_SteamInput006_EnableDeviceCallbacks( struct cppISteamInput_SteamInput006_EnableDeviceCallbacks_params *params ); + +struct cppISteamInput_SteamInput006_EnableActionEventCallbacks_params +{ + void *linux_side; + SteamInputActionEventCallbackPointer pCallback; +}; +extern void cppISteamInput_SteamInput006_EnableActionEventCallbacks( struct cppISteamInput_SteamInput006_EnableActionEventCallbacks_params *params ); + +struct cppISteamInput_SteamInput006_GetActionSetHandle_params +{ + void *linux_side; + InputActionSetHandle_t _ret; + const char *pszActionSetName; +}; +extern void cppISteamInput_SteamInput006_GetActionSetHandle( struct cppISteamInput_SteamInput006_GetActionSetHandle_params *params ); + +struct cppISteamInput_SteamInput006_ActivateActionSet_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetHandle; +}; +extern void cppISteamInput_SteamInput006_ActivateActionSet( struct cppISteamInput_SteamInput006_ActivateActionSet_params *params ); + +struct cppISteamInput_SteamInput006_GetCurrentActionSet_params +{ + void *linux_side; + InputActionSetHandle_t _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput006_GetCurrentActionSet( struct cppISteamInput_SteamInput006_GetCurrentActionSet_params *params ); + +struct cppISteamInput_SteamInput006_ActivateActionSetLayer_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamInput_SteamInput006_ActivateActionSetLayer( struct cppISteamInput_SteamInput006_ActivateActionSetLayer_params *params ); + +struct cppISteamInput_SteamInput006_DeactivateActionSetLayer_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetLayerHandle; +}; +extern void cppISteamInput_SteamInput006_DeactivateActionSetLayer( struct cppISteamInput_SteamInput006_DeactivateActionSetLayer_params *params ); + +struct cppISteamInput_SteamInput006_DeactivateAllActionSetLayers_params +{ + void *linux_side; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput006_DeactivateAllActionSetLayers( struct cppISteamInput_SteamInput006_DeactivateAllActionSetLayers_params *params ); + +struct cppISteamInput_SteamInput006_GetActiveActionSetLayers_params +{ + void *linux_side; + int _ret; + InputHandle_t inputHandle; + InputActionSetHandle_t *handlesOut; +}; +extern void cppISteamInput_SteamInput006_GetActiveActionSetLayers( struct cppISteamInput_SteamInput006_GetActiveActionSetLayers_params *params ); + +struct cppISteamInput_SteamInput006_GetDigitalActionHandle_params +{ + void *linux_side; + InputDigitalActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamInput_SteamInput006_GetDigitalActionHandle( struct cppISteamInput_SteamInput006_GetDigitalActionHandle_params *params ); + +struct cppISteamInput_SteamInput006_GetDigitalActionData_params +{ + void *linux_side; + InputDigitalActionData_t *_ret; + InputHandle_t inputHandle; + InputDigitalActionHandle_t digitalActionHandle; +}; +extern void cppISteamInput_SteamInput006_GetDigitalActionData( struct cppISteamInput_SteamInput006_GetDigitalActionData_params *params ); + +struct cppISteamInput_SteamInput006_GetDigitalActionOrigins_params +{ + void *linux_side; + int _ret; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetHandle; + InputDigitalActionHandle_t digitalActionHandle; + EInputActionOrigin *originsOut; +}; +extern void cppISteamInput_SteamInput006_GetDigitalActionOrigins( struct cppISteamInput_SteamInput006_GetDigitalActionOrigins_params *params ); + +struct cppISteamInput_SteamInput006_GetStringForDigitalActionName_params +{ + void *linux_side; + const char *_ret; + InputDigitalActionHandle_t eActionHandle; +}; +extern void cppISteamInput_SteamInput006_GetStringForDigitalActionName( struct cppISteamInput_SteamInput006_GetStringForDigitalActionName_params *params ); + +struct cppISteamInput_SteamInput006_GetAnalogActionHandle_params +{ + void *linux_side; + InputAnalogActionHandle_t _ret; + const char *pszActionName; +}; +extern void cppISteamInput_SteamInput006_GetAnalogActionHandle( struct cppISteamInput_SteamInput006_GetAnalogActionHandle_params *params ); + +struct cppISteamInput_SteamInput006_GetAnalogActionData_params +{ + void *linux_side; + InputAnalogActionData_t *_ret; + InputHandle_t inputHandle; + InputAnalogActionHandle_t analogActionHandle; +}; +extern void cppISteamInput_SteamInput006_GetAnalogActionData( struct cppISteamInput_SteamInput006_GetAnalogActionData_params *params ); + +struct cppISteamInput_SteamInput006_GetAnalogActionOrigins_params +{ + void *linux_side; + int _ret; + InputHandle_t inputHandle; + InputActionSetHandle_t actionSetHandle; + InputAnalogActionHandle_t analogActionHandle; + EInputActionOrigin *originsOut; +}; +extern void cppISteamInput_SteamInput006_GetAnalogActionOrigins( struct cppISteamInput_SteamInput006_GetAnalogActionOrigins_params *params ); + +struct cppISteamInput_SteamInput006_GetGlyphPNGForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EInputActionOrigin eOrigin; + ESteamInputGlyphSize eSize; + uint32 unFlags; +}; +extern void cppISteamInput_SteamInput006_GetGlyphPNGForActionOrigin( struct cppISteamInput_SteamInput006_GetGlyphPNGForActionOrigin_params *params ); + +struct cppISteamInput_SteamInput006_GetGlyphSVGForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EInputActionOrigin eOrigin; + uint32 unFlags; +}; +extern void cppISteamInput_SteamInput006_GetGlyphSVGForActionOrigin( struct cppISteamInput_SteamInput006_GetGlyphSVGForActionOrigin_params *params ); + +struct cppISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy_params +{ + void *linux_side; + const char *_ret; + EInputActionOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy( struct cppISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy_params *params ); + +struct cppISteamInput_SteamInput006_GetStringForActionOrigin_params +{ + void *linux_side; + const char *_ret; + EInputActionOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput006_GetStringForActionOrigin( struct cppISteamInput_SteamInput006_GetStringForActionOrigin_params *params ); + +struct cppISteamInput_SteamInput006_GetStringForAnalogActionName_params +{ + void *linux_side; + const char *_ret; + InputAnalogActionHandle_t eActionHandle; +}; +extern void cppISteamInput_SteamInput006_GetStringForAnalogActionName( struct cppISteamInput_SteamInput006_GetStringForAnalogActionName_params *params ); + +struct cppISteamInput_SteamInput006_StopAnalogActionMomentum_params +{ + void *linux_side; + InputHandle_t inputHandle; + InputAnalogActionHandle_t eAction; +}; +extern void cppISteamInput_SteamInput006_StopAnalogActionMomentum( struct cppISteamInput_SteamInput006_StopAnalogActionMomentum_params *params ); + +struct cppISteamInput_SteamInput006_GetMotionData_params +{ + void *linux_side; + InputMotionData_t *_ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput006_GetMotionData( struct cppISteamInput_SteamInput006_GetMotionData_params *params ); + +struct cppISteamInput_SteamInput006_TriggerVibration_params +{ + void *linux_side; + InputHandle_t inputHandle; + unsigned short usLeftSpeed; + unsigned short usRightSpeed; +}; +extern void cppISteamInput_SteamInput006_TriggerVibration( struct cppISteamInput_SteamInput006_TriggerVibration_params *params ); + +struct cppISteamInput_SteamInput006_TriggerVibrationExtended_params +{ + void *linux_side; + InputHandle_t inputHandle; + unsigned short usLeftSpeed; + unsigned short usRightSpeed; + unsigned short usLeftTriggerSpeed; + unsigned short usRightTriggerSpeed; +}; +extern void cppISteamInput_SteamInput006_TriggerVibrationExtended( struct cppISteamInput_SteamInput006_TriggerVibrationExtended_params *params ); + +struct cppISteamInput_SteamInput006_TriggerSimpleHapticEvent_params +{ + void *linux_side; + InputHandle_t inputHandle; + EControllerHapticLocation eHapticLocation; + uint8 nIntensity; + char nGainDB; + uint8 nOtherIntensity; + char nOtherGainDB; +}; +extern void cppISteamInput_SteamInput006_TriggerSimpleHapticEvent( struct cppISteamInput_SteamInput006_TriggerSimpleHapticEvent_params *params ); + +struct cppISteamInput_SteamInput006_SetLEDColor_params +{ + void *linux_side; + InputHandle_t inputHandle; + uint8 nColorR; + uint8 nColorG; + uint8 nColorB; + unsigned int nFlags; +}; +extern void cppISteamInput_SteamInput006_SetLEDColor( struct cppISteamInput_SteamInput006_SetLEDColor_params *params ); + +struct cppISteamInput_SteamInput006_Legacy_TriggerHapticPulse_params +{ + void *linux_side; + InputHandle_t inputHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; +}; +extern void cppISteamInput_SteamInput006_Legacy_TriggerHapticPulse( struct cppISteamInput_SteamInput006_Legacy_TriggerHapticPulse_params *params ); + +struct cppISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse_params +{ + void *linux_side; + InputHandle_t inputHandle; + ESteamControllerPad eTargetPad; + unsigned short usDurationMicroSec; + unsigned short usOffMicroSec; + unsigned short unRepeat; + unsigned int nFlags; +}; +extern void cppISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse( struct cppISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse_params *params ); + +struct cppISteamInput_SteamInput006_ShowBindingPanel_params +{ + void *linux_side; + bool _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput006_ShowBindingPanel( struct cppISteamInput_SteamInput006_ShowBindingPanel_params *params ); + +struct cppISteamInput_SteamInput006_GetInputTypeForHandle_params +{ + void *linux_side; + ESteamInputType _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput006_GetInputTypeForHandle( struct cppISteamInput_SteamInput006_GetInputTypeForHandle_params *params ); + +struct cppISteamInput_SteamInput006_GetControllerForGamepadIndex_params +{ + void *linux_side; + InputHandle_t _ret; + int nIndex; +}; +extern void cppISteamInput_SteamInput006_GetControllerForGamepadIndex( struct cppISteamInput_SteamInput006_GetControllerForGamepadIndex_params *params ); + +struct cppISteamInput_SteamInput006_GetGamepadIndexForController_params +{ + void *linux_side; + int _ret; + InputHandle_t ulinputHandle; +}; +extern void cppISteamInput_SteamInput006_GetGamepadIndexForController( struct cppISteamInput_SteamInput006_GetGamepadIndexForController_params *params ); + +struct cppISteamInput_SteamInput006_GetStringForXboxOrigin_params +{ + void *linux_side; + const char *_ret; + EXboxOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput006_GetStringForXboxOrigin( struct cppISteamInput_SteamInput006_GetStringForXboxOrigin_params *params ); + +struct cppISteamInput_SteamInput006_GetGlyphForXboxOrigin_params +{ + void *linux_side; + const char *_ret; + EXboxOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput006_GetGlyphForXboxOrigin( struct cppISteamInput_SteamInput006_GetGlyphForXboxOrigin_params *params ); + +struct cppISteamInput_SteamInput006_GetActionOriginFromXboxOrigin_params +{ + void *linux_side; + EInputActionOrigin _ret; + InputHandle_t inputHandle; + EXboxOrigin eOrigin; +}; +extern void cppISteamInput_SteamInput006_GetActionOriginFromXboxOrigin( struct cppISteamInput_SteamInput006_GetActionOriginFromXboxOrigin_params *params ); + +struct cppISteamInput_SteamInput006_TranslateActionOrigin_params +{ + void *linux_side; + EInputActionOrigin _ret; + ESteamInputType eDestinationInputType; + EInputActionOrigin eSourceOrigin; +}; +extern void cppISteamInput_SteamInput006_TranslateActionOrigin( struct cppISteamInput_SteamInput006_TranslateActionOrigin_params *params ); + +struct cppISteamInput_SteamInput006_GetDeviceBindingRevision_params +{ + void *linux_side; + bool _ret; + InputHandle_t inputHandle; + int *pMajor; + int *pMinor; +}; +extern void cppISteamInput_SteamInput006_GetDeviceBindingRevision( struct cppISteamInput_SteamInput006_GetDeviceBindingRevision_params *params ); + +struct cppISteamInput_SteamInput006_GetRemotePlaySessionID_params +{ + void *linux_side; + uint32 _ret; + InputHandle_t inputHandle; +}; +extern void cppISteamInput_SteamInput006_GetRemotePlaySessionID( struct cppISteamInput_SteamInput006_GetRemotePlaySessionID_params *params ); + +struct cppISteamInput_SteamInput006_GetSessionInputConfigurationSettings_params +{ + void *linux_side; + uint16 _ret; +}; +extern void cppISteamInput_SteamInput006_GetSessionInputConfigurationSettings( struct cppISteamInput_SteamInput006_GetSessionInputConfigurationSettings_params *params ); + +struct cppISteamInput_SteamInput006_SetDualSenseTriggerEffect_params +{ + void *linux_side; + InputHandle_t inputHandle; + const ScePadTriggerEffectParam *pParam; +}; +extern void cppISteamInput_SteamInput006_SetDualSenseTriggerEffect( struct cppISteamInput_SteamInput006_SetDualSenseTriggerEffect_params *params ); + diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.cpp b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.cpp index c26b7a07..5b9def46 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.cpp +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.cpp @@ -11,168 +11,124 @@ extern "C" { #define SDKVER_139 #include "struct_converters.h" #include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.h" -EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus(void *linux_side, SteamInventoryResult_t resultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus_params *params ) { - EResult _ret; - _ret = ((ISteamInventory*)linux_side)->GetResultStatus((SteamInventoryResult_t)resultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetResultStatus( (SteamInventoryResult_t)params->resultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems(void *linux_side, SteamInventoryResult_t resultHandle, SteamItemDetails_t *pOutItemsArray, uint32 *punOutItemsArraySize) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetResultItems((SteamInventoryResult_t)resultHandle, (SteamItemDetails_t *)pOutItemsArray, (uint32 *)punOutItemsArraySize); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetResultItems( (SteamInventoryResult_t)params->resultHandle, (SteamItemDetails_t *)params->pOutItemsArray, (uint32 *)params->punOutItemsArraySize ); } -uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp(void *linux_side, SteamInventoryResult_t resultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp_params *params ) { - uint32 _ret; - _ret = ((ISteamInventory*)linux_side)->GetResultTimestamp((SteamInventoryResult_t)resultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetResultTimestamp( (SteamInventoryResult_t)params->resultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID(void *linux_side, SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->CheckResultSteamID((SteamInventoryResult_t)resultHandle, (CSteamID)steamIDExpected); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->CheckResultSteamID( (SteamInventoryResult_t)params->resultHandle, (CSteamID)params->steamIDExpected ); } -void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult(void *linux_side, SteamInventoryResult_t resultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult_params *params ) { - ((ISteamInventory*)linux_side)->DestroyResult((SteamInventoryResult_t)resultHandle); + ((ISteamInventory*)params->linux_side)->DestroyResult( (SteamInventoryResult_t)params->resultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems(void *linux_side, SteamInventoryResult_t *pResultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetAllItems((SteamInventoryResult_t *)pResultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetAllItems( (SteamInventoryResult_t *)params->pResultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID(void *linux_side, SteamInventoryResult_t *pResultHandle, const SteamItemInstanceID_t *pInstanceIDs, uint32 unCountInstanceIDs) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetItemsByID((SteamInventoryResult_t *)pResultHandle, (const SteamItemInstanceID_t *)pInstanceIDs, (uint32)unCountInstanceIDs); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetItemsByID( (SteamInventoryResult_t *)params->pResultHandle, (const SteamItemInstanceID_t *)params->pInstanceIDs, (uint32)params->unCountInstanceIDs ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult(void *linux_side, SteamInventoryResult_t resultHandle, void *pOutBuffer, uint32 *punOutBufferSize) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->SerializeResult((SteamInventoryResult_t)resultHandle, (void *)pOutBuffer, (uint32 *)punOutBufferSize); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->SerializeResult( (SteamInventoryResult_t)params->resultHandle, (void *)params->pOutBuffer, (uint32 *)params->punOutBufferSize ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult(void *linux_side, SteamInventoryResult_t *pOutResultHandle, const void *pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->DeserializeResult((SteamInventoryResult_t *)pOutResultHandle, (const void *)pBuffer, (uint32)unBufferSize, (bool)bRESERVED_MUST_BE_FALSE); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->DeserializeResult( (SteamInventoryResult_t *)params->pOutResultHandle, (const void *)params->pBuffer, (uint32)params->unBufferSize, (bool)params->bRESERVED_MUST_BE_FALSE ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems(void *linux_side, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayItemDefs, const uint32 *punArrayQuantity, uint32 unArrayLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GenerateItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayItemDefs, (const uint32 *)punArrayQuantity, (uint32)unArrayLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GenerateItems( (SteamInventoryResult_t *)params->pResultHandle, (const SteamItemDef_t *)params->pArrayItemDefs, (const uint32 *)params->punArrayQuantity, (uint32)params->unArrayLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems(void *linux_side, SteamInventoryResult_t *pResultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GrantPromoItems((SteamInventoryResult_t *)pResultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GrantPromoItems( (SteamInventoryResult_t *)params->pResultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem(void *linux_side, SteamInventoryResult_t *pResultHandle, SteamItemDef_t itemDef) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->AddPromoItem((SteamInventoryResult_t *)pResultHandle, (SteamItemDef_t)itemDef); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->AddPromoItem( (SteamInventoryResult_t *)params->pResultHandle, (SteamItemDef_t)params->itemDef ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems(void *linux_side, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayItemDefs, uint32 unArrayLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->AddPromoItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayItemDefs, (uint32)unArrayLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->AddPromoItems( (SteamInventoryResult_t *)params->pResultHandle, (const SteamItemDef_t *)params->pArrayItemDefs, (uint32)params->unArrayLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem(void *linux_side, SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->ConsumeItem((SteamInventoryResult_t *)pResultHandle, (SteamItemInstanceID_t)itemConsume, (uint32)unQuantity); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->ConsumeItem( (SteamInventoryResult_t *)params->pResultHandle, (SteamItemInstanceID_t)params->itemConsume, (uint32)params->unQuantity ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems(void *linux_side, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayGenerate, const uint32 *punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t *pArrayDestroy, const uint32 *punArrayDestroyQuantity, uint32 unArrayDestroyLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->ExchangeItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayGenerate, (const uint32 *)punArrayGenerateQuantity, (uint32)unArrayGenerateLength, (const SteamItemInstanceID_t *)pArrayDestroy, (const uint32 *)punArrayDestroyQuantity, (uint32)unArrayDestroyLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->ExchangeItems( (SteamInventoryResult_t *)params->pResultHandle, (const SteamItemDef_t *)params->pArrayGenerate, (const uint32 *)params->punArrayGenerateQuantity, (uint32)params->unArrayGenerateLength, (const SteamItemInstanceID_t *)params->pArrayDestroy, (const uint32 *)params->punArrayDestroyQuantity, (uint32)params->unArrayDestroyLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity(void *linux_side, SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->TransferItemQuantity((SteamInventoryResult_t *)pResultHandle, (SteamItemInstanceID_t)itemIdSource, (uint32)unQuantity, (SteamItemInstanceID_t)itemIdDest); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->TransferItemQuantity( (SteamInventoryResult_t *)params->pResultHandle, (SteamItemInstanceID_t)params->itemIdSource, (uint32)params->unQuantity, (SteamItemInstanceID_t)params->itemIdDest ); } -void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat(void *linux_side) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat_params *params ) { - ((ISteamInventory*)linux_side)->SendItemDropHeartbeat(); + ((ISteamInventory*)params->linux_side)->SendItemDropHeartbeat( ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop(void *linux_side, SteamInventoryResult_t *pResultHandle, SteamItemDef_t dropListDefinition) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->TriggerItemDrop((SteamInventoryResult_t *)pResultHandle, (SteamItemDef_t)dropListDefinition); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->TriggerItemDrop( (SteamInventoryResult_t *)params->pResultHandle, (SteamItemDef_t)params->dropListDefinition ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems(void *linux_side, SteamInventoryResult_t *pResultHandle, CSteamID steamIDTradePartner, const SteamItemInstanceID_t *pArrayGive, const uint32 *pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t *pArrayGet, const uint32 *pArrayGetQuantity, uint32 nArrayGetLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->TradeItems((SteamInventoryResult_t *)pResultHandle, (CSteamID)steamIDTradePartner, (const SteamItemInstanceID_t *)pArrayGive, (const uint32 *)pArrayGiveQuantity, (uint32)nArrayGiveLength, (const SteamItemInstanceID_t *)pArrayGet, (const uint32 *)pArrayGetQuantity, (uint32)nArrayGetLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->TradeItems( (SteamInventoryResult_t *)params->pResultHandle, (CSteamID)params->steamIDTradePartner, (const SteamItemInstanceID_t *)params->pArrayGive, (const uint32 *)params->pArrayGiveQuantity, (uint32)params->nArrayGiveLength, (const SteamItemInstanceID_t *)params->pArrayGet, (const uint32 *)params->pArrayGetQuantity, (uint32)params->nArrayGetLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions(void *linux_side) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->LoadItemDefinitions(); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->LoadItemDefinitions( ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs(void *linux_side, SteamItemDef_t *pItemDefIDs, uint32 *punItemDefIDsArraySize) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetItemDefinitionIDs((SteamItemDef_t *)pItemDefIDs, (uint32 *)punItemDefIDsArraySize); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetItemDefinitionIDs( (SteamItemDef_t *)params->pItemDefIDs, (uint32 *)params->punItemDefIDsArraySize ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty(void *linux_side, SteamItemDef_t iDefinition, const char *pchPropertyName, char *pchValueBuffer, uint32 *punValueBufferSizeOut) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetItemDefinitionProperty((SteamItemDef_t)iDefinition, (const char *)pchPropertyName, (char *)pchValueBuffer, (uint32 *)punValueBufferSizeOut); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetItemDefinitionProperty( (SteamItemDef_t)params->iDefinition, (const char *)params->pchPropertyName, (char *)params->pchValueBuffer, (uint32 *)params->punValueBufferSizeOut ); } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs(void *linux_side, CSteamID steamID) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamInventory*)linux_side)->RequestEligiblePromoItemDefinitionsIDs((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->RequestEligiblePromoItemDefinitionsIDs( (CSteamID)params->steamID ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs(void *linux_side, CSteamID steamID, SteamItemDef_t *pItemDefIDs, uint32 *punItemDefIDsArraySize) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetEligiblePromoItemDefinitionIDs((CSteamID)steamID, (SteamItemDef_t *)pItemDefIDs, (uint32 *)punItemDefIDsArraySize); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetEligiblePromoItemDefinitionIDs( (CSteamID)params->steamID, (SteamItemDef_t *)params->pItemDefIDs, (uint32 *)params->punItemDefIDsArraySize ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.h b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.h index ed189fd2..12d6cf15 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.h +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.h @@ -1,24 +1,229 @@ -extern EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems(void *, SteamInventoryResult_t, SteamItemDetails_t *, uint32 *); -extern uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID(void *, SteamInventoryResult_t, CSteamID); -extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems(void *, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID(void *, SteamInventoryResult_t *, const SteamItemInstanceID_t *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult(void *, SteamInventoryResult_t, void *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult(void *, SteamInventoryResult_t *, const void *, uint32, bool); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems(void *, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem(void *, SteamInventoryResult_t *, SteamItemDef_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem(void *, SteamInventoryResult_t *, SteamItemInstanceID_t, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, const uint32 *, uint32, const SteamItemInstanceID_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity(void *, SteamInventoryResult_t *, SteamItemInstanceID_t, uint32, SteamItemInstanceID_t); -extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop(void *, SteamInventoryResult_t *, SteamItemDef_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems(void *, SteamInventoryResult_t *, CSteamID, const SteamItemInstanceID_t *, const uint32 *, uint32, const SteamItemInstanceID_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs(void *, SteamItemDef_t *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty(void *, SteamItemDef_t, const char *, char *, uint32 *); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs(void *, CSteamID); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs(void *, CSteamID, SteamItemDef_t *, uint32 *); +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus_params +{ + void *linux_side; + EResult _ret; + SteamInventoryResult_t resultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t resultHandle; + SteamItemDetails_t *pOutItemsArray; + uint32 *punOutItemsArraySize; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp_params +{ + void *linux_side; + uint32 _ret; + SteamInventoryResult_t resultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t resultHandle; + CSteamID steamIDExpected; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult_params +{ + void *linux_side; + SteamInventoryResult_t resultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + const SteamItemInstanceID_t *pInstanceIDs; + uint32 unCountInstanceIDs; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t resultHandle; + void *pOutBuffer; + uint32 *punOutBufferSize; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pOutResultHandle; + const void *pBuffer; + uint32 unBufferSize; + bool bRESERVED_MUST_BE_FALSE; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + const SteamItemDef_t *pArrayItemDefs; + const uint32 *punArrayQuantity; + uint32 unArrayLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + SteamItemDef_t itemDef; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + const SteamItemDef_t *pArrayItemDefs; + uint32 unArrayLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + SteamItemInstanceID_t itemConsume; + uint32 unQuantity; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + const SteamItemDef_t *pArrayGenerate; + const uint32 *punArrayGenerateQuantity; + uint32 unArrayGenerateLength; + const SteamItemInstanceID_t *pArrayDestroy; + const uint32 *punArrayDestroyQuantity; + uint32 unArrayDestroyLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + SteamItemInstanceID_t itemIdSource; + uint32 unQuantity; + SteamItemInstanceID_t itemIdDest; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat_params +{ + void *linux_side; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + SteamItemDef_t dropListDefinition; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + CSteamID steamIDTradePartner; + const SteamItemInstanceID_t *pArrayGive; + const uint32 *pArrayGiveQuantity; + uint32 nArrayGiveLength; + const SteamItemInstanceID_t *pArrayGet; + const uint32 *pArrayGetQuantity; + uint32 nArrayGetLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs_params +{ + void *linux_side; + bool _ret; + SteamItemDef_t *pItemDefIDs; + uint32 *punItemDefIDsArraySize; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty_params +{ + void *linux_side; + bool _ret; + SteamItemDef_t iDefinition; + const char *pchPropertyName; + char *pchValueBuffer; + uint32 *punValueBufferSizeOut; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + SteamItemDef_t *pItemDefIDs; + uint32 *punItemDefIDsArraySize; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs_params *params ); + diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.cpp b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.cpp index 26044fa7..580a6f34 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.cpp +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.cpp @@ -11,259 +11,189 @@ extern "C" { #define SDKVER_142 #include "struct_converters.h" #include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.h" -EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus(void *linux_side, SteamInventoryResult_t resultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus_params *params ) { - EResult _ret; - _ret = ((ISteamInventory*)linux_side)->GetResultStatus((SteamInventoryResult_t)resultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetResultStatus( (SteamInventoryResult_t)params->resultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems(void *linux_side, SteamInventoryResult_t resultHandle, SteamItemDetails_t *pOutItemsArray, uint32 *punOutItemsArraySize) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetResultItems((SteamInventoryResult_t)resultHandle, (SteamItemDetails_t *)pOutItemsArray, (uint32 *)punOutItemsArraySize); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetResultItems( (SteamInventoryResult_t)params->resultHandle, (SteamItemDetails_t *)params->pOutItemsArray, (uint32 *)params->punOutItemsArraySize ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty(void *linux_side, SteamInventoryResult_t resultHandle, uint32 unItemIndex, const char *pchPropertyName, char *pchValueBuffer, uint32 *punValueBufferSizeOut) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetResultItemProperty((SteamInventoryResult_t)resultHandle, (uint32)unItemIndex, (const char *)pchPropertyName, (char *)pchValueBuffer, (uint32 *)punValueBufferSizeOut); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetResultItemProperty( (SteamInventoryResult_t)params->resultHandle, (uint32)params->unItemIndex, (const char *)params->pchPropertyName, (char *)params->pchValueBuffer, (uint32 *)params->punValueBufferSizeOut ); } -uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp(void *linux_side, SteamInventoryResult_t resultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp_params *params ) { - uint32 _ret; - _ret = ((ISteamInventory*)linux_side)->GetResultTimestamp((SteamInventoryResult_t)resultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetResultTimestamp( (SteamInventoryResult_t)params->resultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID(void *linux_side, SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->CheckResultSteamID((SteamInventoryResult_t)resultHandle, (CSteamID)steamIDExpected); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->CheckResultSteamID( (SteamInventoryResult_t)params->resultHandle, (CSteamID)params->steamIDExpected ); } -void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult(void *linux_side, SteamInventoryResult_t resultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult_params *params ) { - ((ISteamInventory*)linux_side)->DestroyResult((SteamInventoryResult_t)resultHandle); + ((ISteamInventory*)params->linux_side)->DestroyResult( (SteamInventoryResult_t)params->resultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems(void *linux_side, SteamInventoryResult_t *pResultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetAllItems((SteamInventoryResult_t *)pResultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetAllItems( (SteamInventoryResult_t *)params->pResultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID(void *linux_side, SteamInventoryResult_t *pResultHandle, const SteamItemInstanceID_t *pInstanceIDs, uint32 unCountInstanceIDs) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetItemsByID((SteamInventoryResult_t *)pResultHandle, (const SteamItemInstanceID_t *)pInstanceIDs, (uint32)unCountInstanceIDs); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetItemsByID( (SteamInventoryResult_t *)params->pResultHandle, (const SteamItemInstanceID_t *)params->pInstanceIDs, (uint32)params->unCountInstanceIDs ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult(void *linux_side, SteamInventoryResult_t resultHandle, void *pOutBuffer, uint32 *punOutBufferSize) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->SerializeResult((SteamInventoryResult_t)resultHandle, (void *)pOutBuffer, (uint32 *)punOutBufferSize); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->SerializeResult( (SteamInventoryResult_t)params->resultHandle, (void *)params->pOutBuffer, (uint32 *)params->punOutBufferSize ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult(void *linux_side, SteamInventoryResult_t *pOutResultHandle, const void *pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->DeserializeResult((SteamInventoryResult_t *)pOutResultHandle, (const void *)pBuffer, (uint32)unBufferSize, (bool)bRESERVED_MUST_BE_FALSE); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->DeserializeResult( (SteamInventoryResult_t *)params->pOutResultHandle, (const void *)params->pBuffer, (uint32)params->unBufferSize, (bool)params->bRESERVED_MUST_BE_FALSE ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems(void *linux_side, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayItemDefs, const uint32 *punArrayQuantity, uint32 unArrayLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GenerateItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayItemDefs, (const uint32 *)punArrayQuantity, (uint32)unArrayLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GenerateItems( (SteamInventoryResult_t *)params->pResultHandle, (const SteamItemDef_t *)params->pArrayItemDefs, (const uint32 *)params->punArrayQuantity, (uint32)params->unArrayLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems(void *linux_side, SteamInventoryResult_t *pResultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GrantPromoItems((SteamInventoryResult_t *)pResultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GrantPromoItems( (SteamInventoryResult_t *)params->pResultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem(void *linux_side, SteamInventoryResult_t *pResultHandle, SteamItemDef_t itemDef) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->AddPromoItem((SteamInventoryResult_t *)pResultHandle, (SteamItemDef_t)itemDef); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->AddPromoItem( (SteamInventoryResult_t *)params->pResultHandle, (SteamItemDef_t)params->itemDef ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems(void *linux_side, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayItemDefs, uint32 unArrayLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->AddPromoItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayItemDefs, (uint32)unArrayLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->AddPromoItems( (SteamInventoryResult_t *)params->pResultHandle, (const SteamItemDef_t *)params->pArrayItemDefs, (uint32)params->unArrayLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem(void *linux_side, SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->ConsumeItem((SteamInventoryResult_t *)pResultHandle, (SteamItemInstanceID_t)itemConsume, (uint32)unQuantity); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->ConsumeItem( (SteamInventoryResult_t *)params->pResultHandle, (SteamItemInstanceID_t)params->itemConsume, (uint32)params->unQuantity ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems(void *linux_side, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayGenerate, const uint32 *punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t *pArrayDestroy, const uint32 *punArrayDestroyQuantity, uint32 unArrayDestroyLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->ExchangeItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayGenerate, (const uint32 *)punArrayGenerateQuantity, (uint32)unArrayGenerateLength, (const SteamItemInstanceID_t *)pArrayDestroy, (const uint32 *)punArrayDestroyQuantity, (uint32)unArrayDestroyLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->ExchangeItems( (SteamInventoryResult_t *)params->pResultHandle, (const SteamItemDef_t *)params->pArrayGenerate, (const uint32 *)params->punArrayGenerateQuantity, (uint32)params->unArrayGenerateLength, (const SteamItemInstanceID_t *)params->pArrayDestroy, (const uint32 *)params->punArrayDestroyQuantity, (uint32)params->unArrayDestroyLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity(void *linux_side, SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->TransferItemQuantity((SteamInventoryResult_t *)pResultHandle, (SteamItemInstanceID_t)itemIdSource, (uint32)unQuantity, (SteamItemInstanceID_t)itemIdDest); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->TransferItemQuantity( (SteamInventoryResult_t *)params->pResultHandle, (SteamItemInstanceID_t)params->itemIdSource, (uint32)params->unQuantity, (SteamItemInstanceID_t)params->itemIdDest ); } -void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat(void *linux_side) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat_params *params ) { - ((ISteamInventory*)linux_side)->SendItemDropHeartbeat(); + ((ISteamInventory*)params->linux_side)->SendItemDropHeartbeat( ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop(void *linux_side, SteamInventoryResult_t *pResultHandle, SteamItemDef_t dropListDefinition) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->TriggerItemDrop((SteamInventoryResult_t *)pResultHandle, (SteamItemDef_t)dropListDefinition); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->TriggerItemDrop( (SteamInventoryResult_t *)params->pResultHandle, (SteamItemDef_t)params->dropListDefinition ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems(void *linux_side, SteamInventoryResult_t *pResultHandle, CSteamID steamIDTradePartner, const SteamItemInstanceID_t *pArrayGive, const uint32 *pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t *pArrayGet, const uint32 *pArrayGetQuantity, uint32 nArrayGetLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->TradeItems((SteamInventoryResult_t *)pResultHandle, (CSteamID)steamIDTradePartner, (const SteamItemInstanceID_t *)pArrayGive, (const uint32 *)pArrayGiveQuantity, (uint32)nArrayGiveLength, (const SteamItemInstanceID_t *)pArrayGet, (const uint32 *)pArrayGetQuantity, (uint32)nArrayGetLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->TradeItems( (SteamInventoryResult_t *)params->pResultHandle, (CSteamID)params->steamIDTradePartner, (const SteamItemInstanceID_t *)params->pArrayGive, (const uint32 *)params->pArrayGiveQuantity, (uint32)params->nArrayGiveLength, (const SteamItemInstanceID_t *)params->pArrayGet, (const uint32 *)params->pArrayGetQuantity, (uint32)params->nArrayGetLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions(void *linux_side) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->LoadItemDefinitions(); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->LoadItemDefinitions( ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs(void *linux_side, SteamItemDef_t *pItemDefIDs, uint32 *punItemDefIDsArraySize) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetItemDefinitionIDs((SteamItemDef_t *)pItemDefIDs, (uint32 *)punItemDefIDsArraySize); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetItemDefinitionIDs( (SteamItemDef_t *)params->pItemDefIDs, (uint32 *)params->punItemDefIDsArraySize ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty(void *linux_side, SteamItemDef_t iDefinition, const char *pchPropertyName, char *pchValueBuffer, uint32 *punValueBufferSizeOut) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetItemDefinitionProperty((SteamItemDef_t)iDefinition, (const char *)pchPropertyName, (char *)pchValueBuffer, (uint32 *)punValueBufferSizeOut); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetItemDefinitionProperty( (SteamItemDef_t)params->iDefinition, (const char *)params->pchPropertyName, (char *)params->pchValueBuffer, (uint32 *)params->punValueBufferSizeOut ); } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs(void *linux_side, CSteamID steamID) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamInventory*)linux_side)->RequestEligiblePromoItemDefinitionsIDs((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->RequestEligiblePromoItemDefinitionsIDs( (CSteamID)params->steamID ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs(void *linux_side, CSteamID steamID, SteamItemDef_t *pItemDefIDs, uint32 *punItemDefIDsArraySize) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetEligiblePromoItemDefinitionIDs((CSteamID)steamID, (SteamItemDef_t *)pItemDefIDs, (uint32 *)punItemDefIDsArraySize); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetEligiblePromoItemDefinitionIDs( (CSteamID)params->steamID, (SteamItemDef_t *)params->pItemDefIDs, (uint32 *)params->punItemDefIDsArraySize ); } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase(void *linux_side, const SteamItemDef_t *pArrayItemDefs, const uint32 *punArrayQuantity, uint32 unArrayLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamInventory*)linux_side)->StartPurchase((const SteamItemDef_t *)pArrayItemDefs, (const uint32 *)punArrayQuantity, (uint32)unArrayLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->StartPurchase( (const SteamItemDef_t *)params->pArrayItemDefs, (const uint32 *)params->punArrayQuantity, (uint32)params->unArrayLength ); } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices(void *linux_side) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamInventory*)linux_side)->RequestPrices(); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->RequestPrices( ); } -uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices(void *linux_side) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices_params *params ) { - uint32 _ret; - _ret = ((ISteamInventory*)linux_side)->GetNumItemsWithPrices(); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetNumItemsWithPrices( ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices(void *linux_side, SteamItemDef_t *pArrayItemDefs, uint64 *pPrices, uint32 unArrayLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetItemsWithPrices((SteamItemDef_t *)pArrayItemDefs, (uint64 *)pPrices, (uint32)unArrayLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetItemsWithPrices( (SteamItemDef_t *)params->pArrayItemDefs, (uint64 *)params->pPrices, (uint32)params->unArrayLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice(void *linux_side, SteamItemDef_t iDefinition, uint64 *pPrice) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetItemPrice((SteamItemDef_t)iDefinition, (uint64 *)pPrice); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetItemPrice( (SteamItemDef_t)params->iDefinition, (uint64 *)params->pPrice ); } -SteamInventoryUpdateHandle_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties(void *linux_side) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties_params *params ) { - SteamInventoryUpdateHandle_t _ret; - _ret = ((ISteamInventory*)linux_side)->StartUpdateProperties(); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->StartUpdateProperties( ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->RemoveProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->RemoveProperty( (SteamInventoryUpdateHandle_t)params->handle, (SteamItemInstanceID_t)params->nItemID, (const char *)params->pchPropertyName ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, const char *pchPropertyValue) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (const char *)pchPropertyValue); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->SetProperty( (SteamInventoryUpdateHandle_t)params->handle, (SteamItemInstanceID_t)params->nItemID, (const char *)params->pchPropertyName, (const char *)params->pchPropertyValue ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, bool bValue) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (bool)bValue); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->SetProperty( (SteamInventoryUpdateHandle_t)params->handle, (SteamItemInstanceID_t)params->nItemID, (const char *)params->pchPropertyName, (bool)params->bValue ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, int64 nValue) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (int64)nValue); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->SetProperty( (SteamInventoryUpdateHandle_t)params->handle, (SteamItemInstanceID_t)params->nItemID, (const char *)params->pchPropertyName, (int64)params->nValue ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, float flValue) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (float)flValue); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->SetProperty( (SteamInventoryUpdateHandle_t)params->handle, (SteamItemInstanceID_t)params->nItemID, (const char *)params->pchPropertyName, (float)params->flValue ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamInventoryResult_t *pResultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->SubmitUpdateProperties((SteamInventoryUpdateHandle_t)handle, (SteamInventoryResult_t *)pResultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->SubmitUpdateProperties( (SteamInventoryUpdateHandle_t)params->handle, (SteamInventoryResult_t *)params->pResultHandle ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.h b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.h index a5e05eec..41721fb3 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.h +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.h @@ -1,37 +1,354 @@ -extern EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems(void *, SteamInventoryResult_t, SteamItemDetails_t *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty(void *, SteamInventoryResult_t, uint32, const char *, char *, uint32 *); -extern uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID(void *, SteamInventoryResult_t, CSteamID); -extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems(void *, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID(void *, SteamInventoryResult_t *, const SteamItemInstanceID_t *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult(void *, SteamInventoryResult_t, void *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult(void *, SteamInventoryResult_t *, const void *, uint32, bool); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems(void *, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem(void *, SteamInventoryResult_t *, SteamItemDef_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem(void *, SteamInventoryResult_t *, SteamItemInstanceID_t, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, const uint32 *, uint32, const SteamItemInstanceID_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity(void *, SteamInventoryResult_t *, SteamItemInstanceID_t, uint32, SteamItemInstanceID_t); -extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop(void *, SteamInventoryResult_t *, SteamItemDef_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems(void *, SteamInventoryResult_t *, CSteamID, const SteamItemInstanceID_t *, const uint32 *, uint32, const SteamItemInstanceID_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs(void *, SteamItemDef_t *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty(void *, SteamItemDef_t, const char *, char *, uint32 *); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs(void *, CSteamID); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs(void *, CSteamID, SteamItemDef_t *, uint32 *); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase(void *, const SteamItemDef_t *, const uint32 *, uint32); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices(void *); -extern uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices(void *, SteamItemDef_t *, uint64 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice(void *, SteamItemDef_t, uint64 *); -extern SteamInventoryUpdateHandle_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, const char *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, bool); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, int64); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, float); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties(void *, SteamInventoryUpdateHandle_t, SteamInventoryResult_t *); +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus_params +{ + void *linux_side; + EResult _ret; + SteamInventoryResult_t resultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t resultHandle; + SteamItemDetails_t *pOutItemsArray; + uint32 *punOutItemsArraySize; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t resultHandle; + uint32 unItemIndex; + const char *pchPropertyName; + char *pchValueBuffer; + uint32 *punValueBufferSizeOut; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp_params +{ + void *linux_side; + uint32 _ret; + SteamInventoryResult_t resultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t resultHandle; + CSteamID steamIDExpected; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult_params +{ + void *linux_side; + SteamInventoryResult_t resultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + const SteamItemInstanceID_t *pInstanceIDs; + uint32 unCountInstanceIDs; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t resultHandle; + void *pOutBuffer; + uint32 *punOutBufferSize; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pOutResultHandle; + const void *pBuffer; + uint32 unBufferSize; + bool bRESERVED_MUST_BE_FALSE; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + const SteamItemDef_t *pArrayItemDefs; + const uint32 *punArrayQuantity; + uint32 unArrayLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + SteamItemDef_t itemDef; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + const SteamItemDef_t *pArrayItemDefs; + uint32 unArrayLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + SteamItemInstanceID_t itemConsume; + uint32 unQuantity; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + const SteamItemDef_t *pArrayGenerate; + const uint32 *punArrayGenerateQuantity; + uint32 unArrayGenerateLength; + const SteamItemInstanceID_t *pArrayDestroy; + const uint32 *punArrayDestroyQuantity; + uint32 unArrayDestroyLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + SteamItemInstanceID_t itemIdSource; + uint32 unQuantity; + SteamItemInstanceID_t itemIdDest; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat_params +{ + void *linux_side; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + SteamItemDef_t dropListDefinition; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + CSteamID steamIDTradePartner; + const SteamItemInstanceID_t *pArrayGive; + const uint32 *pArrayGiveQuantity; + uint32 nArrayGiveLength; + const SteamItemInstanceID_t *pArrayGet; + const uint32 *pArrayGetQuantity; + uint32 nArrayGetLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs_params +{ + void *linux_side; + bool _ret; + SteamItemDef_t *pItemDefIDs; + uint32 *punItemDefIDsArraySize; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty_params +{ + void *linux_side; + bool _ret; + SteamItemDef_t iDefinition; + const char *pchPropertyName; + char *pchValueBuffer; + uint32 *punValueBufferSizeOut; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + SteamItemDef_t *pItemDefIDs; + uint32 *punItemDefIDsArraySize; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase_params +{ + void *linux_side; + SteamAPICall_t _ret; + const SteamItemDef_t *pArrayItemDefs; + const uint32 *punArrayQuantity; + uint32 unArrayLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices_params +{ + void *linux_side; + bool _ret; + SteamItemDef_t *pArrayItemDefs; + uint64 *pPrices; + uint32 unArrayLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice_params +{ + void *linux_side; + bool _ret; + SteamItemDef_t iDefinition; + uint64 *pPrice; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties_params +{ + void *linux_side; + SteamInventoryUpdateHandle_t _ret; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty_params +{ + void *linux_side; + bool _ret; + SteamInventoryUpdateHandle_t handle; + SteamItemInstanceID_t nItemID; + const char *pchPropertyName; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_params +{ + void *linux_side; + bool _ret; + SteamInventoryUpdateHandle_t handle; + SteamItemInstanceID_t nItemID; + const char *pchPropertyName; + const char *pchPropertyValue; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2_params +{ + void *linux_side; + bool _ret; + SteamInventoryUpdateHandle_t handle; + SteamItemInstanceID_t nItemID; + const char *pchPropertyName; + bool bValue; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3_params +{ + void *linux_side; + bool _ret; + SteamInventoryUpdateHandle_t handle; + SteamItemInstanceID_t nItemID; + const char *pchPropertyName; + int64 nValue; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4_params +{ + void *linux_side; + bool _ret; + SteamInventoryUpdateHandle_t handle; + SteamItemInstanceID_t nItemID; + const char *pchPropertyName; + float flValue; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties_params +{ + void *linux_side; + bool _ret; + SteamInventoryUpdateHandle_t handle; + SteamInventoryResult_t *pResultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties_params *params ); + diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp index d3ef8861..a87adc6e 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp @@ -12,266 +12,194 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.h" -EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus(void *linux_side, SteamInventoryResult_t resultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus_params *params ) { - EResult _ret; - _ret = ((ISteamInventory*)linux_side)->GetResultStatus((SteamInventoryResult_t)resultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetResultStatus( (SteamInventoryResult_t)params->resultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems(void *linux_side, SteamInventoryResult_t resultHandle, SteamItemDetails_t *pOutItemsArray, uint32 *punOutItemsArraySize) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetResultItems((SteamInventoryResult_t)resultHandle, (SteamItemDetails_t *)pOutItemsArray, (uint32 *)punOutItemsArraySize); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetResultItems( (SteamInventoryResult_t)params->resultHandle, (SteamItemDetails_t *)params->pOutItemsArray, (uint32 *)params->punOutItemsArraySize ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty(void *linux_side, SteamInventoryResult_t resultHandle, uint32 unItemIndex, const char *pchPropertyName, char *pchValueBuffer, uint32 *punValueBufferSizeOut) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetResultItemProperty((SteamInventoryResult_t)resultHandle, (uint32)unItemIndex, (const char *)pchPropertyName, (char *)pchValueBuffer, (uint32 *)punValueBufferSizeOut); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetResultItemProperty( (SteamInventoryResult_t)params->resultHandle, (uint32)params->unItemIndex, (const char *)params->pchPropertyName, (char *)params->pchValueBuffer, (uint32 *)params->punValueBufferSizeOut ); } -uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp(void *linux_side, SteamInventoryResult_t resultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp_params *params ) { - uint32 _ret; - _ret = ((ISteamInventory*)linux_side)->GetResultTimestamp((SteamInventoryResult_t)resultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetResultTimestamp( (SteamInventoryResult_t)params->resultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID(void *linux_side, SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->CheckResultSteamID((SteamInventoryResult_t)resultHandle, (CSteamID)steamIDExpected); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->CheckResultSteamID( (SteamInventoryResult_t)params->resultHandle, (CSteamID)params->steamIDExpected ); } -void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult(void *linux_side, SteamInventoryResult_t resultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult_params *params ) { - ((ISteamInventory*)linux_side)->DestroyResult((SteamInventoryResult_t)resultHandle); + ((ISteamInventory*)params->linux_side)->DestroyResult( (SteamInventoryResult_t)params->resultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems(void *linux_side, SteamInventoryResult_t *pResultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetAllItems((SteamInventoryResult_t *)pResultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetAllItems( (SteamInventoryResult_t *)params->pResultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID(void *linux_side, SteamInventoryResult_t *pResultHandle, const SteamItemInstanceID_t *pInstanceIDs, uint32 unCountInstanceIDs) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetItemsByID((SteamInventoryResult_t *)pResultHandle, (const SteamItemInstanceID_t *)pInstanceIDs, (uint32)unCountInstanceIDs); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetItemsByID( (SteamInventoryResult_t *)params->pResultHandle, (const SteamItemInstanceID_t *)params->pInstanceIDs, (uint32)params->unCountInstanceIDs ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult(void *linux_side, SteamInventoryResult_t resultHandle, void *pOutBuffer, uint32 *punOutBufferSize) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->SerializeResult((SteamInventoryResult_t)resultHandle, (void *)pOutBuffer, (uint32 *)punOutBufferSize); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->SerializeResult( (SteamInventoryResult_t)params->resultHandle, (void *)params->pOutBuffer, (uint32 *)params->punOutBufferSize ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult(void *linux_side, SteamInventoryResult_t *pOutResultHandle, const void *pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->DeserializeResult((SteamInventoryResult_t *)pOutResultHandle, (const void *)pBuffer, (uint32)unBufferSize, (bool)bRESERVED_MUST_BE_FALSE); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->DeserializeResult( (SteamInventoryResult_t *)params->pOutResultHandle, (const void *)params->pBuffer, (uint32)params->unBufferSize, (bool)params->bRESERVED_MUST_BE_FALSE ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems(void *linux_side, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayItemDefs, const uint32 *punArrayQuantity, uint32 unArrayLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GenerateItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayItemDefs, (const uint32 *)punArrayQuantity, (uint32)unArrayLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GenerateItems( (SteamInventoryResult_t *)params->pResultHandle, (const SteamItemDef_t *)params->pArrayItemDefs, (const uint32 *)params->punArrayQuantity, (uint32)params->unArrayLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems(void *linux_side, SteamInventoryResult_t *pResultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GrantPromoItems((SteamInventoryResult_t *)pResultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GrantPromoItems( (SteamInventoryResult_t *)params->pResultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem(void *linux_side, SteamInventoryResult_t *pResultHandle, SteamItemDef_t itemDef) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->AddPromoItem((SteamInventoryResult_t *)pResultHandle, (SteamItemDef_t)itemDef); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->AddPromoItem( (SteamInventoryResult_t *)params->pResultHandle, (SteamItemDef_t)params->itemDef ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems(void *linux_side, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayItemDefs, uint32 unArrayLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->AddPromoItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayItemDefs, (uint32)unArrayLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->AddPromoItems( (SteamInventoryResult_t *)params->pResultHandle, (const SteamItemDef_t *)params->pArrayItemDefs, (uint32)params->unArrayLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem(void *linux_side, SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->ConsumeItem((SteamInventoryResult_t *)pResultHandle, (SteamItemInstanceID_t)itemConsume, (uint32)unQuantity); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->ConsumeItem( (SteamInventoryResult_t *)params->pResultHandle, (SteamItemInstanceID_t)params->itemConsume, (uint32)params->unQuantity ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems(void *linux_side, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayGenerate, const uint32 *punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t *pArrayDestroy, const uint32 *punArrayDestroyQuantity, uint32 unArrayDestroyLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->ExchangeItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayGenerate, (const uint32 *)punArrayGenerateQuantity, (uint32)unArrayGenerateLength, (const SteamItemInstanceID_t *)pArrayDestroy, (const uint32 *)punArrayDestroyQuantity, (uint32)unArrayDestroyLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->ExchangeItems( (SteamInventoryResult_t *)params->pResultHandle, (const SteamItemDef_t *)params->pArrayGenerate, (const uint32 *)params->punArrayGenerateQuantity, (uint32)params->unArrayGenerateLength, (const SteamItemInstanceID_t *)params->pArrayDestroy, (const uint32 *)params->punArrayDestroyQuantity, (uint32)params->unArrayDestroyLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity(void *linux_side, SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->TransferItemQuantity((SteamInventoryResult_t *)pResultHandle, (SteamItemInstanceID_t)itemIdSource, (uint32)unQuantity, (SteamItemInstanceID_t)itemIdDest); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->TransferItemQuantity( (SteamInventoryResult_t *)params->pResultHandle, (SteamItemInstanceID_t)params->itemIdSource, (uint32)params->unQuantity, (SteamItemInstanceID_t)params->itemIdDest ); } -void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat(void *linux_side) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat_params *params ) { - ((ISteamInventory*)linux_side)->SendItemDropHeartbeat(); + ((ISteamInventory*)params->linux_side)->SendItemDropHeartbeat( ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop(void *linux_side, SteamInventoryResult_t *pResultHandle, SteamItemDef_t dropListDefinition) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->TriggerItemDrop((SteamInventoryResult_t *)pResultHandle, (SteamItemDef_t)dropListDefinition); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->TriggerItemDrop( (SteamInventoryResult_t *)params->pResultHandle, (SteamItemDef_t)params->dropListDefinition ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems(void *linux_side, SteamInventoryResult_t *pResultHandle, CSteamID steamIDTradePartner, const SteamItemInstanceID_t *pArrayGive, const uint32 *pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t *pArrayGet, const uint32 *pArrayGetQuantity, uint32 nArrayGetLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->TradeItems((SteamInventoryResult_t *)pResultHandle, (CSteamID)steamIDTradePartner, (const SteamItemInstanceID_t *)pArrayGive, (const uint32 *)pArrayGiveQuantity, (uint32)nArrayGiveLength, (const SteamItemInstanceID_t *)pArrayGet, (const uint32 *)pArrayGetQuantity, (uint32)nArrayGetLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->TradeItems( (SteamInventoryResult_t *)params->pResultHandle, (CSteamID)params->steamIDTradePartner, (const SteamItemInstanceID_t *)params->pArrayGive, (const uint32 *)params->pArrayGiveQuantity, (uint32)params->nArrayGiveLength, (const SteamItemInstanceID_t *)params->pArrayGet, (const uint32 *)params->pArrayGetQuantity, (uint32)params->nArrayGetLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions(void *linux_side) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->LoadItemDefinitions(); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->LoadItemDefinitions( ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs(void *linux_side, SteamItemDef_t *pItemDefIDs, uint32 *punItemDefIDsArraySize) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetItemDefinitionIDs((SteamItemDef_t *)pItemDefIDs, (uint32 *)punItemDefIDsArraySize); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetItemDefinitionIDs( (SteamItemDef_t *)params->pItemDefIDs, (uint32 *)params->punItemDefIDsArraySize ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty(void *linux_side, SteamItemDef_t iDefinition, const char *pchPropertyName, char *pchValueBuffer, uint32 *punValueBufferSizeOut) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetItemDefinitionProperty((SteamItemDef_t)iDefinition, (const char *)pchPropertyName, (char *)pchValueBuffer, (uint32 *)punValueBufferSizeOut); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetItemDefinitionProperty( (SteamItemDef_t)params->iDefinition, (const char *)params->pchPropertyName, (char *)params->pchValueBuffer, (uint32 *)params->punValueBufferSizeOut ); } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs(void *linux_side, CSteamID steamID) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamInventory*)linux_side)->RequestEligiblePromoItemDefinitionsIDs((CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->RequestEligiblePromoItemDefinitionsIDs( (CSteamID)params->steamID ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs(void *linux_side, CSteamID steamID, SteamItemDef_t *pItemDefIDs, uint32 *punItemDefIDsArraySize) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetEligiblePromoItemDefinitionIDs((CSteamID)steamID, (SteamItemDef_t *)pItemDefIDs, (uint32 *)punItemDefIDsArraySize); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetEligiblePromoItemDefinitionIDs( (CSteamID)params->steamID, (SteamItemDef_t *)params->pItemDefIDs, (uint32 *)params->punItemDefIDsArraySize ); } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase(void *linux_side, const SteamItemDef_t *pArrayItemDefs, const uint32 *punArrayQuantity, uint32 unArrayLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamInventory*)linux_side)->StartPurchase((const SteamItemDef_t *)pArrayItemDefs, (const uint32 *)punArrayQuantity, (uint32)unArrayLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->StartPurchase( (const SteamItemDef_t *)params->pArrayItemDefs, (const uint32 *)params->punArrayQuantity, (uint32)params->unArrayLength ); } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices(void *linux_side) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamInventory*)linux_side)->RequestPrices(); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->RequestPrices( ); } -uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices(void *linux_side) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices_params *params ) { - uint32 _ret; - _ret = ((ISteamInventory*)linux_side)->GetNumItemsWithPrices(); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetNumItemsWithPrices( ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices(void *linux_side, SteamItemDef_t *pArrayItemDefs, uint64 *pCurrentPrices, uint64 *pBasePrices, uint32 unArrayLength) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetItemsWithPrices((SteamItemDef_t *)pArrayItemDefs, (uint64 *)pCurrentPrices, (uint64 *)pBasePrices, (uint32)unArrayLength); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetItemsWithPrices( (SteamItemDef_t *)params->pArrayItemDefs, (uint64 *)params->pCurrentPrices, (uint64 *)params->pBasePrices, (uint32)params->unArrayLength ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice(void *linux_side, SteamItemDef_t iDefinition, uint64 *pCurrentPrice, uint64 *pBasePrice) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->GetItemPrice((SteamItemDef_t)iDefinition, (uint64 *)pCurrentPrice, (uint64 *)pBasePrice); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->GetItemPrice( (SteamItemDef_t)params->iDefinition, (uint64 *)params->pCurrentPrice, (uint64 *)params->pBasePrice ); } -SteamInventoryUpdateHandle_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties(void *linux_side) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties_params *params ) { - SteamInventoryUpdateHandle_t _ret; - _ret = ((ISteamInventory*)linux_side)->StartUpdateProperties(); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->StartUpdateProperties( ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->RemoveProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->RemoveProperty( (SteamInventoryUpdateHandle_t)params->handle, (SteamItemInstanceID_t)params->nItemID, (const char *)params->pchPropertyName ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, const char *pchPropertyValue) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (const char *)pchPropertyValue); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->SetProperty( (SteamInventoryUpdateHandle_t)params->handle, (SteamItemInstanceID_t)params->nItemID, (const char *)params->pchPropertyName, (const char *)params->pchPropertyValue ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, bool bValue) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (bool)bValue); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->SetProperty( (SteamInventoryUpdateHandle_t)params->handle, (SteamItemInstanceID_t)params->nItemID, (const char *)params->pchPropertyName, (bool)params->bValue ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, int64 nValue) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (int64)nValue); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->SetProperty( (SteamInventoryUpdateHandle_t)params->handle, (SteamItemInstanceID_t)params->nItemID, (const char *)params->pchPropertyName, (int64)params->nValue ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, float flValue) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (float)flValue); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->SetProperty( (SteamInventoryUpdateHandle_t)params->handle, (SteamItemInstanceID_t)params->nItemID, (const char *)params->pchPropertyName, (float)params->flValue ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamInventoryResult_t *pResultHandle) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->SubmitUpdateProperties((SteamInventoryUpdateHandle_t)handle, (SteamInventoryResult_t *)pResultHandle); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->SubmitUpdateProperties( (SteamInventoryUpdateHandle_t)params->handle, (SteamInventoryResult_t *)params->pResultHandle ); } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem(void *linux_side, SteamInventoryResult_t *pResultHandle, const char *pchItemToken) +void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem_params *params ) { - bool _ret; - _ret = ((ISteamInventory*)linux_side)->InspectItem((SteamInventoryResult_t *)pResultHandle, (const char *)pchItemToken); - return (_ret); + params->_ret = ((ISteamInventory*)params->linux_side)->InspectItem( (SteamInventoryResult_t *)params->pResultHandle, (const char *)params->pchItemToken ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.h b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.h index 67438359..d01b613c 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.h +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.h @@ -1,38 +1,365 @@ -extern EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems(void *, SteamInventoryResult_t, SteamItemDetails_t *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty(void *, SteamInventoryResult_t, uint32, const char *, char *, uint32 *); -extern uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID(void *, SteamInventoryResult_t, CSteamID); -extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems(void *, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID(void *, SteamInventoryResult_t *, const SteamItemInstanceID_t *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult(void *, SteamInventoryResult_t, void *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult(void *, SteamInventoryResult_t *, const void *, uint32, bool); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems(void *, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem(void *, SteamInventoryResult_t *, SteamItemDef_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem(void *, SteamInventoryResult_t *, SteamItemInstanceID_t, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, const uint32 *, uint32, const SteamItemInstanceID_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity(void *, SteamInventoryResult_t *, SteamItemInstanceID_t, uint32, SteamItemInstanceID_t); -extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop(void *, SteamInventoryResult_t *, SteamItemDef_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems(void *, SteamInventoryResult_t *, CSteamID, const SteamItemInstanceID_t *, const uint32 *, uint32, const SteamItemInstanceID_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs(void *, SteamItemDef_t *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty(void *, SteamItemDef_t, const char *, char *, uint32 *); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs(void *, CSteamID); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs(void *, CSteamID, SteamItemDef_t *, uint32 *); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase(void *, const SteamItemDef_t *, const uint32 *, uint32); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices(void *); -extern uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices(void *, SteamItemDef_t *, uint64 *, uint64 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice(void *, SteamItemDef_t, uint64 *, uint64 *); -extern SteamInventoryUpdateHandle_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, const char *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, bool); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, int64); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, float); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties(void *, SteamInventoryUpdateHandle_t, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem(void *, SteamInventoryResult_t *, const char *); +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus_params +{ + void *linux_side; + EResult _ret; + SteamInventoryResult_t resultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t resultHandle; + SteamItemDetails_t *pOutItemsArray; + uint32 *punOutItemsArraySize; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t resultHandle; + uint32 unItemIndex; + const char *pchPropertyName; + char *pchValueBuffer; + uint32 *punValueBufferSizeOut; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp_params +{ + void *linux_side; + uint32 _ret; + SteamInventoryResult_t resultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t resultHandle; + CSteamID steamIDExpected; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult_params +{ + void *linux_side; + SteamInventoryResult_t resultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + const SteamItemInstanceID_t *pInstanceIDs; + uint32 unCountInstanceIDs; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t resultHandle; + void *pOutBuffer; + uint32 *punOutBufferSize; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pOutResultHandle; + const void *pBuffer; + uint32 unBufferSize; + bool bRESERVED_MUST_BE_FALSE; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + const SteamItemDef_t *pArrayItemDefs; + const uint32 *punArrayQuantity; + uint32 unArrayLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + SteamItemDef_t itemDef; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + const SteamItemDef_t *pArrayItemDefs; + uint32 unArrayLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + SteamItemInstanceID_t itemConsume; + uint32 unQuantity; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + const SteamItemDef_t *pArrayGenerate; + const uint32 *punArrayGenerateQuantity; + uint32 unArrayGenerateLength; + const SteamItemInstanceID_t *pArrayDestroy; + const uint32 *punArrayDestroyQuantity; + uint32 unArrayDestroyLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + SteamItemInstanceID_t itemIdSource; + uint32 unQuantity; + SteamItemInstanceID_t itemIdDest; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat_params +{ + void *linux_side; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + SteamItemDef_t dropListDefinition; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + CSteamID steamIDTradePartner; + const SteamItemInstanceID_t *pArrayGive; + const uint32 *pArrayGiveQuantity; + uint32 nArrayGiveLength; + const SteamItemInstanceID_t *pArrayGet; + const uint32 *pArrayGetQuantity; + uint32 nArrayGetLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs_params +{ + void *linux_side; + bool _ret; + SteamItemDef_t *pItemDefIDs; + uint32 *punItemDefIDsArraySize; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty_params +{ + void *linux_side; + bool _ret; + SteamItemDef_t iDefinition; + const char *pchPropertyName; + char *pchValueBuffer; + uint32 *punValueBufferSizeOut; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamID; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs_params +{ + void *linux_side; + bool _ret; + CSteamID steamID; + SteamItemDef_t *pItemDefIDs; + uint32 *punItemDefIDsArraySize; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase_params +{ + void *linux_side; + SteamAPICall_t _ret; + const SteamItemDef_t *pArrayItemDefs; + const uint32 *punArrayQuantity; + uint32 unArrayLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices_params +{ + void *linux_side; + bool _ret; + SteamItemDef_t *pArrayItemDefs; + uint64 *pCurrentPrices; + uint64 *pBasePrices; + uint32 unArrayLength; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice_params +{ + void *linux_side; + bool _ret; + SteamItemDef_t iDefinition; + uint64 *pCurrentPrice; + uint64 *pBasePrice; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties_params +{ + void *linux_side; + SteamInventoryUpdateHandle_t _ret; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty_params +{ + void *linux_side; + bool _ret; + SteamInventoryUpdateHandle_t handle; + SteamItemInstanceID_t nItemID; + const char *pchPropertyName; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_params +{ + void *linux_side; + bool _ret; + SteamInventoryUpdateHandle_t handle; + SteamItemInstanceID_t nItemID; + const char *pchPropertyName; + const char *pchPropertyValue; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2_params +{ + void *linux_side; + bool _ret; + SteamInventoryUpdateHandle_t handle; + SteamItemInstanceID_t nItemID; + const char *pchPropertyName; + bool bValue; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3_params +{ + void *linux_side; + bool _ret; + SteamInventoryUpdateHandle_t handle; + SteamItemInstanceID_t nItemID; + const char *pchPropertyName; + int64 nValue; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4_params +{ + void *linux_side; + bool _ret; + SteamInventoryUpdateHandle_t handle; + SteamItemInstanceID_t nItemID; + const char *pchPropertyName; + float flValue; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties_params +{ + void *linux_side; + bool _ret; + SteamInventoryUpdateHandle_t handle; + SteamInventoryResult_t *pResultHandle; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties_params *params ); + +struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem_params +{ + void *linux_side; + bool _ret; + SteamInventoryResult_t *pResultHandle; + const char *pchItemToken; +}; +extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem( struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem_params *params ); + diff --git a/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.cpp b/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.cpp index 5f3b1912..bcb54744 100644 --- a/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.cpp +++ b/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.cpp @@ -12,88 +12,74 @@ extern "C" { #define SDKVER_116 #include "struct_converters.h" #include "cppISteamMasterServerUpdater_SteamMasterServerUpdater001.h" -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive(void *linux_side, bool bActive) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive_params *params ) { - ((ISteamMasterServerUpdater*)linux_side)->SetActive((bool)bActive); + ((ISteamMasterServerUpdater*)params->linux_side)->SetActive( (bool)params->bActive ); } -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval(void *linux_side, int iHeartbeatInterval) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval_params *params ) { - ((ISteamMasterServerUpdater*)linux_side)->SetHeartbeatInterval((int)iHeartbeatInterval); + ((ISteamMasterServerUpdater*)params->linux_side)->SetHeartbeatInterval( (int)params->iHeartbeatInterval ); } -bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(void *linux_side, const void *pData, int cbData, uint32 srcIP, uint16 srcPort) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket_params *params ) { - bool _ret; - _ret = ((ISteamMasterServerUpdater*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); - return (_ret); + params->_ret = ((ISteamMasterServerUpdater*)params->linux_side)->HandleIncomingPacket( (const void *)params->pData, (int)params->cbData, (uint32)params->srcIP, (uint16)params->srcPort ); } -int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(void *linux_side, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket_params *params ) { - int _ret; - _ret = ((ISteamMasterServerUpdater*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); - return (_ret); + params->_ret = ((ISteamMasterServerUpdater*)params->linux_side)->GetNextOutgoingPacket( (void *)params->pOut, (int)params->cbMaxOut, (uint32 *)params->pNetAdr, (uint16 *)params->pPort ); } -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(void *linux_side, unsigned short nProtocolVersion, bool bDedicatedServer, const char *pRegionName, const char *pProductName, unsigned short nMaxReportedClients, bool bPasswordProtected, const char *pGameDescription) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData_params *params ) { - ((ISteamMasterServerUpdater*)linux_side)->SetBasicServerData((unsigned short)nProtocolVersion, (bool)bDedicatedServer, (const char *)pRegionName, (const char *)pProductName, (unsigned short)nMaxReportedClients, (bool)bPasswordProtected, (const char *)pGameDescription); + ((ISteamMasterServerUpdater*)params->linux_side)->SetBasicServerData( (unsigned short)params->nProtocolVersion, (bool)params->bDedicatedServer, (const char *)params->pRegionName, (const char *)params->pProductName, (unsigned short)params->nMaxReportedClients, (bool)params->bPasswordProtected, (const char *)params->pGameDescription ); } -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues(void *linux_side) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues_params *params ) { - ((ISteamMasterServerUpdater*)linux_side)->ClearAllKeyValues(); + ((ISteamMasterServerUpdater*)params->linux_side)->ClearAllKeyValues( ); } -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(void *linux_side, const char *pKey, const char *pValue) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue_params *params ) { - ((ISteamMasterServerUpdater*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); + ((ISteamMasterServerUpdater*)params->linux_side)->SetKeyValue( (const char *)params->pKey, (const char *)params->pValue ); } -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown(void *linux_side) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown_params *params ) { - ((ISteamMasterServerUpdater*)linux_side)->NotifyShutdown(); + ((ISteamMasterServerUpdater*)params->linux_side)->NotifyShutdown( ); } -bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested(void *linux_side) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested_params *params ) { - bool _ret; - _ret = ((ISteamMasterServerUpdater*)linux_side)->WasRestartRequested(); - return (_ret); + params->_ret = ((ISteamMasterServerUpdater*)params->linux_side)->WasRestartRequested( ); } -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat(void *linux_side) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat_params *params ) { - ((ISteamMasterServerUpdater*)linux_side)->ForceHeartbeat(); + ((ISteamMasterServerUpdater*)params->linux_side)->ForceHeartbeat( ); } -bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(void *linux_side, const char *pServerAddress) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer_params *params ) { - bool _ret; - _ret = ((ISteamMasterServerUpdater*)linux_side)->AddMasterServer((const char *)pServerAddress); - return (_ret); + params->_ret = ((ISteamMasterServerUpdater*)params->linux_side)->AddMasterServer( (const char *)params->pServerAddress ); } -bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(void *linux_side, const char *pServerAddress) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer_params *params ) { - bool _ret; - _ret = ((ISteamMasterServerUpdater*)linux_side)->RemoveMasterServer((const char *)pServerAddress); - return (_ret); + params->_ret = ((ISteamMasterServerUpdater*)params->linux_side)->RemoveMasterServer( (const char *)params->pServerAddress ); } -int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers(void *linux_side) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers_params *params ) { - int _ret; - _ret = ((ISteamMasterServerUpdater*)linux_side)->GetNumMasterServers(); - return (_ret); + params->_ret = ((ISteamMasterServerUpdater*)params->linux_side)->GetNumMasterServers( ); } -int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(void *linux_side, int iServer, char *pOut, int outBufferSize) +void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress_params *params ) { - int _ret; - _ret = ((ISteamMasterServerUpdater*)linux_side)->GetMasterServerAddress((int)iServer, (char *)pOut, (int)outBufferSize); - return (_ret); + params->_ret = ((ISteamMasterServerUpdater*)params->linux_side)->GetMasterServerAddress( (int)params->iServer, (char *)params->pOut, (int)params->outBufferSize ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.h b/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.h index bdfd759b..d9403861 100644 --- a/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.h +++ b/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.h @@ -1,14 +1,115 @@ -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive(void *, bool); -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval(void *, int); -extern bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(void *, const void *, int, uint32, uint16); -extern int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(void *, unsigned short, bool, const char *, const char *, unsigned short, bool, const char *); -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues(void *); -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(void *, const char *, const char *); -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown(void *); -extern bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested(void *); -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat(void *); -extern bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(void *, const char *); -extern bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(void *, const char *); -extern int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers(void *); -extern int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(void *, int, char *, int); +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive_params +{ + void *linux_side; + bool bActive; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive_params *params ); + +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval_params +{ + void *linux_side; + int iHeartbeatInterval; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval_params *params ); + +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket_params +{ + void *linux_side; + bool _ret; + const void *pData; + int cbData; + uint32 srcIP; + uint16 srcPort; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket_params *params ); + +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket_params +{ + void *linux_side; + int _ret; + void *pOut; + int cbMaxOut; + uint32 *pNetAdr; + uint16 *pPort; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket_params *params ); + +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData_params +{ + void *linux_side; + unsigned short nProtocolVersion; + bool bDedicatedServer; + const char *pRegionName; + const char *pProductName; + unsigned short nMaxReportedClients; + bool bPasswordProtected; + const char *pGameDescription; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData_params *params ); + +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues_params +{ + void *linux_side; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues_params *params ); + +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue_params +{ + void *linux_side; + const char *pKey; + const char *pValue; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue_params *params ); + +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown_params +{ + void *linux_side; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown_params *params ); + +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested_params *params ); + +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat_params +{ + void *linux_side; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat_params *params ); + +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer_params +{ + void *linux_side; + bool _ret; + const char *pServerAddress; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer_params *params ); + +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer_params +{ + void *linux_side; + bool _ret; + const char *pServerAddress; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer_params *params ); + +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers_params *params ); + +struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress_params +{ + void *linux_side; + int _ret; + int iServer; + char *pOut; + int outBufferSize; +}; +extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress( struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress_params *params ); + diff --git a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.cpp b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.cpp index de00f899..d8f83446 100644 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.cpp +++ b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.cpp @@ -11,96 +11,84 @@ extern "C" { #define SDKVER_105 #include "struct_converters.h" #include "cppISteamMatchmakingServers_SteamMatchMakingServers001.h" -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->RequestInternetServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); + ((ISteamMatchmakingServers*)params->linux_side)->RequestInternetServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList(void *linux_side, AppId_t iApp, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->RequestLANServerList((AppId_t)iApp, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); + ((ISteamMatchmakingServers*)params->linux_side)->RequestLANServerList( (AppId_t)params->iApp, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->RequestFriendsServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); + ((ISteamMatchmakingServers*)params->linux_side)->RequestFriendsServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->RequestFavoritesServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); + ((ISteamMatchmakingServers*)params->linux_side)->RequestFavoritesServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->RequestHistoryServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); + ((ISteamMatchmakingServers*)params->linux_side)->RequestHistoryServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->RequestSpectatorServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); + ((ISteamMatchmakingServers*)params->linux_side)->RequestSpectatorServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse ); } -gameserveritem_t * cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails(void *linux_side, EMatchMakingType eType, int iServer) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails_params *params ) { - gameserveritem_t *_ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->GetServerDetails((EMatchMakingType)eType, (int)iServer); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->GetServerDetails( (EMatchMakingType)params->eType, (int)params->iServer ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery(void *linux_side, EMatchMakingType eType) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->CancelQuery((EMatchMakingType)eType); + ((ISteamMatchmakingServers*)params->linux_side)->CancelQuery( (EMatchMakingType)params->eType ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery(void *linux_side, EMatchMakingType eType) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->RefreshQuery((EMatchMakingType)eType); + ((ISteamMatchmakingServers*)params->linux_side)->RefreshQuery( (EMatchMakingType)params->eType ); } -bool cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing(void *linux_side, EMatchMakingType eType) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing_params *params ) { - bool _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->IsRefreshing((EMatchMakingType)eType); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->IsRefreshing( (EMatchMakingType)params->eType ); } -int cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount(void *linux_side, EMatchMakingType eType) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->GetServerCount((EMatchMakingType)eType); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->GetServerCount( (EMatchMakingType)params->eType ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer(void *linux_side, EMatchMakingType eType, int iServer) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->RefreshServer((EMatchMakingType)eType, (int)iServer); + ((ISteamMatchmakingServers*)params->linux_side)->RefreshServer( (EMatchMakingType)params->eType, (int)params->iServer ); } -HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer(void *linux_side, uint32 unIP, uint16 usPort, void /*ISteamMatchmakingPingResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer_params *params ) { - HServerQuery _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->PingServer((uint32)unIP, (uint16)usPort, (ISteamMatchmakingPingResponse *)pRequestServersResponse); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->PingServer( (uint32)params->unIP, (uint16)params->usPort, (ISteamMatchmakingPingResponse *)params->pRequestServersResponse ); } -HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails(void *linux_side, uint32 unIP, uint16 usPort, void /*ISteamMatchmakingPlayersResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails_params *params ) { - HServerQuery _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->PlayerDetails((uint32)unIP, (uint16)usPort, (ISteamMatchmakingPlayersResponse *)pRequestServersResponse); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->PlayerDetails( (uint32)params->unIP, (uint16)params->usPort, (ISteamMatchmakingPlayersResponse *)params->pRequestServersResponse ); } -HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules(void *linux_side, uint32 unIP, uint16 usPort, void /*ISteamMatchmakingRulesResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules_params *params ) { - HServerQuery _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->ServerRules((uint32)unIP, (uint16)usPort, (ISteamMatchmakingRulesResponse *)pRequestServersResponse); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->ServerRules( (uint32)params->unIP, (uint16)params->usPort, (ISteamMatchmakingRulesResponse *)params->pRequestServersResponse ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery(void *linux_side, HServerQuery hServerQuery) +void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->CancelServerQuery((HServerQuery)hServerQuery); + ((ISteamMatchmakingServers*)params->linux_side)->CancelServerQuery( (HServerQuery)params->hServerQuery ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.h b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.h index e203bd25..ded081fa 100644 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.h +++ b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.h @@ -1,16 +1,142 @@ -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, void /*ISteamMatchmakingServerListResponse*/ *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList(void *, AppId_t, void /*ISteamMatchmakingServerListResponse*/ *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, void /*ISteamMatchmakingServerListResponse*/ *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, void /*ISteamMatchmakingServerListResponse*/ *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, void /*ISteamMatchmakingServerListResponse*/ *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, void /*ISteamMatchmakingServerListResponse*/ *); -extern gameserveritem_t * cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails(void *, EMatchMakingType, int); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery(void *, EMatchMakingType); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery(void *, EMatchMakingType); -extern bool cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing(void *, EMatchMakingType); -extern int cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount(void *, EMatchMakingType); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer(void *, EMatchMakingType, int); -extern HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer(void *, uint32, uint16, void /*ISteamMatchmakingPingResponse*/ *); -extern HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails(void *, uint32, uint16, void /*ISteamMatchmakingPlayersResponse*/ *); -extern HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules(void *, uint32, uint16, void /*ISteamMatchmakingRulesResponse*/ *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery(void *, HServerQuery); +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList_params +{ + void *linux_side; + AppId_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32 nFilters; + void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList_params +{ + void *linux_side; + AppId_t iApp; + void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList_params +{ + void *linux_side; + AppId_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32 nFilters; + void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList_params +{ + void *linux_side; + AppId_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32 nFilters; + void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList_params +{ + void *linux_side; + AppId_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32 nFilters; + void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList_params +{ + void *linux_side; + AppId_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32 nFilters; + void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails_params +{ + void *linux_side; + gameserveritem_t *_ret; + EMatchMakingType eType; + int iServer; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery_params +{ + void *linux_side; + EMatchMakingType eType; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery_params +{ + void *linux_side; + EMatchMakingType eType; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing_params +{ + void *linux_side; + bool _ret; + EMatchMakingType eType; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount_params +{ + void *linux_side; + int _ret; + EMatchMakingType eType; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer_params +{ + void *linux_side; + EMatchMakingType eType; + int iServer; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer_params +{ + void *linux_side; + HServerQuery _ret; + uint32 unIP; + uint16 usPort; + void /*ISteamMatchmakingPingResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails_params +{ + void *linux_side; + HServerQuery _ret; + uint32 unIP; + uint16 usPort; + void /*ISteamMatchmakingPlayersResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules_params +{ + void *linux_side; + HServerQuery _ret; + uint32 unIP; + uint16 usPort; + void /*ISteamMatchmakingRulesResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery_params +{ + void *linux_side; + HServerQuery hServerQuery; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery_params *params ); + diff --git a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp index 751a46ea..17fb27f7 100644 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp +++ b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp @@ -12,113 +12,89 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamMatchmakingServers_SteamMatchMakingServers002.h" -HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList_params *params ) { - HServerListRequest _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->RequestInternetServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->RequestInternetServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse ); } -HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList(void *linux_side, AppId_t iApp, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList_params *params ) { - HServerListRequest _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->RequestLANServerList((AppId_t)iApp, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->RequestLANServerList( (AppId_t)params->iApp, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse ); } -HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList_params *params ) { - HServerListRequest _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->RequestFriendsServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->RequestFriendsServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse ); } -HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList_params *params ) { - HServerListRequest _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->RequestFavoritesServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->RequestFavoritesServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse ); } -HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList_params *params ) { - HServerListRequest _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->RequestHistoryServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->RequestHistoryServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse ); } -HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList_params *params ) { - HServerListRequest _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->RequestSpectatorServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->RequestSpectatorServerList( (AppId_t)params->iApp, (MatchMakingKeyValuePair_t **)params->ppchFilters, (uint32)params->nFilters, (ISteamMatchmakingServerListResponse *)params->pRequestServersResponse ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest(void *linux_side, HServerListRequest hServerListRequest) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->ReleaseRequest((HServerListRequest)hServerListRequest); + ((ISteamMatchmakingServers*)params->linux_side)->ReleaseRequest( (HServerListRequest)params->hServerListRequest ); } -gameserveritem_t * cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails(void *linux_side, HServerListRequest hRequest, int iServer) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails_params *params ) { - gameserveritem_t *_ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->GetServerDetails((HServerListRequest)hRequest, (int)iServer); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->GetServerDetails( (HServerListRequest)params->hRequest, (int)params->iServer ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery(void *linux_side, HServerListRequest hRequest) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->CancelQuery((HServerListRequest)hRequest); + ((ISteamMatchmakingServers*)params->linux_side)->CancelQuery( (HServerListRequest)params->hRequest ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery(void *linux_side, HServerListRequest hRequest) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->RefreshQuery((HServerListRequest)hRequest); + ((ISteamMatchmakingServers*)params->linux_side)->RefreshQuery( (HServerListRequest)params->hRequest ); } -bool cppISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing(void *linux_side, HServerListRequest hRequest) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing_params *params ) { - bool _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->IsRefreshing((HServerListRequest)hRequest); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->IsRefreshing( (HServerListRequest)params->hRequest ); } -int cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount(void *linux_side, HServerListRequest hRequest) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->GetServerCount((HServerListRequest)hRequest); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->GetServerCount( (HServerListRequest)params->hRequest ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer(void *linux_side, HServerListRequest hRequest, int iServer) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->RefreshServer((HServerListRequest)hRequest, (int)iServer); + ((ISteamMatchmakingServers*)params->linux_side)->RefreshServer( (HServerListRequest)params->hRequest, (int)params->iServer ); } -HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer(void *linux_side, uint32 unIP, uint16 usPort, void /*ISteamMatchmakingPingResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer_params *params ) { - HServerQuery _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->PingServer((uint32)unIP, (uint16)usPort, (ISteamMatchmakingPingResponse *)pRequestServersResponse); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->PingServer( (uint32)params->unIP, (uint16)params->usPort, (ISteamMatchmakingPingResponse *)params->pRequestServersResponse ); } -HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails(void *linux_side, uint32 unIP, uint16 usPort, void /*ISteamMatchmakingPlayersResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails_params *params ) { - HServerQuery _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->PlayerDetails((uint32)unIP, (uint16)usPort, (ISteamMatchmakingPlayersResponse *)pRequestServersResponse); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->PlayerDetails( (uint32)params->unIP, (uint16)params->usPort, (ISteamMatchmakingPlayersResponse *)params->pRequestServersResponse ); } -HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules(void *linux_side, uint32 unIP, uint16 usPort, void /*ISteamMatchmakingRulesResponse*/ *pRequestServersResponse) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules_params *params ) { - HServerQuery _ret; - _ret = ((ISteamMatchmakingServers*)linux_side)->ServerRules((uint32)unIP, (uint16)usPort, (ISteamMatchmakingRulesResponse *)pRequestServersResponse); - return (_ret); + params->_ret = ((ISteamMatchmakingServers*)params->linux_side)->ServerRules( (uint32)params->unIP, (uint16)params->usPort, (ISteamMatchmakingRulesResponse *)params->pRequestServersResponse ); } -void cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery(void *linux_side, HServerQuery hServerQuery) +void cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery_params *params ) { - ((ISteamMatchmakingServers*)linux_side)->CancelServerQuery((HServerQuery)hServerQuery); + ((ISteamMatchmakingServers*)params->linux_side)->CancelServerQuery( (HServerQuery)params->hServerQuery ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.h b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.h index 65937eac..dceda0fd 100644 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.h +++ b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.h @@ -1,17 +1,155 @@ -extern HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, void /*ISteamMatchmakingServerListResponse*/ *); -extern HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList(void *, AppId_t, void /*ISteamMatchmakingServerListResponse*/ *); -extern HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, void /*ISteamMatchmakingServerListResponse*/ *); -extern HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, void /*ISteamMatchmakingServerListResponse*/ *); -extern HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, void /*ISteamMatchmakingServerListResponse*/ *); -extern HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, void /*ISteamMatchmakingServerListResponse*/ *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest(void *, HServerListRequest); -extern gameserveritem_t * cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails(void *, HServerListRequest, int); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery(void *, HServerListRequest); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery(void *, HServerListRequest); -extern bool cppISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing(void *, HServerListRequest); -extern int cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount(void *, HServerListRequest); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer(void *, HServerListRequest, int); -extern HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer(void *, uint32, uint16, void /*ISteamMatchmakingPingResponse*/ *); -extern HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails(void *, uint32, uint16, void /*ISteamMatchmakingPlayersResponse*/ *); -extern HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules(void *, uint32, uint16, void /*ISteamMatchmakingRulesResponse*/ *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery(void *, HServerQuery); +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList_params +{ + void *linux_side; + HServerListRequest _ret; + AppId_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32 nFilters; + void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList_params +{ + void *linux_side; + HServerListRequest _ret; + AppId_t iApp; + void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList_params +{ + void *linux_side; + HServerListRequest _ret; + AppId_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32 nFilters; + void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList_params +{ + void *linux_side; + HServerListRequest _ret; + AppId_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32 nFilters; + void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList_params +{ + void *linux_side; + HServerListRequest _ret; + AppId_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32 nFilters; + void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList_params +{ + void *linux_side; + HServerListRequest _ret; + AppId_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32 nFilters; + void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params +{ + void *linux_side; + HServerListRequest hServerListRequest; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails_params +{ + void *linux_side; + gameserveritem_t *_ret; + HServerListRequest hRequest; + int iServer; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery_params +{ + void *linux_side; + HServerListRequest hRequest; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery_params +{ + void *linux_side; + HServerListRequest hRequest; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing_params +{ + void *linux_side; + bool _ret; + HServerListRequest hRequest; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount_params +{ + void *linux_side; + int _ret; + HServerListRequest hRequest; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer_params +{ + void *linux_side; + HServerListRequest hRequest; + int iServer; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer_params +{ + void *linux_side; + HServerQuery _ret; + uint32 unIP; + uint16 usPort; + void /*ISteamMatchmakingPingResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails_params +{ + void *linux_side; + HServerQuery _ret; + uint32 unIP; + uint16 usPort; + void /*ISteamMatchmakingPlayersResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules_params +{ + void *linux_side; + HServerQuery _ret; + uint32 unIP; + uint16 usPort; + void /*ISteamMatchmakingRulesResponse*/ *pRequestServersResponse; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules_params *params ); + +struct cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery_params +{ + void *linux_side; + HServerQuery hServerQuery; +}; +extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery( struct cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery_params *params ); + diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.cpp index 49bb31ad..3f3dd4f8 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.cpp @@ -11,150 +11,114 @@ extern "C" { #define SDKVER_099y #include "struct_converters.h" #include "cppISteamMatchmaking_SteamMatchMaking001.h" -int cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGameCount( ); } -bool cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame(void *linux_side, int iGame, uint32 *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (uint32 *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGame( (int)params->iGame, (uint32 *)params->pnAppID, (uint32 *)params->pnIP, (uint16 *)params->pnConnPort, (uint32 *)params->punFlags, (uint32 *)params->pRTime32LastPlayedOnServer ); } -int cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame(void *linux_side, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((uint32)nAppID, (uint32)nIP, (uint16)nConnPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->AddFavoriteGame( (uint32)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint32)params->unFlags, (uint32)params->rTime32LastPlayedOnServer ); } -bool cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame(void *linux_side, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint32 unFlags) +void cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((uint32)nAppID, (uint32)nIP, (uint16)nConnPort, (uint32)unFlags); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RemoveFavoriteGame( (uint32)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint32)params->unFlags ); } -bool cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2(void *linux_side, int iGame, uint32 *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2( struct cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGame2((int)iGame, (uint32 *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGame2( (int)params->iGame, (uint32 *)params->pnAppID, (uint32 *)params->pnIP, (uint16 *)params->pnConnPort, (uint16 *)params->pnQueryPort, (uint32 *)params->punFlags, (uint32 *)params->pRTime32LastPlayedOnServer ); } -int cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2(void *linux_side, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2( struct cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->AddFavoriteGame2((uint32)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->AddFavoriteGame2( (uint32)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags, (uint32)params->rTime32LastPlayedOnServer ); } -bool cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2(void *linux_side, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +void cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2( struct cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame2((uint32)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RemoveFavoriteGame2( (uint32)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags ); } -void cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyList(void *linux_side, uint64 ulGameID, MatchMakingKeyValuePair_t *pFilters, uint32 nFilters) +void cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyList_params *params ) { - ((ISteamMatchmaking*)linux_side)->RequestLobbyList((uint64)ulGameID, (MatchMakingKeyValuePair_t *)pFilters, (uint32)nFilters); + ((ISteamMatchmaking*)params->linux_side)->RequestLobbyList( (uint64)params->ulGameID, (MatchMakingKeyValuePair_t *)params->pFilters, (uint32)params->nFilters ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex(void *linux_side, int iLobby) +void cppISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyByIndex( (int)params->iLobby ); } -void cppISteamMatchmaking_SteamMatchMaking001_CreateLobby(void *linux_side, uint64 ulGameID, bool bPrivate) +void cppISteamMatchmaking_SteamMatchMaking001_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking001_CreateLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->CreateLobby((uint64)ulGameID, (bool)bPrivate); + ((ISteamMatchmaking*)params->linux_side)->CreateLobby( (uint64)params->ulGameID, (bool)params->bPrivate ); } -void cppISteamMatchmaking_SteamMatchMaking001_JoinLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking001_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking001_JoinLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->JoinLobby( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking001_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking001_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking001_LeaveLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->LeaveLobby( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +void cppISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->InviteUserToLobby( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDInvitee ); } -int cppISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetNumLobbyMembers( (CSteamID)params->steamIDLobby ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +void cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberByIndex( (CSteamID)params->steamIDLobby, (int)params->iMember ); } -const char * cppISteamMatchmaking_SteamMatchMaking001_GetLobbyData(void *linux_side, CSteamID SteamIDLobby, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking001_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)SteamIDLobby, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyData( (CSteamID)params->SteamIDLobby, (const char *)params->pchKey ); } -bool cppISteamMatchmaking_SteamMatchMaking001_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking001_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking001_SetLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -const char * cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberData( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDUser, (const char *)params->pchKey ); } -bool cppISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) +void cppISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SendLobbyChatMsg( (CSteamID)params->steamIDLobby, (const void *)params->pvMsgBody, (int)params->cubMsgBody ); } -int cppISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyChatEntry( (CSteamID)params->steamIDLobby, (int)params->iChatID, (CSteamID *)params->pSteamIDUser, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -bool cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestLobbyData( (CSteamID)params->steamIDLobby ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.h index 77e3b369..9b483ba0 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.h +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.h @@ -1,22 +1,217 @@ -extern int cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame(void *, int, uint32 *, uint32 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame(void *, uint32, uint32, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame(void *, uint32, uint32, uint16, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2(void *, int, uint32 *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2(void *, uint32, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2(void *, uint32, uint32, uint16, uint16, uint32); -extern void cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyList(void *, uint64, MatchMakingKeyValuePair_t *, uint32); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking001_CreateLobby(void *, uint64, bool); -extern void cppISteamMatchmaking_SteamMatchMaking001_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking001_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking001_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking001_SetLobbyData(void *, CSteamID, const char *, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyData(void *, CSteamID); +struct cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame_params +{ + void *linux_side; + bool _ret; + int iGame; + uint32 *pnAppID; + uint32 *pnIP; + uint16 *pnConnPort; + uint32 *punFlags; + uint32 *pRTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame_params +{ + void *linux_side; + int _ret; + uint32 nAppID; + uint32 nIP; + uint16 nConnPort; + uint32 unFlags; + uint32 rTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame_params +{ + void *linux_side; + bool _ret; + uint32 nAppID; + uint32 nIP; + uint16 nConnPort; + uint32 unFlags; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2_params +{ + void *linux_side; + bool _ret; + int iGame; + uint32 *pnAppID; + uint32 *pnIP; + uint16 *pnConnPort; + uint16 *pnQueryPort; + uint32 *punFlags; + uint32 *pRTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2( struct cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2_params +{ + void *linux_side; + int _ret; + uint32 nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; + uint32 rTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2( struct cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2_params +{ + void *linux_side; + bool _ret; + uint32 nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2( struct cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyList_params +{ + void *linux_side; + uint64 ulGameID; + MatchMakingKeyValuePair_t *pFilters; + uint32 nFilters; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyList_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_CreateLobby_params +{ + void *linux_side; + uint64 ulGameID; + bool bPrivate; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking001_CreateLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_JoinLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking001_JoinLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_LeaveLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking001_LeaveLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int iMember; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyData_params +{ + void *linux_side; + const char *_ret; + CSteamID SteamIDLobby; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_SetLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking001_SetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int cubMsgBody; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; + int iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyData_params *params ); + diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.cpp index 5ec3b667..e0933179 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.cpp @@ -11,132 +11,104 @@ extern "C" { #define SDKVER_101 #include "struct_converters.h" #include "cppISteamMatchmaking_SteamMatchMaking002.h" -int cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGameCount( ); } -bool cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame(void *linux_side, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGame( (int)params->iGame, (AppId_t *)params->pnAppID, (uint32 *)params->pnIP, (uint16 *)params->pnConnPort, (uint16 *)params->pnQueryPort, (uint32 *)params->punFlags, (uint32 *)params->pRTime32LastPlayedOnServer ); } -int cppISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->AddFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags, (uint32)params->rTime32LastPlayedOnServer ); } -bool cppISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +void cppISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RemoveFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags ); } -void cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyList(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyList_params *params ) { - ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); + ((ISteamMatchmaking*)params->linux_side)->RequestLobbyList( ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex(void *linux_side, int iLobby) +void cppISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyByIndex( (int)params->iLobby ); } -void cppISteamMatchmaking_SteamMatchMaking002_CreateLobby(void *linux_side, bool bPrivate) +void cppISteamMatchmaking_SteamMatchMaking002_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking002_CreateLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->CreateLobby((bool)bPrivate); + ((ISteamMatchmaking*)params->linux_side)->CreateLobby( (bool)params->bPrivate ); } -void cppISteamMatchmaking_SteamMatchMaking002_JoinLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking002_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking002_JoinLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->JoinLobby( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking002_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking002_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking002_LeaveLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->LeaveLobby( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +void cppISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->InviteUserToLobby( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDInvitee ); } -int cppISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetNumLobbyMembers( (CSteamID)params->steamIDLobby ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +void cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberByIndex( (CSteamID)params->steamIDLobby, (int)params->iMember ); } -const char * cppISteamMatchmaking_SteamMatchMaking002_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking002_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey ); } -bool cppISteamMatchmaking_SteamMatchMaking002_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking002_SetLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -const char * cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberData( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDUser, (const char *)params->pchKey ); } -void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) +void cppISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SendLobbyChatMsg( (CSteamID)params->steamIDLobby, (const void *)params->pvMsgBody, (int)params->cubMsgBody ); } -int cppISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyChatEntry( (CSteamID)params->steamIDLobby, (int)params->iChatID, (CSteamID *)params->pSteamIDUser, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -bool cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestLobbyData( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32)params->unGameServerIP, (uint16)params->unGameServerPort, (CSteamID)params->steamIDGameServer ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.h index e9279a2d..4f0eda16 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.h +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.h @@ -1,20 +1,186 @@ -extern int cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern void cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyList(void *); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking002_CreateLobby(void *, bool); -extern void cppISteamMatchmaking_SteamMatchMaking002_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking002_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking002_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking002_SetLobbyData(void *, CSteamID, const char *, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); +struct cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame_params +{ + void *linux_side; + bool _ret; + int iGame; + AppId_t *pnAppID; + uint32 *pnIP; + uint16 *pnConnPort; + uint16 *pnQueryPort; + uint32 *punFlags; + uint32 *pRTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame_params +{ + void *linux_side; + int _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; + uint32 rTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame_params +{ + void *linux_side; + bool _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyList_params +{ + void *linux_side; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyList_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_CreateLobby_params +{ + void *linux_side; + bool bPrivate; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking002_CreateLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_JoinLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking002_JoinLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_LeaveLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking002_LeaveLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int iMember; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_SetLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking002_SetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData_params +{ + void *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int cubMsgBody; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; + int iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer_params +{ + void *linux_side; + CSteamID steamIDLobby; + uint32 unGameServerIP; + uint16 unGameServerPort; + CSteamID steamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer_params *params ); + diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.cpp index 3308a0ac..9d9a58bc 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.cpp @@ -11,180 +11,144 @@ extern "C" { #define SDKVER_101x #include "struct_converters.h" #include "cppISteamMatchmaking_SteamMatchMaking003.h" -int cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGameCount( ); } -bool cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame(void *linux_side, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGame( (int)params->iGame, (AppId_t *)params->pnAppID, (uint32 *)params->pnIP, (uint16 *)params->pnConnPort, (uint16 *)params->pnQueryPort, (uint32 *)params->punFlags, (uint32 *)params->pRTime32LastPlayedOnServer ); } -int cppISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->AddFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags, (uint32)params->rTime32LastPlayedOnServer ); } -bool cppISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +void cppISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RemoveFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags ); } -void cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyList(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyList_params *params ) { - ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); + ((ISteamMatchmaking*)params->linux_side)->RequestLobbyList( ); } -void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter(void *linux_side, const char *pchKeyToMatch, const char *pchValueToMatch) +void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter( struct cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListFilter( (const char *)params->pchKeyToMatch, (const char *)params->pchValueToMatch ); } -void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter(void *linux_side, const char *pchKeyToMatch, int nValueToMatch, int nComparisonType) +void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (int)nComparisonType); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListNumericalFilter( (const char *)params->pchKeyToMatch, (int)params->nValueToMatch, (int)params->nComparisonType ); } -void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter( struct cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListSlotsAvailableFilter(); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListSlotsAvailableFilter( ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex(void *linux_side, int iLobby) +void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyByIndex( (int)params->iLobby ); } -void cppISteamMatchmaking_SteamMatchMaking003_CreateLobby(void *linux_side, bool bPrivate) +void cppISteamMatchmaking_SteamMatchMaking003_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking003_CreateLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->CreateLobby((bool)bPrivate); + ((ISteamMatchmaking*)params->linux_side)->CreateLobby( (bool)params->bPrivate ); } -void cppISteamMatchmaking_SteamMatchMaking003_JoinLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking003_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking003_JoinLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->JoinLobby( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking003_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking003_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking003_LeaveLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->LeaveLobby( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +void cppISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->InviteUserToLobby( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDInvitee ); } -int cppISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetNumLobbyMembers( (CSteamID)params->steamIDLobby ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberByIndex( (CSteamID)params->steamIDLobby, (int)params->iMember ); } -const char * cppISteamMatchmaking_SteamMatchMaking003_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey ); } -bool cppISteamMatchmaking_SteamMatchMaking003_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -const char * cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberData( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDUser, (const char *)params->pchKey ); } -void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) +void cppISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SendLobbyChatMsg( (CSteamID)params->steamIDLobby, (const void *)params->pvMsgBody, (int)params->cubMsgBody ); } -int cppISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyChatEntry( (CSteamID)params->steamIDLobby, (int)params->iChatID, (CSteamID *)params->pSteamIDUser, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -bool cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestLobbyData( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32)params->unGameServerIP, (uint16)params->unGameServerPort, (CSteamID)params->steamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32 *)params->punGameServerIP, (uint16 *)params->punGameServerPort, (CSteamID *)params->psteamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberLimit( (CSteamID)params->steamIDLobby, (int)params->cMaxMembers ); } -int cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberLimit( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled(void *linux_side, CSteamID steamIDLobby, bool bVoiceEnabled) +void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled( struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyVoiceEnabled((CSteamID)steamIDLobby, (bool)bVoiceEnabled); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyVoiceEnabled( (CSteamID)params->steamIDLobby, (bool)params->bVoiceEnabled ); } -bool cppISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies( struct cppISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestFriendsLobbies(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestFriendsLobbies( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.h index 132f5e01..7f9e9223 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.h +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.h @@ -1,28 +1,252 @@ -extern int cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern void cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter(void *, const char *, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter(void *, const char *, int, int); -extern void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter(void *); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking003_CreateLobby(void *, bool); -extern void cppISteamMatchmaking_SteamMatchMaking003_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking003_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking003_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking003_SetLobbyData(void *, CSteamID, const char *, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled(void *, CSteamID, bool); -extern bool cppISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies(void *); +struct cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame_params +{ + void *linux_side; + bool _ret; + int iGame; + AppId_t *pnAppID; + uint32 *pnIP; + uint16 *pnConnPort; + uint16 *pnQueryPort; + uint32 *punFlags; + uint32 *pRTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame_params +{ + void *linux_side; + int _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; + uint32 rTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame_params +{ + void *linux_side; + bool _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyList_params +{ + void *linux_side; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyList_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter( struct cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + int nValueToMatch; + int nComparisonType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter_params +{ + void *linux_side; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter( struct cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_CreateLobby_params +{ + void *linux_side; + bool bPrivate; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking003_CreateLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_JoinLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking003_JoinLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_LeaveLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking003_LeaveLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int iMember; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData_params +{ + void *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int cubMsgBody; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; + int iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer_params +{ + void *linux_side; + CSteamID steamIDLobby; + uint32 unGameServerIP; + uint16 unGameServerPort; + CSteamID steamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + uint32 *punGameServerIP; + uint16 *punGameServerPort; + CSteamID *psteamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + int cMaxMembers; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled_params +{ + void *linux_side; + CSteamID steamIDLobby; + bool bVoiceEnabled; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled( struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies( struct cppISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies_params *params ); + diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.cpp index 86f72b05..3ca8a952 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.cpp @@ -11,175 +11,139 @@ extern "C" { #define SDKVER_102 #include "struct_converters.h" #include "cppISteamMatchmaking_SteamMatchMaking004.h" -int cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGameCount( ); } -bool cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame(void *linux_side, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGame( (int)params->iGame, (AppId_t *)params->pnAppID, (uint32 *)params->pnIP, (uint16 *)params->pnConnPort, (uint16 *)params->pnQueryPort, (uint32 *)params->punFlags, (uint32 *)params->pRTime32LastPlayedOnServer ); } -int cppISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->AddFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags, (uint32)params->rTime32LastPlayedOnServer ); } -bool cppISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +void cppISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RemoveFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags ); } -void cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyList(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyList_params *params ) { - ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); + ((ISteamMatchmaking*)params->linux_side)->RequestLobbyList( ); } -void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter(void *linux_side, const char *pchKeyToMatch, const char *pchValueToMatch) +void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter( struct cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListFilter( (const char *)params->pchKeyToMatch, (const char *)params->pchValueToMatch ); } -void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter(void *linux_side, const char *pchKeyToMatch, int nValueToMatch, int nComparisonType) +void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (int)nComparisonType); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListNumericalFilter( (const char *)params->pchKeyToMatch, (int)params->nValueToMatch, (int)params->nComparisonType ); } -void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter( struct cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListSlotsAvailableFilter(); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListSlotsAvailableFilter( ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex(void *linux_side, int iLobby) +void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyByIndex( (int)params->iLobby ); } -void cppISteamMatchmaking_SteamMatchMaking004_CreateLobby(void *linux_side, bool bPrivate) +void cppISteamMatchmaking_SteamMatchMaking004_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking004_CreateLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->CreateLobby((bool)bPrivate); + ((ISteamMatchmaking*)params->linux_side)->CreateLobby( (bool)params->bPrivate ); } -void cppISteamMatchmaking_SteamMatchMaking004_JoinLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking004_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking004_JoinLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->JoinLobby( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking004_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking004_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking004_LeaveLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->LeaveLobby( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +void cppISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->InviteUserToLobby( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDInvitee ); } -int cppISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetNumLobbyMembers( (CSteamID)params->steamIDLobby ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberByIndex( (CSteamID)params->steamIDLobby, (int)params->iMember ); } -const char * cppISteamMatchmaking_SteamMatchMaking004_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey ); } -bool cppISteamMatchmaking_SteamMatchMaking004_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -const char * cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberData( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDUser, (const char *)params->pchKey ); } -void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) +void cppISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SendLobbyChatMsg( (CSteamID)params->steamIDLobby, (const void *)params->pvMsgBody, (int)params->cubMsgBody ); } -int cppISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyChatEntry( (CSteamID)params->steamIDLobby, (int)params->iChatID, (CSteamID *)params->pSteamIDUser, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -bool cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestLobbyData( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32)params->unGameServerIP, (uint16)params->unGameServerPort, (CSteamID)params->steamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32 *)params->punGameServerIP, (uint16 *)params->punGameServerPort, (CSteamID *)params->psteamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberLimit( (CSteamID)params->steamIDLobby, (int)params->cMaxMembers ); } -int cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberLimit( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies( struct cppISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestFriendsLobbies(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestFriendsLobbies( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.h index fe02d629..e703da38 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.h +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.h @@ -1,27 +1,244 @@ -extern int cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern void cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter(void *, const char *, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter(void *, const char *, int, int); -extern void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter(void *); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking004_CreateLobby(void *, bool); -extern void cppISteamMatchmaking_SteamMatchMaking004_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking004_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking004_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking004_SetLobbyData(void *, CSteamID, const char *, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies(void *); +struct cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame_params +{ + void *linux_side; + bool _ret; + int iGame; + AppId_t *pnAppID; + uint32 *pnIP; + uint16 *pnConnPort; + uint16 *pnQueryPort; + uint32 *punFlags; + uint32 *pRTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame_params +{ + void *linux_side; + int _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; + uint32 rTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame_params +{ + void *linux_side; + bool _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyList_params +{ + void *linux_side; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyList_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter( struct cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + int nValueToMatch; + int nComparisonType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter_params +{ + void *linux_side; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter( struct cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_CreateLobby_params +{ + void *linux_side; + bool bPrivate; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking004_CreateLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_JoinLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking004_JoinLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_LeaveLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking004_LeaveLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int iMember; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData_params +{ + void *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int cubMsgBody; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; + int iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer_params +{ + void *linux_side; + CSteamID steamIDLobby; + uint32 unGameServerIP; + uint16 unGameServerPort; + CSteamID steamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + uint32 *punGameServerIP; + uint16 *punGameServerPort; + CSteamID *psteamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + int cMaxMembers; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies( struct cppISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies_params *params ); + diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.cpp index 18941b62..ea1c383b 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.cpp @@ -11,201 +11,159 @@ extern "C" { #define SDKVER_102x #include "struct_converters.h" #include "cppISteamMatchmaking_SteamMatchMaking005.h" -int cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGameCount( ); } -bool cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame(void *linux_side, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGame( (int)params->iGame, (AppId_t *)params->pnAppID, (uint32 *)params->pnIP, (uint16 *)params->pnConnPort, (uint16 *)params->pnQueryPort, (uint32 *)params->punFlags, (uint32 *)params->pRTime32LastPlayedOnServer ); } -int cppISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->AddFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags, (uint32)params->rTime32LastPlayedOnServer ); } -bool cppISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +void cppISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RemoveFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags ); } -void cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyList(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyList_params *params ) { - ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); + ((ISteamMatchmaking*)params->linux_side)->RequestLobbyList( ); } -void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter(void *linux_side, const char *pchKeyToMatch, const char *pchValueToMatch) +void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter( struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListFilter( (const char *)params->pchKeyToMatch, (const char *)params->pchValueToMatch ); } -void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter(void *linux_side, const char *pchKeyToMatch, int nValueToMatch, int nComparisonType) +void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (int)nComparisonType); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListNumericalFilter( (const char *)params->pchKeyToMatch, (int)params->nValueToMatch, (int)params->nComparisonType ); } -void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter( struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListSlotsAvailableFilter(); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListSlotsAvailableFilter( ); } -void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter(void *linux_side, const char *pchKeyToMatch, int nValueToBeCloseTo) +void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter( struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNearValueFilter((const char *)pchKeyToMatch, (int)nValueToBeCloseTo); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListNearValueFilter( (const char *)params->pchKeyToMatch, (int)params->nValueToBeCloseTo ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex(void *linux_side, int iLobby) +void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyByIndex( (int)params->iLobby ); } -void cppISteamMatchmaking_SteamMatchMaking005_CreateLobby(void *linux_side, ELobbyType eLobbyType) +void cppISteamMatchmaking_SteamMatchMaking005_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking005_CreateLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->CreateLobby((ELobbyType)eLobbyType); + ((ISteamMatchmaking*)params->linux_side)->CreateLobby( (ELobbyType)params->eLobbyType ); } -void cppISteamMatchmaking_SteamMatchMaking005_JoinLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking005_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking005_JoinLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->JoinLobby( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking005_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking005_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking005_LeaveLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->LeaveLobby( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +void cppISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->InviteUserToLobby( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDInvitee ); } -int cppISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetNumLobbyMembers( (CSteamID)params->steamIDLobby ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberByIndex( (CSteamID)params->steamIDLobby, (int)params->iMember ); } -const char * cppISteamMatchmaking_SteamMatchMaking005_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey ); } -bool cppISteamMatchmaking_SteamMatchMaking005_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -const char * cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberData( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDUser, (const char *)params->pchKey ); } -void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) +void cppISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SendLobbyChatMsg( (CSteamID)params->steamIDLobby, (const void *)params->pvMsgBody, (int)params->cubMsgBody ); } -int cppISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyChatEntry( (CSteamID)params->steamIDLobby, (int)params->iChatID, (CSteamID *)params->pSteamIDUser, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -bool cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestLobbyData( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32)params->unGameServerIP, (uint16)params->unGameServerPort, (CSteamID)params->steamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32 *)params->punGameServerIP, (uint16 *)params->punGameServerPort, (CSteamID *)params->psteamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberLimit( (CSteamID)params->steamIDLobby, (int)params->cMaxMembers ); } -int cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberLimit( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies( struct cppISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestFriendsLobbies(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestFriendsLobbies( ); } -bool cppISteamMatchmaking_SteamMatchMaking005_SetLobbyType(void *linux_side, CSteamID steamIDLobby, ELobbyType eLobbyType) +void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyType( struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyType_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyType((CSteamID)steamIDLobby, (ELobbyType)eLobbyType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyType( (CSteamID)params->steamIDLobby, (ELobbyType)params->eLobbyType ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyOwner((CSteamID)steamIDLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyOwner( (CSteamID)params->steamIDLobby ); } -float cppISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance_params *params ) { - float _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyDistance((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyDistance( (CSteamID)params->steamIDLobby ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.h index 897f68f2..75ace13e 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.h +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.h @@ -1,31 +1,277 @@ -extern int cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern void cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter(void *, const char *, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter(void *, const char *, int, int); -extern void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter(void *); -extern void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter(void *, const char *, int); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking005_CreateLobby(void *, ELobbyType); -extern void cppISteamMatchmaking_SteamMatchMaking005_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking005_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking005_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking005_SetLobbyData(void *, CSteamID, const char *, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking005_SetLobbyType(void *, CSteamID, ELobbyType); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner(void *, CSteamID); -extern float cppISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance(void *, CSteamID); +struct cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame_params +{ + void *linux_side; + bool _ret; + int iGame; + AppId_t *pnAppID; + uint32 *pnIP; + uint16 *pnConnPort; + uint16 *pnQueryPort; + uint32 *punFlags; + uint32 *pRTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame_params +{ + void *linux_side; + int _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; + uint32 rTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame_params +{ + void *linux_side; + bool _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyList_params +{ + void *linux_side; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyList_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter( struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + int nValueToMatch; + int nComparisonType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter_params +{ + void *linux_side; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter( struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + int nValueToBeCloseTo; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter( struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_CreateLobby_params +{ + void *linux_side; + ELobbyType eLobbyType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking005_CreateLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_JoinLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking005_JoinLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_LeaveLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking005_LeaveLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int iMember; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData_params +{ + void *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int cubMsgBody; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; + int iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer_params +{ + void *linux_side; + CSteamID steamIDLobby; + uint32 unGameServerIP; + uint16 unGameServerPort; + CSteamID steamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + uint32 *punGameServerIP; + uint16 *punGameServerPort; + CSteamID *psteamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + int cMaxMembers; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies( struct cppISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyType_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + ELobbyType eLobbyType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyType( struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyType_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance_params +{ + void *linux_side; + float _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance( struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance_params *params ); + diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.cpp index 11ec0f6a..8d1073ab 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.cpp @@ -11,188 +11,144 @@ extern "C" { #define SDKVER_104 #include "struct_converters.h" #include "cppISteamMatchmaking_SteamMatchMaking006.h" -int cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGameCount( ); } -bool cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame(void *linux_side, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGame( (int)params->iGame, (AppId_t *)params->pnAppID, (uint32 *)params->pnIP, (uint16 *)params->pnConnPort, (uint16 *)params->pnQueryPort, (uint32 *)params->punFlags, (uint32 *)params->pRTime32LastPlayedOnServer ); } -int cppISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->AddFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags, (uint32)params->rTime32LastPlayedOnServer ); } -bool cppISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +void cppISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RemoveFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags ); } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyList(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestLobbyList( ); } -void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter(void *linux_side, const char *pchKeyToMatch, const char *pchValueToMatch) +void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter( struct cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListFilter( (const char *)params->pchKeyToMatch, (const char *)params->pchValueToMatch ); } -void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter(void *linux_side, const char *pchKeyToMatch, int nValueToMatch, int nComparisonType) +void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (int)nComparisonType); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListNumericalFilter( (const char *)params->pchKeyToMatch, (int)params->nValueToMatch, (int)params->nComparisonType ); } -void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter(void *linux_side, const char *pchKeyToMatch, int nValueToBeCloseTo) +void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter( struct cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNearValueFilter((const char *)pchKeyToMatch, (int)nValueToBeCloseTo); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListNearValueFilter( (const char *)params->pchKeyToMatch, (int)params->nValueToBeCloseTo ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex(void *linux_side, int iLobby) +void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyByIndex( (int)params->iLobby ); } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking006_CreateLobby(void *linux_side, ELobbyType eLobbyType) +void cppISteamMatchmaking_SteamMatchMaking006_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking006_CreateLobby_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamMatchmaking*)linux_side)->CreateLobby((ELobbyType)eLobbyType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->CreateLobby( (ELobbyType)params->eLobbyType ); } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking006_JoinLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking006_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking006_JoinLobby_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->JoinLobby( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking006_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking006_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking006_LeaveLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->LeaveLobby( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +void cppISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->InviteUserToLobby( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDInvitee ); } -int cppISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetNumLobbyMembers( (CSteamID)params->steamIDLobby ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberByIndex( (CSteamID)params->steamIDLobby, (int)params->iMember ); } -const char * cppISteamMatchmaking_SteamMatchMaking006_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey ); } -bool cppISteamMatchmaking_SteamMatchMaking006_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -const char * cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberData( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDUser, (const char *)params->pchKey ); } -void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) +void cppISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SendLobbyChatMsg( (CSteamID)params->steamIDLobby, (const void *)params->pvMsgBody, (int)params->cubMsgBody ); } -int cppISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyChatEntry( (CSteamID)params->steamIDLobby, (int)params->iChatID, (CSteamID *)params->pSteamIDUser, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -bool cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestLobbyData( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32)params->unGameServerIP, (uint16)params->unGameServerPort, (CSteamID)params->steamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32 *)params->punGameServerIP, (uint16 *)params->punGameServerPort, (CSteamID *)params->psteamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberLimit( (CSteamID)params->steamIDLobby, (int)params->cMaxMembers ); } -int cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberLimit( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking006_SetLobbyType(void *linux_side, CSteamID steamIDLobby, ELobbyType eLobbyType) +void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyType( struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyType_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyType((CSteamID)steamIDLobby, (ELobbyType)eLobbyType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyType( (CSteamID)params->steamIDLobby, (ELobbyType)params->eLobbyType ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyOwner((CSteamID)steamIDLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyOwner( (CSteamID)params->steamIDLobby ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.h index a2535e60..28135f83 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.h +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.h @@ -1,28 +1,259 @@ -extern int cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter(void *, const char *, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter(void *, const char *, int, int); -extern void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter(void *, const char *, int); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex(void *, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking006_CreateLobby(void *, ELobbyType); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking006_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking006_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking006_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking006_SetLobbyData(void *, CSteamID, const char *, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking006_SetLobbyType(void *, CSteamID, ELobbyType); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner(void *, CSteamID); +struct cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame_params +{ + void *linux_side; + bool _ret; + int iGame; + AppId_t *pnAppID; + uint32 *pnIP; + uint16 *pnConnPort; + uint16 *pnQueryPort; + uint32 *punFlags; + uint32 *pRTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame_params +{ + void *linux_side; + int _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; + uint32 rTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame_params +{ + void *linux_side; + bool _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyList_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyList_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter( struct cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + int nValueToMatch; + int nComparisonType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + int nValueToBeCloseTo; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter( struct cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_CreateLobby_params +{ + void *linux_side; + SteamAPICall_t _ret; + ELobbyType eLobbyType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking006_CreateLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_JoinLobby_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking006_JoinLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_LeaveLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking006_LeaveLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int iMember; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData_params +{ + void *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int cubMsgBody; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; + int iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer_params +{ + void *linux_side; + CSteamID steamIDLobby; + uint32 unGameServerIP; + uint16 unGameServerPort; + CSteamID steamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + uint32 *punGameServerIP; + uint16 *punGameServerPort; + CSteamID *psteamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + int cMaxMembers; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyType_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + ELobbyType eLobbyType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyType( struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyType_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner_params *params ); + diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.cpp index 6d47e6e8..fe98ba13 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.cpp @@ -11,228 +11,174 @@ extern "C" { #define SDKVER_107 #include "struct_converters.h" #include "cppISteamMatchmaking_SteamMatchMaking007.h" -int cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGameCount( ); } -bool cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame(void *linux_side, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGame( (int)params->iGame, (AppId_t *)params->pnAppID, (uint32 *)params->pnIP, (uint16 *)params->pnConnPort, (uint16 *)params->pnQueryPort, (uint32 *)params->punFlags, (uint32 *)params->pRTime32LastPlayedOnServer ); } -int cppISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->AddFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags, (uint32)params->rTime32LastPlayedOnServer ); } -bool cppISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +void cppISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RemoveFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags ); } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyList(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestLobbyList( ); } -void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter(void *linux_side, const char *pchKeyToMatch, const char *pchValueToMatch, ELobbyComparison eComparisonType) +void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter( struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListStringFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch, (ELobbyComparison)eComparisonType); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListStringFilter( (const char *)params->pchKeyToMatch, (const char *)params->pchValueToMatch, (ELobbyComparison)params->eComparisonType ); } -void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter(void *linux_side, const char *pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) +void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (ELobbyComparison)eComparisonType); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListNumericalFilter( (const char *)params->pchKeyToMatch, (int)params->nValueToMatch, (ELobbyComparison)params->eComparisonType ); } -void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter(void *linux_side, const char *pchKeyToMatch, int nValueToBeCloseTo) +void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter( struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNearValueFilter((const char *)pchKeyToMatch, (int)nValueToBeCloseTo); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListNearValueFilter( (const char *)params->pchKeyToMatch, (int)params->nValueToBeCloseTo ); } -void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable(void *linux_side, int nSlotsAvailable) +void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable( struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilterSlotsAvailable((int)nSlotsAvailable); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListFilterSlotsAvailable( (int)params->nSlotsAvailable ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex(void *linux_side, int iLobby) +void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyByIndex( (int)params->iLobby ); } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking007_CreateLobby(void *linux_side, ELobbyType eLobbyType, int cMaxMembers) +void cppISteamMatchmaking_SteamMatchMaking007_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking007_CreateLobby_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamMatchmaking*)linux_side)->CreateLobby((ELobbyType)eLobbyType, (int)cMaxMembers); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->CreateLobby( (ELobbyType)params->eLobbyType, (int)params->cMaxMembers ); } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking007_JoinLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking007_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking007_JoinLobby_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->JoinLobby( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking007_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking007_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking007_LeaveLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->LeaveLobby( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +void cppISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->InviteUserToLobby( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDInvitee ); } -int cppISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetNumLobbyMembers( (CSteamID)params->steamIDLobby ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberByIndex( (CSteamID)params->steamIDLobby, (int)params->iMember ); } -const char * cppISteamMatchmaking_SteamMatchMaking007_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey ); } -bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -int cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyDataCount((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyDataCount( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex(void *linux_side, CSteamID steamIDLobby, int iLobbyData, char *pchKey, int cchKeyBufferSize, char *pchValue, int cchValueBufferSize) +void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyDataByIndex((CSteamID)steamIDLobby, (int)iLobbyData, (char *)pchKey, (int)cchKeyBufferSize, (char *)pchValue, (int)cchValueBufferSize); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyDataByIndex( (CSteamID)params->steamIDLobby, (int)params->iLobbyData, (char *)params->pchKey, (int)params->cchKeyBufferSize, (char *)params->pchValue, (int)params->cchValueBufferSize ); } -bool cppISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData( struct cppISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->DeleteLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->DeleteLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey ); } -const char * cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberData( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDUser, (const char *)params->pchKey ); } -void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) +void cppISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SendLobbyChatMsg( (CSteamID)params->steamIDLobby, (const void *)params->pvMsgBody, (int)params->cubMsgBody ); } -int cppISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyChatEntry( (CSteamID)params->steamIDLobby, (int)params->iChatID, (CSteamID *)params->pSteamIDUser, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -bool cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestLobbyData( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32)params->unGameServerIP, (uint16)params->unGameServerPort, (CSteamID)params->steamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32 *)params->punGameServerIP, (uint16 *)params->punGameServerPort, (CSteamID *)params->psteamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberLimit( (CSteamID)params->steamIDLobby, (int)params->cMaxMembers ); } -int cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberLimit( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyType(void *linux_side, CSteamID steamIDLobby, ELobbyType eLobbyType) +void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyType( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyType_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyType((CSteamID)steamIDLobby, (ELobbyType)eLobbyType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyType( (CSteamID)params->steamIDLobby, (ELobbyType)params->eLobbyType ); } -bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable(void *linux_side, CSteamID steamIDLobby, bool bLobbyJoinable) +void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyJoinable((CSteamID)steamIDLobby, (bool)bLobbyJoinable); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyJoinable( (CSteamID)params->steamIDLobby, (bool)params->bLobbyJoinable ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyOwner((CSteamID)steamIDLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyOwner( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDNewOwner) +void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyOwner((CSteamID)steamIDLobby, (CSteamID)steamIDNewOwner); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyOwner( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDNewOwner ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.h index 112ef5a7..4208ba4a 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.h +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.h @@ -1,34 +1,316 @@ -extern int cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter(void *, const char *, const char *, ELobbyComparison); -extern void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter(void *, const char *, int, ELobbyComparison); -extern void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter(void *, const char *, int); -extern void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable(void *, int); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex(void *, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking007_CreateLobby(void *, ELobbyType, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking007_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking007_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking007_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyData(void *, CSteamID, const char *, const char *); -extern int cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex(void *, CSteamID, int, char *, int, char *, int); -extern bool cppISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData(void *, CSteamID, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyType(void *, CSteamID, ELobbyType); -extern bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable(void *, CSteamID, bool); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner(void *, CSteamID, CSteamID); +struct cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame_params +{ + void *linux_side; + bool _ret; + int iGame; + AppId_t *pnAppID; + uint32 *pnIP; + uint16 *pnConnPort; + uint16 *pnQueryPort; + uint32 *punFlags; + uint32 *pRTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame_params +{ + void *linux_side; + int _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; + uint32 rTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame_params +{ + void *linux_side; + bool _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyList_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyList_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; + ELobbyComparison eComparisonType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter( struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + int nValueToMatch; + ELobbyComparison eComparisonType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + int nValueToBeCloseTo; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter( struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable_params +{ + void *linux_side; + int nSlotsAvailable; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable( struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_CreateLobby_params +{ + void *linux_side; + SteamAPICall_t _ret; + ELobbyType eLobbyType; + int cMaxMembers; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking007_CreateLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_JoinLobby_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking007_JoinLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_LeaveLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking007_LeaveLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int iMember; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + int iLobbyData; + char *pchKey; + int cchKeyBufferSize; + char *pchValue; + int cchValueBufferSize; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData( struct cppISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData_params +{ + void *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int cubMsgBody; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; + int iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer_params +{ + void *linux_side; + CSteamID steamIDLobby; + uint32 unGameServerIP; + uint16 unGameServerPort; + CSteamID steamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + uint32 *punGameServerIP; + uint16 *punGameServerPort; + CSteamID *psteamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + int cMaxMembers; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyType_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + ELobbyType eLobbyType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyType( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyType_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + bool bLobbyJoinable; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + CSteamID steamIDNewOwner; +}; +extern void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner_params *params ); + diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.cpp index 532f8249..60eedd6a 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.cpp @@ -11,238 +11,184 @@ extern "C" { #define SDKVER_116 #include "struct_converters.h" #include "cppISteamMatchmaking_SteamMatchMaking008.h" -int cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGameCount( ); } -bool cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame(void *linux_side, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGame( (int)params->iGame, (AppId_t *)params->pnAppID, (uint32 *)params->pnIP, (uint16 *)params->pnConnPort, (uint16 *)params->pnQueryPort, (uint32 *)params->punFlags, (uint32 *)params->pRTime32LastPlayedOnServer ); } -int cppISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->AddFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags, (uint32)params->rTime32LastPlayedOnServer ); } -bool cppISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +void cppISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RemoveFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags ); } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyList(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestLobbyList( ); } -void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter(void *linux_side, const char *pchKeyToMatch, const char *pchValueToMatch, ELobbyComparison eComparisonType) +void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter( struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListStringFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch, (ELobbyComparison)eComparisonType); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListStringFilter( (const char *)params->pchKeyToMatch, (const char *)params->pchValueToMatch, (ELobbyComparison)params->eComparisonType ); } -void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter(void *linux_side, const char *pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) +void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (ELobbyComparison)eComparisonType); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListNumericalFilter( (const char *)params->pchKeyToMatch, (int)params->nValueToMatch, (ELobbyComparison)params->eComparisonType ); } -void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter(void *linux_side, const char *pchKeyToMatch, int nValueToBeCloseTo) +void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter( struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNearValueFilter((const char *)pchKeyToMatch, (int)nValueToBeCloseTo); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListNearValueFilter( (const char *)params->pchKeyToMatch, (int)params->nValueToBeCloseTo ); } -void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable(void *linux_side, int nSlotsAvailable) +void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable( struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilterSlotsAvailable((int)nSlotsAvailable); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListFilterSlotsAvailable( (int)params->nSlotsAvailable ); } -void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter(void *linux_side, ELobbyDistanceFilter eLobbyDistanceFilter) +void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter( struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListDistanceFilter((ELobbyDistanceFilter)eLobbyDistanceFilter); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListDistanceFilter( (ELobbyDistanceFilter)params->eLobbyDistanceFilter ); } -void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter(void *linux_side, int cMaxResults) +void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter( struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListResultCountFilter((int)cMaxResults); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListResultCountFilter( (int)params->cMaxResults ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex(void *linux_side, int iLobby) +void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyByIndex( (int)params->iLobby ); } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking008_CreateLobby(void *linux_side, ELobbyType eLobbyType, int cMaxMembers) +void cppISteamMatchmaking_SteamMatchMaking008_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking008_CreateLobby_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamMatchmaking*)linux_side)->CreateLobby((ELobbyType)eLobbyType, (int)cMaxMembers); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->CreateLobby( (ELobbyType)params->eLobbyType, (int)params->cMaxMembers ); } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking008_JoinLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking008_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking008_JoinLobby_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->JoinLobby( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking008_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking008_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking008_LeaveLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->LeaveLobby( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +void cppISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->InviteUserToLobby( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDInvitee ); } -int cppISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetNumLobbyMembers( (CSteamID)params->steamIDLobby ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberByIndex( (CSteamID)params->steamIDLobby, (int)params->iMember ); } -const char * cppISteamMatchmaking_SteamMatchMaking008_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey ); } -bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -int cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyDataCount((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyDataCount( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex(void *linux_side, CSteamID steamIDLobby, int iLobbyData, char *pchKey, int cchKeyBufferSize, char *pchValue, int cchValueBufferSize) +void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyDataByIndex((CSteamID)steamIDLobby, (int)iLobbyData, (char *)pchKey, (int)cchKeyBufferSize, (char *)pchValue, (int)cchValueBufferSize); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyDataByIndex( (CSteamID)params->steamIDLobby, (int)params->iLobbyData, (char *)params->pchKey, (int)params->cchKeyBufferSize, (char *)params->pchValue, (int)params->cchValueBufferSize ); } -bool cppISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData( struct cppISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->DeleteLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->DeleteLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey ); } -const char * cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberData( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDUser, (const char *)params->pchKey ); } -void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) +void cppISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SendLobbyChatMsg( (CSteamID)params->steamIDLobby, (const void *)params->pvMsgBody, (int)params->cubMsgBody ); } -int cppISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyChatEntry( (CSteamID)params->steamIDLobby, (int)params->iChatID, (CSteamID *)params->pSteamIDUser, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -bool cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestLobbyData( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32)params->unGameServerIP, (uint16)params->unGameServerPort, (CSteamID)params->steamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32 *)params->punGameServerIP, (uint16 *)params->punGameServerPort, (CSteamID *)params->psteamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberLimit( (CSteamID)params->steamIDLobby, (int)params->cMaxMembers ); } -int cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberLimit( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyType(void *linux_side, CSteamID steamIDLobby, ELobbyType eLobbyType) +void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyType( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyType_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyType((CSteamID)steamIDLobby, (ELobbyType)eLobbyType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyType( (CSteamID)params->steamIDLobby, (ELobbyType)params->eLobbyType ); } -bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable(void *linux_side, CSteamID steamIDLobby, bool bLobbyJoinable) +void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyJoinable((CSteamID)steamIDLobby, (bool)bLobbyJoinable); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyJoinable( (CSteamID)params->steamIDLobby, (bool)params->bLobbyJoinable ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyOwner((CSteamID)steamIDLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyOwner( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDNewOwner) +void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyOwner((CSteamID)steamIDLobby, (CSteamID)steamIDNewOwner); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyOwner( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDNewOwner ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.h index d437f71b..605392a5 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.h +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.h @@ -1,36 +1,330 @@ -extern int cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter(void *, const char *, const char *, ELobbyComparison); -extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter(void *, const char *, int, ELobbyComparison); -extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter(void *, const char *, int); -extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter(void *, ELobbyDistanceFilter); -extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter(void *, int); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex(void *, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking008_CreateLobby(void *, ELobbyType, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking008_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking008_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking008_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyData(void *, CSteamID, const char *, const char *); -extern int cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex(void *, CSteamID, int, char *, int, char *, int); -extern bool cppISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData(void *, CSteamID, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyType(void *, CSteamID, ELobbyType); -extern bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable(void *, CSteamID, bool); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner(void *, CSteamID, CSteamID); +struct cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame_params +{ + void *linux_side; + bool _ret; + int iGame; + AppId_t *pnAppID; + uint32 *pnIP; + uint16 *pnConnPort; + uint16 *pnQueryPort; + uint32 *punFlags; + uint32 *pRTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame_params +{ + void *linux_side; + int _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; + uint32 rTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame_params +{ + void *linux_side; + bool _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyList_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyList_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; + ELobbyComparison eComparisonType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter( struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + int nValueToMatch; + ELobbyComparison eComparisonType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + int nValueToBeCloseTo; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter( struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable_params +{ + void *linux_side; + int nSlotsAvailable; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable( struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter_params +{ + void *linux_side; + ELobbyDistanceFilter eLobbyDistanceFilter; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter( struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter_params +{ + void *linux_side; + int cMaxResults; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter( struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_CreateLobby_params +{ + void *linux_side; + SteamAPICall_t _ret; + ELobbyType eLobbyType; + int cMaxMembers; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking008_CreateLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_JoinLobby_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking008_JoinLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_LeaveLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking008_LeaveLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int iMember; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + int iLobbyData; + char *pchKey; + int cchKeyBufferSize; + char *pchValue; + int cchValueBufferSize; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData( struct cppISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData_params +{ + void *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int cubMsgBody; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; + int iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer_params +{ + void *linux_side; + CSteamID steamIDLobby; + uint32 unGameServerIP; + uint16 unGameServerPort; + CSteamID steamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + uint32 *punGameServerIP; + uint16 *punGameServerPort; + CSteamID *psteamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + int cMaxMembers; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyType_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + ELobbyType eLobbyType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyType( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyType_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + bool bLobbyJoinable; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + CSteamID steamIDNewOwner; +}; +extern void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner_params *params ); + diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp index b767710c..3c508d3a 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp @@ -12,250 +12,194 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamMatchmaking_SteamMatchMaking009.h" -int cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGameCount( ); } -bool cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame(void *linux_side, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetFavoriteGame( (int)params->iGame, (AppId_t *)params->pnAppID, (uint32 *)params->pnIP, (uint16 *)params->pnConnPort, (uint16 *)params->pnQueryPort, (uint32 *)params->punFlags, (uint32 *)params->pRTime32LastPlayedOnServer ); } -int cppISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +void cppISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->AddFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags, (uint32)params->rTime32LastPlayedOnServer ); } -bool cppISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +void cppISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RemoveFavoriteGame( (AppId_t)params->nAppID, (uint32)params->nIP, (uint16)params->nConnPort, (uint16)params->nQueryPort, (uint32)params->unFlags ); } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyList(void *linux_side) +void cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyList_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestLobbyList( ); } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter(void *linux_side, const char *pchKeyToMatch, const char *pchValueToMatch, ELobbyComparison eComparisonType) +void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListStringFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch, (ELobbyComparison)eComparisonType); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListStringFilter( (const char *)params->pchKeyToMatch, (const char *)params->pchValueToMatch, (ELobbyComparison)params->eComparisonType ); } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter(void *linux_side, const char *pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) +void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (ELobbyComparison)eComparisonType); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListNumericalFilter( (const char *)params->pchKeyToMatch, (int)params->nValueToMatch, (ELobbyComparison)params->eComparisonType ); } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter(void *linux_side, const char *pchKeyToMatch, int nValueToBeCloseTo) +void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNearValueFilter((const char *)pchKeyToMatch, (int)nValueToBeCloseTo); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListNearValueFilter( (const char *)params->pchKeyToMatch, (int)params->nValueToBeCloseTo ); } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable(void *linux_side, int nSlotsAvailable) +void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilterSlotsAvailable((int)nSlotsAvailable); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListFilterSlotsAvailable( (int)params->nSlotsAvailable ); } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter(void *linux_side, ELobbyDistanceFilter eLobbyDistanceFilter) +void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListDistanceFilter((ELobbyDistanceFilter)eLobbyDistanceFilter); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListDistanceFilter( (ELobbyDistanceFilter)params->eLobbyDistanceFilter ); } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter(void *linux_side, int cMaxResults) +void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListResultCountFilter((int)cMaxResults); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListResultCountFilter( (int)params->cMaxResults ); } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter_params *params ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListCompatibleMembersFilter((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->AddRequestLobbyListCompatibleMembersFilter( (CSteamID)params->steamIDLobby ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex(void *linux_side, int iLobby) +void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyByIndex( (int)params->iLobby ); } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking009_CreateLobby(void *linux_side, ELobbyType eLobbyType, int cMaxMembers) +void cppISteamMatchmaking_SteamMatchMaking009_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking009_CreateLobby_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamMatchmaking*)linux_side)->CreateLobby((ELobbyType)eLobbyType, (int)cMaxMembers); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->CreateLobby( (ELobbyType)params->eLobbyType, (int)params->cMaxMembers ); } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking009_JoinLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking009_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking009_JoinLobby_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->JoinLobby( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking009_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking009_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking009_LeaveLobby_params *params ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + ((ISteamMatchmaking*)params->linux_side)->LeaveLobby( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +void cppISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->InviteUserToLobby( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDInvitee ); } -int cppISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetNumLobbyMembers( (CSteamID)params->steamIDLobby ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberByIndex( (CSteamID)params->steamIDLobby, (int)params->iMember ); } -const char * cppISteamMatchmaking_SteamMatchMaking009_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey ); } -bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -int cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyDataCount((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyDataCount( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex(void *linux_side, CSteamID steamIDLobby, int iLobbyData, char *pchKey, int cchKeyBufferSize, char *pchValue, int cchValueBufferSize) +void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyDataByIndex((CSteamID)steamIDLobby, (int)iLobbyData, (char *)pchKey, (int)cchKeyBufferSize, (char *)pchValue, (int)cchValueBufferSize); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyDataByIndex( (CSteamID)params->steamIDLobby, (int)params->iLobbyData, (char *)params->pchKey, (int)params->cchKeyBufferSize, (char *)params->pchValue, (int)params->cchValueBufferSize ); } -bool cppISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData(void *linux_side, CSteamID steamIDLobby, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData( struct cppISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->DeleteLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->DeleteLobbyData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey ); } -const char * cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) +void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData_params *params ) { - const char *_ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberData( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDUser, (const char *)params->pchKey ); } -void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberData( (CSteamID)params->steamIDLobby, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) +void cppISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SendLobbyChatMsg( (CSteamID)params->steamIDLobby, (const void *)params->pvMsgBody, (int)params->cubMsgBody ); } -int cppISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) +void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyChatEntry( (CSteamID)params->steamIDLobby, (int)params->iChatID, (CSteamID *)params->pSteamIDUser, (void *)params->pvData, (int)params->cubData, (EChatEntryType *)params->peChatEntryType ); } -bool cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyData_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->RequestLobbyData( (CSteamID)params->steamIDLobby ); } -void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer_params *params ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + ((ISteamMatchmaking*)params->linux_side)->SetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32)params->unGameServerIP, (uint16)params->unGameServerPort, (CSteamID)params->steamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) +void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyGameServer( (CSteamID)params->steamIDLobby, (uint32 *)params->punGameServerIP, (uint16 *)params->punGameServerPort, (CSteamID *)params->psteamIDGameServer ); } -bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyMemberLimit( (CSteamID)params->steamIDLobby, (int)params->cMaxMembers ); } -int cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit_params *params ) { - int _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyMemberLimit( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyType(void *linux_side, CSteamID steamIDLobby, ELobbyType eLobbyType) +void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyType( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyType_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyType((CSteamID)steamIDLobby, (ELobbyType)eLobbyType); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyType( (CSteamID)params->steamIDLobby, (ELobbyType)params->eLobbyType ); } -bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable(void *linux_side, CSteamID steamIDLobby, bool bLobbyJoinable) +void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyJoinable((CSteamID)steamIDLobby, (bool)bLobbyJoinable); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyJoinable( (CSteamID)params->steamIDLobby, (bool)params->bLobbyJoinable ); } -CSteamID cppISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner(void *linux_side, CSteamID steamIDLobby) +void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner_params *params ) { - CSteamID _ret; - _ret = ((ISteamMatchmaking*)linux_side)->GetLobbyOwner((CSteamID)steamIDLobby); - return (_ret); + *params->_ret = ((ISteamMatchmaking*)params->linux_side)->GetLobbyOwner( (CSteamID)params->steamIDLobby ); } -bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDNewOwner) +void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLobbyOwner((CSteamID)steamIDLobby, (CSteamID)steamIDNewOwner); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLobbyOwner( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDNewOwner ); } -bool cppISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDLobbyDependent) +void cppISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby( struct cppISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby_params *params ) { - bool _ret; - _ret = ((ISteamMatchmaking*)linux_side)->SetLinkedLobby((CSteamID)steamIDLobby, (CSteamID)steamIDLobbyDependent); - return (_ret); + params->_ret = ((ISteamMatchmaking*)params->linux_side)->SetLinkedLobby( (CSteamID)params->steamIDLobby, (CSteamID)params->steamIDLobbyDependent ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.h index eda029aa..98e531e8 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.h +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.h @@ -1,38 +1,346 @@ -extern int cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter(void *, const char *, const char *, ELobbyComparison); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter(void *, const char *, int, ELobbyComparison); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter(void *, const char *, int); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter(void *, ELobbyDistanceFilter); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex(void *, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking009_CreateLobby(void *, ELobbyType, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking009_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking009_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking009_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyData(void *, CSteamID, const char *, const char *); -extern int cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex(void *, CSteamID, int, char *, int, char *, int); -extern bool cppISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData(void *, CSteamID, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyType(void *, CSteamID, ELobbyType); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable(void *, CSteamID, bool); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner(void *, CSteamID, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby(void *, CSteamID, CSteamID); +struct cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount( struct cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame_params +{ + void *linux_side; + bool _ret; + int iGame; + AppId_t *pnAppID; + uint32 *pnIP; + uint16 *pnConnPort; + uint16 *pnQueryPort; + uint32 *punFlags; + uint32 *pRTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame_params +{ + void *linux_side; + int _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; + uint32 rTime32LastPlayedOnServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame_params +{ + void *linux_side; + bool _ret; + AppId_t nAppID; + uint32 nIP; + uint16 nConnPort; + uint16 nQueryPort; + uint32 unFlags; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame( struct cppISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyList_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyList( struct cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyList_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; + ELobbyComparison eComparisonType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + int nValueToMatch; + ELobbyComparison eComparisonType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter_params +{ + void *linux_side; + const char *pchKeyToMatch; + int nValueToBeCloseTo; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable_params +{ + void *linux_side; + int nSlotsAvailable; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter_params +{ + void *linux_side; + ELobbyDistanceFilter eLobbyDistanceFilter; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter_params +{ + void *linux_side; + int cMaxResults; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter( struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex_params +{ + void *linux_side; + CSteamID *_ret; + int iLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_CreateLobby_params +{ + void *linux_side; + SteamAPICall_t _ret; + ELobbyType eLobbyType; + int cMaxMembers; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_CreateLobby( struct cppISteamMatchmaking_SteamMatchMaking009_CreateLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_JoinLobby_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_JoinLobby( struct cppISteamMatchmaking_SteamMatchMaking009_JoinLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_LeaveLobby_params +{ + void *linux_side; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_LeaveLobby( struct cppISteamMatchmaking_SteamMatchMaking009_LeaveLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby( struct cppISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers( struct cppISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int iMember; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyData( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + int iLobbyData; + char *pchKey; + int cchKeyBufferSize; + char *pchValue; + int cchValueBufferSize; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData( struct cppISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData_params +{ + void *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData_params +{ + void *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int cubMsgBody; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg( struct cppISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; + int iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int cubData; + EChatEntryType *peChatEntryType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyData_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyData( struct cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyData_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer_params +{ + void *linux_side; + CSteamID steamIDLobby; + uint32 unGameServerIP; + uint16 unGameServerPort; + CSteamID steamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + uint32 *punGameServerIP; + uint16 *punGameServerPort; + CSteamID *psteamIDGameServer; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + int cMaxMembers; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit_params +{ + void *linux_side; + int _ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyType_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + ELobbyType eLobbyType; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyType( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyType_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + bool bLobbyJoinable; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner_params +{ + void *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + CSteamID steamIDNewOwner; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner( struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner_params *params ); + +struct cppISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDLobby; + CSteamID steamIDLobbyDependent; +}; +extern void cppISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby( struct cppISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby_params *params ); + diff --git a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp index 9d2f16e8..750baee6 100644 --- a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp @@ -12,228 +12,164 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h" -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote(void *linux_side, const char *pchName) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->RegisterSteamMusicRemote((const char *)pchName); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->RegisterSteamMusicRemote( (const char *)params->pchName ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote(void *linux_side) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->DeregisterSteamMusicRemote(); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->DeregisterSteamMusicRemote( ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote(void *linux_side) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->BIsCurrentMusicRemote(); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->BIsCurrentMusicRemote( ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess(void *linux_side, bool bValue) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->BActivationSuccess((bool)bValue); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->BActivationSuccess( (bool)params->bValue ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName(void *linux_side, const char *pchDisplayName) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->SetDisplayName((const char *)pchDisplayName); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->SetDisplayName( (const char *)params->pchDisplayName ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64(void *linux_side, void *pvBuffer, uint32 cbBufferLength) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->SetPNGIcon_64x64((void *)pvBuffer, (uint32)cbBufferLength); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->SetPNGIcon_64x64( (void *)params->pvBuffer, (uint32)params->cbBufferLength ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious(void *linux_side, bool bValue) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->EnablePlayPrevious((bool)bValue); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->EnablePlayPrevious( (bool)params->bValue ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext(void *linux_side, bool bValue) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->EnablePlayNext((bool)bValue); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->EnablePlayNext( (bool)params->bValue ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled(void *linux_side, bool bValue) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->EnableShuffled((bool)bValue); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->EnableShuffled( (bool)params->bValue ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped(void *linux_side, bool bValue) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->EnableLooped((bool)bValue); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->EnableLooped( (bool)params->bValue ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue(void *linux_side, bool bValue) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->EnableQueue((bool)bValue); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->EnableQueue( (bool)params->bValue ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists(void *linux_side, bool bValue) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->EnablePlaylists((bool)bValue); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->EnablePlaylists( (bool)params->bValue ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus(void *linux_side, AudioPlayback_Status nStatus) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->UpdatePlaybackStatus((AudioPlayback_Status)nStatus); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->UpdatePlaybackStatus( (AudioPlayback_Status)params->nStatus ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled(void *linux_side, bool bValue) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->UpdateShuffled((bool)bValue); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->UpdateShuffled( (bool)params->bValue ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped(void *linux_side, bool bValue) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->UpdateLooped((bool)bValue); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->UpdateLooped( (bool)params->bValue ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume(void *linux_side, float flValue) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->UpdateVolume((float)flValue); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->UpdateVolume( (float)params->flValue ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange(void *linux_side) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->CurrentEntryWillChange(); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->CurrentEntryWillChange( ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable(void *linux_side, bool bAvailable) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->CurrentEntryIsAvailable((bool)bAvailable); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->CurrentEntryIsAvailable( (bool)params->bAvailable ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText(void *linux_side, const char *pchText) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->UpdateCurrentEntryText((const char *)pchText); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->UpdateCurrentEntryText( (const char *)params->pchText ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds(void *linux_side, int nValue) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->UpdateCurrentEntryElapsedSeconds((int)nValue); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->UpdateCurrentEntryElapsedSeconds( (int)params->nValue ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt(void *linux_side, void *pvBuffer, uint32 cbBufferLength) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->UpdateCurrentEntryCoverArt((void *)pvBuffer, (uint32)cbBufferLength); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->UpdateCurrentEntryCoverArt( (void *)params->pvBuffer, (uint32)params->cbBufferLength ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange(void *linux_side) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->CurrentEntryDidChange(); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->CurrentEntryDidChange( ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange(void *linux_side) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->QueueWillChange(); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->QueueWillChange( ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries(void *linux_side) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->ResetQueueEntries(); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->ResetQueueEntries( ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry(void *linux_side, int nID, int nPosition, const char *pchEntryText) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->SetQueueEntry((int)nID, (int)nPosition, (const char *)pchEntryText); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->SetQueueEntry( (int)params->nID, (int)params->nPosition, (const char *)params->pchEntryText ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry(void *linux_side, int nID) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->SetCurrentQueueEntry((int)nID); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->SetCurrentQueueEntry( (int)params->nID ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange(void *linux_side) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->QueueDidChange(); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->QueueDidChange( ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange(void *linux_side) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->PlaylistWillChange(); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->PlaylistWillChange( ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries(void *linux_side) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->ResetPlaylistEntries(); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->ResetPlaylistEntries( ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry(void *linux_side, int nID, int nPosition, const char *pchEntryText) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->SetPlaylistEntry((int)nID, (int)nPosition, (const char *)pchEntryText); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->SetPlaylistEntry( (int)params->nID, (int)params->nPosition, (const char *)params->pchEntryText ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry(void *linux_side, int nID) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->SetCurrentPlaylistEntry((int)nID); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->SetCurrentPlaylistEntry( (int)params->nID ); } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange(void *linux_side) +void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange_params *params ) { - bool _ret; - _ret = ((ISteamMusicRemote*)linux_side)->PlaylistDidChange(); - return (_ret); + params->_ret = ((ISteamMusicRemote*)params->linux_side)->PlaylistDidChange( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h index e4c7dd48..16c53f01 100644 --- a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h +++ b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h @@ -1,32 +1,252 @@ -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote(void *, const char *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName(void *, const char *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64(void *, void *, uint32); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus(void *, AudioPlayback_Status); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume(void *, float); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText(void *, const char *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds(void *, int); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt(void *, void *, uint32); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry(void *, int, int, const char *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry(void *, int); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry(void *, int, int, const char *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry(void *, int); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange(void *); +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess_params +{ + void *linux_side; + bool _ret; + bool bValue; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName_params +{ + void *linux_side; + bool _ret; + const char *pchDisplayName; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64_params +{ + void *linux_side; + bool _ret; + void *pvBuffer; + uint32 cbBufferLength; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious_params +{ + void *linux_side; + bool _ret; + bool bValue; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext_params +{ + void *linux_side; + bool _ret; + bool bValue; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled_params +{ + void *linux_side; + bool _ret; + bool bValue; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped_params +{ + void *linux_side; + bool _ret; + bool bValue; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue_params +{ + void *linux_side; + bool _ret; + bool bValue; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists_params +{ + void *linux_side; + bool _ret; + bool bValue; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus_params +{ + void *linux_side; + bool _ret; + AudioPlayback_Status nStatus; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled_params +{ + void *linux_side; + bool _ret; + bool bValue; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped_params +{ + void *linux_side; + bool _ret; + bool bValue; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume_params +{ + void *linux_side; + bool _ret; + float flValue; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable_params +{ + void *linux_side; + bool _ret; + bool bAvailable; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText_params +{ + void *linux_side; + bool _ret; + const char *pchText; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds_params +{ + void *linux_side; + bool _ret; + int nValue; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt_params +{ + void *linux_side; + bool _ret; + void *pvBuffer; + uint32 cbBufferLength; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry_params +{ + void *linux_side; + bool _ret; + int nID; + int nPosition; + const char *pchEntryText; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry_params +{ + void *linux_side; + bool _ret; + int nID; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry_params +{ + void *linux_side; + bool _ret; + int nID; + int nPosition; + const char *pchEntryText; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry_params +{ + void *linux_side; + bool _ret; + int nID; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry_params *params ); + +struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange( struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange_params *params ); + diff --git a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp index 42161963..07ddbb64 100644 --- a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp @@ -12,57 +12,49 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h" -bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(void *linux_side) +void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled_params *params ) { - bool _ret; - _ret = ((ISteamMusic*)linux_side)->BIsEnabled(); - return (_ret); + params->_ret = ((ISteamMusic*)params->linux_side)->BIsEnabled( ); } -bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying(void *linux_side) +void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying_params *params ) { - bool _ret; - _ret = ((ISteamMusic*)linux_side)->BIsPlaying(); - return (_ret); + params->_ret = ((ISteamMusic*)params->linux_side)->BIsPlaying( ); } -AudioPlayback_Status cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus(void *linux_side) +void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus_params *params ) { - AudioPlayback_Status _ret; - _ret = ((ISteamMusic*)linux_side)->GetPlaybackStatus(); - return (_ret); + params->_ret = ((ISteamMusic*)params->linux_side)->GetPlaybackStatus( ); } -void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play(void *linux_side) +void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play_params *params ) { - ((ISteamMusic*)linux_side)->Play(); + ((ISteamMusic*)params->linux_side)->Play( ); } -void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause(void *linux_side) +void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause_params *params ) { - ((ISteamMusic*)linux_side)->Pause(); + ((ISteamMusic*)params->linux_side)->Pause( ); } -void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious(void *linux_side) +void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious_params *params ) { - ((ISteamMusic*)linux_side)->PlayPrevious(); + ((ISteamMusic*)params->linux_side)->PlayPrevious( ); } -void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext(void *linux_side) +void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext_params *params ) { - ((ISteamMusic*)linux_side)->PlayNext(); + ((ISteamMusic*)params->linux_side)->PlayNext( ); } -void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume(void *linux_side, float flVolume) +void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume_params *params ) { - ((ISteamMusic*)linux_side)->SetVolume((float)flVolume); + ((ISteamMusic*)params->linux_side)->SetVolume( (float)params->flVolume ); } -float cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume(void *linux_side) +void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume_params *params ) { - float _ret; - _ret = ((ISteamMusic*)linux_side)->GetVolume(); - return (_ret); + params->_ret = ((ISteamMusic*)params->linux_side)->GetVolume( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h index 4b6f82f3..959de453 100644 --- a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h +++ b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h @@ -1,9 +1,59 @@ -extern bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(void *); -extern bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying(void *); -extern AudioPlayback_Status cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus(void *); -extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play(void *); -extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause(void *); -extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious(void *); -extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext(void *); -extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume(void *, float); -extern float cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume(void *); +struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled_params *params ); + +struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying_params *params ); + +struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus_params +{ + void *linux_side; + AudioPlayback_Status _ret; +}; +extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus_params *params ); + +struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play_params +{ + void *linux_side; +}; +extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play_params *params ); + +struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause_params +{ + void *linux_side; +}; +extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause_params *params ); + +struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious_params +{ + void *linux_side; +}; +extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious_params *params ); + +struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext_params +{ + void *linux_side; +}; +extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext_params *params ); + +struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume_params +{ + void *linux_side; + float flVolume; +}; +extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume_params *params ); + +struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume_params +{ + void *linux_side; + float _ret; +}; +extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume( struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.cpp b/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.cpp index 57a4421f..3a56923f 100644 --- a/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.cpp +++ b/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.cpp @@ -13,16 +13,14 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h" -EResult cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP(void *linux_side, const SteamNetworkingIPAddr *remoteAddress, const void *pData, uint32 cbData, int nSendFlags) +void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP( struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingFakeUDPPort*)linux_side)->SendMessageToFakeIP(*remoteAddress, (const void *)pData, (uint32)cbData, (int)nSendFlags); - return (_ret); + params->_ret = ((ISteamNetworkingFakeUDPPort*)params->linux_side)->SendMessageToFakeIP( *params->remoteAddress, (const void *)params->pData, (uint32)params->cbData, (int)params->nSendFlags ); } -void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup(void *linux_side, const SteamNetworkingIPAddr *remoteAddress) +void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup( struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup_params *params ) { - ((ISteamNetworkingFakeUDPPort*)linux_side)->ScheduleCleanup(*remoteAddress); + ((ISteamNetworkingFakeUDPPort*)params->linux_side)->ScheduleCleanup( *params->remoteAddress ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h b/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h index 7793a11d..17beab56 100644 --- a/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h +++ b/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h @@ -1,4 +1,33 @@ -extern void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort(void *); -extern EResult cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP(void *, const SteamNetworkingIPAddr *, const void *, uint32, int); -extern int cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages(void *, winSteamNetworkingMessage_t_158 **, int); -extern void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup(void *, const SteamNetworkingIPAddr *); +struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort_params +{ + void *linux_side; +}; +extern void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort( struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort_params *params ); + +struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP_params +{ + void *linux_side; + EResult _ret; + const SteamNetworkingIPAddr *remoteAddress; + const void *pData; + uint32 cbData; + int nSendFlags; +}; +extern void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP( struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP_params *params ); + +struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages_params +{ + void *linux_side; + int _ret; + winSteamNetworkingMessage_t_158 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages( struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages_params *params ); + +struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup_params +{ + void *linux_side; + const SteamNetworkingIPAddr *remoteAddress; +}; +extern void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup( struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp index 99c778dc..eccb21e0 100644 --- a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp +++ b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp @@ -13,39 +13,29 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamNetworkingMessages_SteamNetworkingMessages002.h" -EResult cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser(void *linux_side, const SteamNetworkingIdentity *identityRemote, const void *pubData, uint32 cubData, int nSendFlags, int nRemoteChannel) +void cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser( struct cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingMessages*)linux_side)->SendMessageToUser(*identityRemote, (const void *)pubData, (uint32)cubData, (int)nSendFlags, (int)nRemoteChannel); - return (_ret); + params->_ret = ((ISteamNetworkingMessages*)params->linux_side)->SendMessageToUser( *params->identityRemote, (const void *)params->pubData, (uint32)params->cubData, (int)params->nSendFlags, (int)params->nRemoteChannel ); } -bool cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser(void *linux_side, const SteamNetworkingIdentity *identityRemote) +void cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser( struct cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingMessages*)linux_side)->AcceptSessionWithUser(*identityRemote); - return (_ret); + params->_ret = ((ISteamNetworkingMessages*)params->linux_side)->AcceptSessionWithUser( *params->identityRemote ); } -bool cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser(void *linux_side, const SteamNetworkingIdentity *identityRemote) +void cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser( struct cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingMessages*)linux_side)->CloseSessionWithUser(*identityRemote); - return (_ret); + params->_ret = ((ISteamNetworkingMessages*)params->linux_side)->CloseSessionWithUser( *params->identityRemote ); } -bool cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser(void *linux_side, const SteamNetworkingIdentity *identityRemote, int nLocalChannel) +void cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser( struct cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingMessages*)linux_side)->CloseChannelWithUser(*identityRemote, (int)nLocalChannel); - return (_ret); + params->_ret = ((ISteamNetworkingMessages*)params->linux_side)->CloseChannelWithUser( *params->identityRemote, (int)params->nLocalChannel ); } -ESteamNetworkingConnectionState cppISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo(void *linux_side, const SteamNetworkingIdentity *identityRemote, SteamNetConnectionInfo_t *pConnectionInfo, SteamNetConnectionRealTimeStatus_t *pQuickStatus) +void cppISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo( struct cppISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo_params *params ) { - ESteamNetworkingConnectionState _ret; - _ret = ((ISteamNetworkingMessages*)linux_side)->GetSessionConnectionInfo(*identityRemote, (SteamNetConnectionInfo_t *)pConnectionInfo, (SteamNetConnectionRealTimeStatus_t *)pQuickStatus); - return (_ret); + params->_ret = ((ISteamNetworkingMessages*)params->linux_side)->GetSessionConnectionInfo( *params->identityRemote, (SteamNetConnectionInfo_t *)params->pConnectionInfo, (SteamNetConnectionRealTimeStatus_t *)params->pQuickStatus ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h index 1defee74..48dabd06 100644 --- a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h +++ b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h @@ -1,6 +1,57 @@ -extern EResult cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser(void *, const SteamNetworkingIdentity *, const void *, uint32, int, int); -extern int cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(void *, int, winSteamNetworkingMessage_t_158 **, int); -extern bool cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser(void *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser(void *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser(void *, const SteamNetworkingIdentity *, int); -extern ESteamNetworkingConnectionState cppISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo(void *, const SteamNetworkingIdentity *, SteamNetConnectionInfo_t *, SteamNetConnectionRealTimeStatus_t *); +struct cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser_params +{ + void *linux_side; + EResult _ret; + const SteamNetworkingIdentity *identityRemote; + const void *pubData; + uint32 cubData; + int nSendFlags; + int nRemoteChannel; +}; +extern void cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser( struct cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser_params *params ); + +struct cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel_params +{ + void *linux_side; + int _ret; + int nLocalChannel; + winSteamNetworkingMessage_t_158 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel( struct cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel_params *params ); + +struct cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser_params +{ + void *linux_side; + bool _ret; + const SteamNetworkingIdentity *identityRemote; +}; +extern void cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser( struct cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser_params *params ); + +struct cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser_params +{ + void *linux_side; + bool _ret; + const SteamNetworkingIdentity *identityRemote; +}; +extern void cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser( struct cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser_params *params ); + +struct cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser_params +{ + void *linux_side; + bool _ret; + const SteamNetworkingIdentity *identityRemote; + int nLocalChannel; +}; +extern void cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser( struct cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser_params *params ); + +struct cppISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo_params +{ + void *linux_side; + ESteamNetworkingConnectionState _ret; + const SteamNetworkingIdentity *identityRemote; + SteamNetConnectionInfo_t *pConnectionInfo; + SteamNetConnectionRealTimeStatus_t *pQuickStatus; +}; +extern void cppISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo( struct cppISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.cpp b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.cpp index d6f46294..e65259f5 100644 --- a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.cpp +++ b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.cpp @@ -12,52 +12,44 @@ extern "C" { #define SDKVER_143x #include "struct_converters.h" #include "cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.h" -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous(void *linux_side, CSteamID steamIDRemote, uint32 unConnectionIDSrc, const void *pMsgRendezvous, uint32 cbRendezvous) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous_params *params ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->SendP2PRendezvous((CSteamID)steamIDRemote, (uint32)unConnectionIDSrc, (const void *)pMsgRendezvous, (uint32)cbRendezvous); + ((ISteamNetworkingSocketsSerialized*)params->linux_side)->SendP2PRendezvous( (CSteamID)params->steamIDRemote, (uint32)params->unConnectionIDSrc, (const void *)params->pMsgRendezvous, (uint32)params->cbRendezvous ); } -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure(void *linux_side, CSteamID steamIDRemote, uint32 unConnectionIDDest, uint32 nReason, const char *pszReason) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure_params *params ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->SendP2PConnectionFailure((CSteamID)steamIDRemote, (uint32)unConnectionIDDest, (uint32)nReason, (const char *)pszReason); + ((ISteamNetworkingSocketsSerialized*)params->linux_side)->SendP2PConnectionFailure( (CSteamID)params->steamIDRemote, (uint32)params->unConnectionIDDest, (uint32)params->nReason, (const char *)params->pszReason ); } -SteamAPICall_t cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync(void *linux_side) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamNetworkingSocketsSerialized*)linux_side)->GetCertAsync(); - return (_ret); + params->_ret = ((ISteamNetworkingSocketsSerialized*)params->linux_side)->GetCertAsync( ); } -int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON(void *linux_side, void *buf, uint32 cbBuf) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSocketsSerialized*)linux_side)->GetNetworkConfigJSON((void *)buf, (uint32)cbBuf); - return (_ret); + params->_ret = ((ISteamNetworkingSocketsSerialized*)params->linux_side)->GetNetworkConfigJSON( (void *)params->buf, (uint32)params->cbBuf ); } -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket(void *linux_side, const void *pTicket, uint32 cbTicket) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket_params *params ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->CacheRelayTicket((const void *)pTicket, (uint32)cbTicket); + ((ISteamNetworkingSocketsSerialized*)params->linux_side)->CacheRelayTicket( (const void *)params->pTicket, (uint32)params->cbTicket ); } -uint32 cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount(void *linux_side) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount_params *params ) { - uint32 _ret; - _ret = ((ISteamNetworkingSocketsSerialized*)linux_side)->GetCachedRelayTicketCount(); - return (_ret); + params->_ret = ((ISteamNetworkingSocketsSerialized*)params->linux_side)->GetCachedRelayTicketCount( ); } -int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket(void *linux_side, uint32 idxTicket, void *buf, uint32 cbBuf) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSocketsSerialized*)linux_side)->GetCachedRelayTicket((uint32)idxTicket, (void *)buf, (uint32)cbBuf); - return (_ret); + params->_ret = ((ISteamNetworkingSocketsSerialized*)params->linux_side)->GetCachedRelayTicket( (uint32)params->idxTicket, (void *)params->buf, (uint32)params->cbBuf ); } -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg(void *linux_side, const void *pMsg, uint32 cbMsg) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg_params *params ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->PostConnectionStateMsg((const void *)pMsg, (uint32)cbMsg); + ((ISteamNetworkingSocketsSerialized*)params->linux_side)->PostConnectionStateMsg( (const void *)params->pMsg, (uint32)params->cbMsg ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.h b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.h index 9c6d9ce1..7f05cb71 100644 --- a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.h +++ b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.h @@ -1,8 +1,69 @@ -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous(void *, CSteamID, uint32, const void *, uint32); -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure(void *, CSteamID, uint32, uint32, const char *); -extern SteamAPICall_t cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync(void *); -extern int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON(void *, void *, uint32); -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket(void *, const void *, uint32); -extern uint32 cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount(void *); -extern int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket(void *, uint32, void *, uint32); -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg(void *, const void *, uint32); +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous_params +{ + void *linux_side; + CSteamID steamIDRemote; + uint32 unConnectionIDSrc; + const void *pMsgRendezvous; + uint32 cbRendezvous; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure_params +{ + void *linux_side; + CSteamID steamIDRemote; + uint32 unConnectionIDDest; + uint32 nReason; + const char *pszReason; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON_params +{ + void *linux_side; + int _ret; + void *buf; + uint32 cbBuf; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket_params +{ + void *linux_side; + const void *pTicket; + uint32 cbTicket; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket_params +{ + void *linux_side; + int _ret; + uint32 idxTicket; + void *buf; + uint32 cbBuf; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg_params +{ + void *linux_side; + const void *pMsg; + uint32 cbMsg; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.cpp b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.cpp index 6262cae0..8cbb69ee 100644 --- a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.cpp +++ b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.cpp @@ -12,52 +12,44 @@ extern "C" { #define SDKVER_143y #include "struct_converters.h" #include "cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.h" -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous(void *linux_side, CSteamID steamIDRemote, uint32 unConnectionIDSrc, const void *pMsgRendezvous, uint32 cbRendezvous) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous_params *params ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->SendP2PRendezvous((CSteamID)steamIDRemote, (uint32)unConnectionIDSrc, (const void *)pMsgRendezvous, (uint32)cbRendezvous); + ((ISteamNetworkingSocketsSerialized*)params->linux_side)->SendP2PRendezvous( (CSteamID)params->steamIDRemote, (uint32)params->unConnectionIDSrc, (const void *)params->pMsgRendezvous, (uint32)params->cbRendezvous ); } -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure(void *linux_side, CSteamID steamIDRemote, uint32 unConnectionIDDest, uint32 nReason, const char *pszReason) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure_params *params ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->SendP2PConnectionFailure((CSteamID)steamIDRemote, (uint32)unConnectionIDDest, (uint32)nReason, (const char *)pszReason); + ((ISteamNetworkingSocketsSerialized*)params->linux_side)->SendP2PConnectionFailure( (CSteamID)params->steamIDRemote, (uint32)params->unConnectionIDDest, (uint32)params->nReason, (const char *)params->pszReason ); } -SteamAPICall_t cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync(void *linux_side) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamNetworkingSocketsSerialized*)linux_side)->GetCertAsync(); - return (_ret); + params->_ret = ((ISteamNetworkingSocketsSerialized*)params->linux_side)->GetCertAsync( ); } -int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON(void *linux_side, void *buf, uint32 cbBuf, const char *pszLauncherPartner) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSocketsSerialized*)linux_side)->GetNetworkConfigJSON((void *)buf, (uint32)cbBuf, (const char *)pszLauncherPartner); - return (_ret); + params->_ret = ((ISteamNetworkingSocketsSerialized*)params->linux_side)->GetNetworkConfigJSON( (void *)params->buf, (uint32)params->cbBuf, (const char *)params->pszLauncherPartner ); } -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket(void *linux_side, const void *pTicket, uint32 cbTicket) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket_params *params ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->CacheRelayTicket((const void *)pTicket, (uint32)cbTicket); + ((ISteamNetworkingSocketsSerialized*)params->linux_side)->CacheRelayTicket( (const void *)params->pTicket, (uint32)params->cbTicket ); } -uint32 cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount(void *linux_side) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount_params *params ) { - uint32 _ret; - _ret = ((ISteamNetworkingSocketsSerialized*)linux_side)->GetCachedRelayTicketCount(); - return (_ret); + params->_ret = ((ISteamNetworkingSocketsSerialized*)params->linux_side)->GetCachedRelayTicketCount( ); } -int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket(void *linux_side, uint32 idxTicket, void *buf, uint32 cbBuf) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSocketsSerialized*)linux_side)->GetCachedRelayTicket((uint32)idxTicket, (void *)buf, (uint32)cbBuf); - return (_ret); + params->_ret = ((ISteamNetworkingSocketsSerialized*)params->linux_side)->GetCachedRelayTicket( (uint32)params->idxTicket, (void *)params->buf, (uint32)params->cbBuf ); } -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg(void *linux_side, const void *pMsg, uint32 cbMsg) +void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg_params *params ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->PostConnectionStateMsg((const void *)pMsg, (uint32)cbMsg); + ((ISteamNetworkingSocketsSerialized*)params->linux_side)->PostConnectionStateMsg( (const void *)params->pMsg, (uint32)params->cbMsg ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.h b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.h index 2dd5aae9..50422fb8 100644 --- a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.h +++ b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.h @@ -1,8 +1,70 @@ -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous(void *, CSteamID, uint32, const void *, uint32); -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure(void *, CSteamID, uint32, uint32, const char *); -extern SteamAPICall_t cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync(void *); -extern int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON(void *, void *, uint32, const char *); -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket(void *, const void *, uint32); -extern uint32 cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount(void *); -extern int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket(void *, uint32, void *, uint32); -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg(void *, const void *, uint32); +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous_params +{ + void *linux_side; + CSteamID steamIDRemote; + uint32 unConnectionIDSrc; + const void *pMsgRendezvous; + uint32 cbRendezvous; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure_params +{ + void *linux_side; + CSteamID steamIDRemote; + uint32 unConnectionIDDest; + uint32 nReason; + const char *pszReason; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON_params +{ + void *linux_side; + int _ret; + void *buf; + uint32 cbBuf; + const char *pszLauncherPartner; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket_params +{ + void *linux_side; + const void *pTicket; + uint32 cbTicket; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket_params +{ + void *linux_side; + int _ret; + uint32 idxTicket; + void *buf; + uint32 cbBuf; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket_params *params ); + +struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg_params +{ + void *linux_side; + const void *pMsg; + uint32 cbMsg; +}; +extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.cpp index f39e4cc1..9db4cdbb 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.cpp @@ -13,184 +13,134 @@ extern "C" { #define SDKVER_144 #include "struct_converters.h" #include "cppISteamNetworkingSockets_SteamNetworkingSockets002.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr *localAddress) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketIP((const SteamNetworkingIPAddr *)localAddress); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateListenSocketIP( (const SteamNetworkingIPAddr *)params->localAddress ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress(void *linux_side, const SteamNetworkingIPAddr *address) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectByIPAddress((const SteamNetworkingIPAddr *)address); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectByIPAddress( (const SteamNetworkingIPAddr *)params->address ); } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P(void *linux_side, int nVirtualPort) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2P((int)nVirtualPort); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateListenSocketP2P( (int)params->nVirtualPort ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P(void *linux_side, const SteamNetworkingIdentity *identityRemote, int nVirtualPort) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectP2P((const SteamNetworkingIdentity *)identityRemote, (int)nVirtualPort); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectP2P( (const SteamNetworkingIdentity *)params->identityRemote, (int)params->nVirtualPort ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection(void *linux_side, HSteamNetConnection hConn) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->AcceptConnection((HSteamNetConnection)hConn); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->AcceptConnection( (HSteamNetConnection)params->hConn ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection(void *linux_side, HSteamNetConnection hPeer, int nReason, const char *pszDebug, bool bEnableLinger) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CloseConnection((HSteamNetConnection)hPeer, (int)nReason, (const char *)pszDebug, (bool)bEnableLinger); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CloseConnection( (HSteamNetConnection)params->hPeer, (int)params->nReason, (const char *)params->pszDebug, (bool)params->bEnableLinger ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket(void *linux_side, HSteamListenSocket hSocket) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CloseListenSocket((HSteamListenSocket)hSocket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CloseListenSocket( (HSteamListenSocket)params->hSocket ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData(void *linux_side, HSteamNetConnection hPeer, int64 nUserData) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SetConnectionUserData((HSteamNetConnection)hPeer, (int64)nUserData); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionUserData( (HSteamNetConnection)params->hPeer, (int64)params->nUserData ); } -int64 cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData(void *linux_side, HSteamNetConnection hPeer) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params *params ) { - int64 _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionUserData((HSteamNetConnection)hPeer); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionUserData( (HSteamNetConnection)params->hPeer ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName(void *linux_side, HSteamNetConnection hPeer, const char *pszName) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName_params *params ) { - ((ISteamNetworkingSockets*)linux_side)->SetConnectionName((HSteamNetConnection)hPeer, (const char *)pszName); + ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionName( (HSteamNetConnection)params->hPeer, (const char *)params->pszName ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName(void *linux_side, HSteamNetConnection hPeer, char *pszName, int nMaxLen) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionName((HSteamNetConnection)hPeer, (char *)pszName, (int)nMaxLen); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionName( (HSteamNetConnection)params->hPeer, (char *)params->pszName, (int)params->nMaxLen ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection(void *linux_side, HSteamNetConnection hConn, const void *pData, uint32 cbData, int nSendFlags) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SendMessageToConnection((HSteamNetConnection)hConn, (const void *)pData, (uint32)cbData, (int)nSendFlags); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SendMessageToConnection( (HSteamNetConnection)params->hConn, (const void *)params->pData, (uint32)params->cbData, (int)params->nSendFlags ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection(void *linux_side, HSteamNetConnection hConn) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->FlushMessagesOnConnection((HSteamNetConnection)hConn); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->FlushMessagesOnConnection( (HSteamNetConnection)params->hConn ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionInfo_t *pInfo) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionInfo((HSteamNetConnection)hConn, (SteamNetConnectionInfo_t *)pInfo); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionInfo( (HSteamNetConnection)params->hConn, (SteamNetConnectionInfo_t *)params->pInfo ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus(void *linux_side, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus *pStats) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetQuickConnectionStatus((HSteamNetConnection)hConn, (SteamNetworkingQuickConnectionStatus *)pStats); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetQuickConnectionStatus( (HSteamNetConnection)params->hConn, (SteamNetworkingQuickConnectionStatus *)params->pStats ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus(void *linux_side, HSteamNetConnection hConn, char *pszBuf, int cbBuf) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetDetailedConnectionStatus((HSteamNetConnection)hConn, (char *)pszBuf, (int)cbBuf); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetDetailedConnectionStatus( (HSteamNetConnection)params->hConn, (char *)params->pszBuf, (int)params->cbBuf ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress(void *linux_side, HSteamListenSocket hSocket, SteamNetworkingIPAddr *address) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetListenSocketAddress((HSteamListenSocket)hSocket, (SteamNetworkingIPAddr *)address); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetListenSocketAddress( (HSteamListenSocket)params->hSocket, (SteamNetworkingIPAddr *)params->address ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair(void *linux_side, HSteamNetConnection *pOutConnection1, HSteamNetConnection *pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity *pIdentity1, const SteamNetworkingIdentity *pIdentity2) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateSocketPair((HSteamNetConnection *)pOutConnection1, (HSteamNetConnection *)pOutConnection2, (bool)bUseNetworkLoopback, (const SteamNetworkingIdentity *)pIdentity1, (const SteamNetworkingIdentity *)pIdentity2); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateSocketPair( (HSteamNetConnection *)params->pOutConnection1, (HSteamNetConnection *)params->pOutConnection2, (bool)params->bUseNetworkLoopback, (const SteamNetworkingIdentity *)params->pIdentity1, (const SteamNetworkingIdentity *)params->pIdentity2 ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity(void *linux_side, SteamNetworkingIdentity *pIdentity) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetIdentity((SteamNetworkingIdentity *)pIdentity); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetIdentity( (SteamNetworkingIdentity *)params->pIdentity ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket(void *linux_side, const void *pvTicket, int cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ReceivedRelayAuthTicket((const void *)pvTicket, (int)cbTicket, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ReceivedRelayAuthTicket( (const void *)params->pvTicket, (int)params->cbTicket, (SteamDatagramRelayAuthTicket *)params->pOutParsedTicket ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer(void *linux_side, const SteamNetworkingIdentity *identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->FindRelayAuthTicketForServer((const SteamNetworkingIdentity *)identityGameServer, (int)nVirtualPort, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->FindRelayAuthTicketForServer( (const SteamNetworkingIdentity *)params->identityGameServer, (int)params->nVirtualPort, (SteamDatagramRelayAuthTicket *)params->pOutParsedTicket ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer(void *linux_side, const SteamNetworkingIdentity *identityTarget, int nVirtualPort) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectToHostedDedicatedServer((const SteamNetworkingIdentity *)identityTarget, (int)nVirtualPort); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectToHostedDedicatedServer( (const SteamNetworkingIdentity *)params->identityTarget, (int)params->nVirtualPort ); } -uint16 cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params *params ) { - uint16 _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPort(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerPort( ); } -SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID_params *params ) { - SteamNetworkingPOPID _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPOPID(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerPOPID( ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress(void *linux_side, SteamDatagramHostedAddress *pRouting) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerAddress((SteamDatagramHostedAddress *)pRouting); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerAddress( (SteamDatagramHostedAddress *)params->pRouting ); } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket(void *linux_side, int nVirtualPort) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateHostedDedicatedServerListenSocket((int)nVirtualPort); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateHostedDedicatedServerListenSocket( (int)params->nVirtualPort ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.h index 7538bf17..d1c95ce2 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.h +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.h @@ -1,28 +1,250 @@ -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP(void *, const SteamNetworkingIPAddr *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress(void *, const SteamNetworkingIPAddr *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P(void *, int); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P(void *, const SteamNetworkingIdentity *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection(void *, HSteamNetConnection); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection(void *, HSteamNetConnection, int, const char *, bool); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket(void *, HSteamListenSocket); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData(void *, HSteamNetConnection, int64); -extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData(void *, HSteamNetConnection); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName(void *, HSteamNetConnection, const char *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName(void *, HSteamNetConnection, char *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_144 **, int); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket(void *, HSteamListenSocket, winSteamNetworkingMessage_t_144 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus(void *, HSteamNetConnection, SteamNetworkingQuickConnectionStatus *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress(void *, HSteamListenSocket, SteamNetworkingIPAddr *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair(void *, HSteamNetConnection *, HSteamNetConnection *, bool, const SteamNetworkingIdentity *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity(void *, SteamNetworkingIdentity *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int); -extern uint16 cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort(void *); -extern SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID(void *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress(void *, SteamDatagramHostedAddress *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket(void *, int); +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP_params +{ + void *linux_side; + HSteamListenSocket _ret; + const SteamNetworkingIPAddr *localAddress; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIPAddr *address; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P_params +{ + void *linux_side; + HSteamListenSocket _ret; + int nVirtualPort; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIdentity *identityRemote; + int nVirtualPort; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + int nReason; + const char *pszDebug; + bool bEnableLinger; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket_params +{ + void *linux_side; + bool _ret; + HSteamListenSocket hSocket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + int64 nUserData; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params +{ + void *linux_side; + int64 _ret; + HSteamNetConnection hPeer; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName_params +{ + void *linux_side; + HSteamNetConnection hPeer; + const char *pszName; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + char *pszName; + int nMaxLen; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; + const void *pData; + uint32 cbData; + int nSendFlags; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection_params +{ + void *linux_side; + int _ret; + HSteamNetConnection hConn; + winSteamNetworkingMessage_t_144 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket_params +{ + void *linux_side; + int _ret; + HSteamListenSocket hSocket; + winSteamNetworkingMessage_t_144 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + SteamNetConnectionInfo_t *pInfo; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + SteamNetworkingQuickConnectionStatus *pStats; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_params +{ + void *linux_side; + int _ret; + HSteamNetConnection hConn; + char *pszBuf; + int cbBuf; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress_params +{ + void *linux_side; + bool _ret; + HSteamListenSocket hSocket; + SteamNetworkingIPAddr *address; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection *pOutConnection1; + HSteamNetConnection *pOutConnection2; + bool bUseNetworkLoopback; + const SteamNetworkingIdentity *pIdentity1; + const SteamNetworkingIdentity *pIdentity2; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIdentity *pIdentity; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket_params +{ + void *linux_side; + bool _ret; + const void *pvTicket; + int cbTicket; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params +{ + void *linux_side; + int _ret; + const SteamNetworkingIdentity *identityGameServer; + int nVirtualPort; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIdentity *identityTarget; + int nVirtualPort; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params +{ + void *linux_side; + uint16 _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID_params +{ + void *linux_side; + SteamNetworkingPOPID _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress_params +{ + void *linux_side; + bool _ret; + SteamDatagramHostedAddress *pRouting; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket_params +{ + void *linux_side; + HSteamListenSocket _ret; + int nVirtualPort; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.cpp index d225bd98..8e0dfbe6 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.cpp @@ -13,205 +13,149 @@ extern "C" { #define SDKVER_146 #include "struct_converters.h" #include "cppISteamNetworkingSockets_SteamNetworkingSockets004.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr *localAddress) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketIP((const SteamNetworkingIPAddr *)localAddress); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateListenSocketIP( (const SteamNetworkingIPAddr *)params->localAddress ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress(void *linux_side, const SteamNetworkingIPAddr *address) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectByIPAddress((const SteamNetworkingIPAddr *)address); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectByIPAddress( (const SteamNetworkingIPAddr *)params->address ); } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P(void *linux_side, int nVirtualPort) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2P((int)nVirtualPort); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateListenSocketP2P( (int)params->nVirtualPort ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P(void *linux_side, const SteamNetworkingIdentity *identityRemote, int nVirtualPort) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectP2P((const SteamNetworkingIdentity *)identityRemote, (int)nVirtualPort); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectP2P( (const SteamNetworkingIdentity *)params->identityRemote, (int)params->nVirtualPort ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection(void *linux_side, HSteamNetConnection hConn) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->AcceptConnection((HSteamNetConnection)hConn); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->AcceptConnection( (HSteamNetConnection)params->hConn ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection(void *linux_side, HSteamNetConnection hPeer, int nReason, const char *pszDebug, bool bEnableLinger) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CloseConnection((HSteamNetConnection)hPeer, (int)nReason, (const char *)pszDebug, (bool)bEnableLinger); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CloseConnection( (HSteamNetConnection)params->hPeer, (int)params->nReason, (const char *)params->pszDebug, (bool)params->bEnableLinger ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket(void *linux_side, HSteamListenSocket hSocket) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CloseListenSocket((HSteamListenSocket)hSocket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CloseListenSocket( (HSteamListenSocket)params->hSocket ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData(void *linux_side, HSteamNetConnection hPeer, int64 nUserData) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SetConnectionUserData((HSteamNetConnection)hPeer, (int64)nUserData); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionUserData( (HSteamNetConnection)params->hPeer, (int64)params->nUserData ); } -int64 cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData(void *linux_side, HSteamNetConnection hPeer) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData_params *params ) { - int64 _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionUserData((HSteamNetConnection)hPeer); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionUserData( (HSteamNetConnection)params->hPeer ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName(void *linux_side, HSteamNetConnection hPeer, const char *pszName) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName_params *params ) { - ((ISteamNetworkingSockets*)linux_side)->SetConnectionName((HSteamNetConnection)hPeer, (const char *)pszName); + ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionName( (HSteamNetConnection)params->hPeer, (const char *)params->pszName ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName(void *linux_side, HSteamNetConnection hPeer, char *pszName, int nMaxLen) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionName((HSteamNetConnection)hPeer, (char *)pszName, (int)nMaxLen); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionName( (HSteamNetConnection)params->hPeer, (char *)params->pszName, (int)params->nMaxLen ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection(void *linux_side, HSteamNetConnection hConn, const void *pData, uint32 cbData, int nSendFlags) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SendMessageToConnection((HSteamNetConnection)hConn, (const void *)pData, (uint32)cbData, (int)nSendFlags); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SendMessageToConnection( (HSteamNetConnection)params->hConn, (const void *)params->pData, (uint32)params->cbData, (int)params->nSendFlags ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection(void *linux_side, HSteamNetConnection hConn) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->FlushMessagesOnConnection((HSteamNetConnection)hConn); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->FlushMessagesOnConnection( (HSteamNetConnection)params->hConn ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionInfo_t *pInfo) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionInfo((HSteamNetConnection)hConn, (SteamNetConnectionInfo_t *)pInfo); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionInfo( (HSteamNetConnection)params->hConn, (SteamNetConnectionInfo_t *)params->pInfo ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus(void *linux_side, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus *pStats) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetQuickConnectionStatus((HSteamNetConnection)hConn, (SteamNetworkingQuickConnectionStatus *)pStats); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetQuickConnectionStatus( (HSteamNetConnection)params->hConn, (SteamNetworkingQuickConnectionStatus *)params->pStats ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus(void *linux_side, HSteamNetConnection hConn, char *pszBuf, int cbBuf) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetDetailedConnectionStatus((HSteamNetConnection)hConn, (char *)pszBuf, (int)cbBuf); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetDetailedConnectionStatus( (HSteamNetConnection)params->hConn, (char *)params->pszBuf, (int)params->cbBuf ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress(void *linux_side, HSteamListenSocket hSocket, SteamNetworkingIPAddr *address) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetListenSocketAddress((HSteamListenSocket)hSocket, (SteamNetworkingIPAddr *)address); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetListenSocketAddress( (HSteamListenSocket)params->hSocket, (SteamNetworkingIPAddr *)params->address ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair(void *linux_side, HSteamNetConnection *pOutConnection1, HSteamNetConnection *pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity *pIdentity1, const SteamNetworkingIdentity *pIdentity2) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateSocketPair((HSteamNetConnection *)pOutConnection1, (HSteamNetConnection *)pOutConnection2, (bool)bUseNetworkLoopback, (const SteamNetworkingIdentity *)pIdentity1, (const SteamNetworkingIdentity *)pIdentity2); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateSocketPair( (HSteamNetConnection *)params->pOutConnection1, (HSteamNetConnection *)params->pOutConnection2, (bool)params->bUseNetworkLoopback, (const SteamNetworkingIdentity *)params->pIdentity1, (const SteamNetworkingIdentity *)params->pIdentity2 ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity(void *linux_side, SteamNetworkingIdentity *pIdentity) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetIdentity((SteamNetworkingIdentity *)pIdentity); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetIdentity( (SteamNetworkingIdentity *)params->pIdentity ); } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication_params *params ) { - ESteamNetworkingAvailability _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->InitAuthentication(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->InitAuthentication( ); } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus(void *linux_side, SteamNetAuthenticationStatus_t *pDetails) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus_params *params ) { - ESteamNetworkingAvailability _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetAuthenticationStatus((SteamNetAuthenticationStatus_t *)pDetails); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetAuthenticationStatus( (SteamNetAuthenticationStatus_t *)params->pDetails ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket(void *linux_side, const void *pvTicket, int cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ReceivedRelayAuthTicket((const void *)pvTicket, (int)cbTicket, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ReceivedRelayAuthTicket( (const void *)params->pvTicket, (int)params->cbTicket, (SteamDatagramRelayAuthTicket *)params->pOutParsedTicket ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer(void *linux_side, const SteamNetworkingIdentity *identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->FindRelayAuthTicketForServer((const SteamNetworkingIdentity *)identityGameServer, (int)nVirtualPort, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->FindRelayAuthTicketForServer( (const SteamNetworkingIdentity *)params->identityGameServer, (int)params->nVirtualPort, (SteamDatagramRelayAuthTicket *)params->pOutParsedTicket ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer(void *linux_side, const SteamNetworkingIdentity *identityTarget, int nVirtualPort) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectToHostedDedicatedServer((const SteamNetworkingIdentity *)identityTarget, (int)nVirtualPort); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectToHostedDedicatedServer( (const SteamNetworkingIdentity *)params->identityTarget, (int)params->nVirtualPort ); } -uint16 cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort_params *params ) { - uint16 _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPort(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerPort( ); } -SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID_params *params ) { - SteamNetworkingPOPID _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPOPID(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerPOPID( ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress(void *linux_side, SteamDatagramHostedAddress *pRouting) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerAddress((SteamDatagramHostedAddress *)pRouting); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerAddress( (SteamDatagramHostedAddress *)params->pRouting ); } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket(void *linux_side, int nVirtualPort) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateHostedDedicatedServerListenSocket((int)nVirtualPort); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateHostedDedicatedServerListenSocket( (int)params->nVirtualPort ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin(void *linux_side, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int *pcbSignedBlob, void *pBlob) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetGameCoordinatorServerLogin((SteamDatagramGameCoordinatorServerLogin *)pLoginInfo, (int *)pcbSignedBlob, (void *)pBlob); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetGameCoordinatorServerLogin( (SteamDatagramGameCoordinatorServerLogin *)params->pLoginInfo, (int *)params->pcbSignedBlob, (void *)params->pBlob ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.h index 6e767080..922d6dbe 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.h +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.h @@ -1,31 +1,275 @@ -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP(void *, const SteamNetworkingIPAddr *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress(void *, const SteamNetworkingIPAddr *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P(void *, int); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P(void *, const SteamNetworkingIdentity *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection(void *, HSteamNetConnection); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection(void *, HSteamNetConnection, int, const char *, bool); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket(void *, HSteamListenSocket); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData(void *, HSteamNetConnection, int64); -extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData(void *, HSteamNetConnection); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName(void *, HSteamNetConnection, const char *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName(void *, HSteamNetConnection, char *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_146 **, int); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket(void *, HSteamListenSocket, winSteamNetworkingMessage_t_146 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus(void *, HSteamNetConnection, SteamNetworkingQuickConnectionStatus *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress(void *, HSteamListenSocket, SteamNetworkingIPAddr *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair(void *, HSteamNetConnection *, HSteamNetConnection *, bool, const SteamNetworkingIdentity *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity(void *, SteamNetworkingIdentity *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication(void *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus(void *, SteamNetAuthenticationStatus_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int); -extern uint16 cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort(void *); -extern SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID(void *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress(void *, SteamDatagramHostedAddress *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket(void *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin(void *, SteamDatagramGameCoordinatorServerLogin *, int *, void *); +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP_params +{ + void *linux_side; + HSteamListenSocket _ret; + const SteamNetworkingIPAddr *localAddress; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIPAddr *address; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P_params +{ + void *linux_side; + HSteamListenSocket _ret; + int nVirtualPort; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIdentity *identityRemote; + int nVirtualPort; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + int nReason; + const char *pszDebug; + bool bEnableLinger; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket_params +{ + void *linux_side; + bool _ret; + HSteamListenSocket hSocket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + int64 nUserData; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData_params +{ + void *linux_side; + int64 _ret; + HSteamNetConnection hPeer; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName_params +{ + void *linux_side; + HSteamNetConnection hPeer; + const char *pszName; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + char *pszName; + int nMaxLen; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; + const void *pData; + uint32 cbData; + int nSendFlags; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection_params +{ + void *linux_side; + int _ret; + HSteamNetConnection hConn; + winSteamNetworkingMessage_t_146 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket_params +{ + void *linux_side; + int _ret; + HSteamListenSocket hSocket; + winSteamNetworkingMessage_t_146 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + SteamNetConnectionInfo_t *pInfo; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + SteamNetworkingQuickConnectionStatus *pStats; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus_params +{ + void *linux_side; + int _ret; + HSteamNetConnection hConn; + char *pszBuf; + int cbBuf; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress_params +{ + void *linux_side; + bool _ret; + HSteamListenSocket hSocket; + SteamNetworkingIPAddr *address; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection *pOutConnection1; + HSteamNetConnection *pOutConnection2; + bool bUseNetworkLoopback; + const SteamNetworkingIdentity *pIdentity1; + const SteamNetworkingIdentity *pIdentity2; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIdentity *pIdentity; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication_params +{ + void *linux_side; + ESteamNetworkingAvailability _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus_params +{ + void *linux_side; + ESteamNetworkingAvailability _ret; + SteamNetAuthenticationStatus_t *pDetails; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket_params +{ + void *linux_side; + bool _ret; + const void *pvTicket; + int cbTicket; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer_params +{ + void *linux_side; + int _ret; + const SteamNetworkingIdentity *identityGameServer; + int nVirtualPort; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIdentity *identityTarget; + int nVirtualPort; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort_params +{ + void *linux_side; + uint16 _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID_params +{ + void *linux_side; + SteamNetworkingPOPID _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress_params +{ + void *linux_side; + EResult _ret; + SteamDatagramHostedAddress *pRouting; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket_params +{ + void *linux_side; + HSteamListenSocket _ret; + int nVirtualPort; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin_params +{ + void *linux_side; + EResult _ret; + SteamDatagramGameCoordinatorServerLogin *pLoginInfo; + int *pcbSignedBlob; + void *pBlob; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.cpp index 189eabe2..4107c8f8 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.cpp @@ -13,219 +13,159 @@ extern "C" { #define SDKVER_147 #include "struct_converters.h" #include "cppISteamNetworkingSockets_SteamNetworkingSockets006.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr *localAddress, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketIP((const SteamNetworkingIPAddr *)localAddress, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateListenSocketIP( (const SteamNetworkingIPAddr *)params->localAddress, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress(void *linux_side, const SteamNetworkingIPAddr *address, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectByIPAddress((const SteamNetworkingIPAddr *)address, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectByIPAddress( (const SteamNetworkingIPAddr *)params->address, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P(void *linux_side, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2P((int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateListenSocketP2P( (int)params->nVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P(void *linux_side, const SteamNetworkingIdentity *identityRemote, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectP2P((const SteamNetworkingIdentity *)identityRemote, (int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectP2P( (const SteamNetworkingIdentity *)params->identityRemote, (int)params->nVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection(void *linux_side, HSteamNetConnection hConn) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->AcceptConnection((HSteamNetConnection)hConn); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->AcceptConnection( (HSteamNetConnection)params->hConn ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection(void *linux_side, HSteamNetConnection hPeer, int nReason, const char *pszDebug, bool bEnableLinger) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CloseConnection((HSteamNetConnection)hPeer, (int)nReason, (const char *)pszDebug, (bool)bEnableLinger); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CloseConnection( (HSteamNetConnection)params->hPeer, (int)params->nReason, (const char *)params->pszDebug, (bool)params->bEnableLinger ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket(void *linux_side, HSteamListenSocket hSocket) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CloseListenSocket((HSteamListenSocket)hSocket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CloseListenSocket( (HSteamListenSocket)params->hSocket ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData(void *linux_side, HSteamNetConnection hPeer, int64 nUserData) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SetConnectionUserData((HSteamNetConnection)hPeer, (int64)nUserData); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionUserData( (HSteamNetConnection)params->hPeer, (int64)params->nUserData ); } -int64 cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData(void *linux_side, HSteamNetConnection hPeer) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData_params *params ) { - int64 _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionUserData((HSteamNetConnection)hPeer); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionUserData( (HSteamNetConnection)params->hPeer ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName(void *linux_side, HSteamNetConnection hPeer, const char *pszName) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName_params *params ) { - ((ISteamNetworkingSockets*)linux_side)->SetConnectionName((HSteamNetConnection)hPeer, (const char *)pszName); + ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionName( (HSteamNetConnection)params->hPeer, (const char *)params->pszName ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName(void *linux_side, HSteamNetConnection hPeer, char *pszName, int nMaxLen) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionName((HSteamNetConnection)hPeer, (char *)pszName, (int)nMaxLen); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionName( (HSteamNetConnection)params->hPeer, (char *)params->pszName, (int)params->nMaxLen ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection(void *linux_side, HSteamNetConnection hConn, const void *pData, uint32 cbData, int nSendFlags, int64 *pOutMessageNumber) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SendMessageToConnection((HSteamNetConnection)hConn, (const void *)pData, (uint32)cbData, (int)nSendFlags, (int64 *)pOutMessageNumber); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SendMessageToConnection( (HSteamNetConnection)params->hConn, (const void *)params->pData, (uint32)params->cbData, (int)params->nSendFlags, (int64 *)params->pOutMessageNumber ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection(void *linux_side, HSteamNetConnection hConn) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->FlushMessagesOnConnection((HSteamNetConnection)hConn); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->FlushMessagesOnConnection( (HSteamNetConnection)params->hConn ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionInfo_t *pInfo) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionInfo((HSteamNetConnection)hConn, (SteamNetConnectionInfo_t *)pInfo); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionInfo( (HSteamNetConnection)params->hConn, (SteamNetConnectionInfo_t *)params->pInfo ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus(void *linux_side, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus *pStats) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetQuickConnectionStatus((HSteamNetConnection)hConn, (SteamNetworkingQuickConnectionStatus *)pStats); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetQuickConnectionStatus( (HSteamNetConnection)params->hConn, (SteamNetworkingQuickConnectionStatus *)params->pStats ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus(void *linux_side, HSteamNetConnection hConn, char *pszBuf, int cbBuf) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetDetailedConnectionStatus((HSteamNetConnection)hConn, (char *)pszBuf, (int)cbBuf); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetDetailedConnectionStatus( (HSteamNetConnection)params->hConn, (char *)params->pszBuf, (int)params->cbBuf ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress(void *linux_side, HSteamListenSocket hSocket, SteamNetworkingIPAddr *address) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetListenSocketAddress((HSteamListenSocket)hSocket, (SteamNetworkingIPAddr *)address); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetListenSocketAddress( (HSteamListenSocket)params->hSocket, (SteamNetworkingIPAddr *)params->address ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair(void *linux_side, HSteamNetConnection *pOutConnection1, HSteamNetConnection *pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity *pIdentity1, const SteamNetworkingIdentity *pIdentity2) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateSocketPair((HSteamNetConnection *)pOutConnection1, (HSteamNetConnection *)pOutConnection2, (bool)bUseNetworkLoopback, (const SteamNetworkingIdentity *)pIdentity1, (const SteamNetworkingIdentity *)pIdentity2); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateSocketPair( (HSteamNetConnection *)params->pOutConnection1, (HSteamNetConnection *)params->pOutConnection2, (bool)params->bUseNetworkLoopback, (const SteamNetworkingIdentity *)params->pIdentity1, (const SteamNetworkingIdentity *)params->pIdentity2 ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity(void *linux_side, SteamNetworkingIdentity *pIdentity) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetIdentity((SteamNetworkingIdentity *)pIdentity); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetIdentity( (SteamNetworkingIdentity *)params->pIdentity ); } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication_params *params ) { - ESteamNetworkingAvailability _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->InitAuthentication(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->InitAuthentication( ); } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus(void *linux_side, SteamNetAuthenticationStatus_t *pDetails) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus_params *params ) { - ESteamNetworkingAvailability _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetAuthenticationStatus((SteamNetAuthenticationStatus_t *)pDetails); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetAuthenticationStatus( (SteamNetAuthenticationStatus_t *)params->pDetails ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket(void *linux_side, const void *pvTicket, int cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ReceivedRelayAuthTicket((const void *)pvTicket, (int)cbTicket, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ReceivedRelayAuthTicket( (const void *)params->pvTicket, (int)params->cbTicket, (SteamDatagramRelayAuthTicket *)params->pOutParsedTicket ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer(void *linux_side, const SteamNetworkingIdentity *identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->FindRelayAuthTicketForServer((const SteamNetworkingIdentity *)identityGameServer, (int)nVirtualPort, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->FindRelayAuthTicketForServer( (const SteamNetworkingIdentity *)params->identityGameServer, (int)params->nVirtualPort, (SteamDatagramRelayAuthTicket *)params->pOutParsedTicket ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer(void *linux_side, const SteamNetworkingIdentity *identityTarget, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectToHostedDedicatedServer((const SteamNetworkingIdentity *)identityTarget, (int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectToHostedDedicatedServer( (const SteamNetworkingIdentity *)params->identityTarget, (int)params->nVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -uint16 cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort_params *params ) { - uint16 _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPort(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerPort( ); } -SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID_params *params ) { - SteamNetworkingPOPID _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPOPID(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerPOPID( ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress(void *linux_side, SteamDatagramHostedAddress *pRouting) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerAddress((SteamDatagramHostedAddress *)pRouting); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerAddress( (SteamDatagramHostedAddress *)params->pRouting ); } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket(void *linux_side, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateHostedDedicatedServerListenSocket((int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateHostedDedicatedServerListenSocket( (int)params->nVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin(void *linux_side, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int *pcbSignedBlob, void *pBlob) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetGameCoordinatorServerLogin((SteamDatagramGameCoordinatorServerLogin *)pLoginInfo, (int *)pcbSignedBlob, (void *)pBlob); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetGameCoordinatorServerLogin( (SteamDatagramGameCoordinatorServerLogin *)params->pLoginInfo, (int *)params->pcbSignedBlob, (void *)params->pBlob ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling(void *linux_side, void /*ISteamNetworkingConnectionCustomSignaling*/ *pSignaling, const SteamNetworkingIdentity *pPeerIdentity, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectP2PCustomSignaling((ISteamNetworkingConnectionCustomSignaling *)pSignaling, (const SteamNetworkingIdentity *)pPeerIdentity, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectP2PCustomSignaling( (ISteamNetworkingConnectionCustomSignaling *)params->pSignaling, (const SteamNetworkingIdentity *)params->pPeerIdentity, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal(void *linux_side, const void *pMsg, int cbMsg, void /*ISteamNetworkingCustomSignalingRecvContext*/ *pContext) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ReceivedP2PCustomSignal((const void *)pMsg, (int)cbMsg, (ISteamNetworkingCustomSignalingRecvContext *)pContext); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ReceivedP2PCustomSignal( (const void *)params->pMsg, (int)params->cbMsg, (ISteamNetworkingCustomSignalingRecvContext *)params->pContext ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.h index d7a924c7..8cad6b1c 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.h +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.h @@ -1,34 +1,318 @@ -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P(void *, int, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection(void *, HSteamNetConnection); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection(void *, HSteamNetConnection, int, const char *, bool); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket(void *, HSteamListenSocket); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData(void *, HSteamNetConnection, int64); -extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData(void *, HSteamNetConnection); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName(void *, HSteamNetConnection, const char *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName(void *, HSteamNetConnection, char *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int, int64 *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages(void *, int, winSteamNetworkingMessage_t_147 **, int64 *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_147 **, int); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket(void *, HSteamListenSocket, winSteamNetworkingMessage_t_147 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus(void *, HSteamNetConnection, SteamNetworkingQuickConnectionStatus *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress(void *, HSteamListenSocket, SteamNetworkingIPAddr *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair(void *, HSteamNetConnection *, HSteamNetConnection *, bool, const SteamNetworkingIdentity *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity(void *, SteamNetworkingIdentity *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication(void *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus(void *, SteamNetAuthenticationStatus_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern uint16 cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort(void *); -extern SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID(void *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress(void *, SteamDatagramHostedAddress *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket(void *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin(void *, SteamDatagramGameCoordinatorServerLogin *, int *, void *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling(void *, void /*ISteamNetworkingConnectionCustomSignaling*/ *, const SteamNetworkingIdentity *, int, const SteamNetworkingConfigValue_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal(void *, const void *, int, void /*ISteamNetworkingCustomSignalingRecvContext*/ *); +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP_params +{ + void *linux_side; + HSteamListenSocket _ret; + const SteamNetworkingIPAddr *localAddress; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIPAddr *address; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P_params +{ + void *linux_side; + HSteamListenSocket _ret; + int nVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIdentity *identityRemote; + int nVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + int nReason; + const char *pszDebug; + bool bEnableLinger; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket_params +{ + void *linux_side; + bool _ret; + HSteamListenSocket hSocket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + int64 nUserData; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData_params +{ + void *linux_side; + int64 _ret; + HSteamNetConnection hPeer; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName_params +{ + void *linux_side; + HSteamNetConnection hPeer; + const char *pszName; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + char *pszName; + int nMaxLen; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; + const void *pData; + uint32 cbData; + int nSendFlags; + int64 *pOutMessageNumber; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages_params +{ + void *linux_side; + int nMessages; + winSteamNetworkingMessage_t_147 **pMessages; + int64 *pOutMessageNumberOrResult; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection_params +{ + void *linux_side; + int _ret; + HSteamNetConnection hConn; + winSteamNetworkingMessage_t_147 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket_params +{ + void *linux_side; + int _ret; + HSteamListenSocket hSocket; + winSteamNetworkingMessage_t_147 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + SteamNetConnectionInfo_t *pInfo; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + SteamNetworkingQuickConnectionStatus *pStats; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus_params +{ + void *linux_side; + int _ret; + HSteamNetConnection hConn; + char *pszBuf; + int cbBuf; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress_params +{ + void *linux_side; + bool _ret; + HSteamListenSocket hSocket; + SteamNetworkingIPAddr *address; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection *pOutConnection1; + HSteamNetConnection *pOutConnection2; + bool bUseNetworkLoopback; + const SteamNetworkingIdentity *pIdentity1; + const SteamNetworkingIdentity *pIdentity2; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIdentity *pIdentity; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication_params +{ + void *linux_side; + ESteamNetworkingAvailability _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus_params +{ + void *linux_side; + ESteamNetworkingAvailability _ret; + SteamNetAuthenticationStatus_t *pDetails; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket_params +{ + void *linux_side; + bool _ret; + const void *pvTicket; + int cbTicket; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer_params +{ + void *linux_side; + int _ret; + const SteamNetworkingIdentity *identityGameServer; + int nVirtualPort; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIdentity *identityTarget; + int nVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort_params +{ + void *linux_side; + uint16 _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID_params +{ + void *linux_side; + SteamNetworkingPOPID _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress_params +{ + void *linux_side; + EResult _ret; + SteamDatagramHostedAddress *pRouting; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket_params +{ + void *linux_side; + HSteamListenSocket _ret; + int nVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin_params +{ + void *linux_side; + EResult _ret; + SteamDatagramGameCoordinatorServerLogin *pLoginInfo; + int *pcbSignedBlob; + void *pBlob; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling_params +{ + void *linux_side; + HSteamNetConnection _ret; + void /*ISteamNetworkingConnectionCustomSignaling*/ *pSignaling; + const SteamNetworkingIdentity *pPeerIdentity; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal_params +{ + void *linux_side; + bool _ret; + const void *pMsg; + int cbMsg; + void /*ISteamNetworkingCustomSignalingRecvContext*/ *pContext; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.cpp index 0515db02..11e25dec 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.cpp @@ -13,254 +13,184 @@ extern "C" { #define SDKVER_149 #include "struct_converters.h" #include "cppISteamNetworkingSockets_SteamNetworkingSockets008.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr *localAddress, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketIP((const SteamNetworkingIPAddr *)localAddress, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateListenSocketIP( (const SteamNetworkingIPAddr *)params->localAddress, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress(void *linux_side, const SteamNetworkingIPAddr *address, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectByIPAddress((const SteamNetworkingIPAddr *)address, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectByIPAddress( (const SteamNetworkingIPAddr *)params->address, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P(void *linux_side, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2P((int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateListenSocketP2P( (int)params->nVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P(void *linux_side, const SteamNetworkingIdentity *identityRemote, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectP2P((const SteamNetworkingIdentity *)identityRemote, (int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectP2P( (const SteamNetworkingIdentity *)params->identityRemote, (int)params->nVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection(void *linux_side, HSteamNetConnection hConn) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->AcceptConnection((HSteamNetConnection)hConn); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->AcceptConnection( (HSteamNetConnection)params->hConn ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection(void *linux_side, HSteamNetConnection hPeer, int nReason, const char *pszDebug, bool bEnableLinger) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CloseConnection((HSteamNetConnection)hPeer, (int)nReason, (const char *)pszDebug, (bool)bEnableLinger); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CloseConnection( (HSteamNetConnection)params->hPeer, (int)params->nReason, (const char *)params->pszDebug, (bool)params->bEnableLinger ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket(void *linux_side, HSteamListenSocket hSocket) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CloseListenSocket((HSteamListenSocket)hSocket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CloseListenSocket( (HSteamListenSocket)params->hSocket ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData(void *linux_side, HSteamNetConnection hPeer, int64 nUserData) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SetConnectionUserData((HSteamNetConnection)hPeer, (int64)nUserData); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionUserData( (HSteamNetConnection)params->hPeer, (int64)params->nUserData ); } -int64 cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData(void *linux_side, HSteamNetConnection hPeer) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData_params *params ) { - int64 _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionUserData((HSteamNetConnection)hPeer); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionUserData( (HSteamNetConnection)params->hPeer ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName(void *linux_side, HSteamNetConnection hPeer, const char *pszName) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName_params *params ) { - ((ISteamNetworkingSockets*)linux_side)->SetConnectionName((HSteamNetConnection)hPeer, (const char *)pszName); + ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionName( (HSteamNetConnection)params->hPeer, (const char *)params->pszName ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName(void *linux_side, HSteamNetConnection hPeer, char *pszName, int nMaxLen) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionName((HSteamNetConnection)hPeer, (char *)pszName, (int)nMaxLen); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionName( (HSteamNetConnection)params->hPeer, (char *)params->pszName, (int)params->nMaxLen ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection(void *linux_side, HSteamNetConnection hConn, const void *pData, uint32 cbData, int nSendFlags, int64 *pOutMessageNumber) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SendMessageToConnection((HSteamNetConnection)hConn, (const void *)pData, (uint32)cbData, (int)nSendFlags, (int64 *)pOutMessageNumber); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SendMessageToConnection( (HSteamNetConnection)params->hConn, (const void *)params->pData, (uint32)params->cbData, (int)params->nSendFlags, (int64 *)params->pOutMessageNumber ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection(void *linux_side, HSteamNetConnection hConn) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->FlushMessagesOnConnection((HSteamNetConnection)hConn); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->FlushMessagesOnConnection( (HSteamNetConnection)params->hConn ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionInfo_t *pInfo) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionInfo((HSteamNetConnection)hConn, (SteamNetConnectionInfo_t *)pInfo); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionInfo( (HSteamNetConnection)params->hConn, (SteamNetConnectionInfo_t *)params->pInfo ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus(void *linux_side, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus *pStats) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetQuickConnectionStatus((HSteamNetConnection)hConn, (SteamNetworkingQuickConnectionStatus *)pStats); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetQuickConnectionStatus( (HSteamNetConnection)params->hConn, (SteamNetworkingQuickConnectionStatus *)params->pStats ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus(void *linux_side, HSteamNetConnection hConn, char *pszBuf, int cbBuf) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetDetailedConnectionStatus((HSteamNetConnection)hConn, (char *)pszBuf, (int)cbBuf); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetDetailedConnectionStatus( (HSteamNetConnection)params->hConn, (char *)params->pszBuf, (int)params->cbBuf ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress(void *linux_side, HSteamListenSocket hSocket, SteamNetworkingIPAddr *address) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetListenSocketAddress((HSteamListenSocket)hSocket, (SteamNetworkingIPAddr *)address); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetListenSocketAddress( (HSteamListenSocket)params->hSocket, (SteamNetworkingIPAddr *)params->address ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair(void *linux_side, HSteamNetConnection *pOutConnection1, HSteamNetConnection *pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity *pIdentity1, const SteamNetworkingIdentity *pIdentity2) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateSocketPair((HSteamNetConnection *)pOutConnection1, (HSteamNetConnection *)pOutConnection2, (bool)bUseNetworkLoopback, (const SteamNetworkingIdentity *)pIdentity1, (const SteamNetworkingIdentity *)pIdentity2); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateSocketPair( (HSteamNetConnection *)params->pOutConnection1, (HSteamNetConnection *)params->pOutConnection2, (bool)params->bUseNetworkLoopback, (const SteamNetworkingIdentity *)params->pIdentity1, (const SteamNetworkingIdentity *)params->pIdentity2 ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity(void *linux_side, SteamNetworkingIdentity *pIdentity) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetIdentity((SteamNetworkingIdentity *)pIdentity); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetIdentity( (SteamNetworkingIdentity *)params->pIdentity ); } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication_params *params ) { - ESteamNetworkingAvailability _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->InitAuthentication(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->InitAuthentication( ); } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus(void *linux_side, SteamNetAuthenticationStatus_t *pDetails) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus_params *params ) { - ESteamNetworkingAvailability _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetAuthenticationStatus((SteamNetAuthenticationStatus_t *)pDetails); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetAuthenticationStatus( (SteamNetAuthenticationStatus_t *)params->pDetails ); } -HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup_params *params ) { - HSteamNetPollGroup _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreatePollGroup(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreatePollGroup( ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup(void *linux_side, HSteamNetPollGroup hPollGroup) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->DestroyPollGroup((HSteamNetPollGroup)hPollGroup); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->DestroyPollGroup( (HSteamNetPollGroup)params->hPollGroup ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup(void *linux_side, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SetConnectionPollGroup((HSteamNetConnection)hConn, (HSteamNetPollGroup)hPollGroup); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionPollGroup( (HSteamNetConnection)params->hConn, (HSteamNetPollGroup)params->hPollGroup ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket(void *linux_side, const void *pvTicket, int cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ReceivedRelayAuthTicket((const void *)pvTicket, (int)cbTicket, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ReceivedRelayAuthTicket( (const void *)params->pvTicket, (int)params->cbTicket, (SteamDatagramRelayAuthTicket *)params->pOutParsedTicket ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer(void *linux_side, const SteamNetworkingIdentity *identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->FindRelayAuthTicketForServer((const SteamNetworkingIdentity *)identityGameServer, (int)nVirtualPort, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->FindRelayAuthTicketForServer( (const SteamNetworkingIdentity *)params->identityGameServer, (int)params->nVirtualPort, (SteamDatagramRelayAuthTicket *)params->pOutParsedTicket ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer(void *linux_side, const SteamNetworkingIdentity *identityTarget, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectToHostedDedicatedServer((const SteamNetworkingIdentity *)identityTarget, (int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectToHostedDedicatedServer( (const SteamNetworkingIdentity *)params->identityTarget, (int)params->nVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -uint16 cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort_params *params ) { - uint16 _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPort(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerPort( ); } -SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID_params *params ) { - SteamNetworkingPOPID _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPOPID(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerPOPID( ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress(void *linux_side, SteamDatagramHostedAddress *pRouting) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerAddress((SteamDatagramHostedAddress *)pRouting); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerAddress( (SteamDatagramHostedAddress *)params->pRouting ); } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket(void *linux_side, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateHostedDedicatedServerListenSocket((int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateHostedDedicatedServerListenSocket( (int)params->nVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin(void *linux_side, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int *pcbSignedBlob, void *pBlob) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetGameCoordinatorServerLogin((SteamDatagramGameCoordinatorServerLogin *)pLoginInfo, (int *)pcbSignedBlob, (void *)pBlob); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetGameCoordinatorServerLogin( (SteamDatagramGameCoordinatorServerLogin *)params->pLoginInfo, (int *)params->pcbSignedBlob, (void *)params->pBlob ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling(void *linux_side, void /*ISteamNetworkingConnectionCustomSignaling*/ *pSignaling, const SteamNetworkingIdentity *pPeerIdentity, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectP2PCustomSignaling((ISteamNetworkingConnectionCustomSignaling *)pSignaling, (const SteamNetworkingIdentity *)pPeerIdentity, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectP2PCustomSignaling( (ISteamNetworkingConnectionCustomSignaling *)params->pSignaling, (const SteamNetworkingIdentity *)params->pPeerIdentity, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal(void *linux_side, const void *pMsg, int cbMsg, void /*ISteamNetworkingCustomSignalingRecvContext*/ *pContext) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ReceivedP2PCustomSignal((const void *)pMsg, (int)cbMsg, (ISteamNetworkingCustomSignalingRecvContext *)pContext); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ReceivedP2PCustomSignal( (const void *)params->pMsg, (int)params->cbMsg, (ISteamNetworkingCustomSignalingRecvContext *)params->pContext ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest(void *linux_side, int *pcbBlob, void *pBlob, SteamNetworkingErrMsg *errMsg) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetCertificateRequest((int *)pcbBlob, (void *)pBlob, (SteamNetworkingErrMsg *)errMsg); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetCertificateRequest( (int *)params->pcbBlob, (void *)params->pBlob, (SteamNetworkingErrMsg *)params->errMsg ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate(void *linux_side, const void *pCertificate, int cbCertificate, SteamNetworkingErrMsg *errMsg) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SetCertificate((const void *)pCertificate, (int)cbCertificate, (SteamNetworkingErrMsg *)errMsg); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SetCertificate( (const void *)params->pCertificate, (int)params->cbCertificate, (SteamNetworkingErrMsg *)params->errMsg ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.h index b6cbaf5d..3f189ae7 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.h +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.h @@ -1,39 +1,362 @@ -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P(void *, int, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection(void *, HSteamNetConnection); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection(void *, HSteamNetConnection, int, const char *, bool); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket(void *, HSteamListenSocket); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData(void *, HSteamNetConnection, int64); -extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData(void *, HSteamNetConnection); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName(void *, HSteamNetConnection, const char *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName(void *, HSteamNetConnection, char *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int, int64 *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages(void *, int, winSteamNetworkingMessage_t_149 *const *, int64 *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_149 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus(void *, HSteamNetConnection, SteamNetworkingQuickConnectionStatus *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress(void *, HSteamListenSocket, SteamNetworkingIPAddr *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair(void *, HSteamNetConnection *, HSteamNetConnection *, bool, const SteamNetworkingIdentity *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity(void *, SteamNetworkingIdentity *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication(void *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus(void *, SteamNetAuthenticationStatus_t *); -extern HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup(void *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup(void *, HSteamNetPollGroup); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup(void *, HSteamNetConnection, HSteamNetPollGroup); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup(void *, HSteamNetPollGroup, winSteamNetworkingMessage_t_149 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern uint16 cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort(void *); -extern SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID(void *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress(void *, SteamDatagramHostedAddress *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket(void *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin(void *, SteamDatagramGameCoordinatorServerLogin *, int *, void *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling(void *, void /*ISteamNetworkingConnectionCustomSignaling*/ *, const SteamNetworkingIdentity *, int, const SteamNetworkingConfigValue_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal(void *, const void *, int, void /*ISteamNetworkingCustomSignalingRecvContext*/ *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest(void *, int *, void *, SteamNetworkingErrMsg *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate(void *, const void *, int, SteamNetworkingErrMsg *); +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP_params +{ + void *linux_side; + HSteamListenSocket _ret; + const SteamNetworkingIPAddr *localAddress; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIPAddr *address; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P_params +{ + void *linux_side; + HSteamListenSocket _ret; + int nVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIdentity *identityRemote; + int nVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + int nReason; + const char *pszDebug; + bool bEnableLinger; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket_params +{ + void *linux_side; + bool _ret; + HSteamListenSocket hSocket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + int64 nUserData; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData_params +{ + void *linux_side; + int64 _ret; + HSteamNetConnection hPeer; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName_params +{ + void *linux_side; + HSteamNetConnection hPeer; + const char *pszName; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + char *pszName; + int nMaxLen; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; + const void *pData; + uint32 cbData; + int nSendFlags; + int64 *pOutMessageNumber; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages_params +{ + void *linux_side; + int nMessages; + winSteamNetworkingMessage_t_149 *const *pMessages; + int64 *pOutMessageNumberOrResult; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection_params +{ + void *linux_side; + int _ret; + HSteamNetConnection hConn; + winSteamNetworkingMessage_t_149 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + SteamNetConnectionInfo_t *pInfo; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + SteamNetworkingQuickConnectionStatus *pStats; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus_params +{ + void *linux_side; + int _ret; + HSteamNetConnection hConn; + char *pszBuf; + int cbBuf; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress_params +{ + void *linux_side; + bool _ret; + HSteamListenSocket hSocket; + SteamNetworkingIPAddr *address; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection *pOutConnection1; + HSteamNetConnection *pOutConnection2; + bool bUseNetworkLoopback; + const SteamNetworkingIdentity *pIdentity1; + const SteamNetworkingIdentity *pIdentity2; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIdentity *pIdentity; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication_params +{ + void *linux_side; + ESteamNetworkingAvailability _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus_params +{ + void *linux_side; + ESteamNetworkingAvailability _ret; + SteamNetAuthenticationStatus_t *pDetails; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup_params +{ + void *linux_side; + HSteamNetPollGroup _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup_params +{ + void *linux_side; + bool _ret; + HSteamNetPollGroup hPollGroup; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + HSteamNetPollGroup hPollGroup; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup_params +{ + void *linux_side; + int _ret; + HSteamNetPollGroup hPollGroup; + winSteamNetworkingMessage_t_149 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket_params +{ + void *linux_side; + bool _ret; + const void *pvTicket; + int cbTicket; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer_params +{ + void *linux_side; + int _ret; + const SteamNetworkingIdentity *identityGameServer; + int nVirtualPort; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIdentity *identityTarget; + int nVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort_params +{ + void *linux_side; + uint16 _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID_params +{ + void *linux_side; + SteamNetworkingPOPID _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress_params +{ + void *linux_side; + EResult _ret; + SteamDatagramHostedAddress *pRouting; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket_params +{ + void *linux_side; + HSteamListenSocket _ret; + int nVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin_params +{ + void *linux_side; + EResult _ret; + SteamDatagramGameCoordinatorServerLogin *pLoginInfo; + int *pcbSignedBlob; + void *pBlob; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling_params +{ + void *linux_side; + HSteamNetConnection _ret; + void /*ISteamNetworkingConnectionCustomSignaling*/ *pSignaling; + const SteamNetworkingIdentity *pPeerIdentity; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal_params +{ + void *linux_side; + bool _ret; + const void *pMsg; + int cbMsg; + void /*ISteamNetworkingCustomSignalingRecvContext*/ *pContext; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest_params +{ + void *linux_side; + bool _ret; + int *pcbBlob; + void *pBlob; + SteamNetworkingErrMsg *errMsg; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate_params +{ + void *linux_side; + bool _ret; + const void *pCertificate; + int cbCertificate; + SteamNetworkingErrMsg *errMsg; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.cpp index 3bd0158f..8ab710e5 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.cpp @@ -13,259 +13,189 @@ extern "C" { #define SDKVER_152 #include "struct_converters.h" #include "cppISteamNetworkingSockets_SteamNetworkingSockets009.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr *localAddress, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketIP(*localAddress, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateListenSocketIP( *params->localAddress, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress(void *linux_side, const SteamNetworkingIPAddr *address, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectByIPAddress(*address, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectByIPAddress( *params->address, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P(void *linux_side, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2P((int)nLocalVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateListenSocketP2P( (int)params->nLocalVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P(void *linux_side, const SteamNetworkingIdentity *identityRemote, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectP2P(*identityRemote, (int)nRemoteVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectP2P( *params->identityRemote, (int)params->nRemoteVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection(void *linux_side, HSteamNetConnection hConn) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->AcceptConnection((HSteamNetConnection)hConn); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->AcceptConnection( (HSteamNetConnection)params->hConn ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection(void *linux_side, HSteamNetConnection hPeer, int nReason, const char *pszDebug, bool bEnableLinger) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CloseConnection((HSteamNetConnection)hPeer, (int)nReason, (const char *)pszDebug, (bool)bEnableLinger); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CloseConnection( (HSteamNetConnection)params->hPeer, (int)params->nReason, (const char *)params->pszDebug, (bool)params->bEnableLinger ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket(void *linux_side, HSteamListenSocket hSocket) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CloseListenSocket((HSteamListenSocket)hSocket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CloseListenSocket( (HSteamListenSocket)params->hSocket ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData(void *linux_side, HSteamNetConnection hPeer, int64 nUserData) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SetConnectionUserData((HSteamNetConnection)hPeer, (int64)nUserData); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionUserData( (HSteamNetConnection)params->hPeer, (int64)params->nUserData ); } -int64 cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData(void *linux_side, HSteamNetConnection hPeer) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData_params *params ) { - int64 _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionUserData((HSteamNetConnection)hPeer); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionUserData( (HSteamNetConnection)params->hPeer ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName(void *linux_side, HSteamNetConnection hPeer, const char *pszName) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName_params *params ) { - ((ISteamNetworkingSockets*)linux_side)->SetConnectionName((HSteamNetConnection)hPeer, (const char *)pszName); + ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionName( (HSteamNetConnection)params->hPeer, (const char *)params->pszName ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName(void *linux_side, HSteamNetConnection hPeer, char *pszName, int nMaxLen) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionName((HSteamNetConnection)hPeer, (char *)pszName, (int)nMaxLen); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionName( (HSteamNetConnection)params->hPeer, (char *)params->pszName, (int)params->nMaxLen ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection(void *linux_side, HSteamNetConnection hConn, const void *pData, uint32 cbData, int nSendFlags, int64 *pOutMessageNumber) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SendMessageToConnection((HSteamNetConnection)hConn, (const void *)pData, (uint32)cbData, (int)nSendFlags, (int64 *)pOutMessageNumber); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SendMessageToConnection( (HSteamNetConnection)params->hConn, (const void *)params->pData, (uint32)params->cbData, (int)params->nSendFlags, (int64 *)params->pOutMessageNumber ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection(void *linux_side, HSteamNetConnection hConn) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->FlushMessagesOnConnection((HSteamNetConnection)hConn); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->FlushMessagesOnConnection( (HSteamNetConnection)params->hConn ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionInfo_t *pInfo) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionInfo((HSteamNetConnection)hConn, (SteamNetConnectionInfo_t *)pInfo); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionInfo( (HSteamNetConnection)params->hConn, (SteamNetConnectionInfo_t *)params->pInfo ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus(void *linux_side, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus *pStats) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetQuickConnectionStatus((HSteamNetConnection)hConn, (SteamNetworkingQuickConnectionStatus *)pStats); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetQuickConnectionStatus( (HSteamNetConnection)params->hConn, (SteamNetworkingQuickConnectionStatus *)params->pStats ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus(void *linux_side, HSteamNetConnection hConn, char *pszBuf, int cbBuf) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetDetailedConnectionStatus((HSteamNetConnection)hConn, (char *)pszBuf, (int)cbBuf); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetDetailedConnectionStatus( (HSteamNetConnection)params->hConn, (char *)params->pszBuf, (int)params->cbBuf ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress(void *linux_side, HSteamListenSocket hSocket, SteamNetworkingIPAddr *address) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetListenSocketAddress((HSteamListenSocket)hSocket, (SteamNetworkingIPAddr *)address); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetListenSocketAddress( (HSteamListenSocket)params->hSocket, (SteamNetworkingIPAddr *)params->address ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair(void *linux_side, HSteamNetConnection *pOutConnection1, HSteamNetConnection *pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity *pIdentity1, const SteamNetworkingIdentity *pIdentity2) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateSocketPair((HSteamNetConnection *)pOutConnection1, (HSteamNetConnection *)pOutConnection2, (bool)bUseNetworkLoopback, (const SteamNetworkingIdentity *)pIdentity1, (const SteamNetworkingIdentity *)pIdentity2); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateSocketPair( (HSteamNetConnection *)params->pOutConnection1, (HSteamNetConnection *)params->pOutConnection2, (bool)params->bUseNetworkLoopback, (const SteamNetworkingIdentity *)params->pIdentity1, (const SteamNetworkingIdentity *)params->pIdentity2 ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity(void *linux_side, SteamNetworkingIdentity *pIdentity) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetIdentity((SteamNetworkingIdentity *)pIdentity); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetIdentity( (SteamNetworkingIdentity *)params->pIdentity ); } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication_params *params ) { - ESteamNetworkingAvailability _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->InitAuthentication(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->InitAuthentication( ); } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus(void *linux_side, SteamNetAuthenticationStatus_t *pDetails) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus_params *params ) { - ESteamNetworkingAvailability _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetAuthenticationStatus((SteamNetAuthenticationStatus_t *)pDetails); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetAuthenticationStatus( (SteamNetAuthenticationStatus_t *)params->pDetails ); } -HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup_params *params ) { - HSteamNetPollGroup _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreatePollGroup(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreatePollGroup( ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup(void *linux_side, HSteamNetPollGroup hPollGroup) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->DestroyPollGroup((HSteamNetPollGroup)hPollGroup); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->DestroyPollGroup( (HSteamNetPollGroup)params->hPollGroup ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup(void *linux_side, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SetConnectionPollGroup((HSteamNetConnection)hConn, (HSteamNetPollGroup)hPollGroup); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionPollGroup( (HSteamNetConnection)params->hConn, (HSteamNetPollGroup)params->hPollGroup ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket(void *linux_side, const void *pvTicket, int cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ReceivedRelayAuthTicket((const void *)pvTicket, (int)cbTicket, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ReceivedRelayAuthTicket( (const void *)params->pvTicket, (int)params->cbTicket, (SteamDatagramRelayAuthTicket *)params->pOutParsedTicket ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer(void *linux_side, const SteamNetworkingIdentity *identityGameServer, int nRemoteVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->FindRelayAuthTicketForServer(*identityGameServer, (int)nRemoteVirtualPort, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->FindRelayAuthTicketForServer( *params->identityGameServer, (int)params->nRemoteVirtualPort, (SteamDatagramRelayAuthTicket *)params->pOutParsedTicket ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer(void *linux_side, const SteamNetworkingIdentity *identityTarget, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectToHostedDedicatedServer(*identityTarget, (int)nRemoteVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectToHostedDedicatedServer( *params->identityTarget, (int)params->nRemoteVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -uint16 cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort_params *params ) { - uint16 _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPort(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerPort( ); } -SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID_params *params ) { - SteamNetworkingPOPID _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPOPID(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerPOPID( ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress(void *linux_side, SteamDatagramHostedAddress *pRouting) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerAddress((SteamDatagramHostedAddress *)pRouting); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerAddress( (SteamDatagramHostedAddress *)params->pRouting ); } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket(void *linux_side, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateHostedDedicatedServerListenSocket((int)nLocalVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateHostedDedicatedServerListenSocket( (int)params->nLocalVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin(void *linux_side, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int *pcbSignedBlob, void *pBlob) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetGameCoordinatorServerLogin((SteamDatagramGameCoordinatorServerLogin *)pLoginInfo, (int *)pcbSignedBlob, (void *)pBlob); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetGameCoordinatorServerLogin( (SteamDatagramGameCoordinatorServerLogin *)params->pLoginInfo, (int *)params->pcbSignedBlob, (void *)params->pBlob ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling(void *linux_side, void /*ISteamNetworkingConnectionSignaling*/ *pSignaling, const SteamNetworkingIdentity *pPeerIdentity, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectP2PCustomSignaling((ISteamNetworkingConnectionSignaling *)pSignaling, (const SteamNetworkingIdentity *)pPeerIdentity, (int)nRemoteVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectP2PCustomSignaling( (ISteamNetworkingConnectionSignaling *)params->pSignaling, (const SteamNetworkingIdentity *)params->pPeerIdentity, (int)params->nRemoteVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal(void *linux_side, const void *pMsg, int cbMsg, void /*ISteamNetworkingSignalingRecvContext*/ *pContext) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ReceivedP2PCustomSignal((const void *)pMsg, (int)cbMsg, (ISteamNetworkingSignalingRecvContext *)pContext); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ReceivedP2PCustomSignal( (const void *)params->pMsg, (int)params->cbMsg, (ISteamNetworkingSignalingRecvContext *)params->pContext ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest(void *linux_side, int *pcbBlob, void *pBlob, SteamNetworkingErrMsg *errMsg) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetCertificateRequest((int *)pcbBlob, (void *)pBlob, *errMsg); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetCertificateRequest( (int *)params->pcbBlob, (void *)params->pBlob, *params->errMsg ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate(void *linux_side, const void *pCertificate, int cbCertificate, SteamNetworkingErrMsg *errMsg) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SetCertificate((const void *)pCertificate, (int)cbCertificate, *errMsg); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SetCertificate( (const void *)params->pCertificate, (int)params->cbCertificate, *params->errMsg ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks_params *params ) { - ((ISteamNetworkingSockets*)linux_side)->RunCallbacks(); + ((ISteamNetworkingSockets*)params->linux_side)->RunCallbacks( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.h index a178e1e7..f0eb1749 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.h +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.h @@ -1,40 +1,369 @@ -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P(void *, int, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection(void *, HSteamNetConnection); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection(void *, HSteamNetConnection, int, const char *, bool); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket(void *, HSteamListenSocket); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData(void *, HSteamNetConnection, int64); -extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData(void *, HSteamNetConnection); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName(void *, HSteamNetConnection, const char *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName(void *, HSteamNetConnection, char *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int, int64 *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages(void *, int, winSteamNetworkingMessage_t_152 *const *, int64 *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_152 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus(void *, HSteamNetConnection, SteamNetworkingQuickConnectionStatus *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress(void *, HSteamListenSocket, SteamNetworkingIPAddr *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair(void *, HSteamNetConnection *, HSteamNetConnection *, bool, const SteamNetworkingIdentity *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity(void *, SteamNetworkingIdentity *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication(void *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus(void *, SteamNetAuthenticationStatus_t *); -extern HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup(void *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup(void *, HSteamNetPollGroup); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup(void *, HSteamNetConnection, HSteamNetPollGroup); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup(void *, HSteamNetPollGroup, winSteamNetworkingMessage_t_152 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern uint16 cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort(void *); -extern SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID(void *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress(void *, SteamDatagramHostedAddress *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket(void *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin(void *, SteamDatagramGameCoordinatorServerLogin *, int *, void *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling(void *, void /*ISteamNetworkingConnectionSignaling*/ *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal(void *, const void *, int, void /*ISteamNetworkingSignalingRecvContext*/ *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest(void *, int *, void *, SteamNetworkingErrMsg *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate(void *, const void *, int, SteamNetworkingErrMsg *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks(void *); +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP_params +{ + void *linux_side; + HSteamListenSocket _ret; + const SteamNetworkingIPAddr *localAddress; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIPAddr *address; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P_params +{ + void *linux_side; + HSteamListenSocket _ret; + int nLocalVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIdentity *identityRemote; + int nRemoteVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + int nReason; + const char *pszDebug; + bool bEnableLinger; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket_params +{ + void *linux_side; + bool _ret; + HSteamListenSocket hSocket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + int64 nUserData; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData_params +{ + void *linux_side; + int64 _ret; + HSteamNetConnection hPeer; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName_params +{ + void *linux_side; + HSteamNetConnection hPeer; + const char *pszName; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + char *pszName; + int nMaxLen; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; + const void *pData; + uint32 cbData; + int nSendFlags; + int64 *pOutMessageNumber; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages_params +{ + void *linux_side; + int nMessages; + winSteamNetworkingMessage_t_152 *const *pMessages; + int64 *pOutMessageNumberOrResult; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection_params +{ + void *linux_side; + int _ret; + HSteamNetConnection hConn; + winSteamNetworkingMessage_t_152 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + SteamNetConnectionInfo_t *pInfo; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + SteamNetworkingQuickConnectionStatus *pStats; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus_params +{ + void *linux_side; + int _ret; + HSteamNetConnection hConn; + char *pszBuf; + int cbBuf; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress_params +{ + void *linux_side; + bool _ret; + HSteamListenSocket hSocket; + SteamNetworkingIPAddr *address; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection *pOutConnection1; + HSteamNetConnection *pOutConnection2; + bool bUseNetworkLoopback; + const SteamNetworkingIdentity *pIdentity1; + const SteamNetworkingIdentity *pIdentity2; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIdentity *pIdentity; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication_params +{ + void *linux_side; + ESteamNetworkingAvailability _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus_params +{ + void *linux_side; + ESteamNetworkingAvailability _ret; + SteamNetAuthenticationStatus_t *pDetails; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup_params +{ + void *linux_side; + HSteamNetPollGroup _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup_params +{ + void *linux_side; + bool _ret; + HSteamNetPollGroup hPollGroup; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + HSteamNetPollGroup hPollGroup; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup_params +{ + void *linux_side; + int _ret; + HSteamNetPollGroup hPollGroup; + winSteamNetworkingMessage_t_152 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket_params +{ + void *linux_side; + bool _ret; + const void *pvTicket; + int cbTicket; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer_params +{ + void *linux_side; + int _ret; + const SteamNetworkingIdentity *identityGameServer; + int nRemoteVirtualPort; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIdentity *identityTarget; + int nRemoteVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort_params +{ + void *linux_side; + uint16 _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID_params +{ + void *linux_side; + SteamNetworkingPOPID _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress_params +{ + void *linux_side; + EResult _ret; + SteamDatagramHostedAddress *pRouting; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket_params +{ + void *linux_side; + HSteamListenSocket _ret; + int nLocalVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin_params +{ + void *linux_side; + EResult _ret; + SteamDatagramGameCoordinatorServerLogin *pLoginInfo; + int *pcbSignedBlob; + void *pBlob; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling_params +{ + void *linux_side; + HSteamNetConnection _ret; + void /*ISteamNetworkingConnectionSignaling*/ *pSignaling; + const SteamNetworkingIdentity *pPeerIdentity; + int nRemoteVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal_params +{ + void *linux_side; + bool _ret; + const void *pMsg; + int cbMsg; + void /*ISteamNetworkingSignalingRecvContext*/ *pContext; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest_params +{ + void *linux_side; + bool _ret; + int *pcbBlob; + void *pBlob; + SteamNetworkingErrMsg *errMsg; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate_params +{ + void *linux_side; + bool _ret; + const void *pCertificate; + int cbCertificate; + SteamNetworkingErrMsg *errMsg; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks_params +{ + void *linux_side; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.cpp index 6a8a016f..e10cc484 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.cpp @@ -13,297 +13,219 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamNetworkingSockets_SteamNetworkingSockets012.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr *localAddress, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketIP(*localAddress, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateListenSocketIP( *params->localAddress, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress(void *linux_side, const SteamNetworkingIPAddr *address, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectByIPAddress(*address, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectByIPAddress( *params->address, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P(void *linux_side, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2P((int)nLocalVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateListenSocketP2P( (int)params->nLocalVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P(void *linux_side, const SteamNetworkingIdentity *identityRemote, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectP2P(*identityRemote, (int)nRemoteVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectP2P( *params->identityRemote, (int)params->nRemoteVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection(void *linux_side, HSteamNetConnection hConn) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->AcceptConnection((HSteamNetConnection)hConn); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->AcceptConnection( (HSteamNetConnection)params->hConn ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection(void *linux_side, HSteamNetConnection hPeer, int nReason, const char *pszDebug, bool bEnableLinger) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CloseConnection((HSteamNetConnection)hPeer, (int)nReason, (const char *)pszDebug, (bool)bEnableLinger); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CloseConnection( (HSteamNetConnection)params->hPeer, (int)params->nReason, (const char *)params->pszDebug, (bool)params->bEnableLinger ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket(void *linux_side, HSteamListenSocket hSocket) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CloseListenSocket((HSteamListenSocket)hSocket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CloseListenSocket( (HSteamListenSocket)params->hSocket ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData(void *linux_side, HSteamNetConnection hPeer, int64 nUserData) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SetConnectionUserData((HSteamNetConnection)hPeer, (int64)nUserData); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionUserData( (HSteamNetConnection)params->hPeer, (int64)params->nUserData ); } -int64 cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData(void *linux_side, HSteamNetConnection hPeer) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData_params *params ) { - int64 _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionUserData((HSteamNetConnection)hPeer); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionUserData( (HSteamNetConnection)params->hPeer ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName(void *linux_side, HSteamNetConnection hPeer, const char *pszName) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName_params *params ) { - ((ISteamNetworkingSockets*)linux_side)->SetConnectionName((HSteamNetConnection)hPeer, (const char *)pszName); + ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionName( (HSteamNetConnection)params->hPeer, (const char *)params->pszName ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName(void *linux_side, HSteamNetConnection hPeer, char *pszName, int nMaxLen) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionName((HSteamNetConnection)hPeer, (char *)pszName, (int)nMaxLen); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionName( (HSteamNetConnection)params->hPeer, (char *)params->pszName, (int)params->nMaxLen ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection(void *linux_side, HSteamNetConnection hConn, const void *pData, uint32 cbData, int nSendFlags, int64 *pOutMessageNumber) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SendMessageToConnection((HSteamNetConnection)hConn, (const void *)pData, (uint32)cbData, (int)nSendFlags, (int64 *)pOutMessageNumber); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SendMessageToConnection( (HSteamNetConnection)params->hConn, (const void *)params->pData, (uint32)params->cbData, (int)params->nSendFlags, (int64 *)params->pOutMessageNumber ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection(void *linux_side, HSteamNetConnection hConn) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->FlushMessagesOnConnection((HSteamNetConnection)hConn); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->FlushMessagesOnConnection( (HSteamNetConnection)params->hConn ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionInfo_t *pInfo) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionInfo((HSteamNetConnection)hConn, (SteamNetConnectionInfo_t *)pInfo); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionInfo( (HSteamNetConnection)params->hConn, (SteamNetConnectionInfo_t *)params->pInfo ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionRealTimeStatus_t *pStatus, int nLanes, SteamNetConnectionRealTimeLaneStatus_t *pLanes) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetConnectionRealTimeStatus((HSteamNetConnection)hConn, (SteamNetConnectionRealTimeStatus_t *)pStatus, (int)nLanes, (SteamNetConnectionRealTimeLaneStatus_t *)pLanes); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetConnectionRealTimeStatus( (HSteamNetConnection)params->hConn, (SteamNetConnectionRealTimeStatus_t *)params->pStatus, (int)params->nLanes, (SteamNetConnectionRealTimeLaneStatus_t *)params->pLanes ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus(void *linux_side, HSteamNetConnection hConn, char *pszBuf, int cbBuf) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetDetailedConnectionStatus((HSteamNetConnection)hConn, (char *)pszBuf, (int)cbBuf); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetDetailedConnectionStatus( (HSteamNetConnection)params->hConn, (char *)params->pszBuf, (int)params->cbBuf ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress(void *linux_side, HSteamListenSocket hSocket, SteamNetworkingIPAddr *address) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetListenSocketAddress((HSteamListenSocket)hSocket, (SteamNetworkingIPAddr *)address); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetListenSocketAddress( (HSteamListenSocket)params->hSocket, (SteamNetworkingIPAddr *)params->address ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair(void *linux_side, HSteamNetConnection *pOutConnection1, HSteamNetConnection *pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity *pIdentity1, const SteamNetworkingIdentity *pIdentity2) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateSocketPair((HSteamNetConnection *)pOutConnection1, (HSteamNetConnection *)pOutConnection2, (bool)bUseNetworkLoopback, (const SteamNetworkingIdentity *)pIdentity1, (const SteamNetworkingIdentity *)pIdentity2); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateSocketPair( (HSteamNetConnection *)params->pOutConnection1, (HSteamNetConnection *)params->pOutConnection2, (bool)params->bUseNetworkLoopback, (const SteamNetworkingIdentity *)params->pIdentity1, (const SteamNetworkingIdentity *)params->pIdentity2 ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes(void *linux_side, HSteamNetConnection hConn, int nNumLanes, const int *pLanePriorities, const uint16 *pLaneWeights) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConfigureConnectionLanes((HSteamNetConnection)hConn, (int)nNumLanes, (const int *)pLanePriorities, (const uint16 *)pLaneWeights); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConfigureConnectionLanes( (HSteamNetConnection)params->hConn, (int)params->nNumLanes, (const int *)params->pLanePriorities, (const uint16 *)params->pLaneWeights ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity(void *linux_side, SteamNetworkingIdentity *pIdentity) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetIdentity((SteamNetworkingIdentity *)pIdentity); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetIdentity( (SteamNetworkingIdentity *)params->pIdentity ); } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication_params *params ) { - ESteamNetworkingAvailability _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->InitAuthentication(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->InitAuthentication( ); } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus(void *linux_side, SteamNetAuthenticationStatus_t *pDetails) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus_params *params ) { - ESteamNetworkingAvailability _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetAuthenticationStatus((SteamNetAuthenticationStatus_t *)pDetails); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetAuthenticationStatus( (SteamNetAuthenticationStatus_t *)params->pDetails ); } -HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup_params *params ) { - HSteamNetPollGroup _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreatePollGroup(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreatePollGroup( ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup(void *linux_side, HSteamNetPollGroup hPollGroup) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->DestroyPollGroup((HSteamNetPollGroup)hPollGroup); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->DestroyPollGroup( (HSteamNetPollGroup)params->hPollGroup ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup(void *linux_side, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SetConnectionPollGroup((HSteamNetConnection)hConn, (HSteamNetPollGroup)hPollGroup); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SetConnectionPollGroup( (HSteamNetConnection)params->hConn, (HSteamNetPollGroup)params->hPollGroup ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket(void *linux_side, const void *pvTicket, int cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ReceivedRelayAuthTicket((const void *)pvTicket, (int)cbTicket, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ReceivedRelayAuthTicket( (const void *)params->pvTicket, (int)params->cbTicket, (SteamDatagramRelayAuthTicket *)params->pOutParsedTicket ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer(void *linux_side, const SteamNetworkingIdentity *identityGameServer, int nRemoteVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer_params *params ) { - int _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->FindRelayAuthTicketForServer(*identityGameServer, (int)nRemoteVirtualPort, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->FindRelayAuthTicketForServer( *params->identityGameServer, (int)params->nRemoteVirtualPort, (SteamDatagramRelayAuthTicket *)params->pOutParsedTicket ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer(void *linux_side, const SteamNetworkingIdentity *identityTarget, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectToHostedDedicatedServer(*identityTarget, (int)nRemoteVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectToHostedDedicatedServer( *params->identityTarget, (int)params->nRemoteVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -uint16 cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort_params *params ) { - uint16 _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPort(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerPort( ); } -SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID_params *params ) { - SteamNetworkingPOPID _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPOPID(); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerPOPID( ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress(void *linux_side, SteamDatagramHostedAddress *pRouting) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerAddress((SteamDatagramHostedAddress *)pRouting); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetHostedDedicatedServerAddress( (SteamDatagramHostedAddress *)params->pRouting ); } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket(void *linux_side, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateHostedDedicatedServerListenSocket((int)nLocalVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateHostedDedicatedServerListenSocket( (int)params->nLocalVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin(void *linux_side, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int *pcbSignedBlob, void *pBlob) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetGameCoordinatorServerLogin((SteamDatagramGameCoordinatorServerLogin *)pLoginInfo, (int *)pcbSignedBlob, (void *)pBlob); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetGameCoordinatorServerLogin( (SteamDatagramGameCoordinatorServerLogin *)params->pLoginInfo, (int *)params->pcbSignedBlob, (void *)params->pBlob ); } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling(void *linux_side, void /*ISteamNetworkingConnectionSignaling*/ *pSignaling, const SteamNetworkingIdentity *pPeerIdentity, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling_params *params ) { - HSteamNetConnection _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ConnectP2PCustomSignaling((ISteamNetworkingConnectionSignaling *)pSignaling, (const SteamNetworkingIdentity *)pPeerIdentity, (int)nRemoteVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ConnectP2PCustomSignaling( (ISteamNetworkingConnectionSignaling *)params->pSignaling, (const SteamNetworkingIdentity *)params->pPeerIdentity, (int)params->nRemoteVirtualPort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal(void *linux_side, const void *pMsg, int cbMsg, void /*ISteamNetworkingSignalingRecvContext*/ *pContext) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->ReceivedP2PCustomSignal((const void *)pMsg, (int)cbMsg, (ISteamNetworkingSignalingRecvContext *)pContext); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->ReceivedP2PCustomSignal( (const void *)params->pMsg, (int)params->cbMsg, (ISteamNetworkingSignalingRecvContext *)params->pContext ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest(void *linux_side, int *pcbBlob, void *pBlob, SteamNetworkingErrMsg *errMsg) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetCertificateRequest((int *)pcbBlob, (void *)pBlob, *errMsg); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetCertificateRequest( (int *)params->pcbBlob, (void *)params->pBlob, *params->errMsg ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate(void *linux_side, const void *pCertificate, int cbCertificate, SteamNetworkingErrMsg *errMsg) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->SetCertificate((const void *)pCertificate, (int)cbCertificate, *errMsg); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->SetCertificate( (const void *)params->pCertificate, (int)params->cbCertificate, *params->errMsg ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity(void *linux_side, const SteamNetworkingIdentity *pIdentity) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity_params *params ) { - ((ISteamNetworkingSockets*)linux_side)->ResetIdentity((const SteamNetworkingIdentity *)pIdentity); + ((ISteamNetworkingSockets*)params->linux_side)->ResetIdentity( (const SteamNetworkingIdentity *)params->pIdentity ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks(void *linux_side) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks_params *params ) { - ((ISteamNetworkingSockets*)linux_side)->RunCallbacks(); + ((ISteamNetworkingSockets*)params->linux_side)->RunCallbacks( ); } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP(void *linux_side, int nNumPorts) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->BeginAsyncRequestFakeIP((int)nNumPorts); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->BeginAsyncRequestFakeIP( (int)params->nNumPorts ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP(void *linux_side, int idxFirstPort, SteamNetworkingFakeIPResult_t *pInfo) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP_params *params ) { - ((ISteamNetworkingSockets*)linux_side)->GetFakeIP((int)idxFirstPort, (SteamNetworkingFakeIPResult_t *)pInfo); + ((ISteamNetworkingSockets*)params->linux_side)->GetFakeIP( (int)params->idxFirstPort, (SteamNetworkingFakeIPResult_t *)params->pInfo ); } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP(void *linux_side, int idxFakePort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP_params *params ) { - HSteamListenSocket _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2PFakeIP((int)idxFakePort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->CreateListenSocketP2PFakeIP( (int)params->idxFakePort, (int)params->nOptions, (const SteamNetworkingConfigValue_t *)params->pOptions ); } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection(void *linux_side, HSteamNetConnection hConn, SteamNetworkingIPAddr *pOutAddr) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingSockets*)linux_side)->GetRemoteFakeIPForConnection((HSteamNetConnection)hConn, (SteamNetworkingIPAddr *)pOutAddr); - return (_ret); + params->_ret = ((ISteamNetworkingSockets*)params->linux_side)->GetRemoteFakeIPForConnection( (HSteamNetConnection)params->hConn, (SteamNetworkingIPAddr *)params->pOutAddr ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.h index 329e6f21..0e284bc1 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.h +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.h @@ -1,47 +1,432 @@ -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P(void *, int, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection(void *, HSteamNetConnection); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection(void *, HSteamNetConnection, int, const char *, bool); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket(void *, HSteamListenSocket); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData(void *, HSteamNetConnection, int64); -extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData(void *, HSteamNetConnection); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName(void *, HSteamNetConnection, const char *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName(void *, HSteamNetConnection, char *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int, int64 *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages(void *, int, winSteamNetworkingMessage_t_158 *const *, int64 *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_158 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus(void *, HSteamNetConnection, SteamNetConnectionRealTimeStatus_t *, int, SteamNetConnectionRealTimeLaneStatus_t *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress(void *, HSteamListenSocket, SteamNetworkingIPAddr *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair(void *, HSteamNetConnection *, HSteamNetConnection *, bool, const SteamNetworkingIdentity *, const SteamNetworkingIdentity *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes(void *, HSteamNetConnection, int, const int *, const uint16 *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity(void *, SteamNetworkingIdentity *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication(void *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus(void *, SteamNetAuthenticationStatus_t *); -extern HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup(void *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup(void *, HSteamNetPollGroup); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup(void *, HSteamNetConnection, HSteamNetPollGroup); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup(void *, HSteamNetPollGroup, winSteamNetworkingMessage_t_158 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern uint16 cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort(void *); -extern SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID(void *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress(void *, SteamDatagramHostedAddress *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket(void *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin(void *, SteamDatagramGameCoordinatorServerLogin *, int *, void *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling(void *, void /*ISteamNetworkingConnectionSignaling*/ *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal(void *, const void *, int, void /*ISteamNetworkingSignalingRecvContext*/ *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest(void *, int *, void *, SteamNetworkingErrMsg *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate(void *, const void *, int, SteamNetworkingErrMsg *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity(void *, const SteamNetworkingIdentity *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks(void *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP(void *, int); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP(void *, int, SteamNetworkingFakeIPResult_t *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP(void *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection(void *, HSteamNetConnection, SteamNetworkingIPAddr *); -extern void /*ISteamNetworkingFakeUDPPort*/ * cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort(void *, int); +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP_params +{ + void *linux_side; + HSteamListenSocket _ret; + const SteamNetworkingIPAddr *localAddress; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIPAddr *address; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P_params +{ + void *linux_side; + HSteamListenSocket _ret; + int nLocalVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIdentity *identityRemote; + int nRemoteVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + int nReason; + const char *pszDebug; + bool bEnableLinger; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket_params +{ + void *linux_side; + bool _ret; + HSteamListenSocket hSocket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + int64 nUserData; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData_params +{ + void *linux_side; + int64 _ret; + HSteamNetConnection hPeer; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName_params +{ + void *linux_side; + HSteamNetConnection hPeer; + const char *pszName; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hPeer; + char *pszName; + int nMaxLen; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; + const void *pData; + uint32 cbData; + int nSendFlags; + int64 *pOutMessageNumber; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages_params +{ + void *linux_side; + int nMessages; + winSteamNetworkingMessage_t_158 *const *pMessages; + int64 *pOutMessageNumberOrResult; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection_params +{ + void *linux_side; + int _ret; + HSteamNetConnection hConn; + winSteamNetworkingMessage_t_158 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + SteamNetConnectionInfo_t *pInfo; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; + SteamNetConnectionRealTimeStatus_t *pStatus; + int nLanes; + SteamNetConnectionRealTimeLaneStatus_t *pLanes; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus_params +{ + void *linux_side; + int _ret; + HSteamNetConnection hConn; + char *pszBuf; + int cbBuf; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress_params +{ + void *linux_side; + bool _ret; + HSteamListenSocket hSocket; + SteamNetworkingIPAddr *address; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection *pOutConnection1; + HSteamNetConnection *pOutConnection2; + bool bUseNetworkLoopback; + const SteamNetworkingIdentity *pIdentity1; + const SteamNetworkingIdentity *pIdentity2; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; + int nNumLanes; + const int *pLanePriorities; + const uint16 *pLaneWeights; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIdentity *pIdentity; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication_params +{ + void *linux_side; + ESteamNetworkingAvailability _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus_params +{ + void *linux_side; + ESteamNetworkingAvailability _ret; + SteamNetAuthenticationStatus_t *pDetails; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup_params +{ + void *linux_side; + HSteamNetPollGroup _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup_params +{ + void *linux_side; + bool _ret; + HSteamNetPollGroup hPollGroup; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup_params +{ + void *linux_side; + bool _ret; + HSteamNetConnection hConn; + HSteamNetPollGroup hPollGroup; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup_params +{ + void *linux_side; + int _ret; + HSteamNetPollGroup hPollGroup; + winSteamNetworkingMessage_t_158 **ppOutMessages; + int nMaxMessages; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket_params +{ + void *linux_side; + bool _ret; + const void *pvTicket; + int cbTicket; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer_params +{ + void *linux_side; + int _ret; + const SteamNetworkingIdentity *identityGameServer; + int nRemoteVirtualPort; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer_params +{ + void *linux_side; + HSteamNetConnection _ret; + const SteamNetworkingIdentity *identityTarget; + int nRemoteVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort_params +{ + void *linux_side; + uint16 _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID_params +{ + void *linux_side; + SteamNetworkingPOPID _ret; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress_params +{ + void *linux_side; + EResult _ret; + SteamDatagramHostedAddress *pRouting; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket_params +{ + void *linux_side; + HSteamListenSocket _ret; + int nLocalVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin_params +{ + void *linux_side; + EResult _ret; + SteamDatagramGameCoordinatorServerLogin *pLoginInfo; + int *pcbSignedBlob; + void *pBlob; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling_params +{ + void *linux_side; + HSteamNetConnection _ret; + void /*ISteamNetworkingConnectionSignaling*/ *pSignaling; + const SteamNetworkingIdentity *pPeerIdentity; + int nRemoteVirtualPort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal_params +{ + void *linux_side; + bool _ret; + const void *pMsg; + int cbMsg; + void /*ISteamNetworkingSignalingRecvContext*/ *pContext; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest_params +{ + void *linux_side; + bool _ret; + int *pcbBlob; + void *pBlob; + SteamNetworkingErrMsg *errMsg; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate_params +{ + void *linux_side; + bool _ret; + const void *pCertificate; + int cbCertificate; + SteamNetworkingErrMsg *errMsg; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity_params +{ + void *linux_side; + const SteamNetworkingIdentity *pIdentity; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks_params +{ + void *linux_side; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP_params +{ + void *linux_side; + bool _ret; + int nNumPorts; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP_params +{ + void *linux_side; + int idxFirstPort; + SteamNetworkingFakeIPResult_t *pInfo; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP_params +{ + void *linux_side; + HSteamListenSocket _ret; + int idxFakePort; + int nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection_params +{ + void *linux_side; + EResult _ret; + HSteamNetConnection hConn; + SteamNetworkingIPAddr *pOutAddr; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection_params *params ); + +struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort_params +{ + void *linux_side; + void /*ISteamNetworkingFakeUDPPort*/ *_ret; + int idxFakeServerPort; +}; +extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.cpp b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.cpp index 72839050..87d526e6 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.cpp +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.cpp @@ -13,144 +13,110 @@ extern "C" { #define SDKVER_144 #include "struct_converters.h" #include "cppISteamNetworkingUtils_SteamNetworkingUtils001.h" -float cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation(void *linux_side, SteamNetworkPingLocation_t *result) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation_params *params ) { - float _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetLocalPingLocation((SteamNetworkPingLocation_t *)result); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetLocalPingLocation( (SteamNetworkPingLocation_t *)params->result ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations(void *linux_side, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeBetweenTwoLocations((const SteamNetworkPingLocation_t *)location1, (const SteamNetworkPingLocation_t *)location2); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->EstimatePingTimeBetweenTwoLocations( (const SteamNetworkPingLocation_t *)params->location1, (const SteamNetworkPingLocation_t *)params->location2 ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost(void *linux_side, const SteamNetworkPingLocation_t *remoteLocation) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeFromLocalHost((const SteamNetworkPingLocation_t *)remoteLocation); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->EstimatePingTimeFromLocalHost( (const SteamNetworkPingLocation_t *)params->remoteLocation ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString(void *linux_side, const SteamNetworkPingLocation_t *location, char *pszBuf, int cchBufSize) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString_params *params ) { - ((ISteamNetworkingUtils*)linux_side)->ConvertPingLocationToString((const SteamNetworkPingLocation_t *)location, (char *)pszBuf, (int)cchBufSize); + ((ISteamNetworkingUtils*)params->linux_side)->ConvertPingLocationToString( (const SteamNetworkPingLocation_t *)params->location, (char *)params->pszBuf, (int)params->cchBufSize ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString(void *linux_side, const char *pszString, SteamNetworkPingLocation_t *result) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->ParsePingLocationString((const char *)pszString, (SteamNetworkPingLocation_t *)result); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->ParsePingLocationString( (const char *)params->pszString, (SteamNetworkPingLocation_t *)params->result ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate(void *linux_side, float flMaxAgeSeconds) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->CheckPingDataUpToDate((float)flMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->CheckPingDataUpToDate( (float)params->flMaxAgeSeconds ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress(void *linux_side) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->IsPingMeasurementInProgress(); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->IsPingMeasurementInProgress( ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter(void *linux_side, SteamNetworkingPOPID popID, SteamNetworkingPOPID *pViaRelayPoP) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetPingToDataCenter((SteamNetworkingPOPID)popID, (SteamNetworkingPOPID *)pViaRelayPoP); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetPingToDataCenter( (SteamNetworkingPOPID)params->popID, (SteamNetworkingPOPID *)params->pViaRelayPoP ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP(void *linux_side, SteamNetworkingPOPID popID) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetDirectPingToPOP((SteamNetworkingPOPID)popID); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetDirectPingToPOP( (SteamNetworkingPOPID)params->popID ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount(void *linux_side) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetPOPCount(); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetPOPCount( ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList(void *linux_side, SteamNetworkingPOPID *list, int nListSz) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetPOPList((SteamNetworkingPOPID *)list, (int)nListSz); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetPOPList( (SteamNetworkingPOPID *)params->list, (int)params->nListSz ); } -SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp(void *linux_side) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp_params *params ) { - SteamNetworkingMicroseconds _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetLocalTimestamp(); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetLocalTimestamp( ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction(void *linux_side, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction_params *params ) { - pfnFunc = (FSteamNetworkingSocketsDebugOutput)manual_convert_FSteamNetworkingSocketsDebugOutput((void*)pfnFunc); - ((ISteamNetworkingUtils*)linux_side)->SetDebugOutputFunction((ESteamNetworkingSocketsDebugOutputType)eDetailLevel, (FSteamNetworkingSocketsDebugOutput)pfnFunc); + params->pfnFunc = (FSteamNetworkingSocketsDebugOutput)manual_convert_FSteamNetworkingSocketsDebugOutput( (void *)params->pfnFunc ); + ((ISteamNetworkingUtils*)params->linux_side)->SetDebugOutputFunction( (ESteamNetworkingSocketsDebugOutputType)params->eDetailLevel, (FSteamNetworkingSocketsDebugOutput)params->pfnFunc ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void *pArg) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->SetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType)eDataType, (const void *)pArg); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->SetConfigValue( (ESteamNetworkingConfigValue)params->eValue, (ESteamNetworkingConfigScope)params->eScopeType, (intptr_t)params->scopeObj, (ESteamNetworkingConfigDataType)params->eDataType, (const void *)params->pArg ); } -ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType *pOutDataType, void *pResult, size_t *cbResult) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue_params *params ) { - ESteamNetworkingGetConfigValueResult _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType *)pOutDataType, (void *)pResult, (size_t *)cbResult); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetConfigValue( (ESteamNetworkingConfigValue)params->eValue, (ESteamNetworkingConfigScope)params->eScopeType, (intptr_t)params->scopeObj, (ESteamNetworkingConfigDataType *)params->pOutDataType, (void *)params->pResult, (size_t *)params->cbResult ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo(void *linux_side, ESteamNetworkingConfigValue eValue, const char **pOutName, ESteamNetworkingConfigDataType *pOutDataType, ESteamNetworkingConfigScope *pOutScope, ESteamNetworkingConfigValue *pOutNextValue) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetConfigValueInfo((ESteamNetworkingConfigValue)eValue, (const char **)pOutName, (ESteamNetworkingConfigDataType *)pOutDataType, (ESteamNetworkingConfigScope *)pOutScope, (ESteamNetworkingConfigValue *)pOutNextValue); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetConfigValueInfo( (ESteamNetworkingConfigValue)params->eValue, (const char **)params->pOutName, (ESteamNetworkingConfigDataType *)params->pOutDataType, (ESteamNetworkingConfigScope *)params->pOutScope, (ESteamNetworkingConfigValue *)params->pOutNextValue ); } -ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue(void *linux_side) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue_params *params ) { - ESteamNetworkingConfigValue _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetFirstConfigValue(); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetFirstConfigValue( ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString(void *linux_side, const SteamNetworkingIPAddr *addr, char *buf, size_t cbBuf, bool bWithPort) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString_params *params ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ToString((const SteamNetworkingIPAddr *)addr, (char *)buf, (size_t)cbBuf, (bool)bWithPort); + ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIPAddr_ToString( (const SteamNetworkingIPAddr *)params->addr, (char *)params->buf, (size_t)params->cbBuf, (bool)params->bWithPort ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString(void *linux_side, SteamNetworkingIPAddr *pAddr, const char *pszStr) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ParseString((SteamNetworkingIPAddr *)pAddr, (const char *)pszStr); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIPAddr_ParseString( (SteamNetworkingIPAddr *)params->pAddr, (const char *)params->pszStr ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString(void *linux_side, const SteamNetworkingIdentity *identity, char *buf, size_t cbBuf) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString_params *params ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ToString((const SteamNetworkingIdentity *)identity, (char *)buf, (size_t)cbBuf); + ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIdentity_ToString( (const SteamNetworkingIdentity *)params->identity, (char *)params->buf, (size_t)params->cbBuf ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString(void *linux_side, SteamNetworkingIdentity *pIdentity, const char *pszStr) +void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ParseString((SteamNetworkingIdentity *)pIdentity, (const char *)pszStr); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIdentity_ParseString( (SteamNetworkingIdentity *)params->pIdentity, (const char *)params->pszStr ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.h b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.h index 2b317935..15dc5655 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.h +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.h @@ -1,21 +1,187 @@ -extern float cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation(void *, SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations(void *, const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost(void *, const SteamNetworkPingLocation_t *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString(void *, const SteamNetworkPingLocation_t *, char *, int); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString(void *, const char *, SteamNetworkPingLocation_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate(void *, float); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress(void *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter(void *, SteamNetworkingPOPID, SteamNetworkingPOPID *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP(void *, SteamNetworkingPOPID); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount(void *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList(void *, SteamNetworkingPOPID *, int); -extern SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction(void *, ESteamNetworkingSocketsDebugOutputType, FSteamNetworkingSocketsDebugOutput); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType, const void *); -extern ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType *, void *, size_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo(void *, ESteamNetworkingConfigValue, const char **, ESteamNetworkingConfigDataType *, ESteamNetworkingConfigScope *, ESteamNetworkingConfigValue *); -extern ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString(void *, const SteamNetworkingIPAddr *, char *, size_t, bool); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString(void *, SteamNetworkingIPAddr *, const char *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString(void *, const SteamNetworkingIdentity *, char *, size_t); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString(void *, SteamNetworkingIdentity *, const char *); +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation_params +{ + void *linux_side; + float _ret; + SteamNetworkPingLocation_t *result; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations_params +{ + void *linux_side; + int _ret; + const SteamNetworkPingLocation_t *location1; + const SteamNetworkPingLocation_t *location2; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost_params +{ + void *linux_side; + int _ret; + const SteamNetworkPingLocation_t *remoteLocation; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString_params +{ + void *linux_side; + const SteamNetworkPingLocation_t *location; + char *pszBuf; + int cchBufSize; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString_params +{ + void *linux_side; + bool _ret; + const char *pszString; + SteamNetworkPingLocation_t *result; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate_params +{ + void *linux_side; + bool _ret; + float flMaxAgeSeconds; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter_params +{ + void *linux_side; + int _ret; + SteamNetworkingPOPID popID; + SteamNetworkingPOPID *pViaRelayPoP; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP_params +{ + void *linux_side; + int _ret; + SteamNetworkingPOPID popID; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList_params +{ + void *linux_side; + int _ret; + SteamNetworkingPOPID *list; + int nListSz; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp_params +{ + void *linux_side; + SteamNetworkingMicroseconds _ret; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction_params +{ + void *linux_side; + ESteamNetworkingSocketsDebugOutputType eDetailLevel; + FSteamNetworkingSocketsDebugOutput pfnFunc; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue_params +{ + void *linux_side; + bool _ret; + ESteamNetworkingConfigValue eValue; + ESteamNetworkingConfigScope eScopeType; + intptr_t scopeObj; + ESteamNetworkingConfigDataType eDataType; + const void *pArg; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue_params +{ + void *linux_side; + ESteamNetworkingGetConfigValueResult _ret; + ESteamNetworkingConfigValue eValue; + ESteamNetworkingConfigScope eScopeType; + intptr_t scopeObj; + ESteamNetworkingConfigDataType *pOutDataType; + void *pResult; + size_t *cbResult; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo_params +{ + void *linux_side; + bool _ret; + ESteamNetworkingConfigValue eValue; + const char **pOutName; + ESteamNetworkingConfigDataType *pOutDataType; + ESteamNetworkingConfigScope *pOutScope; + ESteamNetworkingConfigValue *pOutNextValue; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue_params +{ + void *linux_side; + ESteamNetworkingConfigValue _ret; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString_params +{ + void *linux_side; + const SteamNetworkingIPAddr *addr; + char *buf; + size_t cbBuf; + bool bWithPort; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIPAddr *pAddr; + const char *pszStr; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString_params +{ + void *linux_side; + const SteamNetworkingIdentity *identity; + char *buf; + size_t cbBuf; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIdentity *pIdentity; + const char *pszStr; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.cpp b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.cpp index a4d885fa..18fa77eb 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.cpp +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.cpp @@ -13,144 +13,110 @@ extern "C" { #define SDKVER_146 #include "struct_converters.h" #include "cppISteamNetworkingUtils_SteamNetworkingUtils002.h" -ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(void *linux_side, SteamRelayNetworkStatus_t *pDetails) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus_params *params ) { - ESteamNetworkingAvailability _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetRelayNetworkStatus((SteamRelayNetworkStatus_t *)pDetails); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetRelayNetworkStatus( (SteamRelayNetworkStatus_t *)params->pDetails ); } -float cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(void *linux_side, SteamNetworkPingLocation_t *result) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation_params *params ) { - float _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetLocalPingLocation((SteamNetworkPingLocation_t *)result); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetLocalPingLocation( (SteamNetworkPingLocation_t *)params->result ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(void *linux_side, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeBetweenTwoLocations((const SteamNetworkPingLocation_t *)location1, (const SteamNetworkPingLocation_t *)location2); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->EstimatePingTimeBetweenTwoLocations( (const SteamNetworkPingLocation_t *)params->location1, (const SteamNetworkPingLocation_t *)params->location2 ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(void *linux_side, const SteamNetworkPingLocation_t *remoteLocation) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeFromLocalHost((const SteamNetworkPingLocation_t *)remoteLocation); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->EstimatePingTimeFromLocalHost( (const SteamNetworkPingLocation_t *)params->remoteLocation ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(void *linux_side, const SteamNetworkPingLocation_t *location, char *pszBuf, int cchBufSize) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString_params *params ) { - ((ISteamNetworkingUtils*)linux_side)->ConvertPingLocationToString((const SteamNetworkPingLocation_t *)location, (char *)pszBuf, (int)cchBufSize); + ((ISteamNetworkingUtils*)params->linux_side)->ConvertPingLocationToString( (const SteamNetworkPingLocation_t *)params->location, (char *)params->pszBuf, (int)params->cchBufSize ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(void *linux_side, const char *pszString, SteamNetworkPingLocation_t *result) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->ParsePingLocationString((const char *)pszString, (SteamNetworkPingLocation_t *)result); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->ParsePingLocationString( (const char *)params->pszString, (SteamNetworkPingLocation_t *)params->result ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(void *linux_side, float flMaxAgeSeconds) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->CheckPingDataUpToDate((float)flMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->CheckPingDataUpToDate( (float)params->flMaxAgeSeconds ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(void *linux_side, SteamNetworkingPOPID popID, SteamNetworkingPOPID *pViaRelayPoP) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetPingToDataCenter((SteamNetworkingPOPID)popID, (SteamNetworkingPOPID *)pViaRelayPoP); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetPingToDataCenter( (SteamNetworkingPOPID)params->popID, (SteamNetworkingPOPID *)params->pViaRelayPoP ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(void *linux_side, SteamNetworkingPOPID popID) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetDirectPingToPOP((SteamNetworkingPOPID)popID); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetDirectPingToPOP( (SteamNetworkingPOPID)params->popID ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(void *linux_side) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetPOPCount(); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetPOPCount( ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(void *linux_side, SteamNetworkingPOPID *list, int nListSz) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetPOPList((SteamNetworkingPOPID *)list, (int)nListSz); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetPOPList( (SteamNetworkingPOPID *)params->list, (int)params->nListSz ); } -SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(void *linux_side) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp_params *params ) { - SteamNetworkingMicroseconds _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetLocalTimestamp(); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetLocalTimestamp( ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(void *linux_side, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction_params *params ) { - pfnFunc = (FSteamNetworkingSocketsDebugOutput)manual_convert_FSteamNetworkingSocketsDebugOutput((void*)pfnFunc); - ((ISteamNetworkingUtils*)linux_side)->SetDebugOutputFunction((ESteamNetworkingSocketsDebugOutputType)eDetailLevel, (FSteamNetworkingSocketsDebugOutput)pfnFunc); + params->pfnFunc = (FSteamNetworkingSocketsDebugOutput)manual_convert_FSteamNetworkingSocketsDebugOutput( (void *)params->pfnFunc ); + ((ISteamNetworkingUtils*)params->linux_side)->SetDebugOutputFunction( (ESteamNetworkingSocketsDebugOutputType)params->eDetailLevel, (FSteamNetworkingSocketsDebugOutput)params->pfnFunc ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void *pArg) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->SetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType)eDataType, (const void *)pArg); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->SetConfigValue( (ESteamNetworkingConfigValue)params->eValue, (ESteamNetworkingConfigScope)params->eScopeType, (intptr_t)params->scopeObj, (ESteamNetworkingConfigDataType)params->eDataType, (const void *)params->pArg ); } -ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType *pOutDataType, void *pResult, size_t *cbResult) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue_params *params ) { - ESteamNetworkingGetConfigValueResult _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType *)pOutDataType, (void *)pResult, (size_t *)cbResult); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetConfigValue( (ESteamNetworkingConfigValue)params->eValue, (ESteamNetworkingConfigScope)params->eScopeType, (intptr_t)params->scopeObj, (ESteamNetworkingConfigDataType *)params->pOutDataType, (void *)params->pResult, (size_t *)params->cbResult ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(void *linux_side, ESteamNetworkingConfigValue eValue, const char **pOutName, ESteamNetworkingConfigDataType *pOutDataType, ESteamNetworkingConfigScope *pOutScope, ESteamNetworkingConfigValue *pOutNextValue) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetConfigValueInfo((ESteamNetworkingConfigValue)eValue, (const char **)pOutName, (ESteamNetworkingConfigDataType *)pOutDataType, (ESteamNetworkingConfigScope *)pOutScope, (ESteamNetworkingConfigValue *)pOutNextValue); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetConfigValueInfo( (ESteamNetworkingConfigValue)params->eValue, (const char **)params->pOutName, (ESteamNetworkingConfigDataType *)params->pOutDataType, (ESteamNetworkingConfigScope *)params->pOutScope, (ESteamNetworkingConfigValue *)params->pOutNextValue ); } -ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(void *linux_side) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue_params *params ) { - ESteamNetworkingConfigValue _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetFirstConfigValue(); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetFirstConfigValue( ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(void *linux_side, const SteamNetworkingIPAddr *addr, char *buf, size_t cbBuf, bool bWithPort) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString_params *params ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ToString((const SteamNetworkingIPAddr *)addr, (char *)buf, (size_t)cbBuf, (bool)bWithPort); + ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIPAddr_ToString( (const SteamNetworkingIPAddr *)params->addr, (char *)params->buf, (size_t)params->cbBuf, (bool)params->bWithPort ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(void *linux_side, SteamNetworkingIPAddr *pAddr, const char *pszStr) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ParseString((SteamNetworkingIPAddr *)pAddr, (const char *)pszStr); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIPAddr_ParseString( (SteamNetworkingIPAddr *)params->pAddr, (const char *)params->pszStr ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(void *linux_side, const SteamNetworkingIdentity *identity, char *buf, size_t cbBuf) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString_params *params ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ToString((const SteamNetworkingIdentity *)identity, (char *)buf, (size_t)cbBuf); + ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIdentity_ToString( (const SteamNetworkingIdentity *)params->identity, (char *)params->buf, (size_t)params->cbBuf ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(void *linux_side, SteamNetworkingIdentity *pIdentity, const char *pszStr) +void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ParseString((SteamNetworkingIdentity *)pIdentity, (const char *)pszStr); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIdentity_ParseString( (SteamNetworkingIdentity *)params->pIdentity, (const char *)params->pszStr ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.h b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.h index 2bcb5b79..2a4ca902 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.h +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.h @@ -1,21 +1,188 @@ -extern ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(void *, SteamRelayNetworkStatus_t *); -extern float cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(void *, SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(void *, const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(void *, const SteamNetworkPingLocation_t *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(void *, const SteamNetworkPingLocation_t *, char *, int); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(void *, const char *, SteamNetworkPingLocation_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(void *, float); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(void *, SteamNetworkingPOPID, SteamNetworkingPOPID *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(void *, SteamNetworkingPOPID); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(void *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(void *, SteamNetworkingPOPID *, int); -extern SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(void *, ESteamNetworkingSocketsDebugOutputType, FSteamNetworkingSocketsDebugOutput); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType, const void *); -extern ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType *, void *, size_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(void *, ESteamNetworkingConfigValue, const char **, ESteamNetworkingConfigDataType *, ESteamNetworkingConfigScope *, ESteamNetworkingConfigValue *); -extern ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(void *, const SteamNetworkingIPAddr *, char *, size_t, bool); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(void *, SteamNetworkingIPAddr *, const char *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(void *, const SteamNetworkingIdentity *, char *, size_t); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(void *, SteamNetworkingIdentity *, const char *); +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus_params +{ + void *linux_side; + ESteamNetworkingAvailability _ret; + SteamRelayNetworkStatus_t *pDetails; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation_params +{ + void *linux_side; + float _ret; + SteamNetworkPingLocation_t *result; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations_params +{ + void *linux_side; + int _ret; + const SteamNetworkPingLocation_t *location1; + const SteamNetworkPingLocation_t *location2; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost_params +{ + void *linux_side; + int _ret; + const SteamNetworkPingLocation_t *remoteLocation; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString_params +{ + void *linux_side; + const SteamNetworkPingLocation_t *location; + char *pszBuf; + int cchBufSize; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString_params +{ + void *linux_side; + bool _ret; + const char *pszString; + SteamNetworkPingLocation_t *result; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate_params +{ + void *linux_side; + bool _ret; + float flMaxAgeSeconds; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter_params +{ + void *linux_side; + int _ret; + SteamNetworkingPOPID popID; + SteamNetworkingPOPID *pViaRelayPoP; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP_params +{ + void *linux_side; + int _ret; + SteamNetworkingPOPID popID; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList_params +{ + void *linux_side; + int _ret; + SteamNetworkingPOPID *list; + int nListSz; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp_params +{ + void *linux_side; + SteamNetworkingMicroseconds _ret; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction_params +{ + void *linux_side; + ESteamNetworkingSocketsDebugOutputType eDetailLevel; + FSteamNetworkingSocketsDebugOutput pfnFunc; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue_params +{ + void *linux_side; + bool _ret; + ESteamNetworkingConfigValue eValue; + ESteamNetworkingConfigScope eScopeType; + intptr_t scopeObj; + ESteamNetworkingConfigDataType eDataType; + const void *pArg; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue_params +{ + void *linux_side; + ESteamNetworkingGetConfigValueResult _ret; + ESteamNetworkingConfigValue eValue; + ESteamNetworkingConfigScope eScopeType; + intptr_t scopeObj; + ESteamNetworkingConfigDataType *pOutDataType; + void *pResult; + size_t *cbResult; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo_params +{ + void *linux_side; + bool _ret; + ESteamNetworkingConfigValue eValue; + const char **pOutName; + ESteamNetworkingConfigDataType *pOutDataType; + ESteamNetworkingConfigScope *pOutScope; + ESteamNetworkingConfigValue *pOutNextValue; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue_params +{ + void *linux_side; + ESteamNetworkingConfigValue _ret; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString_params +{ + void *linux_side; + const SteamNetworkingIPAddr *addr; + char *buf; + size_t cbBuf; + bool bWithPort; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIPAddr *pAddr; + const char *pszStr; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString_params +{ + void *linux_side; + const SteamNetworkingIdentity *identity; + char *buf; + size_t cbBuf; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIdentity *pIdentity; + const char *pszStr; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.cpp b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.cpp index f42ef47b..d244280f 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.cpp +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.cpp @@ -13,137 +13,105 @@ extern "C" { #define SDKVER_152 #include "struct_converters.h" #include "cppISteamNetworkingUtils_SteamNetworkingUtils003.h" -ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus(void *linux_side, SteamRelayNetworkStatus_t *pDetails) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus_params *params ) { - ESteamNetworkingAvailability _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetRelayNetworkStatus((SteamRelayNetworkStatus_t *)pDetails); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetRelayNetworkStatus( (SteamRelayNetworkStatus_t *)params->pDetails ); } -float cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation(void *linux_side, SteamNetworkPingLocation_t *result) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation_params *params ) { - float _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetLocalPingLocation(*result); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetLocalPingLocation( *params->result ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations(void *linux_side, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeBetweenTwoLocations(*location1, *location2); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->EstimatePingTimeBetweenTwoLocations( *params->location1, *params->location2 ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost(void *linux_side, const SteamNetworkPingLocation_t *remoteLocation) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeFromLocalHost(*remoteLocation); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->EstimatePingTimeFromLocalHost( *params->remoteLocation ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString(void *linux_side, const SteamNetworkPingLocation_t *location, char *pszBuf, int cchBufSize) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString_params *params ) { - ((ISteamNetworkingUtils*)linux_side)->ConvertPingLocationToString(*location, (char *)pszBuf, (int)cchBufSize); + ((ISteamNetworkingUtils*)params->linux_side)->ConvertPingLocationToString( *params->location, (char *)params->pszBuf, (int)params->cchBufSize ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString(void *linux_side, const char *pszString, SteamNetworkPingLocation_t *result) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->ParsePingLocationString((const char *)pszString, *result); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->ParsePingLocationString( (const char *)params->pszString, *params->result ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate(void *linux_side, float flMaxAgeSeconds) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->CheckPingDataUpToDate((float)flMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->CheckPingDataUpToDate( (float)params->flMaxAgeSeconds ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter(void *linux_side, SteamNetworkingPOPID popID, SteamNetworkingPOPID *pViaRelayPoP) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetPingToDataCenter((SteamNetworkingPOPID)popID, (SteamNetworkingPOPID *)pViaRelayPoP); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetPingToDataCenter( (SteamNetworkingPOPID)params->popID, (SteamNetworkingPOPID *)params->pViaRelayPoP ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP(void *linux_side, SteamNetworkingPOPID popID) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetDirectPingToPOP((SteamNetworkingPOPID)popID); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetDirectPingToPOP( (SteamNetworkingPOPID)params->popID ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount(void *linux_side) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetPOPCount(); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetPOPCount( ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList(void *linux_side, SteamNetworkingPOPID *list, int nListSz) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetPOPList((SteamNetworkingPOPID *)list, (int)nListSz); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetPOPList( (SteamNetworkingPOPID *)params->list, (int)params->nListSz ); } -SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp(void *linux_side) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp_params *params ) { - SteamNetworkingMicroseconds _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetLocalTimestamp(); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetLocalTimestamp( ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction(void *linux_side, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction_params *params ) { - pfnFunc = (FSteamNetworkingSocketsDebugOutput)manual_convert_FSteamNetworkingSocketsDebugOutput((void*)pfnFunc); - ((ISteamNetworkingUtils*)linux_side)->SetDebugOutputFunction((ESteamNetworkingSocketsDebugOutputType)eDetailLevel, (FSteamNetworkingSocketsDebugOutput)pfnFunc); + params->pfnFunc = (FSteamNetworkingSocketsDebugOutput)manual_convert_FSteamNetworkingSocketsDebugOutput( (void *)params->pfnFunc ); + ((ISteamNetworkingUtils*)params->linux_side)->SetDebugOutputFunction( (ESteamNetworkingSocketsDebugOutputType)params->eDetailLevel, (FSteamNetworkingSocketsDebugOutput)params->pfnFunc ); } -ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType *pOutDataType, void *pResult, size_t *cbResult) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue_params *params ) { - ESteamNetworkingGetConfigValueResult _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType *)pOutDataType, (void *)pResult, (size_t *)cbResult); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetConfigValue( (ESteamNetworkingConfigValue)params->eValue, (ESteamNetworkingConfigScope)params->eScopeType, (intptr_t)params->scopeObj, (ESteamNetworkingConfigDataType *)params->pOutDataType, (void *)params->pResult, (size_t *)params->cbResult ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo(void *linux_side, ESteamNetworkingConfigValue eValue, const char **pOutName, ESteamNetworkingConfigDataType *pOutDataType, ESteamNetworkingConfigScope *pOutScope, ESteamNetworkingConfigValue *pOutNextValue) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetConfigValueInfo((ESteamNetworkingConfigValue)eValue, (const char **)pOutName, (ESteamNetworkingConfigDataType *)pOutDataType, (ESteamNetworkingConfigScope *)pOutScope, (ESteamNetworkingConfigValue *)pOutNextValue); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetConfigValueInfo( (ESteamNetworkingConfigValue)params->eValue, (const char **)params->pOutName, (ESteamNetworkingConfigDataType *)params->pOutDataType, (ESteamNetworkingConfigScope *)params->pOutScope, (ESteamNetworkingConfigValue *)params->pOutNextValue ); } -ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue(void *linux_side) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue_params *params ) { - ESteamNetworkingConfigValue _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetFirstConfigValue(); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetFirstConfigValue( ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString(void *linux_side, const SteamNetworkingIPAddr *addr, char *buf, size_t cbBuf, bool bWithPort) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString_params *params ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ToString(*addr, (char *)buf, (size_t)cbBuf, (bool)bWithPort); + ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIPAddr_ToString( *params->addr, (char *)params->buf, (size_t)params->cbBuf, (bool)params->bWithPort ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString(void *linux_side, SteamNetworkingIPAddr *pAddr, const char *pszStr) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ParseString((SteamNetworkingIPAddr *)pAddr, (const char *)pszStr); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIPAddr_ParseString( (SteamNetworkingIPAddr *)params->pAddr, (const char *)params->pszStr ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString(void *linux_side, const SteamNetworkingIdentity *identity, char *buf, size_t cbBuf) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString_params *params ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ToString(*identity, (char *)buf, (size_t)cbBuf); + ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIdentity_ToString( *params->identity, (char *)params->buf, (size_t)params->cbBuf ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString(void *linux_side, SteamNetworkingIdentity *pIdentity, const char *pszStr) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ParseString((SteamNetworkingIdentity *)pIdentity, (const char *)pszStr); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIdentity_ParseString( (SteamNetworkingIdentity *)params->pIdentity, (const char *)params->pszStr ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.h b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.h index 0e5df017..4f3cdd70 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.h +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.h @@ -1,22 +1,196 @@ -extern winSteamNetworkingMessage_t_152 * cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage(void *, int); -extern ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus(void *, SteamRelayNetworkStatus_t *); -extern float cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation(void *, SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations(void *, const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost(void *, const SteamNetworkPingLocation_t *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString(void *, const SteamNetworkPingLocation_t *, char *, int); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString(void *, const char *, SteamNetworkPingLocation_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate(void *, float); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter(void *, SteamNetworkingPOPID, SteamNetworkingPOPID *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP(void *, SteamNetworkingPOPID); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount(void *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList(void *, SteamNetworkingPOPID *, int); -extern SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction(void *, ESteamNetworkingSocketsDebugOutputType, FSteamNetworkingSocketsDebugOutput); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType, const void *); -extern ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType *, void *, size_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo(void *, ESteamNetworkingConfigValue, const char **, ESteamNetworkingConfigDataType *, ESteamNetworkingConfigScope *, ESteamNetworkingConfigValue *); -extern ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString(void *, const SteamNetworkingIPAddr *, char *, size_t, bool); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString(void *, SteamNetworkingIPAddr *, const char *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString(void *, const SteamNetworkingIdentity *, char *, size_t); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString(void *, SteamNetworkingIdentity *, const char *); +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage_params +{ + void *linux_side; + winSteamNetworkingMessage_t_152 *_ret; + int cbAllocateBuffer; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus_params +{ + void *linux_side; + ESteamNetworkingAvailability _ret; + SteamRelayNetworkStatus_t *pDetails; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation_params +{ + void *linux_side; + float _ret; + SteamNetworkPingLocation_t *result; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations_params +{ + void *linux_side; + int _ret; + const SteamNetworkPingLocation_t *location1; + const SteamNetworkPingLocation_t *location2; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost_params +{ + void *linux_side; + int _ret; + const SteamNetworkPingLocation_t *remoteLocation; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString_params +{ + void *linux_side; + const SteamNetworkPingLocation_t *location; + char *pszBuf; + int cchBufSize; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString_params +{ + void *linux_side; + bool _ret; + const char *pszString; + SteamNetworkPingLocation_t *result; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate_params +{ + void *linux_side; + bool _ret; + float flMaxAgeSeconds; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter_params +{ + void *linux_side; + int _ret; + SteamNetworkingPOPID popID; + SteamNetworkingPOPID *pViaRelayPoP; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP_params +{ + void *linux_side; + int _ret; + SteamNetworkingPOPID popID; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList_params +{ + void *linux_side; + int _ret; + SteamNetworkingPOPID *list; + int nListSz; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp_params +{ + void *linux_side; + SteamNetworkingMicroseconds _ret; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction_params +{ + void *linux_side; + ESteamNetworkingSocketsDebugOutputType eDetailLevel; + FSteamNetworkingSocketsDebugOutput pfnFunc; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue_params +{ + void *linux_side; + bool _ret; + ESteamNetworkingConfigValue eValue; + ESteamNetworkingConfigScope eScopeType; + intptr_t scopeObj; + ESteamNetworkingConfigDataType eDataType; + const void *pArg; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue_params +{ + void *linux_side; + ESteamNetworkingGetConfigValueResult _ret; + ESteamNetworkingConfigValue eValue; + ESteamNetworkingConfigScope eScopeType; + intptr_t scopeObj; + ESteamNetworkingConfigDataType *pOutDataType; + void *pResult; + size_t *cbResult; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo_params +{ + void *linux_side; + bool _ret; + ESteamNetworkingConfigValue eValue; + const char **pOutName; + ESteamNetworkingConfigDataType *pOutDataType; + ESteamNetworkingConfigScope *pOutScope; + ESteamNetworkingConfigValue *pOutNextValue; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue_params +{ + void *linux_side; + ESteamNetworkingConfigValue _ret; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString_params +{ + void *linux_side; + const SteamNetworkingIPAddr *addr; + char *buf; + size_t cbBuf; + bool bWithPort; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIPAddr *pAddr; + const char *pszStr; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString_params +{ + void *linux_side; + const SteamNetworkingIdentity *identity; + char *buf; + size_t cbBuf; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIdentity *pIdentity; + const char *pszStr; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString_params *params ); + diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.cpp b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.cpp index cdefe500..1ff9f3be 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.cpp +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.cpp @@ -13,158 +13,120 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamNetworkingUtils_SteamNetworkingUtils004.h" -ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus(void *linux_side, SteamRelayNetworkStatus_t *pDetails) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus_params *params ) { - ESteamNetworkingAvailability _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetRelayNetworkStatus((SteamRelayNetworkStatus_t *)pDetails); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetRelayNetworkStatus( (SteamRelayNetworkStatus_t *)params->pDetails ); } -float cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation(void *linux_side, SteamNetworkPingLocation_t *result) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation_params *params ) { - float _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetLocalPingLocation(*result); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetLocalPingLocation( *params->result ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations(void *linux_side, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeBetweenTwoLocations(*location1, *location2); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->EstimatePingTimeBetweenTwoLocations( *params->location1, *params->location2 ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost(void *linux_side, const SteamNetworkPingLocation_t *remoteLocation) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeFromLocalHost(*remoteLocation); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->EstimatePingTimeFromLocalHost( *params->remoteLocation ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString(void *linux_side, const SteamNetworkPingLocation_t *location, char *pszBuf, int cchBufSize) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString_params *params ) { - ((ISteamNetworkingUtils*)linux_side)->ConvertPingLocationToString(*location, (char *)pszBuf, (int)cchBufSize); + ((ISteamNetworkingUtils*)params->linux_side)->ConvertPingLocationToString( *params->location, (char *)params->pszBuf, (int)params->cchBufSize ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString(void *linux_side, const char *pszString, SteamNetworkPingLocation_t *result) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->ParsePingLocationString((const char *)pszString, *result); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->ParsePingLocationString( (const char *)params->pszString, *params->result ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate(void *linux_side, float flMaxAgeSeconds) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->CheckPingDataUpToDate((float)flMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->CheckPingDataUpToDate( (float)params->flMaxAgeSeconds ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter(void *linux_side, SteamNetworkingPOPID popID, SteamNetworkingPOPID *pViaRelayPoP) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetPingToDataCenter((SteamNetworkingPOPID)popID, (SteamNetworkingPOPID *)pViaRelayPoP); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetPingToDataCenter( (SteamNetworkingPOPID)params->popID, (SteamNetworkingPOPID *)params->pViaRelayPoP ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP(void *linux_side, SteamNetworkingPOPID popID) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetDirectPingToPOP((SteamNetworkingPOPID)popID); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetDirectPingToPOP( (SteamNetworkingPOPID)params->popID ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount(void *linux_side) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetPOPCount(); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetPOPCount( ); } -int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList(void *linux_side, SteamNetworkingPOPID *list, int nListSz) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList_params *params ) { - int _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetPOPList((SteamNetworkingPOPID *)list, (int)nListSz); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetPOPList( (SteamNetworkingPOPID *)params->list, (int)params->nListSz ); } -SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp(void *linux_side) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp_params *params ) { - SteamNetworkingMicroseconds _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetLocalTimestamp(); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetLocalTimestamp( ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction(void *linux_side, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction_params *params ) { - pfnFunc = (FSteamNetworkingSocketsDebugOutput)manual_convert_FSteamNetworkingSocketsDebugOutput((void*)pfnFunc); - ((ISteamNetworkingUtils*)linux_side)->SetDebugOutputFunction((ESteamNetworkingSocketsDebugOutputType)eDetailLevel, (FSteamNetworkingSocketsDebugOutput)pfnFunc); + params->pfnFunc = (FSteamNetworkingSocketsDebugOutput)manual_convert_FSteamNetworkingSocketsDebugOutput( (void *)params->pfnFunc ); + ((ISteamNetworkingUtils*)params->linux_side)->SetDebugOutputFunction( (ESteamNetworkingSocketsDebugOutputType)params->eDetailLevel, (FSteamNetworkingSocketsDebugOutput)params->pfnFunc ); } -ESteamNetworkingFakeIPType cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType(void *linux_side, uint32 nIPv4) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType_params *params ) { - ESteamNetworkingFakeIPType _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetIPv4FakeIPType((uint32)nIPv4); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetIPv4FakeIPType( (uint32)params->nIPv4 ); } -EResult cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP(void *linux_side, const SteamNetworkingIPAddr *fakeIP, SteamNetworkingIdentity *pOutRealIdentity) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP_params *params ) { - EResult _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetRealIdentityForFakeIP(*fakeIP, (SteamNetworkingIdentity *)pOutRealIdentity); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetRealIdentityForFakeIP( *params->fakeIP, (SteamNetworkingIdentity *)params->pOutRealIdentity ); } -ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType *pOutDataType, void *pResult, size_t *cbResult) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue_params *params ) { - ESteamNetworkingGetConfigValueResult _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType *)pOutDataType, (void *)pResult, (size_t *)cbResult); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetConfigValue( (ESteamNetworkingConfigValue)params->eValue, (ESteamNetworkingConfigScope)params->eScopeType, (intptr_t)params->scopeObj, (ESteamNetworkingConfigDataType *)params->pOutDataType, (void *)params->pResult, (size_t *)params->cbResult ); } -const char * cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigDataType *pOutDataType, ESteamNetworkingConfigScope *pOutScope) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo_params *params ) { - const char *_ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->GetConfigValueInfo((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigDataType *)pOutDataType, (ESteamNetworkingConfigScope *)pOutScope); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->GetConfigValueInfo( (ESteamNetworkingConfigValue)params->eValue, (ESteamNetworkingConfigDataType *)params->pOutDataType, (ESteamNetworkingConfigScope *)params->pOutScope ); } -ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues(void *linux_side, ESteamNetworkingConfigValue eCurrent, bool bEnumerateDevVars) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues_params *params ) { - ESteamNetworkingConfigValue _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->IterateGenericEditableConfigValues((ESteamNetworkingConfigValue)eCurrent, (bool)bEnumerateDevVars); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->IterateGenericEditableConfigValues( (ESteamNetworkingConfigValue)params->eCurrent, (bool)params->bEnumerateDevVars ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString(void *linux_side, const SteamNetworkingIPAddr *addr, char *buf, size_t cbBuf, bool bWithPort) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString_params *params ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ToString(*addr, (char *)buf, (size_t)cbBuf, (bool)bWithPort); + ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIPAddr_ToString( *params->addr, (char *)params->buf, (size_t)params->cbBuf, (bool)params->bWithPort ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString(void *linux_side, SteamNetworkingIPAddr *pAddr, const char *pszStr) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ParseString((SteamNetworkingIPAddr *)pAddr, (const char *)pszStr); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIPAddr_ParseString( (SteamNetworkingIPAddr *)params->pAddr, (const char *)params->pszStr ); } -ESteamNetworkingFakeIPType cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType(void *linux_side, const SteamNetworkingIPAddr *addr) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType_params *params ) { - ESteamNetworkingFakeIPType _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_GetFakeIPType(*addr); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIPAddr_GetFakeIPType( *params->addr ); } -void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString(void *linux_side, const SteamNetworkingIdentity *identity, char *buf, size_t cbBuf) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString_params *params ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ToString(*identity, (char *)buf, (size_t)cbBuf); + ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIdentity_ToString( *params->identity, (char *)params->buf, (size_t)params->cbBuf ); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString(void *linux_side, SteamNetworkingIdentity *pIdentity, const char *pszStr) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString_params *params ) { - bool _ret; - _ret = ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ParseString((SteamNetworkingIdentity *)pIdentity, (const char *)pszStr); - return (_ret); + params->_ret = ((ISteamNetworkingUtils*)params->linux_side)->SteamNetworkingIdentity_ParseString( (SteamNetworkingIdentity *)params->pIdentity, (const char *)params->pszStr ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.h b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.h index d1ef2b90..62b32ec0 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.h +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.h @@ -1,25 +1,221 @@ -extern winSteamNetworkingMessage_t_158 * cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage(void *, int); -extern ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus(void *, SteamRelayNetworkStatus_t *); -extern float cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation(void *, SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations(void *, const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost(void *, const SteamNetworkPingLocation_t *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString(void *, const SteamNetworkPingLocation_t *, char *, int); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString(void *, const char *, SteamNetworkPingLocation_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate(void *, float); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter(void *, SteamNetworkingPOPID, SteamNetworkingPOPID *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP(void *, SteamNetworkingPOPID); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount(void *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList(void *, SteamNetworkingPOPID *, int); -extern SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction(void *, ESteamNetworkingSocketsDebugOutputType, FSteamNetworkingSocketsDebugOutput); -extern ESteamNetworkingFakeIPType cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType(void *, uint32); -extern EResult cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP(void *, const SteamNetworkingIPAddr *, SteamNetworkingIdentity *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType, const void *); -extern ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType *, void *, size_t *); -extern const char * cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigDataType *, ESteamNetworkingConfigScope *); -extern ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues(void *, ESteamNetworkingConfigValue, bool); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString(void *, const SteamNetworkingIPAddr *, char *, size_t, bool); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString(void *, SteamNetworkingIPAddr *, const char *); -extern ESteamNetworkingFakeIPType cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType(void *, const SteamNetworkingIPAddr *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString(void *, const SteamNetworkingIdentity *, char *, size_t); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString(void *, SteamNetworkingIdentity *, const char *); +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage_params +{ + void *linux_side; + winSteamNetworkingMessage_t_158 *_ret; + int cbAllocateBuffer; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus_params +{ + void *linux_side; + ESteamNetworkingAvailability _ret; + SteamRelayNetworkStatus_t *pDetails; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation_params +{ + void *linux_side; + float _ret; + SteamNetworkPingLocation_t *result; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations_params +{ + void *linux_side; + int _ret; + const SteamNetworkPingLocation_t *location1; + const SteamNetworkPingLocation_t *location2; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost_params +{ + void *linux_side; + int _ret; + const SteamNetworkPingLocation_t *remoteLocation; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString_params +{ + void *linux_side; + const SteamNetworkPingLocation_t *location; + char *pszBuf; + int cchBufSize; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString_params +{ + void *linux_side; + bool _ret; + const char *pszString; + SteamNetworkPingLocation_t *result; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate_params +{ + void *linux_side; + bool _ret; + float flMaxAgeSeconds; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter_params +{ + void *linux_side; + int _ret; + SteamNetworkingPOPID popID; + SteamNetworkingPOPID *pViaRelayPoP; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP_params +{ + void *linux_side; + int _ret; + SteamNetworkingPOPID popID; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList_params +{ + void *linux_side; + int _ret; + SteamNetworkingPOPID *list; + int nListSz; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp_params +{ + void *linux_side; + SteamNetworkingMicroseconds _ret; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction_params +{ + void *linux_side; + ESteamNetworkingSocketsDebugOutputType eDetailLevel; + FSteamNetworkingSocketsDebugOutput pfnFunc; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType_params +{ + void *linux_side; + ESteamNetworkingFakeIPType _ret; + uint32 nIPv4; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP_params +{ + void *linux_side; + EResult _ret; + const SteamNetworkingIPAddr *fakeIP; + SteamNetworkingIdentity *pOutRealIdentity; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue_params +{ + void *linux_side; + bool _ret; + ESteamNetworkingConfigValue eValue; + ESteamNetworkingConfigScope eScopeType; + intptr_t scopeObj; + ESteamNetworkingConfigDataType eDataType; + const void *pArg; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue_params +{ + void *linux_side; + ESteamNetworkingGetConfigValueResult _ret; + ESteamNetworkingConfigValue eValue; + ESteamNetworkingConfigScope eScopeType; + intptr_t scopeObj; + ESteamNetworkingConfigDataType *pOutDataType; + void *pResult; + size_t *cbResult; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo_params +{ + void *linux_side; + const char *_ret; + ESteamNetworkingConfigValue eValue; + ESteamNetworkingConfigDataType *pOutDataType; + ESteamNetworkingConfigScope *pOutScope; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues_params +{ + void *linux_side; + ESteamNetworkingConfigValue _ret; + ESteamNetworkingConfigValue eCurrent; + bool bEnumerateDevVars; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString_params +{ + void *linux_side; + const SteamNetworkingIPAddr *addr; + char *buf; + size_t cbBuf; + bool bWithPort; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIPAddr *pAddr; + const char *pszStr; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType_params +{ + void *linux_side; + ESteamNetworkingFakeIPType _ret; + const SteamNetworkingIPAddr *addr; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString_params +{ + void *linux_side; + const SteamNetworkingIdentity *identity; + char *buf; + size_t cbBuf; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString_params *params ); + +struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString_params +{ + void *linux_side; + bool _ret; + SteamNetworkingIdentity *pIdentity; + const char *pszStr; +}; +extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString_params *params ); + diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking001.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking001.cpp index 8ddaa3e0..35c84f89 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking001.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking001.cpp @@ -11,88 +11,64 @@ extern "C" { #define SDKVER_102 #include "struct_converters.h" #include "cppISteamNetworking_SteamNetworking001.h" -SNetListenSocket_t cppISteamNetworking_SteamNetworking001_CreateListenSocket(void *linux_side, int nVirtualP2PPort, uint32 nIP, uint16 nPort) +void cppISteamNetworking_SteamNetworking001_CreateListenSocket( struct cppISteamNetworking_SteamNetworking001_CreateListenSocket_params *params ) { - SNetListenSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (uint32)nIP, (uint16)nPort); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateListenSocket( (int)params->nVirtualP2PPort, (uint32)params->nIP, (uint16)params->nPort ); } -SNetSocket_t cppISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket(void *linux_side, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec) +void cppISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket_params *params ) { - SNetSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateP2PConnectionSocket((CSteamID)steamIDTarget, (int)nVirtualPort, (int)nTimeoutSec); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateP2PConnectionSocket( (CSteamID)params->steamIDTarget, (int)params->nVirtualPort, (int)params->nTimeoutSec ); } -SNetSocket_t cppISteamNetworking_SteamNetworking001_CreateConnectionSocket(void *linux_side, uint32 nIP, uint16 nPort, int nTimeoutSec) +void cppISteamNetworking_SteamNetworking001_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking001_CreateConnectionSocket_params *params ) { - SNetSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateConnectionSocket((uint32)nIP, (uint16)nPort, (int)nTimeoutSec); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateConnectionSocket( (uint32)params->nIP, (uint16)params->nPort, (int)params->nTimeoutSec ); } -bool cppISteamNetworking_SteamNetworking001_DestroySocket(void *linux_side, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +void cppISteamNetworking_SteamNetworking001_DestroySocket( struct cppISteamNetworking_SteamNetworking001_DestroySocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->DestroySocket((SNetSocket_t)hSocket, (bool)bNotifyRemoteEnd); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->DestroySocket( (SNetSocket_t)params->hSocket, (bool)params->bNotifyRemoteEnd ); } -bool cppISteamNetworking_SteamNetworking001_DestroyListenSocket(void *linux_side, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +void cppISteamNetworking_SteamNetworking001_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking001_DestroyListenSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->DestroyListenSocket((SNetListenSocket_t)hSocket, (bool)bNotifyRemoteEnd); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->DestroyListenSocket( (SNetListenSocket_t)params->hSocket, (bool)params->bNotifyRemoteEnd ); } -bool cppISteamNetworking_SteamNetworking001_SendDataOnSocket(void *linux_side, SNetSocket_t hSocket, void *pubData, uint32 cubData, bool bReliable) +void cppISteamNetworking_SteamNetworking001_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking001_SendDataOnSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->SendDataOnSocket((SNetSocket_t)hSocket, (void *)pubData, (uint32)cubData, (bool)bReliable); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->SendDataOnSocket( (SNetSocket_t)params->hSocket, (void *)params->pubData, (uint32)params->cubData, (bool)params->bReliable ); } -bool cppISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket(void *linux_side, SNetSocket_t hSocket, uint32 *pcubMsgSize) +void cppISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsDataAvailableOnSocket((SNetSocket_t)hSocket, (uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsDataAvailableOnSocket( (SNetSocket_t)params->hSocket, (uint32 *)params->pcubMsgSize ); } -bool cppISteamNetworking_SteamNetworking001_RetrieveDataFromSocket(void *linux_side, SNetSocket_t hSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) +void cppISteamNetworking_SteamNetworking001_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking001_RetrieveDataFromSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->RetrieveDataFromSocket((SNetSocket_t)hSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->RetrieveDataFromSocket( (SNetSocket_t)params->hSocket, (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize ); } -bool cppISteamNetworking_SteamNetworking001_IsDataAvailable(void *linux_side, SNetListenSocket_t hListenSocket, uint32 *pcubMsgSize, SNetSocket_t *phSocket) +void cppISteamNetworking_SteamNetworking001_IsDataAvailable( struct cppISteamNetworking_SteamNetworking001_IsDataAvailable_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsDataAvailable((SNetListenSocket_t)hListenSocket, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsDataAvailable( (SNetListenSocket_t)params->hListenSocket, (uint32 *)params->pcubMsgSize, (SNetSocket_t *)params->phSocket ); } -bool cppISteamNetworking_SteamNetworking001_RetrieveData(void *linux_side, SNetListenSocket_t hListenSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, SNetSocket_t *phSocket) +void cppISteamNetworking_SteamNetworking001_RetrieveData( struct cppISteamNetworking_SteamNetworking001_RetrieveData_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->RetrieveData((SNetListenSocket_t)hListenSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->RetrieveData( (SNetListenSocket_t)params->hListenSocket, (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize, (SNetSocket_t *)params->phSocket ); } -bool cppISteamNetworking_SteamNetworking001_GetSocketInfo(void *linux_side, SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, uint32 *punIPRemote, uint16 *punPortRemote) +void cppISteamNetworking_SteamNetworking001_GetSocketInfo( struct cppISteamNetworking_SteamNetworking001_GetSocketInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetSocketInfo((SNetSocket_t)hSocket, (CSteamID *)pSteamIDRemote, (int *)peSocketStatus, (uint32 *)punIPRemote, (uint16 *)punPortRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetSocketInfo( (SNetSocket_t)params->hSocket, (CSteamID *)params->pSteamIDRemote, (int *)params->peSocketStatus, (uint32 *)params->punIPRemote, (uint16 *)params->punPortRemote ); } -bool cppISteamNetworking_SteamNetworking001_GetListenSocketInfo(void *linux_side, SNetListenSocket_t hListenSocket, uint32 *pnIP, uint16 *pnPort) +void cppISteamNetworking_SteamNetworking001_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking001_GetListenSocketInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetListenSocketInfo((SNetListenSocket_t)hListenSocket, (uint32 *)pnIP, (uint16 *)pnPort); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetListenSocketInfo( (SNetListenSocket_t)params->hListenSocket, (uint32 *)params->pnIP, (uint16 *)params->pnPort ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking001.h b/lsteamclient/cppISteamNetworking_SteamNetworking001.h index 007567e4..02a51e0b 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking001.h +++ b/lsteamclient/cppISteamNetworking_SteamNetworking001.h @@ -1,12 +1,123 @@ -extern SNetListenSocket_t cppISteamNetworking_SteamNetworking001_CreateListenSocket(void *, int, uint32, uint16); -extern SNetSocket_t cppISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket(void *, CSteamID, int, int); -extern SNetSocket_t cppISteamNetworking_SteamNetworking001_CreateConnectionSocket(void *, uint32, uint16, int); -extern bool cppISteamNetworking_SteamNetworking001_DestroySocket(void *, SNetSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking001_DestroyListenSocket(void *, SNetListenSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking001_SendDataOnSocket(void *, SNetSocket_t, void *, uint32, bool); -extern bool cppISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket(void *, SNetSocket_t, uint32 *); -extern bool cppISteamNetworking_SteamNetworking001_RetrieveDataFromSocket(void *, SNetSocket_t, void *, uint32, uint32 *); -extern bool cppISteamNetworking_SteamNetworking001_IsDataAvailable(void *, SNetListenSocket_t, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking001_RetrieveData(void *, SNetListenSocket_t, void *, uint32, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking001_GetSocketInfo(void *, SNetSocket_t, CSteamID *, int *, uint32 *, uint16 *); -extern bool cppISteamNetworking_SteamNetworking001_GetListenSocketInfo(void *, SNetListenSocket_t, uint32 *, uint16 *); +struct cppISteamNetworking_SteamNetworking001_CreateListenSocket_params +{ + void *linux_side; + SNetListenSocket_t _ret; + int nVirtualP2PPort; + uint32 nIP; + uint16 nPort; +}; +extern void cppISteamNetworking_SteamNetworking001_CreateListenSocket( struct cppISteamNetworking_SteamNetworking001_CreateListenSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket_params +{ + void *linux_side; + SNetSocket_t _ret; + CSteamID steamIDTarget; + int nVirtualPort; + int nTimeoutSec; +}; +extern void cppISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking001_CreateConnectionSocket_params +{ + void *linux_side; + SNetSocket_t _ret; + uint32 nIP; + uint16 nPort; + int nTimeoutSec; +}; +extern void cppISteamNetworking_SteamNetworking001_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking001_CreateConnectionSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking001_DestroySocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + bool bNotifyRemoteEnd; +}; +extern void cppISteamNetworking_SteamNetworking001_DestroySocket( struct cppISteamNetworking_SteamNetworking001_DestroySocket_params *params ); + +struct cppISteamNetworking_SteamNetworking001_DestroyListenSocket_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hSocket; + bool bNotifyRemoteEnd; +}; +extern void cppISteamNetworking_SteamNetworking001_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking001_DestroyListenSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking001_SendDataOnSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + void *pubData; + uint32 cubData; + bool bReliable; +}; +extern void cppISteamNetworking_SteamNetworking001_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking001_SendDataOnSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + uint32 *pcubMsgSize; +}; +extern void cppISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking001_RetrieveDataFromSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; +}; +extern void cppISteamNetworking_SteamNetworking001_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking001_RetrieveDataFromSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking001_IsDataAvailable_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + uint32 *pcubMsgSize; + SNetSocket_t *phSocket; +}; +extern void cppISteamNetworking_SteamNetworking001_IsDataAvailable( struct cppISteamNetworking_SteamNetworking001_IsDataAvailable_params *params ); + +struct cppISteamNetworking_SteamNetworking001_RetrieveData_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; + SNetSocket_t *phSocket; +}; +extern void cppISteamNetworking_SteamNetworking001_RetrieveData( struct cppISteamNetworking_SteamNetworking001_RetrieveData_params *params ); + +struct cppISteamNetworking_SteamNetworking001_GetSocketInfo_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + CSteamID *pSteamIDRemote; + int *peSocketStatus; + uint32 *punIPRemote; + uint16 *punPortRemote; +}; +extern void cppISteamNetworking_SteamNetworking001_GetSocketInfo( struct cppISteamNetworking_SteamNetworking001_GetSocketInfo_params *params ); + +struct cppISteamNetworking_SteamNetworking001_GetListenSocketInfo_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + uint32 *pnIP; + uint16 *pnPort; +}; +extern void cppISteamNetworking_SteamNetworking001_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking001_GetListenSocketInfo_params *params ); + diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking002.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking002.cpp index 1dce6bab..7a01f975 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking002.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking002.cpp @@ -11,102 +11,74 @@ extern "C" { #define SDKVER_104 #include "struct_converters.h" #include "cppISteamNetworking_SteamNetworking002.h" -SNetListenSocket_t cppISteamNetworking_SteamNetworking002_CreateListenSocket(void *linux_side, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +void cppISteamNetworking_SteamNetworking002_CreateListenSocket( struct cppISteamNetworking_SteamNetworking002_CreateListenSocket_params *params ) { - SNetListenSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (uint32)nIP, (uint16)nPort, (bool)bAllowUseOfPacketRelay); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateListenSocket( (int)params->nVirtualP2PPort, (uint32)params->nIP, (uint16)params->nPort, (bool)params->bAllowUseOfPacketRelay ); } -SNetSocket_t cppISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket(void *linux_side, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +void cppISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket_params *params ) { - SNetSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateP2PConnectionSocket((CSteamID)steamIDTarget, (int)nVirtualPort, (int)nTimeoutSec, (bool)bAllowUseOfPacketRelay); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateP2PConnectionSocket( (CSteamID)params->steamIDTarget, (int)params->nVirtualPort, (int)params->nTimeoutSec, (bool)params->bAllowUseOfPacketRelay ); } -SNetSocket_t cppISteamNetworking_SteamNetworking002_CreateConnectionSocket(void *linux_side, uint32 nIP, uint16 nPort, int nTimeoutSec) +void cppISteamNetworking_SteamNetworking002_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking002_CreateConnectionSocket_params *params ) { - SNetSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateConnectionSocket((uint32)nIP, (uint16)nPort, (int)nTimeoutSec); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateConnectionSocket( (uint32)params->nIP, (uint16)params->nPort, (int)params->nTimeoutSec ); } -bool cppISteamNetworking_SteamNetworking002_DestroySocket(void *linux_side, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +void cppISteamNetworking_SteamNetworking002_DestroySocket( struct cppISteamNetworking_SteamNetworking002_DestroySocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->DestroySocket((SNetSocket_t)hSocket, (bool)bNotifyRemoteEnd); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->DestroySocket( (SNetSocket_t)params->hSocket, (bool)params->bNotifyRemoteEnd ); } -bool cppISteamNetworking_SteamNetworking002_DestroyListenSocket(void *linux_side, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +void cppISteamNetworking_SteamNetworking002_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking002_DestroyListenSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->DestroyListenSocket((SNetListenSocket_t)hSocket, (bool)bNotifyRemoteEnd); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->DestroyListenSocket( (SNetListenSocket_t)params->hSocket, (bool)params->bNotifyRemoteEnd ); } -bool cppISteamNetworking_SteamNetworking002_SendDataOnSocket(void *linux_side, SNetSocket_t hSocket, void *pubData, uint32 cubData, bool bReliable) +void cppISteamNetworking_SteamNetworking002_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking002_SendDataOnSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->SendDataOnSocket((SNetSocket_t)hSocket, (void *)pubData, (uint32)cubData, (bool)bReliable); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->SendDataOnSocket( (SNetSocket_t)params->hSocket, (void *)params->pubData, (uint32)params->cubData, (bool)params->bReliable ); } -bool cppISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket(void *linux_side, SNetSocket_t hSocket, uint32 *pcubMsgSize) +void cppISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsDataAvailableOnSocket((SNetSocket_t)hSocket, (uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsDataAvailableOnSocket( (SNetSocket_t)params->hSocket, (uint32 *)params->pcubMsgSize ); } -bool cppISteamNetworking_SteamNetworking002_RetrieveDataFromSocket(void *linux_side, SNetSocket_t hSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) +void cppISteamNetworking_SteamNetworking002_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking002_RetrieveDataFromSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->RetrieveDataFromSocket((SNetSocket_t)hSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->RetrieveDataFromSocket( (SNetSocket_t)params->hSocket, (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize ); } -bool cppISteamNetworking_SteamNetworking002_IsDataAvailable(void *linux_side, SNetListenSocket_t hListenSocket, uint32 *pcubMsgSize, SNetSocket_t *phSocket) +void cppISteamNetworking_SteamNetworking002_IsDataAvailable( struct cppISteamNetworking_SteamNetworking002_IsDataAvailable_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsDataAvailable((SNetListenSocket_t)hListenSocket, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsDataAvailable( (SNetListenSocket_t)params->hListenSocket, (uint32 *)params->pcubMsgSize, (SNetSocket_t *)params->phSocket ); } -bool cppISteamNetworking_SteamNetworking002_RetrieveData(void *linux_side, SNetListenSocket_t hListenSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, SNetSocket_t *phSocket) +void cppISteamNetworking_SteamNetworking002_RetrieveData( struct cppISteamNetworking_SteamNetworking002_RetrieveData_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->RetrieveData((SNetListenSocket_t)hListenSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->RetrieveData( (SNetListenSocket_t)params->hListenSocket, (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize, (SNetSocket_t *)params->phSocket ); } -bool cppISteamNetworking_SteamNetworking002_GetSocketInfo(void *linux_side, SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, uint32 *punIPRemote, uint16 *punPortRemote) +void cppISteamNetworking_SteamNetworking002_GetSocketInfo( struct cppISteamNetworking_SteamNetworking002_GetSocketInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetSocketInfo((SNetSocket_t)hSocket, (CSteamID *)pSteamIDRemote, (int *)peSocketStatus, (uint32 *)punIPRemote, (uint16 *)punPortRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetSocketInfo( (SNetSocket_t)params->hSocket, (CSteamID *)params->pSteamIDRemote, (int *)params->peSocketStatus, (uint32 *)params->punIPRemote, (uint16 *)params->punPortRemote ); } -bool cppISteamNetworking_SteamNetworking002_GetListenSocketInfo(void *linux_side, SNetListenSocket_t hListenSocket, uint32 *pnIP, uint16 *pnPort) +void cppISteamNetworking_SteamNetworking002_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking002_GetListenSocketInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetListenSocketInfo((SNetListenSocket_t)hListenSocket, (uint32 *)pnIP, (uint16 *)pnPort); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetListenSocketInfo( (SNetListenSocket_t)params->hListenSocket, (uint32 *)params->pnIP, (uint16 *)params->pnPort ); } -ESNetSocketConnectionType cppISteamNetworking_SteamNetworking002_GetSocketConnectionType(void *linux_side, SNetSocket_t hSocket) +void cppISteamNetworking_SteamNetworking002_GetSocketConnectionType( struct cppISteamNetworking_SteamNetworking002_GetSocketConnectionType_params *params ) { - ESNetSocketConnectionType _ret; - _ret = ((ISteamNetworking*)linux_side)->GetSocketConnectionType((SNetSocket_t)hSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetSocketConnectionType( (SNetSocket_t)params->hSocket ); } -int cppISteamNetworking_SteamNetworking002_GetMaxPacketSize(void *linux_side, SNetSocket_t hSocket) +void cppISteamNetworking_SteamNetworking002_GetMaxPacketSize( struct cppISteamNetworking_SteamNetworking002_GetMaxPacketSize_params *params ) { - int _ret; - _ret = ((ISteamNetworking*)linux_side)->GetMaxPacketSize((SNetSocket_t)hSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetMaxPacketSize( (SNetSocket_t)params->hSocket ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking002.h b/lsteamclient/cppISteamNetworking_SteamNetworking002.h index e040ee54..cbfaf028 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking002.h +++ b/lsteamclient/cppISteamNetworking_SteamNetworking002.h @@ -1,14 +1,141 @@ -extern SNetListenSocket_t cppISteamNetworking_SteamNetworking002_CreateListenSocket(void *, int, uint32, uint16, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket(void *, CSteamID, int, int, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking002_CreateConnectionSocket(void *, uint32, uint16, int); -extern bool cppISteamNetworking_SteamNetworking002_DestroySocket(void *, SNetSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking002_DestroyListenSocket(void *, SNetListenSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking002_SendDataOnSocket(void *, SNetSocket_t, void *, uint32, bool); -extern bool cppISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket(void *, SNetSocket_t, uint32 *); -extern bool cppISteamNetworking_SteamNetworking002_RetrieveDataFromSocket(void *, SNetSocket_t, void *, uint32, uint32 *); -extern bool cppISteamNetworking_SteamNetworking002_IsDataAvailable(void *, SNetListenSocket_t, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking002_RetrieveData(void *, SNetListenSocket_t, void *, uint32, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking002_GetSocketInfo(void *, SNetSocket_t, CSteamID *, int *, uint32 *, uint16 *); -extern bool cppISteamNetworking_SteamNetworking002_GetListenSocketInfo(void *, SNetListenSocket_t, uint32 *, uint16 *); -extern ESNetSocketConnectionType cppISteamNetworking_SteamNetworking002_GetSocketConnectionType(void *, SNetSocket_t); -extern int cppISteamNetworking_SteamNetworking002_GetMaxPacketSize(void *, SNetSocket_t); +struct cppISteamNetworking_SteamNetworking002_CreateListenSocket_params +{ + void *linux_side; + SNetListenSocket_t _ret; + int nVirtualP2PPort; + uint32 nIP; + uint16 nPort; + bool bAllowUseOfPacketRelay; +}; +extern void cppISteamNetworking_SteamNetworking002_CreateListenSocket( struct cppISteamNetworking_SteamNetworking002_CreateListenSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket_params +{ + void *linux_side; + SNetSocket_t _ret; + CSteamID steamIDTarget; + int nVirtualPort; + int nTimeoutSec; + bool bAllowUseOfPacketRelay; +}; +extern void cppISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking002_CreateConnectionSocket_params +{ + void *linux_side; + SNetSocket_t _ret; + uint32 nIP; + uint16 nPort; + int nTimeoutSec; +}; +extern void cppISteamNetworking_SteamNetworking002_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking002_CreateConnectionSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking002_DestroySocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + bool bNotifyRemoteEnd; +}; +extern void cppISteamNetworking_SteamNetworking002_DestroySocket( struct cppISteamNetworking_SteamNetworking002_DestroySocket_params *params ); + +struct cppISteamNetworking_SteamNetworking002_DestroyListenSocket_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hSocket; + bool bNotifyRemoteEnd; +}; +extern void cppISteamNetworking_SteamNetworking002_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking002_DestroyListenSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking002_SendDataOnSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + void *pubData; + uint32 cubData; + bool bReliable; +}; +extern void cppISteamNetworking_SteamNetworking002_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking002_SendDataOnSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + uint32 *pcubMsgSize; +}; +extern void cppISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking002_RetrieveDataFromSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; +}; +extern void cppISteamNetworking_SteamNetworking002_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking002_RetrieveDataFromSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking002_IsDataAvailable_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + uint32 *pcubMsgSize; + SNetSocket_t *phSocket; +}; +extern void cppISteamNetworking_SteamNetworking002_IsDataAvailable( struct cppISteamNetworking_SteamNetworking002_IsDataAvailable_params *params ); + +struct cppISteamNetworking_SteamNetworking002_RetrieveData_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; + SNetSocket_t *phSocket; +}; +extern void cppISteamNetworking_SteamNetworking002_RetrieveData( struct cppISteamNetworking_SteamNetworking002_RetrieveData_params *params ); + +struct cppISteamNetworking_SteamNetworking002_GetSocketInfo_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + CSteamID *pSteamIDRemote; + int *peSocketStatus; + uint32 *punIPRemote; + uint16 *punPortRemote; +}; +extern void cppISteamNetworking_SteamNetworking002_GetSocketInfo( struct cppISteamNetworking_SteamNetworking002_GetSocketInfo_params *params ); + +struct cppISteamNetworking_SteamNetworking002_GetListenSocketInfo_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + uint32 *pnIP; + uint16 *pnPort; +}; +extern void cppISteamNetworking_SteamNetworking002_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking002_GetListenSocketInfo_params *params ); + +struct cppISteamNetworking_SteamNetworking002_GetSocketConnectionType_params +{ + void *linux_side; + ESNetSocketConnectionType _ret; + SNetSocket_t hSocket; +}; +extern void cppISteamNetworking_SteamNetworking002_GetSocketConnectionType( struct cppISteamNetworking_SteamNetworking002_GetSocketConnectionType_params *params ); + +struct cppISteamNetworking_SteamNetworking002_GetMaxPacketSize_params +{ + void *linux_side; + int _ret; + SNetSocket_t hSocket; +}; +extern void cppISteamNetworking_SteamNetworking002_GetMaxPacketSize( struct cppISteamNetworking_SteamNetworking002_GetMaxPacketSize_params *params ); + diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking003.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking003.cpp index 0e071667..eb9d602c 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking003.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking003.cpp @@ -11,144 +11,104 @@ extern "C" { #define SDKVER_110 #include "struct_converters.h" #include "cppISteamNetworking_SteamNetworking003.h" -bool cppISteamNetworking_SteamNetworking003_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void *pubData, uint32 cubData, EP2PSend eP2PSendType) +void cppISteamNetworking_SteamNetworking003_SendP2PPacket( struct cppISteamNetworking_SteamNetworking003_SendP2PPacket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->SendP2PPacket((CSteamID)steamIDRemote, (const void *)pubData, (uint32)cubData, (EP2PSend)eP2PSendType); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->SendP2PPacket( (CSteamID)params->steamIDRemote, (const void *)params->pubData, (uint32)params->cubData, (EP2PSend)params->eP2PSendType ); } -bool cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable(void *linux_side, uint32 *pcubMsgSize) +void cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable( struct cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsP2PPacketAvailable((uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsP2PPacketAvailable( (uint32 *)params->pcubMsgSize ); } -bool cppISteamNetworking_SteamNetworking003_ReadP2PPacket(void *linux_side, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, CSteamID *psteamIDRemote) +void cppISteamNetworking_SteamNetworking003_ReadP2PPacket( struct cppISteamNetworking_SteamNetworking003_ReadP2PPacket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->ReadP2PPacket((void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (CSteamID *)psteamIDRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->ReadP2PPacket( (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize, (CSteamID *)params->psteamIDRemote ); } -bool cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +void cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->AcceptP2PSessionWithUser((CSteamID)steamIDRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->AcceptP2PSessionWithUser( (CSteamID)params->steamIDRemote ); } -bool cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +void cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->CloseP2PSessionWithUser((CSteamID)steamIDRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CloseP2PSessionWithUser( (CSteamID)params->steamIDRemote ); } -bool cppISteamNetworking_SteamNetworking003_GetP2PSessionState(void *linux_side, CSteamID steamIDRemote, P2PSessionState_t *pConnectionState) +void cppISteamNetworking_SteamNetworking003_GetP2PSessionState( struct cppISteamNetworking_SteamNetworking003_GetP2PSessionState_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetP2PSessionState((CSteamID)steamIDRemote, (P2PSessionState_t *)pConnectionState); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetP2PSessionState( (CSteamID)params->steamIDRemote, (P2PSessionState_t *)params->pConnectionState ); } -SNetListenSocket_t cppISteamNetworking_SteamNetworking003_CreateListenSocket(void *linux_side, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +void cppISteamNetworking_SteamNetworking003_CreateListenSocket( struct cppISteamNetworking_SteamNetworking003_CreateListenSocket_params *params ) { - SNetListenSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (uint32)nIP, (uint16)nPort, (bool)bAllowUseOfPacketRelay); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateListenSocket( (int)params->nVirtualP2PPort, (uint32)params->nIP, (uint16)params->nPort, (bool)params->bAllowUseOfPacketRelay ); } -SNetSocket_t cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket(void *linux_side, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +void cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket_params *params ) { - SNetSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateP2PConnectionSocket((CSteamID)steamIDTarget, (int)nVirtualPort, (int)nTimeoutSec, (bool)bAllowUseOfPacketRelay); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateP2PConnectionSocket( (CSteamID)params->steamIDTarget, (int)params->nVirtualPort, (int)params->nTimeoutSec, (bool)params->bAllowUseOfPacketRelay ); } -SNetSocket_t cppISteamNetworking_SteamNetworking003_CreateConnectionSocket(void *linux_side, uint32 nIP, uint16 nPort, int nTimeoutSec) +void cppISteamNetworking_SteamNetworking003_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking003_CreateConnectionSocket_params *params ) { - SNetSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateConnectionSocket((uint32)nIP, (uint16)nPort, (int)nTimeoutSec); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateConnectionSocket( (uint32)params->nIP, (uint16)params->nPort, (int)params->nTimeoutSec ); } -bool cppISteamNetworking_SteamNetworking003_DestroySocket(void *linux_side, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +void cppISteamNetworking_SteamNetworking003_DestroySocket( struct cppISteamNetworking_SteamNetworking003_DestroySocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->DestroySocket((SNetSocket_t)hSocket, (bool)bNotifyRemoteEnd); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->DestroySocket( (SNetSocket_t)params->hSocket, (bool)params->bNotifyRemoteEnd ); } -bool cppISteamNetworking_SteamNetworking003_DestroyListenSocket(void *linux_side, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +void cppISteamNetworking_SteamNetworking003_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking003_DestroyListenSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->DestroyListenSocket((SNetListenSocket_t)hSocket, (bool)bNotifyRemoteEnd); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->DestroyListenSocket( (SNetListenSocket_t)params->hSocket, (bool)params->bNotifyRemoteEnd ); } -bool cppISteamNetworking_SteamNetworking003_SendDataOnSocket(void *linux_side, SNetSocket_t hSocket, void *pubData, uint32 cubData, bool bReliable) +void cppISteamNetworking_SteamNetworking003_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking003_SendDataOnSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->SendDataOnSocket((SNetSocket_t)hSocket, (void *)pubData, (uint32)cubData, (bool)bReliable); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->SendDataOnSocket( (SNetSocket_t)params->hSocket, (void *)params->pubData, (uint32)params->cubData, (bool)params->bReliable ); } -bool cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket(void *linux_side, SNetSocket_t hSocket, uint32 *pcubMsgSize) +void cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsDataAvailableOnSocket((SNetSocket_t)hSocket, (uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsDataAvailableOnSocket( (SNetSocket_t)params->hSocket, (uint32 *)params->pcubMsgSize ); } -bool cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket(void *linux_side, SNetSocket_t hSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) +void cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->RetrieveDataFromSocket((SNetSocket_t)hSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->RetrieveDataFromSocket( (SNetSocket_t)params->hSocket, (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize ); } -bool cppISteamNetworking_SteamNetworking003_IsDataAvailable(void *linux_side, SNetListenSocket_t hListenSocket, uint32 *pcubMsgSize, SNetSocket_t *phSocket) +void cppISteamNetworking_SteamNetworking003_IsDataAvailable( struct cppISteamNetworking_SteamNetworking003_IsDataAvailable_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsDataAvailable((SNetListenSocket_t)hListenSocket, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsDataAvailable( (SNetListenSocket_t)params->hListenSocket, (uint32 *)params->pcubMsgSize, (SNetSocket_t *)params->phSocket ); } -bool cppISteamNetworking_SteamNetworking003_RetrieveData(void *linux_side, SNetListenSocket_t hListenSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, SNetSocket_t *phSocket) +void cppISteamNetworking_SteamNetworking003_RetrieveData( struct cppISteamNetworking_SteamNetworking003_RetrieveData_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->RetrieveData((SNetListenSocket_t)hListenSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->RetrieveData( (SNetListenSocket_t)params->hListenSocket, (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize, (SNetSocket_t *)params->phSocket ); } -bool cppISteamNetworking_SteamNetworking003_GetSocketInfo(void *linux_side, SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, uint32 *punIPRemote, uint16 *punPortRemote) +void cppISteamNetworking_SteamNetworking003_GetSocketInfo( struct cppISteamNetworking_SteamNetworking003_GetSocketInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetSocketInfo((SNetSocket_t)hSocket, (CSteamID *)pSteamIDRemote, (int *)peSocketStatus, (uint32 *)punIPRemote, (uint16 *)punPortRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetSocketInfo( (SNetSocket_t)params->hSocket, (CSteamID *)params->pSteamIDRemote, (int *)params->peSocketStatus, (uint32 *)params->punIPRemote, (uint16 *)params->punPortRemote ); } -bool cppISteamNetworking_SteamNetworking003_GetListenSocketInfo(void *linux_side, SNetListenSocket_t hListenSocket, uint32 *pnIP, uint16 *pnPort) +void cppISteamNetworking_SteamNetworking003_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking003_GetListenSocketInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetListenSocketInfo((SNetListenSocket_t)hListenSocket, (uint32 *)pnIP, (uint16 *)pnPort); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetListenSocketInfo( (SNetListenSocket_t)params->hListenSocket, (uint32 *)params->pnIP, (uint16 *)params->pnPort ); } -ESNetSocketConnectionType cppISteamNetworking_SteamNetworking003_GetSocketConnectionType(void *linux_side, SNetSocket_t hSocket) +void cppISteamNetworking_SteamNetworking003_GetSocketConnectionType( struct cppISteamNetworking_SteamNetworking003_GetSocketConnectionType_params *params ) { - ESNetSocketConnectionType _ret; - _ret = ((ISteamNetworking*)linux_side)->GetSocketConnectionType((SNetSocket_t)hSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetSocketConnectionType( (SNetSocket_t)params->hSocket ); } -int cppISteamNetworking_SteamNetworking003_GetMaxPacketSize(void *linux_side, SNetSocket_t hSocket) +void cppISteamNetworking_SteamNetworking003_GetMaxPacketSize( struct cppISteamNetworking_SteamNetworking003_GetMaxPacketSize_params *params ) { - int _ret; - _ret = ((ISteamNetworking*)linux_side)->GetMaxPacketSize((SNetSocket_t)hSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetMaxPacketSize( (SNetSocket_t)params->hSocket ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking003.h b/lsteamclient/cppISteamNetworking_SteamNetworking003.h index 4938e32c..88f110b7 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking003.h +++ b/lsteamclient/cppISteamNetworking_SteamNetworking003.h @@ -1,20 +1,196 @@ -extern bool cppISteamNetworking_SteamNetworking003_SendP2PPacket(void *, CSteamID, const void *, uint32, EP2PSend); -extern bool cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable(void *, uint32 *); -extern bool cppISteamNetworking_SteamNetworking003_ReadP2PPacket(void *, void *, uint32, uint32 *, CSteamID *); -extern bool cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking003_GetP2PSessionState(void *, CSteamID, P2PSessionState_t *); -extern SNetListenSocket_t cppISteamNetworking_SteamNetworking003_CreateListenSocket(void *, int, uint32, uint16, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket(void *, CSteamID, int, int, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking003_CreateConnectionSocket(void *, uint32, uint16, int); -extern bool cppISteamNetworking_SteamNetworking003_DestroySocket(void *, SNetSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking003_DestroyListenSocket(void *, SNetListenSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking003_SendDataOnSocket(void *, SNetSocket_t, void *, uint32, bool); -extern bool cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket(void *, SNetSocket_t, uint32 *); -extern bool cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket(void *, SNetSocket_t, void *, uint32, uint32 *); -extern bool cppISteamNetworking_SteamNetworking003_IsDataAvailable(void *, SNetListenSocket_t, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking003_RetrieveData(void *, SNetListenSocket_t, void *, uint32, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking003_GetSocketInfo(void *, SNetSocket_t, CSteamID *, int *, uint32 *, uint16 *); -extern bool cppISteamNetworking_SteamNetworking003_GetListenSocketInfo(void *, SNetListenSocket_t, uint32 *, uint16 *); -extern ESNetSocketConnectionType cppISteamNetworking_SteamNetworking003_GetSocketConnectionType(void *, SNetSocket_t); -extern int cppISteamNetworking_SteamNetworking003_GetMaxPacketSize(void *, SNetSocket_t); +struct cppISteamNetworking_SteamNetworking003_SendP2PPacket_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; + const void *pubData; + uint32 cubData; + EP2PSend eP2PSendType; +}; +extern void cppISteamNetworking_SteamNetworking003_SendP2PPacket( struct cppISteamNetworking_SteamNetworking003_SendP2PPacket_params *params ); + +struct cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable_params +{ + void *linux_side; + bool _ret; + uint32 *pcubMsgSize; +}; +extern void cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable( struct cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable_params *params ); + +struct cppISteamNetworking_SteamNetworking003_ReadP2PPacket_params +{ + void *linux_side; + bool _ret; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; + CSteamID *psteamIDRemote; +}; +extern void cppISteamNetworking_SteamNetworking003_ReadP2PPacket( struct cppISteamNetworking_SteamNetworking003_ReadP2PPacket_params *params ); + +struct cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; +}; +extern void cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser_params *params ); + +struct cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; +}; +extern void cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser_params *params ); + +struct cppISteamNetworking_SteamNetworking003_GetP2PSessionState_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; + P2PSessionState_t *pConnectionState; +}; +extern void cppISteamNetworking_SteamNetworking003_GetP2PSessionState( struct cppISteamNetworking_SteamNetworking003_GetP2PSessionState_params *params ); + +struct cppISteamNetworking_SteamNetworking003_CreateListenSocket_params +{ + void *linux_side; + SNetListenSocket_t _ret; + int nVirtualP2PPort; + uint32 nIP; + uint16 nPort; + bool bAllowUseOfPacketRelay; +}; +extern void cppISteamNetworking_SteamNetworking003_CreateListenSocket( struct cppISteamNetworking_SteamNetworking003_CreateListenSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket_params +{ + void *linux_side; + SNetSocket_t _ret; + CSteamID steamIDTarget; + int nVirtualPort; + int nTimeoutSec; + bool bAllowUseOfPacketRelay; +}; +extern void cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking003_CreateConnectionSocket_params +{ + void *linux_side; + SNetSocket_t _ret; + uint32 nIP; + uint16 nPort; + int nTimeoutSec; +}; +extern void cppISteamNetworking_SteamNetworking003_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking003_CreateConnectionSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking003_DestroySocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + bool bNotifyRemoteEnd; +}; +extern void cppISteamNetworking_SteamNetworking003_DestroySocket( struct cppISteamNetworking_SteamNetworking003_DestroySocket_params *params ); + +struct cppISteamNetworking_SteamNetworking003_DestroyListenSocket_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hSocket; + bool bNotifyRemoteEnd; +}; +extern void cppISteamNetworking_SteamNetworking003_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking003_DestroyListenSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking003_SendDataOnSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + void *pubData; + uint32 cubData; + bool bReliable; +}; +extern void cppISteamNetworking_SteamNetworking003_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking003_SendDataOnSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + uint32 *pcubMsgSize; +}; +extern void cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; +}; +extern void cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking003_IsDataAvailable_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + uint32 *pcubMsgSize; + SNetSocket_t *phSocket; +}; +extern void cppISteamNetworking_SteamNetworking003_IsDataAvailable( struct cppISteamNetworking_SteamNetworking003_IsDataAvailable_params *params ); + +struct cppISteamNetworking_SteamNetworking003_RetrieveData_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; + SNetSocket_t *phSocket; +}; +extern void cppISteamNetworking_SteamNetworking003_RetrieveData( struct cppISteamNetworking_SteamNetworking003_RetrieveData_params *params ); + +struct cppISteamNetworking_SteamNetworking003_GetSocketInfo_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + CSteamID *pSteamIDRemote; + int *peSocketStatus; + uint32 *punIPRemote; + uint16 *punPortRemote; +}; +extern void cppISteamNetworking_SteamNetworking003_GetSocketInfo( struct cppISteamNetworking_SteamNetworking003_GetSocketInfo_params *params ); + +struct cppISteamNetworking_SteamNetworking003_GetListenSocketInfo_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + uint32 *pnIP; + uint16 *pnPort; +}; +extern void cppISteamNetworking_SteamNetworking003_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking003_GetListenSocketInfo_params *params ); + +struct cppISteamNetworking_SteamNetworking003_GetSocketConnectionType_params +{ + void *linux_side; + ESNetSocketConnectionType _ret; + SNetSocket_t hSocket; +}; +extern void cppISteamNetworking_SteamNetworking003_GetSocketConnectionType( struct cppISteamNetworking_SteamNetworking003_GetSocketConnectionType_params *params ); + +struct cppISteamNetworking_SteamNetworking003_GetMaxPacketSize_params +{ + void *linux_side; + int _ret; + SNetSocket_t hSocket; +}; +extern void cppISteamNetworking_SteamNetworking003_GetMaxPacketSize( struct cppISteamNetworking_SteamNetworking003_GetMaxPacketSize_params *params ); + diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking004.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking004.cpp index e13fcdb3..f7668f28 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking004.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking004.cpp @@ -11,144 +11,104 @@ extern "C" { #define SDKVER_112 #include "struct_converters.h" #include "cppISteamNetworking_SteamNetworking004.h" -bool cppISteamNetworking_SteamNetworking004_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void *pubData, uint32 cubData, EP2PSend eP2PSendType, int nVirtualPort) +void cppISteamNetworking_SteamNetworking004_SendP2PPacket( struct cppISteamNetworking_SteamNetworking004_SendP2PPacket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->SendP2PPacket((CSteamID)steamIDRemote, (const void *)pubData, (uint32)cubData, (EP2PSend)eP2PSendType, (int)nVirtualPort); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->SendP2PPacket( (CSteamID)params->steamIDRemote, (const void *)params->pubData, (uint32)params->cubData, (EP2PSend)params->eP2PSendType, (int)params->nVirtualPort ); } -bool cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable(void *linux_side, uint32 *pcubMsgSize, int nVirtualPort) +void cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable( struct cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsP2PPacketAvailable((uint32 *)pcubMsgSize, (int)nVirtualPort); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsP2PPacketAvailable( (uint32 *)params->pcubMsgSize, (int)params->nVirtualPort ); } -bool cppISteamNetworking_SteamNetworking004_ReadP2PPacket(void *linux_side, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, CSteamID *psteamIDRemote, int nVirtualPort) +void cppISteamNetworking_SteamNetworking004_ReadP2PPacket( struct cppISteamNetworking_SteamNetworking004_ReadP2PPacket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->ReadP2PPacket((void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (CSteamID *)psteamIDRemote, (int)nVirtualPort); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->ReadP2PPacket( (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize, (CSteamID *)params->psteamIDRemote, (int)params->nVirtualPort ); } -bool cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +void cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->AcceptP2PSessionWithUser((CSteamID)steamIDRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->AcceptP2PSessionWithUser( (CSteamID)params->steamIDRemote ); } -bool cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +void cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->CloseP2PSessionWithUser((CSteamID)steamIDRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CloseP2PSessionWithUser( (CSteamID)params->steamIDRemote ); } -bool cppISteamNetworking_SteamNetworking004_GetP2PSessionState(void *linux_side, CSteamID steamIDRemote, P2PSessionState_t *pConnectionState) +void cppISteamNetworking_SteamNetworking004_GetP2PSessionState( struct cppISteamNetworking_SteamNetworking004_GetP2PSessionState_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetP2PSessionState((CSteamID)steamIDRemote, (P2PSessionState_t *)pConnectionState); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetP2PSessionState( (CSteamID)params->steamIDRemote, (P2PSessionState_t *)params->pConnectionState ); } -SNetListenSocket_t cppISteamNetworking_SteamNetworking004_CreateListenSocket(void *linux_side, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +void cppISteamNetworking_SteamNetworking004_CreateListenSocket( struct cppISteamNetworking_SteamNetworking004_CreateListenSocket_params *params ) { - SNetListenSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (uint32)nIP, (uint16)nPort, (bool)bAllowUseOfPacketRelay); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateListenSocket( (int)params->nVirtualP2PPort, (uint32)params->nIP, (uint16)params->nPort, (bool)params->bAllowUseOfPacketRelay ); } -SNetSocket_t cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket(void *linux_side, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +void cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket_params *params ) { - SNetSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateP2PConnectionSocket((CSteamID)steamIDTarget, (int)nVirtualPort, (int)nTimeoutSec, (bool)bAllowUseOfPacketRelay); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateP2PConnectionSocket( (CSteamID)params->steamIDTarget, (int)params->nVirtualPort, (int)params->nTimeoutSec, (bool)params->bAllowUseOfPacketRelay ); } -SNetSocket_t cppISteamNetworking_SteamNetworking004_CreateConnectionSocket(void *linux_side, uint32 nIP, uint16 nPort, int nTimeoutSec) +void cppISteamNetworking_SteamNetworking004_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking004_CreateConnectionSocket_params *params ) { - SNetSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateConnectionSocket((uint32)nIP, (uint16)nPort, (int)nTimeoutSec); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateConnectionSocket( (uint32)params->nIP, (uint16)params->nPort, (int)params->nTimeoutSec ); } -bool cppISteamNetworking_SteamNetworking004_DestroySocket(void *linux_side, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +void cppISteamNetworking_SteamNetworking004_DestroySocket( struct cppISteamNetworking_SteamNetworking004_DestroySocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->DestroySocket((SNetSocket_t)hSocket, (bool)bNotifyRemoteEnd); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->DestroySocket( (SNetSocket_t)params->hSocket, (bool)params->bNotifyRemoteEnd ); } -bool cppISteamNetworking_SteamNetworking004_DestroyListenSocket(void *linux_side, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +void cppISteamNetworking_SteamNetworking004_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking004_DestroyListenSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->DestroyListenSocket((SNetListenSocket_t)hSocket, (bool)bNotifyRemoteEnd); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->DestroyListenSocket( (SNetListenSocket_t)params->hSocket, (bool)params->bNotifyRemoteEnd ); } -bool cppISteamNetworking_SteamNetworking004_SendDataOnSocket(void *linux_side, SNetSocket_t hSocket, void *pubData, uint32 cubData, bool bReliable) +void cppISteamNetworking_SteamNetworking004_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking004_SendDataOnSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->SendDataOnSocket((SNetSocket_t)hSocket, (void *)pubData, (uint32)cubData, (bool)bReliable); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->SendDataOnSocket( (SNetSocket_t)params->hSocket, (void *)params->pubData, (uint32)params->cubData, (bool)params->bReliable ); } -bool cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket(void *linux_side, SNetSocket_t hSocket, uint32 *pcubMsgSize) +void cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsDataAvailableOnSocket((SNetSocket_t)hSocket, (uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsDataAvailableOnSocket( (SNetSocket_t)params->hSocket, (uint32 *)params->pcubMsgSize ); } -bool cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket(void *linux_side, SNetSocket_t hSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) +void cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->RetrieveDataFromSocket((SNetSocket_t)hSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->RetrieveDataFromSocket( (SNetSocket_t)params->hSocket, (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize ); } -bool cppISteamNetworking_SteamNetworking004_IsDataAvailable(void *linux_side, SNetListenSocket_t hListenSocket, uint32 *pcubMsgSize, SNetSocket_t *phSocket) +void cppISteamNetworking_SteamNetworking004_IsDataAvailable( struct cppISteamNetworking_SteamNetworking004_IsDataAvailable_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsDataAvailable((SNetListenSocket_t)hListenSocket, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsDataAvailable( (SNetListenSocket_t)params->hListenSocket, (uint32 *)params->pcubMsgSize, (SNetSocket_t *)params->phSocket ); } -bool cppISteamNetworking_SteamNetworking004_RetrieveData(void *linux_side, SNetListenSocket_t hListenSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, SNetSocket_t *phSocket) +void cppISteamNetworking_SteamNetworking004_RetrieveData( struct cppISteamNetworking_SteamNetworking004_RetrieveData_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->RetrieveData((SNetListenSocket_t)hListenSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->RetrieveData( (SNetListenSocket_t)params->hListenSocket, (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize, (SNetSocket_t *)params->phSocket ); } -bool cppISteamNetworking_SteamNetworking004_GetSocketInfo(void *linux_side, SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, uint32 *punIPRemote, uint16 *punPortRemote) +void cppISteamNetworking_SteamNetworking004_GetSocketInfo( struct cppISteamNetworking_SteamNetworking004_GetSocketInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetSocketInfo((SNetSocket_t)hSocket, (CSteamID *)pSteamIDRemote, (int *)peSocketStatus, (uint32 *)punIPRemote, (uint16 *)punPortRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetSocketInfo( (SNetSocket_t)params->hSocket, (CSteamID *)params->pSteamIDRemote, (int *)params->peSocketStatus, (uint32 *)params->punIPRemote, (uint16 *)params->punPortRemote ); } -bool cppISteamNetworking_SteamNetworking004_GetListenSocketInfo(void *linux_side, SNetListenSocket_t hListenSocket, uint32 *pnIP, uint16 *pnPort) +void cppISteamNetworking_SteamNetworking004_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking004_GetListenSocketInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetListenSocketInfo((SNetListenSocket_t)hListenSocket, (uint32 *)pnIP, (uint16 *)pnPort); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetListenSocketInfo( (SNetListenSocket_t)params->hListenSocket, (uint32 *)params->pnIP, (uint16 *)params->pnPort ); } -ESNetSocketConnectionType cppISteamNetworking_SteamNetworking004_GetSocketConnectionType(void *linux_side, SNetSocket_t hSocket) +void cppISteamNetworking_SteamNetworking004_GetSocketConnectionType( struct cppISteamNetworking_SteamNetworking004_GetSocketConnectionType_params *params ) { - ESNetSocketConnectionType _ret; - _ret = ((ISteamNetworking*)linux_side)->GetSocketConnectionType((SNetSocket_t)hSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetSocketConnectionType( (SNetSocket_t)params->hSocket ); } -int cppISteamNetworking_SteamNetworking004_GetMaxPacketSize(void *linux_side, SNetSocket_t hSocket) +void cppISteamNetworking_SteamNetworking004_GetMaxPacketSize( struct cppISteamNetworking_SteamNetworking004_GetMaxPacketSize_params *params ) { - int _ret; - _ret = ((ISteamNetworking*)linux_side)->GetMaxPacketSize((SNetSocket_t)hSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetMaxPacketSize( (SNetSocket_t)params->hSocket ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking004.h b/lsteamclient/cppISteamNetworking_SteamNetworking004.h index faeaf2c0..c376ed04 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking004.h +++ b/lsteamclient/cppISteamNetworking_SteamNetworking004.h @@ -1,20 +1,199 @@ -extern bool cppISteamNetworking_SteamNetworking004_SendP2PPacket(void *, CSteamID, const void *, uint32, EP2PSend, int); -extern bool cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable(void *, uint32 *, int); -extern bool cppISteamNetworking_SteamNetworking004_ReadP2PPacket(void *, void *, uint32, uint32 *, CSteamID *, int); -extern bool cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking004_GetP2PSessionState(void *, CSteamID, P2PSessionState_t *); -extern SNetListenSocket_t cppISteamNetworking_SteamNetworking004_CreateListenSocket(void *, int, uint32, uint16, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket(void *, CSteamID, int, int, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking004_CreateConnectionSocket(void *, uint32, uint16, int); -extern bool cppISteamNetworking_SteamNetworking004_DestroySocket(void *, SNetSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking004_DestroyListenSocket(void *, SNetListenSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking004_SendDataOnSocket(void *, SNetSocket_t, void *, uint32, bool); -extern bool cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket(void *, SNetSocket_t, uint32 *); -extern bool cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket(void *, SNetSocket_t, void *, uint32, uint32 *); -extern bool cppISteamNetworking_SteamNetworking004_IsDataAvailable(void *, SNetListenSocket_t, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking004_RetrieveData(void *, SNetListenSocket_t, void *, uint32, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking004_GetSocketInfo(void *, SNetSocket_t, CSteamID *, int *, uint32 *, uint16 *); -extern bool cppISteamNetworking_SteamNetworking004_GetListenSocketInfo(void *, SNetListenSocket_t, uint32 *, uint16 *); -extern ESNetSocketConnectionType cppISteamNetworking_SteamNetworking004_GetSocketConnectionType(void *, SNetSocket_t); -extern int cppISteamNetworking_SteamNetworking004_GetMaxPacketSize(void *, SNetSocket_t); +struct cppISteamNetworking_SteamNetworking004_SendP2PPacket_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; + const void *pubData; + uint32 cubData; + EP2PSend eP2PSendType; + int nVirtualPort; +}; +extern void cppISteamNetworking_SteamNetworking004_SendP2PPacket( struct cppISteamNetworking_SteamNetworking004_SendP2PPacket_params *params ); + +struct cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable_params +{ + void *linux_side; + bool _ret; + uint32 *pcubMsgSize; + int nVirtualPort; +}; +extern void cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable( struct cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable_params *params ); + +struct cppISteamNetworking_SteamNetworking004_ReadP2PPacket_params +{ + void *linux_side; + bool _ret; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; + CSteamID *psteamIDRemote; + int nVirtualPort; +}; +extern void cppISteamNetworking_SteamNetworking004_ReadP2PPacket( struct cppISteamNetworking_SteamNetworking004_ReadP2PPacket_params *params ); + +struct cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; +}; +extern void cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser_params *params ); + +struct cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; +}; +extern void cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser_params *params ); + +struct cppISteamNetworking_SteamNetworking004_GetP2PSessionState_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; + P2PSessionState_t *pConnectionState; +}; +extern void cppISteamNetworking_SteamNetworking004_GetP2PSessionState( struct cppISteamNetworking_SteamNetworking004_GetP2PSessionState_params *params ); + +struct cppISteamNetworking_SteamNetworking004_CreateListenSocket_params +{ + void *linux_side; + SNetListenSocket_t _ret; + int nVirtualP2PPort; + uint32 nIP; + uint16 nPort; + bool bAllowUseOfPacketRelay; +}; +extern void cppISteamNetworking_SteamNetworking004_CreateListenSocket( struct cppISteamNetworking_SteamNetworking004_CreateListenSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket_params +{ + void *linux_side; + SNetSocket_t _ret; + CSteamID steamIDTarget; + int nVirtualPort; + int nTimeoutSec; + bool bAllowUseOfPacketRelay; +}; +extern void cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking004_CreateConnectionSocket_params +{ + void *linux_side; + SNetSocket_t _ret; + uint32 nIP; + uint16 nPort; + int nTimeoutSec; +}; +extern void cppISteamNetworking_SteamNetworking004_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking004_CreateConnectionSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking004_DestroySocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + bool bNotifyRemoteEnd; +}; +extern void cppISteamNetworking_SteamNetworking004_DestroySocket( struct cppISteamNetworking_SteamNetworking004_DestroySocket_params *params ); + +struct cppISteamNetworking_SteamNetworking004_DestroyListenSocket_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hSocket; + bool bNotifyRemoteEnd; +}; +extern void cppISteamNetworking_SteamNetworking004_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking004_DestroyListenSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking004_SendDataOnSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + void *pubData; + uint32 cubData; + bool bReliable; +}; +extern void cppISteamNetworking_SteamNetworking004_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking004_SendDataOnSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + uint32 *pcubMsgSize; +}; +extern void cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; +}; +extern void cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking004_IsDataAvailable_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + uint32 *pcubMsgSize; + SNetSocket_t *phSocket; +}; +extern void cppISteamNetworking_SteamNetworking004_IsDataAvailable( struct cppISteamNetworking_SteamNetworking004_IsDataAvailable_params *params ); + +struct cppISteamNetworking_SteamNetworking004_RetrieveData_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; + SNetSocket_t *phSocket; +}; +extern void cppISteamNetworking_SteamNetworking004_RetrieveData( struct cppISteamNetworking_SteamNetworking004_RetrieveData_params *params ); + +struct cppISteamNetworking_SteamNetworking004_GetSocketInfo_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + CSteamID *pSteamIDRemote; + int *peSocketStatus; + uint32 *punIPRemote; + uint16 *punPortRemote; +}; +extern void cppISteamNetworking_SteamNetworking004_GetSocketInfo( struct cppISteamNetworking_SteamNetworking004_GetSocketInfo_params *params ); + +struct cppISteamNetworking_SteamNetworking004_GetListenSocketInfo_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + uint32 *pnIP; + uint16 *pnPort; +}; +extern void cppISteamNetworking_SteamNetworking004_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking004_GetListenSocketInfo_params *params ); + +struct cppISteamNetworking_SteamNetworking004_GetSocketConnectionType_params +{ + void *linux_side; + ESNetSocketConnectionType _ret; + SNetSocket_t hSocket; +}; +extern void cppISteamNetworking_SteamNetworking004_GetSocketConnectionType( struct cppISteamNetworking_SteamNetworking004_GetSocketConnectionType_params *params ); + +struct cppISteamNetworking_SteamNetworking004_GetMaxPacketSize_params +{ + void *linux_side; + int _ret; + SNetSocket_t hSocket; +}; +extern void cppISteamNetworking_SteamNetworking004_GetMaxPacketSize( struct cppISteamNetworking_SteamNetworking004_GetMaxPacketSize_params *params ); + diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp index fc1fcaf6..e6fdb106 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp @@ -12,158 +12,114 @@ extern "C" { #define SDKVER_146 #include "struct_converters.h" #include "cppISteamNetworking_SteamNetworking005.h" -bool cppISteamNetworking_SteamNetworking005_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void *pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel) +void cppISteamNetworking_SteamNetworking005_SendP2PPacket( struct cppISteamNetworking_SteamNetworking005_SendP2PPacket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->SendP2PPacket((CSteamID)steamIDRemote, (const void *)pubData, (uint32)cubData, (EP2PSend)eP2PSendType, (int)nChannel); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->SendP2PPacket( (CSteamID)params->steamIDRemote, (const void *)params->pubData, (uint32)params->cubData, (EP2PSend)params->eP2PSendType, (int)params->nChannel ); } -bool cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable(void *linux_side, uint32 *pcubMsgSize, int nChannel) +void cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable( struct cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsP2PPacketAvailable((uint32 *)pcubMsgSize, (int)nChannel); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsP2PPacketAvailable( (uint32 *)params->pcubMsgSize, (int)params->nChannel ); } -bool cppISteamNetworking_SteamNetworking005_ReadP2PPacket(void *linux_side, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, CSteamID *psteamIDRemote, int nChannel) +void cppISteamNetworking_SteamNetworking005_ReadP2PPacket( struct cppISteamNetworking_SteamNetworking005_ReadP2PPacket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->ReadP2PPacket((void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (CSteamID *)psteamIDRemote, (int)nChannel); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->ReadP2PPacket( (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize, (CSteamID *)params->psteamIDRemote, (int)params->nChannel ); } -bool cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +void cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->AcceptP2PSessionWithUser((CSteamID)steamIDRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->AcceptP2PSessionWithUser( (CSteamID)params->steamIDRemote ); } -bool cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +void cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->CloseP2PSessionWithUser((CSteamID)steamIDRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CloseP2PSessionWithUser( (CSteamID)params->steamIDRemote ); } -bool cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser(void *linux_side, CSteamID steamIDRemote, int nChannel) +void cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser( struct cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->CloseP2PChannelWithUser((CSteamID)steamIDRemote, (int)nChannel); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CloseP2PChannelWithUser( (CSteamID)params->steamIDRemote, (int)params->nChannel ); } -bool cppISteamNetworking_SteamNetworking005_GetP2PSessionState(void *linux_side, CSteamID steamIDRemote, P2PSessionState_t *pConnectionState) +void cppISteamNetworking_SteamNetworking005_GetP2PSessionState( struct cppISteamNetworking_SteamNetworking005_GetP2PSessionState_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetP2PSessionState((CSteamID)steamIDRemote, (P2PSessionState_t *)pConnectionState); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetP2PSessionState( (CSteamID)params->steamIDRemote, (P2PSessionState_t *)params->pConnectionState ); } -bool cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay(void *linux_side, bool bAllow) +void cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay( struct cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->AllowP2PPacketRelay((bool)bAllow); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->AllowP2PPacketRelay( (bool)params->bAllow ); } -SNetListenSocket_t cppISteamNetworking_SteamNetworking005_CreateListenSocket(void *linux_side, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +void cppISteamNetworking_SteamNetworking005_CreateListenSocket( struct cppISteamNetworking_SteamNetworking005_CreateListenSocket_params *params ) { - SNetListenSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (uint32)nIP, (uint16)nPort, (bool)bAllowUseOfPacketRelay); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateListenSocket( (int)params->nVirtualP2PPort, (uint32)params->nIP, (uint16)params->nPort, (bool)params->bAllowUseOfPacketRelay ); } -SNetSocket_t cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket(void *linux_side, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +void cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket_params *params ) { - SNetSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateP2PConnectionSocket((CSteamID)steamIDTarget, (int)nVirtualPort, (int)nTimeoutSec, (bool)bAllowUseOfPacketRelay); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateP2PConnectionSocket( (CSteamID)params->steamIDTarget, (int)params->nVirtualPort, (int)params->nTimeoutSec, (bool)params->bAllowUseOfPacketRelay ); } -SNetSocket_t cppISteamNetworking_SteamNetworking005_CreateConnectionSocket(void *linux_side, uint32 nIP, uint16 nPort, int nTimeoutSec) +void cppISteamNetworking_SteamNetworking005_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking005_CreateConnectionSocket_params *params ) { - SNetSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateConnectionSocket((uint32)nIP, (uint16)nPort, (int)nTimeoutSec); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateConnectionSocket( (uint32)params->nIP, (uint16)params->nPort, (int)params->nTimeoutSec ); } -bool cppISteamNetworking_SteamNetworking005_DestroySocket(void *linux_side, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +void cppISteamNetworking_SteamNetworking005_DestroySocket( struct cppISteamNetworking_SteamNetworking005_DestroySocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->DestroySocket((SNetSocket_t)hSocket, (bool)bNotifyRemoteEnd); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->DestroySocket( (SNetSocket_t)params->hSocket, (bool)params->bNotifyRemoteEnd ); } -bool cppISteamNetworking_SteamNetworking005_DestroyListenSocket(void *linux_side, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +void cppISteamNetworking_SteamNetworking005_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking005_DestroyListenSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->DestroyListenSocket((SNetListenSocket_t)hSocket, (bool)bNotifyRemoteEnd); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->DestroyListenSocket( (SNetListenSocket_t)params->hSocket, (bool)params->bNotifyRemoteEnd ); } -bool cppISteamNetworking_SteamNetworking005_SendDataOnSocket(void *linux_side, SNetSocket_t hSocket, void *pubData, uint32 cubData, bool bReliable) +void cppISteamNetworking_SteamNetworking005_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking005_SendDataOnSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->SendDataOnSocket((SNetSocket_t)hSocket, (void *)pubData, (uint32)cubData, (bool)bReliable); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->SendDataOnSocket( (SNetSocket_t)params->hSocket, (void *)params->pubData, (uint32)params->cubData, (bool)params->bReliable ); } -bool cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket(void *linux_side, SNetSocket_t hSocket, uint32 *pcubMsgSize) +void cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsDataAvailableOnSocket((SNetSocket_t)hSocket, (uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsDataAvailableOnSocket( (SNetSocket_t)params->hSocket, (uint32 *)params->pcubMsgSize ); } -bool cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket(void *linux_side, SNetSocket_t hSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) +void cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->RetrieveDataFromSocket((SNetSocket_t)hSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->RetrieveDataFromSocket( (SNetSocket_t)params->hSocket, (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize ); } -bool cppISteamNetworking_SteamNetworking005_IsDataAvailable(void *linux_side, SNetListenSocket_t hListenSocket, uint32 *pcubMsgSize, SNetSocket_t *phSocket) +void cppISteamNetworking_SteamNetworking005_IsDataAvailable( struct cppISteamNetworking_SteamNetworking005_IsDataAvailable_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsDataAvailable((SNetListenSocket_t)hListenSocket, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsDataAvailable( (SNetListenSocket_t)params->hListenSocket, (uint32 *)params->pcubMsgSize, (SNetSocket_t *)params->phSocket ); } -bool cppISteamNetworking_SteamNetworking005_RetrieveData(void *linux_side, SNetListenSocket_t hListenSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, SNetSocket_t *phSocket) +void cppISteamNetworking_SteamNetworking005_RetrieveData( struct cppISteamNetworking_SteamNetworking005_RetrieveData_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->RetrieveData((SNetListenSocket_t)hListenSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->RetrieveData( (SNetListenSocket_t)params->hListenSocket, (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize, (SNetSocket_t *)params->phSocket ); } -bool cppISteamNetworking_SteamNetworking005_GetSocketInfo(void *linux_side, SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, uint32 *punIPRemote, uint16 *punPortRemote) +void cppISteamNetworking_SteamNetworking005_GetSocketInfo( struct cppISteamNetworking_SteamNetworking005_GetSocketInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetSocketInfo((SNetSocket_t)hSocket, (CSteamID *)pSteamIDRemote, (int *)peSocketStatus, (uint32 *)punIPRemote, (uint16 *)punPortRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetSocketInfo( (SNetSocket_t)params->hSocket, (CSteamID *)params->pSteamIDRemote, (int *)params->peSocketStatus, (uint32 *)params->punIPRemote, (uint16 *)params->punPortRemote ); } -bool cppISteamNetworking_SteamNetworking005_GetListenSocketInfo(void *linux_side, SNetListenSocket_t hListenSocket, uint32 *pnIP, uint16 *pnPort) +void cppISteamNetworking_SteamNetworking005_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking005_GetListenSocketInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetListenSocketInfo((SNetListenSocket_t)hListenSocket, (uint32 *)pnIP, (uint16 *)pnPort); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetListenSocketInfo( (SNetListenSocket_t)params->hListenSocket, (uint32 *)params->pnIP, (uint16 *)params->pnPort ); } -ESNetSocketConnectionType cppISteamNetworking_SteamNetworking005_GetSocketConnectionType(void *linux_side, SNetSocket_t hSocket) +void cppISteamNetworking_SteamNetworking005_GetSocketConnectionType( struct cppISteamNetworking_SteamNetworking005_GetSocketConnectionType_params *params ) { - ESNetSocketConnectionType _ret; - _ret = ((ISteamNetworking*)linux_side)->GetSocketConnectionType((SNetSocket_t)hSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetSocketConnectionType( (SNetSocket_t)params->hSocket ); } -int cppISteamNetworking_SteamNetworking005_GetMaxPacketSize(void *linux_side, SNetSocket_t hSocket) +void cppISteamNetworking_SteamNetworking005_GetMaxPacketSize( struct cppISteamNetworking_SteamNetworking005_GetMaxPacketSize_params *params ) { - int _ret; - _ret = ((ISteamNetworking*)linux_side)->GetMaxPacketSize((SNetSocket_t)hSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetMaxPacketSize( (SNetSocket_t)params->hSocket ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking005.h b/lsteamclient/cppISteamNetworking_SteamNetworking005.h index d19e0c21..2708f43c 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking005.h +++ b/lsteamclient/cppISteamNetworking_SteamNetworking005.h @@ -1,22 +1,216 @@ -extern bool cppISteamNetworking_SteamNetworking005_SendP2PPacket(void *, CSteamID, const void *, uint32, EP2PSend, int); -extern bool cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable(void *, uint32 *, int); -extern bool cppISteamNetworking_SteamNetworking005_ReadP2PPacket(void *, void *, uint32, uint32 *, CSteamID *, int); -extern bool cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser(void *, CSteamID, int); -extern bool cppISteamNetworking_SteamNetworking005_GetP2PSessionState(void *, CSteamID, P2PSessionState_t *); -extern bool cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay(void *, bool); -extern SNetListenSocket_t cppISteamNetworking_SteamNetworking005_CreateListenSocket(void *, int, uint32, uint16, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket(void *, CSteamID, int, int, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking005_CreateConnectionSocket(void *, uint32, uint16, int); -extern bool cppISteamNetworking_SteamNetworking005_DestroySocket(void *, SNetSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking005_DestroyListenSocket(void *, SNetListenSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking005_SendDataOnSocket(void *, SNetSocket_t, void *, uint32, bool); -extern bool cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket(void *, SNetSocket_t, uint32 *); -extern bool cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket(void *, SNetSocket_t, void *, uint32, uint32 *); -extern bool cppISteamNetworking_SteamNetworking005_IsDataAvailable(void *, SNetListenSocket_t, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking005_RetrieveData(void *, SNetListenSocket_t, void *, uint32, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking005_GetSocketInfo(void *, SNetSocket_t, CSteamID *, int *, uint32 *, uint16 *); -extern bool cppISteamNetworking_SteamNetworking005_GetListenSocketInfo(void *, SNetListenSocket_t, uint32 *, uint16 *); -extern ESNetSocketConnectionType cppISteamNetworking_SteamNetworking005_GetSocketConnectionType(void *, SNetSocket_t); -extern int cppISteamNetworking_SteamNetworking005_GetMaxPacketSize(void *, SNetSocket_t); +struct cppISteamNetworking_SteamNetworking005_SendP2PPacket_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; + const void *pubData; + uint32 cubData; + EP2PSend eP2PSendType; + int nChannel; +}; +extern void cppISteamNetworking_SteamNetworking005_SendP2PPacket( struct cppISteamNetworking_SteamNetworking005_SendP2PPacket_params *params ); + +struct cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable_params +{ + void *linux_side; + bool _ret; + uint32 *pcubMsgSize; + int nChannel; +}; +extern void cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable( struct cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable_params *params ); + +struct cppISteamNetworking_SteamNetworking005_ReadP2PPacket_params +{ + void *linux_side; + bool _ret; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; + CSteamID *psteamIDRemote; + int nChannel; +}; +extern void cppISteamNetworking_SteamNetworking005_ReadP2PPacket( struct cppISteamNetworking_SteamNetworking005_ReadP2PPacket_params *params ); + +struct cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; +}; +extern void cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser_params *params ); + +struct cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; +}; +extern void cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser_params *params ); + +struct cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; + int nChannel; +}; +extern void cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser( struct cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser_params *params ); + +struct cppISteamNetworking_SteamNetworking005_GetP2PSessionState_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; + P2PSessionState_t *pConnectionState; +}; +extern void cppISteamNetworking_SteamNetworking005_GetP2PSessionState( struct cppISteamNetworking_SteamNetworking005_GetP2PSessionState_params *params ); + +struct cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay_params +{ + void *linux_side; + bool _ret; + bool bAllow; +}; +extern void cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay( struct cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay_params *params ); + +struct cppISteamNetworking_SteamNetworking005_CreateListenSocket_params +{ + void *linux_side; + SNetListenSocket_t _ret; + int nVirtualP2PPort; + uint32 nIP; + uint16 nPort; + bool bAllowUseOfPacketRelay; +}; +extern void cppISteamNetworking_SteamNetworking005_CreateListenSocket( struct cppISteamNetworking_SteamNetworking005_CreateListenSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket_params +{ + void *linux_side; + SNetSocket_t _ret; + CSteamID steamIDTarget; + int nVirtualPort; + int nTimeoutSec; + bool bAllowUseOfPacketRelay; +}; +extern void cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking005_CreateConnectionSocket_params +{ + void *linux_side; + SNetSocket_t _ret; + uint32 nIP; + uint16 nPort; + int nTimeoutSec; +}; +extern void cppISteamNetworking_SteamNetworking005_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking005_CreateConnectionSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking005_DestroySocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + bool bNotifyRemoteEnd; +}; +extern void cppISteamNetworking_SteamNetworking005_DestroySocket( struct cppISteamNetworking_SteamNetworking005_DestroySocket_params *params ); + +struct cppISteamNetworking_SteamNetworking005_DestroyListenSocket_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hSocket; + bool bNotifyRemoteEnd; +}; +extern void cppISteamNetworking_SteamNetworking005_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking005_DestroyListenSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking005_SendDataOnSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + void *pubData; + uint32 cubData; + bool bReliable; +}; +extern void cppISteamNetworking_SteamNetworking005_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking005_SendDataOnSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + uint32 *pcubMsgSize; +}; +extern void cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; +}; +extern void cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking005_IsDataAvailable_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + uint32 *pcubMsgSize; + SNetSocket_t *phSocket; +}; +extern void cppISteamNetworking_SteamNetworking005_IsDataAvailable( struct cppISteamNetworking_SteamNetworking005_IsDataAvailable_params *params ); + +struct cppISteamNetworking_SteamNetworking005_RetrieveData_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; + SNetSocket_t *phSocket; +}; +extern void cppISteamNetworking_SteamNetworking005_RetrieveData( struct cppISteamNetworking_SteamNetworking005_RetrieveData_params *params ); + +struct cppISteamNetworking_SteamNetworking005_GetSocketInfo_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + CSteamID *pSteamIDRemote; + int *peSocketStatus; + uint32 *punIPRemote; + uint16 *punPortRemote; +}; +extern void cppISteamNetworking_SteamNetworking005_GetSocketInfo( struct cppISteamNetworking_SteamNetworking005_GetSocketInfo_params *params ); + +struct cppISteamNetworking_SteamNetworking005_GetListenSocketInfo_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + uint32 *pnIP; + uint16 *pnPort; +}; +extern void cppISteamNetworking_SteamNetworking005_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking005_GetListenSocketInfo_params *params ); + +struct cppISteamNetworking_SteamNetworking005_GetSocketConnectionType_params +{ + void *linux_side; + ESNetSocketConnectionType _ret; + SNetSocket_t hSocket; +}; +extern void cppISteamNetworking_SteamNetworking005_GetSocketConnectionType( struct cppISteamNetworking_SteamNetworking005_GetSocketConnectionType_params *params ); + +struct cppISteamNetworking_SteamNetworking005_GetMaxPacketSize_params +{ + void *linux_side; + int _ret; + SNetSocket_t hSocket; +}; +extern void cppISteamNetworking_SteamNetworking005_GetMaxPacketSize( struct cppISteamNetworking_SteamNetworking005_GetMaxPacketSize_params *params ); + diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp index ff817411..80d95974 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp @@ -12,158 +12,114 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamNetworking_SteamNetworking006.h" -bool cppISteamNetworking_SteamNetworking006_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void *pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel) +void cppISteamNetworking_SteamNetworking006_SendP2PPacket( struct cppISteamNetworking_SteamNetworking006_SendP2PPacket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->SendP2PPacket((CSteamID)steamIDRemote, (const void *)pubData, (uint32)cubData, (EP2PSend)eP2PSendType, (int)nChannel); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->SendP2PPacket( (CSteamID)params->steamIDRemote, (const void *)params->pubData, (uint32)params->cubData, (EP2PSend)params->eP2PSendType, (int)params->nChannel ); } -bool cppISteamNetworking_SteamNetworking006_IsP2PPacketAvailable(void *linux_side, uint32 *pcubMsgSize, int nChannel) +void cppISteamNetworking_SteamNetworking006_IsP2PPacketAvailable( struct cppISteamNetworking_SteamNetworking006_IsP2PPacketAvailable_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsP2PPacketAvailable((uint32 *)pcubMsgSize, (int)nChannel); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsP2PPacketAvailable( (uint32 *)params->pcubMsgSize, (int)params->nChannel ); } -bool cppISteamNetworking_SteamNetworking006_ReadP2PPacket(void *linux_side, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, CSteamID *psteamIDRemote, int nChannel) +void cppISteamNetworking_SteamNetworking006_ReadP2PPacket( struct cppISteamNetworking_SteamNetworking006_ReadP2PPacket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->ReadP2PPacket((void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (CSteamID *)psteamIDRemote, (int)nChannel); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->ReadP2PPacket( (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize, (CSteamID *)params->psteamIDRemote, (int)params->nChannel ); } -bool cppISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +void cppISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->AcceptP2PSessionWithUser((CSteamID)steamIDRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->AcceptP2PSessionWithUser( (CSteamID)params->steamIDRemote ); } -bool cppISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +void cppISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->CloseP2PSessionWithUser((CSteamID)steamIDRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CloseP2PSessionWithUser( (CSteamID)params->steamIDRemote ); } -bool cppISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser(void *linux_side, CSteamID steamIDRemote, int nChannel) +void cppISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser( struct cppISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->CloseP2PChannelWithUser((CSteamID)steamIDRemote, (int)nChannel); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CloseP2PChannelWithUser( (CSteamID)params->steamIDRemote, (int)params->nChannel ); } -bool cppISteamNetworking_SteamNetworking006_GetP2PSessionState(void *linux_side, CSteamID steamIDRemote, P2PSessionState_t *pConnectionState) +void cppISteamNetworking_SteamNetworking006_GetP2PSessionState( struct cppISteamNetworking_SteamNetworking006_GetP2PSessionState_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetP2PSessionState((CSteamID)steamIDRemote, (P2PSessionState_t *)pConnectionState); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetP2PSessionState( (CSteamID)params->steamIDRemote, (P2PSessionState_t *)params->pConnectionState ); } -bool cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay(void *linux_side, bool bAllow) +void cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay( struct cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->AllowP2PPacketRelay((bool)bAllow); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->AllowP2PPacketRelay( (bool)params->bAllow ); } -SNetListenSocket_t cppISteamNetworking_SteamNetworking006_CreateListenSocket(void *linux_side, int nVirtualP2PPort, SteamIPAddress_t nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +void cppISteamNetworking_SteamNetworking006_CreateListenSocket( struct cppISteamNetworking_SteamNetworking006_CreateListenSocket_params *params ) { - SNetListenSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (SteamIPAddress_t)nIP, (uint16)nPort, (bool)bAllowUseOfPacketRelay); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateListenSocket( (int)params->nVirtualP2PPort, (SteamIPAddress_t)params->nIP, (uint16)params->nPort, (bool)params->bAllowUseOfPacketRelay ); } -SNetSocket_t cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket(void *linux_side, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +void cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket_params *params ) { - SNetSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateP2PConnectionSocket((CSteamID)steamIDTarget, (int)nVirtualPort, (int)nTimeoutSec, (bool)bAllowUseOfPacketRelay); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateP2PConnectionSocket( (CSteamID)params->steamIDTarget, (int)params->nVirtualPort, (int)params->nTimeoutSec, (bool)params->bAllowUseOfPacketRelay ); } -SNetSocket_t cppISteamNetworking_SteamNetworking006_CreateConnectionSocket(void *linux_side, SteamIPAddress_t nIP, uint16 nPort, int nTimeoutSec) +void cppISteamNetworking_SteamNetworking006_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking006_CreateConnectionSocket_params *params ) { - SNetSocket_t _ret; - _ret = ((ISteamNetworking*)linux_side)->CreateConnectionSocket((SteamIPAddress_t)nIP, (uint16)nPort, (int)nTimeoutSec); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->CreateConnectionSocket( (SteamIPAddress_t)params->nIP, (uint16)params->nPort, (int)params->nTimeoutSec ); } -bool cppISteamNetworking_SteamNetworking006_DestroySocket(void *linux_side, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +void cppISteamNetworking_SteamNetworking006_DestroySocket( struct cppISteamNetworking_SteamNetworking006_DestroySocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->DestroySocket((SNetSocket_t)hSocket, (bool)bNotifyRemoteEnd); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->DestroySocket( (SNetSocket_t)params->hSocket, (bool)params->bNotifyRemoteEnd ); } -bool cppISteamNetworking_SteamNetworking006_DestroyListenSocket(void *linux_side, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +void cppISteamNetworking_SteamNetworking006_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking006_DestroyListenSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->DestroyListenSocket((SNetListenSocket_t)hSocket, (bool)bNotifyRemoteEnd); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->DestroyListenSocket( (SNetListenSocket_t)params->hSocket, (bool)params->bNotifyRemoteEnd ); } -bool cppISteamNetworking_SteamNetworking006_SendDataOnSocket(void *linux_side, SNetSocket_t hSocket, void *pubData, uint32 cubData, bool bReliable) +void cppISteamNetworking_SteamNetworking006_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking006_SendDataOnSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->SendDataOnSocket((SNetSocket_t)hSocket, (void *)pubData, (uint32)cubData, (bool)bReliable); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->SendDataOnSocket( (SNetSocket_t)params->hSocket, (void *)params->pubData, (uint32)params->cubData, (bool)params->bReliable ); } -bool cppISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket(void *linux_side, SNetSocket_t hSocket, uint32 *pcubMsgSize) +void cppISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsDataAvailableOnSocket((SNetSocket_t)hSocket, (uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsDataAvailableOnSocket( (SNetSocket_t)params->hSocket, (uint32 *)params->pcubMsgSize ); } -bool cppISteamNetworking_SteamNetworking006_RetrieveDataFromSocket(void *linux_side, SNetSocket_t hSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) +void cppISteamNetworking_SteamNetworking006_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking006_RetrieveDataFromSocket_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->RetrieveDataFromSocket((SNetSocket_t)hSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->RetrieveDataFromSocket( (SNetSocket_t)params->hSocket, (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize ); } -bool cppISteamNetworking_SteamNetworking006_IsDataAvailable(void *linux_side, SNetListenSocket_t hListenSocket, uint32 *pcubMsgSize, SNetSocket_t *phSocket) +void cppISteamNetworking_SteamNetworking006_IsDataAvailable( struct cppISteamNetworking_SteamNetworking006_IsDataAvailable_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->IsDataAvailable((SNetListenSocket_t)hListenSocket, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->IsDataAvailable( (SNetListenSocket_t)params->hListenSocket, (uint32 *)params->pcubMsgSize, (SNetSocket_t *)params->phSocket ); } -bool cppISteamNetworking_SteamNetworking006_RetrieveData(void *linux_side, SNetListenSocket_t hListenSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, SNetSocket_t *phSocket) +void cppISteamNetworking_SteamNetworking006_RetrieveData( struct cppISteamNetworking_SteamNetworking006_RetrieveData_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->RetrieveData((SNetListenSocket_t)hListenSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->RetrieveData( (SNetListenSocket_t)params->hListenSocket, (void *)params->pubDest, (uint32)params->cubDest, (uint32 *)params->pcubMsgSize, (SNetSocket_t *)params->phSocket ); } -bool cppISteamNetworking_SteamNetworking006_GetSocketInfo(void *linux_side, SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, SteamIPAddress_t *punIPRemote, uint16 *punPortRemote) +void cppISteamNetworking_SteamNetworking006_GetSocketInfo( struct cppISteamNetworking_SteamNetworking006_GetSocketInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetSocketInfo((SNetSocket_t)hSocket, (CSteamID *)pSteamIDRemote, (int *)peSocketStatus, (SteamIPAddress_t *)punIPRemote, (uint16 *)punPortRemote); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetSocketInfo( (SNetSocket_t)params->hSocket, (CSteamID *)params->pSteamIDRemote, (int *)params->peSocketStatus, (SteamIPAddress_t *)params->punIPRemote, (uint16 *)params->punPortRemote ); } -bool cppISteamNetworking_SteamNetworking006_GetListenSocketInfo(void *linux_side, SNetListenSocket_t hListenSocket, SteamIPAddress_t *pnIP, uint16 *pnPort) +void cppISteamNetworking_SteamNetworking006_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking006_GetListenSocketInfo_params *params ) { - bool _ret; - _ret = ((ISteamNetworking*)linux_side)->GetListenSocketInfo((SNetListenSocket_t)hListenSocket, (SteamIPAddress_t *)pnIP, (uint16 *)pnPort); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetListenSocketInfo( (SNetListenSocket_t)params->hListenSocket, (SteamIPAddress_t *)params->pnIP, (uint16 *)params->pnPort ); } -ESNetSocketConnectionType cppISteamNetworking_SteamNetworking006_GetSocketConnectionType(void *linux_side, SNetSocket_t hSocket) +void cppISteamNetworking_SteamNetworking006_GetSocketConnectionType( struct cppISteamNetworking_SteamNetworking006_GetSocketConnectionType_params *params ) { - ESNetSocketConnectionType _ret; - _ret = ((ISteamNetworking*)linux_side)->GetSocketConnectionType((SNetSocket_t)hSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetSocketConnectionType( (SNetSocket_t)params->hSocket ); } -int cppISteamNetworking_SteamNetworking006_GetMaxPacketSize(void *linux_side, SNetSocket_t hSocket) +void cppISteamNetworking_SteamNetworking006_GetMaxPacketSize( struct cppISteamNetworking_SteamNetworking006_GetMaxPacketSize_params *params ) { - int _ret; - _ret = ((ISteamNetworking*)linux_side)->GetMaxPacketSize((SNetSocket_t)hSocket); - return (_ret); + params->_ret = ((ISteamNetworking*)params->linux_side)->GetMaxPacketSize( (SNetSocket_t)params->hSocket ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking006.h b/lsteamclient/cppISteamNetworking_SteamNetworking006.h index 8c488d96..cec3b670 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking006.h +++ b/lsteamclient/cppISteamNetworking_SteamNetworking006.h @@ -1,22 +1,216 @@ -extern bool cppISteamNetworking_SteamNetworking006_SendP2PPacket(void *, CSteamID, const void *, uint32, EP2PSend, int); -extern bool cppISteamNetworking_SteamNetworking006_IsP2PPacketAvailable(void *, uint32 *, int); -extern bool cppISteamNetworking_SteamNetworking006_ReadP2PPacket(void *, void *, uint32, uint32 *, CSteamID *, int); -extern bool cppISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser(void *, CSteamID, int); -extern bool cppISteamNetworking_SteamNetworking006_GetP2PSessionState(void *, CSteamID, P2PSessionState_t *); -extern bool cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay(void *, bool); -extern SNetListenSocket_t cppISteamNetworking_SteamNetworking006_CreateListenSocket(void *, int, SteamIPAddress_t, uint16, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket(void *, CSteamID, int, int, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking006_CreateConnectionSocket(void *, SteamIPAddress_t, uint16, int); -extern bool cppISteamNetworking_SteamNetworking006_DestroySocket(void *, SNetSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking006_DestroyListenSocket(void *, SNetListenSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking006_SendDataOnSocket(void *, SNetSocket_t, void *, uint32, bool); -extern bool cppISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket(void *, SNetSocket_t, uint32 *); -extern bool cppISteamNetworking_SteamNetworking006_RetrieveDataFromSocket(void *, SNetSocket_t, void *, uint32, uint32 *); -extern bool cppISteamNetworking_SteamNetworking006_IsDataAvailable(void *, SNetListenSocket_t, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking006_RetrieveData(void *, SNetListenSocket_t, void *, uint32, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking006_GetSocketInfo(void *, SNetSocket_t, CSteamID *, int *, SteamIPAddress_t *, uint16 *); -extern bool cppISteamNetworking_SteamNetworking006_GetListenSocketInfo(void *, SNetListenSocket_t, SteamIPAddress_t *, uint16 *); -extern ESNetSocketConnectionType cppISteamNetworking_SteamNetworking006_GetSocketConnectionType(void *, SNetSocket_t); -extern int cppISteamNetworking_SteamNetworking006_GetMaxPacketSize(void *, SNetSocket_t); +struct cppISteamNetworking_SteamNetworking006_SendP2PPacket_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; + const void *pubData; + uint32 cubData; + EP2PSend eP2PSendType; + int nChannel; +}; +extern void cppISteamNetworking_SteamNetworking006_SendP2PPacket( struct cppISteamNetworking_SteamNetworking006_SendP2PPacket_params *params ); + +struct cppISteamNetworking_SteamNetworking006_IsP2PPacketAvailable_params +{ + void *linux_side; + bool _ret; + uint32 *pcubMsgSize; + int nChannel; +}; +extern void cppISteamNetworking_SteamNetworking006_IsP2PPacketAvailable( struct cppISteamNetworking_SteamNetworking006_IsP2PPacketAvailable_params *params ); + +struct cppISteamNetworking_SteamNetworking006_ReadP2PPacket_params +{ + void *linux_side; + bool _ret; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; + CSteamID *psteamIDRemote; + int nChannel; +}; +extern void cppISteamNetworking_SteamNetworking006_ReadP2PPacket( struct cppISteamNetworking_SteamNetworking006_ReadP2PPacket_params *params ); + +struct cppISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; +}; +extern void cppISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser_params *params ); + +struct cppISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; +}; +extern void cppISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser_params *params ); + +struct cppISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; + int nChannel; +}; +extern void cppISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser( struct cppISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser_params *params ); + +struct cppISteamNetworking_SteamNetworking006_GetP2PSessionState_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDRemote; + P2PSessionState_t *pConnectionState; +}; +extern void cppISteamNetworking_SteamNetworking006_GetP2PSessionState( struct cppISteamNetworking_SteamNetworking006_GetP2PSessionState_params *params ); + +struct cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay_params +{ + void *linux_side; + bool _ret; + bool bAllow; +}; +extern void cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay( struct cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay_params *params ); + +struct cppISteamNetworking_SteamNetworking006_CreateListenSocket_params +{ + void *linux_side; + SNetListenSocket_t _ret; + int nVirtualP2PPort; + SteamIPAddress_t nIP; + uint16 nPort; + bool bAllowUseOfPacketRelay; +}; +extern void cppISteamNetworking_SteamNetworking006_CreateListenSocket( struct cppISteamNetworking_SteamNetworking006_CreateListenSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket_params +{ + void *linux_side; + SNetSocket_t _ret; + CSteamID steamIDTarget; + int nVirtualPort; + int nTimeoutSec; + bool bAllowUseOfPacketRelay; +}; +extern void cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking006_CreateConnectionSocket_params +{ + void *linux_side; + SNetSocket_t _ret; + SteamIPAddress_t nIP; + uint16 nPort; + int nTimeoutSec; +}; +extern void cppISteamNetworking_SteamNetworking006_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking006_CreateConnectionSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking006_DestroySocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + bool bNotifyRemoteEnd; +}; +extern void cppISteamNetworking_SteamNetworking006_DestroySocket( struct cppISteamNetworking_SteamNetworking006_DestroySocket_params *params ); + +struct cppISteamNetworking_SteamNetworking006_DestroyListenSocket_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hSocket; + bool bNotifyRemoteEnd; +}; +extern void cppISteamNetworking_SteamNetworking006_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking006_DestroyListenSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking006_SendDataOnSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + void *pubData; + uint32 cubData; + bool bReliable; +}; +extern void cppISteamNetworking_SteamNetworking006_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking006_SendDataOnSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + uint32 *pcubMsgSize; +}; +extern void cppISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking006_RetrieveDataFromSocket_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; +}; +extern void cppISteamNetworking_SteamNetworking006_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking006_RetrieveDataFromSocket_params *params ); + +struct cppISteamNetworking_SteamNetworking006_IsDataAvailable_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + uint32 *pcubMsgSize; + SNetSocket_t *phSocket; +}; +extern void cppISteamNetworking_SteamNetworking006_IsDataAvailable( struct cppISteamNetworking_SteamNetworking006_IsDataAvailable_params *params ); + +struct cppISteamNetworking_SteamNetworking006_RetrieveData_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + void *pubDest; + uint32 cubDest; + uint32 *pcubMsgSize; + SNetSocket_t *phSocket; +}; +extern void cppISteamNetworking_SteamNetworking006_RetrieveData( struct cppISteamNetworking_SteamNetworking006_RetrieveData_params *params ); + +struct cppISteamNetworking_SteamNetworking006_GetSocketInfo_params +{ + void *linux_side; + bool _ret; + SNetSocket_t hSocket; + CSteamID *pSteamIDRemote; + int *peSocketStatus; + SteamIPAddress_t *punIPRemote; + uint16 *punPortRemote; +}; +extern void cppISteamNetworking_SteamNetworking006_GetSocketInfo( struct cppISteamNetworking_SteamNetworking006_GetSocketInfo_params *params ); + +struct cppISteamNetworking_SteamNetworking006_GetListenSocketInfo_params +{ + void *linux_side; + bool _ret; + SNetListenSocket_t hListenSocket; + SteamIPAddress_t *pnIP; + uint16 *pnPort; +}; +extern void cppISteamNetworking_SteamNetworking006_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking006_GetListenSocketInfo_params *params ); + +struct cppISteamNetworking_SteamNetworking006_GetSocketConnectionType_params +{ + void *linux_side; + ESNetSocketConnectionType _ret; + SNetSocket_t hSocket; +}; +extern void cppISteamNetworking_SteamNetworking006_GetSocketConnectionType( struct cppISteamNetworking_SteamNetworking006_GetSocketConnectionType_params *params ); + +struct cppISteamNetworking_SteamNetworking006_GetMaxPacketSize_params +{ + void *linux_side; + int _ret; + SNetSocket_t hSocket; +}; +extern void cppISteamNetworking_SteamNetworking006_GetMaxPacketSize( struct cppISteamNetworking_SteamNetworking006_GetMaxPacketSize_params *params ); + diff --git a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp index f79d76f4..f8c3a830 100644 --- a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp @@ -13,46 +13,34 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h" -bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled(void *linux_side) +void cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled( struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled_params *params ) { - bool _ret; - _ret = ((ISteamParentalSettings*)linux_side)->BIsParentalLockEnabled(); - return (_ret); + params->_ret = ((ISteamParentalSettings*)params->linux_side)->BIsParentalLockEnabled( ); } -bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked(void *linux_side) +void cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked( struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked_params *params ) { - bool _ret; - _ret = ((ISteamParentalSettings*)linux_side)->BIsParentalLockLocked(); - return (_ret); + params->_ret = ((ISteamParentalSettings*)params->linux_side)->BIsParentalLockLocked( ); } -bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked(void *linux_side, AppId_t nAppID) +void cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked( struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked_params *params ) { - bool _ret; - _ret = ((ISteamParentalSettings*)linux_side)->BIsAppBlocked((AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamParentalSettings*)params->linux_side)->BIsAppBlocked( (AppId_t)params->nAppID ); } -bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList(void *linux_side, AppId_t nAppID) +void cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList( struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList_params *params ) { - bool _ret; - _ret = ((ISteamParentalSettings*)linux_side)->BIsAppInBlockList((AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamParentalSettings*)params->linux_side)->BIsAppInBlockList( (AppId_t)params->nAppID ); } -bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked(void *linux_side, EParentalFeature eFeature) +void cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked( struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked_params *params ) { - bool _ret; - _ret = ((ISteamParentalSettings*)linux_side)->BIsFeatureBlocked((EParentalFeature)eFeature); - return (_ret); + params->_ret = ((ISteamParentalSettings*)params->linux_side)->BIsFeatureBlocked( (EParentalFeature)params->eFeature ); } -bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList(void *linux_side, EParentalFeature eFeature) +void cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList( struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList_params *params ) { - bool _ret; - _ret = ((ISteamParentalSettings*)linux_side)->BIsFeatureInBlockList((EParentalFeature)eFeature); - return (_ret); + params->_ret = ((ISteamParentalSettings*)params->linux_side)->BIsFeatureInBlockList( (EParentalFeature)params->eFeature ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h index 9eaba40f..0f572e25 100644 --- a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h +++ b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h @@ -1,6 +1,46 @@ -extern bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled(void *); -extern bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked(void *); -extern bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked(void *, AppId_t); -extern bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList(void *, AppId_t); -extern bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked(void *, EParentalFeature); -extern bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList(void *, EParentalFeature); +struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled( struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled_params *params ); + +struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked( struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked_params *params ); + +struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked_params +{ + void *linux_side; + bool _ret; + AppId_t nAppID; +}; +extern void cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked( struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked_params *params ); + +struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList_params +{ + void *linux_side; + bool _ret; + AppId_t nAppID; +}; +extern void cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList( struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList_params *params ); + +struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked_params +{ + void *linux_side; + bool _ret; + EParentalFeature eFeature; +}; +extern void cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked( struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked_params *params ); + +struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList_params +{ + void *linux_side; + bool _ret; + EParentalFeature eFeature; +}; +extern void cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList( struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList_params *params ); + diff --git a/lsteamclient/cppISteamParties_SteamParties002.cpp b/lsteamclient/cppISteamParties_SteamParties002.cpp index 3af276b1..d76733c8 100644 --- a/lsteamclient/cppISteamParties_SteamParties002.cpp +++ b/lsteamclient/cppISteamParties_SteamParties002.cpp @@ -12,95 +12,75 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamParties_SteamParties002.h" -uint32 cppISteamParties_SteamParties002_GetNumActiveBeacons(void *linux_side) +void cppISteamParties_SteamParties002_GetNumActiveBeacons( struct cppISteamParties_SteamParties002_GetNumActiveBeacons_params *params ) { - uint32 _ret; - _ret = ((ISteamParties*)linux_side)->GetNumActiveBeacons(); - return (_ret); + params->_ret = ((ISteamParties*)params->linux_side)->GetNumActiveBeacons( ); } -PartyBeaconID_t cppISteamParties_SteamParties002_GetBeaconByIndex(void *linux_side, uint32 unIndex) +void cppISteamParties_SteamParties002_GetBeaconByIndex( struct cppISteamParties_SteamParties002_GetBeaconByIndex_params *params ) { - PartyBeaconID_t _ret; - _ret = ((ISteamParties*)linux_side)->GetBeaconByIndex((uint32)unIndex); - return (_ret); + params->_ret = ((ISteamParties*)params->linux_side)->GetBeaconByIndex( (uint32)params->unIndex ); } -bool cppISteamParties_SteamParties002_GetBeaconDetails(void *linux_side, PartyBeaconID_t ulBeaconID, CSteamID *pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_158 *pLocation, char *pchMetadata, int cchMetadata) +void cppISteamParties_SteamParties002_GetBeaconDetails( struct cppISteamParties_SteamParties002_GetBeaconDetails_params *params ) { - bool _ret; SteamPartyBeaconLocation_t lin_pLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_158(pLocation, &lin_pLocation); - _ret = ((ISteamParties*)linux_side)->GetBeaconDetails((PartyBeaconID_t)ulBeaconID, (CSteamID *)pSteamIDBeaconOwner, &lin_pLocation, (char *)pchMetadata, (int)cchMetadata); - lin_to_win_struct_SteamPartyBeaconLocation_t_158(&lin_pLocation, pLocation); - return (_ret); + win_to_lin_struct_SteamPartyBeaconLocation_t_158( params->pLocation, &lin_pLocation ); + params->_ret = ((ISteamParties*)params->linux_side)->GetBeaconDetails( (PartyBeaconID_t)params->ulBeaconID, (CSteamID *)params->pSteamIDBeaconOwner, &lin_pLocation, (char *)params->pchMetadata, (int)params->cchMetadata ); + lin_to_win_struct_SteamPartyBeaconLocation_t_158( &lin_pLocation, params->pLocation ); } -SteamAPICall_t cppISteamParties_SteamParties002_JoinParty(void *linux_side, PartyBeaconID_t ulBeaconID) +void cppISteamParties_SteamParties002_JoinParty( struct cppISteamParties_SteamParties002_JoinParty_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamParties*)linux_side)->JoinParty((PartyBeaconID_t)ulBeaconID); - return (_ret); + params->_ret = ((ISteamParties*)params->linux_side)->JoinParty( (PartyBeaconID_t)params->ulBeaconID ); } -bool cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(void *linux_side, uint32 *puNumLocations) +void cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations( struct cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations_params *params ) { - bool _ret; - _ret = ((ISteamParties*)linux_side)->GetNumAvailableBeaconLocations((uint32 *)puNumLocations); - return (_ret); + params->_ret = ((ISteamParties*)params->linux_side)->GetNumAvailableBeaconLocations( (uint32 *)params->puNumLocations ); } -bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *linux_side, winSteamPartyBeaconLocation_t_158 *pLocationList, uint32 uMaxNumLocations) +void cppISteamParties_SteamParties002_GetAvailableBeaconLocations( struct cppISteamParties_SteamParties002_GetAvailableBeaconLocations_params *params ) { - bool _ret; SteamPartyBeaconLocation_t lin_pLocationList; - win_to_lin_struct_SteamPartyBeaconLocation_t_158(pLocationList, &lin_pLocationList); - _ret = ((ISteamParties*)linux_side)->GetAvailableBeaconLocations(&lin_pLocationList, (uint32)uMaxNumLocations); - lin_to_win_struct_SteamPartyBeaconLocation_t_158(&lin_pLocationList, pLocationList); - return (_ret); + win_to_lin_struct_SteamPartyBeaconLocation_t_158( params->pLocationList, &lin_pLocationList ); + params->_ret = ((ISteamParties*)params->linux_side)->GetAvailableBeaconLocations( &lin_pLocationList, (uint32)params->uMaxNumLocations ); + lin_to_win_struct_SteamPartyBeaconLocation_t_158( &lin_pLocationList, params->pLocationList ); } -SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *linux_side, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_158 *pBeaconLocation, const char *pchConnectString, const char *pchMetadata) +void cppISteamParties_SteamParties002_CreateBeacon( struct cppISteamParties_SteamParties002_CreateBeacon_params *params ) { - SteamAPICall_t _ret; SteamPartyBeaconLocation_t lin_pBeaconLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_158(pBeaconLocation, &lin_pBeaconLocation); - _ret = ((ISteamParties*)linux_side)->CreateBeacon((uint32)unOpenSlots, &lin_pBeaconLocation, (const char *)pchConnectString, (const char *)pchMetadata); - lin_to_win_struct_SteamPartyBeaconLocation_t_158(&lin_pBeaconLocation, pBeaconLocation); - return (_ret); + win_to_lin_struct_SteamPartyBeaconLocation_t_158( params->pBeaconLocation, &lin_pBeaconLocation ); + params->_ret = ((ISteamParties*)params->linux_side)->CreateBeacon( (uint32)params->unOpenSlots, &lin_pBeaconLocation, (const char *)params->pchConnectString, (const char *)params->pchMetadata ); + lin_to_win_struct_SteamPartyBeaconLocation_t_158( &lin_pBeaconLocation, params->pBeaconLocation ); } -void cppISteamParties_SteamParties002_OnReservationCompleted(void *linux_side, PartyBeaconID_t ulBeacon, CSteamID steamIDUser) +void cppISteamParties_SteamParties002_OnReservationCompleted( struct cppISteamParties_SteamParties002_OnReservationCompleted_params *params ) { - ((ISteamParties*)linux_side)->OnReservationCompleted((PartyBeaconID_t)ulBeacon, (CSteamID)steamIDUser); + ((ISteamParties*)params->linux_side)->OnReservationCompleted( (PartyBeaconID_t)params->ulBeacon, (CSteamID)params->steamIDUser ); } -void cppISteamParties_SteamParties002_CancelReservation(void *linux_side, PartyBeaconID_t ulBeacon, CSteamID steamIDUser) +void cppISteamParties_SteamParties002_CancelReservation( struct cppISteamParties_SteamParties002_CancelReservation_params *params ) { - ((ISteamParties*)linux_side)->CancelReservation((PartyBeaconID_t)ulBeacon, (CSteamID)steamIDUser); + ((ISteamParties*)params->linux_side)->CancelReservation( (PartyBeaconID_t)params->ulBeacon, (CSteamID)params->steamIDUser ); } -SteamAPICall_t cppISteamParties_SteamParties002_ChangeNumOpenSlots(void *linux_side, PartyBeaconID_t ulBeacon, uint32 unOpenSlots) +void cppISteamParties_SteamParties002_ChangeNumOpenSlots( struct cppISteamParties_SteamParties002_ChangeNumOpenSlots_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamParties*)linux_side)->ChangeNumOpenSlots((PartyBeaconID_t)ulBeacon, (uint32)unOpenSlots); - return (_ret); + params->_ret = ((ISteamParties*)params->linux_side)->ChangeNumOpenSlots( (PartyBeaconID_t)params->ulBeacon, (uint32)params->unOpenSlots ); } -bool cppISteamParties_SteamParties002_DestroyBeacon(void *linux_side, PartyBeaconID_t ulBeacon) +void cppISteamParties_SteamParties002_DestroyBeacon( struct cppISteamParties_SteamParties002_DestroyBeacon_params *params ) { - bool _ret; - _ret = ((ISteamParties*)linux_side)->DestroyBeacon((PartyBeaconID_t)ulBeacon); - return (_ret); + params->_ret = ((ISteamParties*)params->linux_side)->DestroyBeacon( (PartyBeaconID_t)params->ulBeacon ); } -bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *linux_side, winSteamPartyBeaconLocation_t_158 BeaconLocation, ESteamPartyBeaconLocationData eData, char *pchDataStringOut, int cchDataStringOut) +void cppISteamParties_SteamParties002_GetBeaconLocationData( struct cppISteamParties_SteamParties002_GetBeaconLocationData_params *params ) { - bool _ret; SteamPartyBeaconLocation_t lin_BeaconLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_158(&BeaconLocation, &lin_BeaconLocation); - _ret = ((ISteamParties*)linux_side)->GetBeaconLocationData(lin_BeaconLocation, (ESteamPartyBeaconLocationData)eData, (char *)pchDataStringOut, (int)cchDataStringOut); - return (_ret); + win_to_lin_struct_SteamPartyBeaconLocation_t_158( ¶ms->BeaconLocation, &lin_BeaconLocation ); + params->_ret = ((ISteamParties*)params->linux_side)->GetBeaconLocationData( lin_BeaconLocation, (ESteamPartyBeaconLocationData)params->eData, (char *)params->pchDataStringOut, (int)params->cchDataStringOut ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamParties_SteamParties002.h b/lsteamclient/cppISteamParties_SteamParties002.h index 008052d7..cd246b25 100644 --- a/lsteamclient/cppISteamParties_SteamParties002.h +++ b/lsteamclient/cppISteamParties_SteamParties002.h @@ -1,12 +1,107 @@ -extern uint32 cppISteamParties_SteamParties002_GetNumActiveBeacons(void *); -extern PartyBeaconID_t cppISteamParties_SteamParties002_GetBeaconByIndex(void *, uint32); -extern bool cppISteamParties_SteamParties002_GetBeaconDetails(void *, PartyBeaconID_t, CSteamID *, winSteamPartyBeaconLocation_t_158 *, char *, int); -extern SteamAPICall_t cppISteamParties_SteamParties002_JoinParty(void *, PartyBeaconID_t); -extern bool cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(void *, uint32 *); -extern bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *, winSteamPartyBeaconLocation_t_158 *, uint32); -extern SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *, uint32, winSteamPartyBeaconLocation_t_158 *, const char *, const char *); -extern void cppISteamParties_SteamParties002_OnReservationCompleted(void *, PartyBeaconID_t, CSteamID); -extern void cppISteamParties_SteamParties002_CancelReservation(void *, PartyBeaconID_t, CSteamID); -extern SteamAPICall_t cppISteamParties_SteamParties002_ChangeNumOpenSlots(void *, PartyBeaconID_t, uint32); -extern bool cppISteamParties_SteamParties002_DestroyBeacon(void *, PartyBeaconID_t); -extern bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *, winSteamPartyBeaconLocation_t_158, ESteamPartyBeaconLocationData, char *, int); +struct cppISteamParties_SteamParties002_GetNumActiveBeacons_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamParties_SteamParties002_GetNumActiveBeacons( struct cppISteamParties_SteamParties002_GetNumActiveBeacons_params *params ); + +struct cppISteamParties_SteamParties002_GetBeaconByIndex_params +{ + void *linux_side; + PartyBeaconID_t _ret; + uint32 unIndex; +}; +extern void cppISteamParties_SteamParties002_GetBeaconByIndex( struct cppISteamParties_SteamParties002_GetBeaconByIndex_params *params ); + +struct cppISteamParties_SteamParties002_GetBeaconDetails_params +{ + void *linux_side; + bool _ret; + PartyBeaconID_t ulBeaconID; + CSteamID *pSteamIDBeaconOwner; + winSteamPartyBeaconLocation_t_158 *pLocation; + char *pchMetadata; + int cchMetadata; +}; +extern void cppISteamParties_SteamParties002_GetBeaconDetails( struct cppISteamParties_SteamParties002_GetBeaconDetails_params *params ); + +struct cppISteamParties_SteamParties002_JoinParty_params +{ + void *linux_side; + SteamAPICall_t _ret; + PartyBeaconID_t ulBeaconID; +}; +extern void cppISteamParties_SteamParties002_JoinParty( struct cppISteamParties_SteamParties002_JoinParty_params *params ); + +struct cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations_params +{ + void *linux_side; + bool _ret; + uint32 *puNumLocations; +}; +extern void cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations( struct cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations_params *params ); + +struct cppISteamParties_SteamParties002_GetAvailableBeaconLocations_params +{ + void *linux_side; + bool _ret; + winSteamPartyBeaconLocation_t_158 *pLocationList; + uint32 uMaxNumLocations; +}; +extern void cppISteamParties_SteamParties002_GetAvailableBeaconLocations( struct cppISteamParties_SteamParties002_GetAvailableBeaconLocations_params *params ); + +struct cppISteamParties_SteamParties002_CreateBeacon_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unOpenSlots; + winSteamPartyBeaconLocation_t_158 *pBeaconLocation; + const char *pchConnectString; + const char *pchMetadata; +}; +extern void cppISteamParties_SteamParties002_CreateBeacon( struct cppISteamParties_SteamParties002_CreateBeacon_params *params ); + +struct cppISteamParties_SteamParties002_OnReservationCompleted_params +{ + void *linux_side; + PartyBeaconID_t ulBeacon; + CSteamID steamIDUser; +}; +extern void cppISteamParties_SteamParties002_OnReservationCompleted( struct cppISteamParties_SteamParties002_OnReservationCompleted_params *params ); + +struct cppISteamParties_SteamParties002_CancelReservation_params +{ + void *linux_side; + PartyBeaconID_t ulBeacon; + CSteamID steamIDUser; +}; +extern void cppISteamParties_SteamParties002_CancelReservation( struct cppISteamParties_SteamParties002_CancelReservation_params *params ); + +struct cppISteamParties_SteamParties002_ChangeNumOpenSlots_params +{ + void *linux_side; + SteamAPICall_t _ret; + PartyBeaconID_t ulBeacon; + uint32 unOpenSlots; +}; +extern void cppISteamParties_SteamParties002_ChangeNumOpenSlots( struct cppISteamParties_SteamParties002_ChangeNumOpenSlots_params *params ); + +struct cppISteamParties_SteamParties002_DestroyBeacon_params +{ + void *linux_side; + bool _ret; + PartyBeaconID_t ulBeacon; +}; +extern void cppISteamParties_SteamParties002_DestroyBeacon( struct cppISteamParties_SteamParties002_DestroyBeacon_params *params ); + +struct cppISteamParties_SteamParties002_GetBeaconLocationData_params +{ + void *linux_side; + bool _ret; + winSteamPartyBeaconLocation_t_158 BeaconLocation; + ESteamPartyBeaconLocationData eData; + char *pchDataStringOut; + int cchDataStringOut; +}; +extern void cppISteamParties_SteamParties002_GetBeaconLocationData( struct cppISteamParties_SteamParties002_GetBeaconLocationData_params *params ); + diff --git a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp index 8b9f33cd..1cb808d8 100644 --- a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp @@ -12,53 +12,39 @@ extern "C" { #define SDKVER_157 #include "struct_converters.h" #include "cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h" -uint32 cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount(void *linux_side) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount_params *params ) { - uint32 _ret; - _ret = ((ISteamRemotePlay*)linux_side)->GetSessionCount(); - return (_ret); + params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionCount( ); } -RemotePlaySessionID_t cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID(void *linux_side, int iSessionIndex) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID_params *params ) { - RemotePlaySessionID_t _ret; - _ret = ((ISteamRemotePlay*)linux_side)->GetSessionID((int)iSessionIndex); - return (_ret); + params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionID( (int)params->iSessionIndex ); } -CSteamID cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID(void *linux_side, RemotePlaySessionID_t unSessionID) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamRemotePlay*)linux_side)->GetSessionSteamID((RemotePlaySessionID_t)unSessionID); - return (_ret); + *params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionSteamID( (RemotePlaySessionID_t)params->unSessionID ); } -const char * cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName(void *linux_side, RemotePlaySessionID_t unSessionID) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName_params *params ) { - const char *_ret; - _ret = ((ISteamRemotePlay*)linux_side)->GetSessionClientName((RemotePlaySessionID_t)unSessionID); - return (_ret); + params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionClientName( (RemotePlaySessionID_t)params->unSessionID ); } -ESteamDeviceFormFactor cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor(void *linux_side, RemotePlaySessionID_t unSessionID) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor_params *params ) { - ESteamDeviceFormFactor _ret; - _ret = ((ISteamRemotePlay*)linux_side)->GetSessionClientFormFactor((RemotePlaySessionID_t)unSessionID); - return (_ret); + params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionClientFormFactor( (RemotePlaySessionID_t)params->unSessionID ); } -bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution(void *linux_side, RemotePlaySessionID_t unSessionID, int *pnResolutionX, int *pnResolutionY) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution_params *params ) { - bool _ret; - _ret = ((ISteamRemotePlay*)linux_side)->BGetSessionClientResolution((RemotePlaySessionID_t)unSessionID, (int *)pnResolutionX, (int *)pnResolutionY); - return (_ret); + params->_ret = ((ISteamRemotePlay*)params->linux_side)->BGetSessionClientResolution( (RemotePlaySessionID_t)params->unSessionID, (int *)params->pnResolutionX, (int *)params->pnResolutionY ); } -bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite(void *linux_side, CSteamID steamIDFriend) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite_params *params ) { - bool _ret; - _ret = ((ISteamRemotePlay*)linux_side)->BSendRemotePlayTogetherInvite((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamRemotePlay*)params->linux_side)->BSendRemotePlayTogetherInvite( (CSteamID)params->steamIDFriend ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h index b4ab37ae..a83062db 100644 --- a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h +++ b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h @@ -1,7 +1,57 @@ -extern uint32 cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount(void *); -extern RemotePlaySessionID_t cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID(void *, int); -extern CSteamID cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID(void *, RemotePlaySessionID_t); -extern const char * cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName(void *, RemotePlaySessionID_t); -extern ESteamDeviceFormFactor cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor(void *, RemotePlaySessionID_t); -extern bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution(void *, RemotePlaySessionID_t, int *, int *); -extern bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite(void *, CSteamID); +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount_params *params ); + +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID_params +{ + void *linux_side; + RemotePlaySessionID_t _ret; + int iSessionIndex; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID_params *params ); + +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID_params +{ + void *linux_side; + CSteamID *_ret; + RemotePlaySessionID_t unSessionID; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID_params *params ); + +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName_params +{ + void *linux_side; + const char *_ret; + RemotePlaySessionID_t unSessionID; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName_params *params ); + +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor_params +{ + void *linux_side; + ESteamDeviceFormFactor _ret; + RemotePlaySessionID_t unSessionID; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor_params *params ); + +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution_params +{ + void *linux_side; + bool _ret; + RemotePlaySessionID_t unSessionID; + int *pnResolutionX; + int *pnResolutionY; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution_params *params ); + +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite_params *params ); + diff --git a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.cpp index 8ac66da4..b41504d5 100644 --- a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.cpp @@ -12,60 +12,44 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.h" -uint32 cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount(void *linux_side) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount_params *params ) { - uint32 _ret; - _ret = ((ISteamRemotePlay*)linux_side)->GetSessionCount(); - return (_ret); + params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionCount( ); } -RemotePlaySessionID_t cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID(void *linux_side, int iSessionIndex) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID_params *params ) { - RemotePlaySessionID_t _ret; - _ret = ((ISteamRemotePlay*)linux_side)->GetSessionID((int)iSessionIndex); - return (_ret); + params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionID( (int)params->iSessionIndex ); } -CSteamID cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID(void *linux_side, RemotePlaySessionID_t unSessionID) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamRemotePlay*)linux_side)->GetSessionSteamID((RemotePlaySessionID_t)unSessionID); - return (_ret); + *params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionSteamID( (RemotePlaySessionID_t)params->unSessionID ); } -const char * cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName(void *linux_side, RemotePlaySessionID_t unSessionID) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName_params *params ) { - const char *_ret; - _ret = ((ISteamRemotePlay*)linux_side)->GetSessionClientName((RemotePlaySessionID_t)unSessionID); - return (_ret); + params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionClientName( (RemotePlaySessionID_t)params->unSessionID ); } -ESteamDeviceFormFactor cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor(void *linux_side, RemotePlaySessionID_t unSessionID) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor_params *params ) { - ESteamDeviceFormFactor _ret; - _ret = ((ISteamRemotePlay*)linux_side)->GetSessionClientFormFactor((RemotePlaySessionID_t)unSessionID); - return (_ret); + params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionClientFormFactor( (RemotePlaySessionID_t)params->unSessionID ); } -bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution(void *linux_side, RemotePlaySessionID_t unSessionID, int *pnResolutionX, int *pnResolutionY) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution_params *params ) { - bool _ret; - _ret = ((ISteamRemotePlay*)linux_side)->BGetSessionClientResolution((RemotePlaySessionID_t)unSessionID, (int *)pnResolutionX, (int *)pnResolutionY); - return (_ret); + params->_ret = ((ISteamRemotePlay*)params->linux_side)->BGetSessionClientResolution( (RemotePlaySessionID_t)params->unSessionID, (int *)params->pnResolutionX, (int *)params->pnResolutionY ); } -bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether(void *linux_side, bool bShowOverlay) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether_params *params ) { - bool _ret; - _ret = ((ISteamRemotePlay*)linux_side)->BStartRemotePlayTogether((bool)bShowOverlay); - return (_ret); + params->_ret = ((ISteamRemotePlay*)params->linux_side)->BStartRemotePlayTogether( (bool)params->bShowOverlay ); } -bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite(void *linux_side, CSteamID steamIDFriend) +void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite_params *params ) { - bool _ret; - _ret = ((ISteamRemotePlay*)linux_side)->BSendRemotePlayTogetherInvite((CSteamID)steamIDFriend); - return (_ret); + params->_ret = ((ISteamRemotePlay*)params->linux_side)->BSendRemotePlayTogetherInvite( (CSteamID)params->steamIDFriend ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.h b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.h index d8f797a9..c3336306 100644 --- a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.h +++ b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.h @@ -1,8 +1,65 @@ -extern uint32 cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount(void *); -extern RemotePlaySessionID_t cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID(void *, int); -extern CSteamID cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID(void *, RemotePlaySessionID_t); -extern const char * cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName(void *, RemotePlaySessionID_t); -extern ESteamDeviceFormFactor cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor(void *, RemotePlaySessionID_t); -extern bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution(void *, RemotePlaySessionID_t, int *, int *); -extern bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether(void *, bool); -extern bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite(void *, CSteamID); +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount_params *params ); + +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID_params +{ + void *linux_side; + RemotePlaySessionID_t _ret; + int iSessionIndex; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID_params *params ); + +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID_params +{ + void *linux_side; + CSteamID *_ret; + RemotePlaySessionID_t unSessionID; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID_params *params ); + +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName_params +{ + void *linux_side; + const char *_ret; + RemotePlaySessionID_t unSessionID; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName_params *params ); + +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor_params +{ + void *linux_side; + ESteamDeviceFormFactor _ret; + RemotePlaySessionID_t unSessionID; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor_params *params ); + +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution_params +{ + void *linux_side; + bool _ret; + RemotePlaySessionID_t unSessionID; + int *pnResolutionX; + int *pnResolutionY; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution_params *params ); + +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether_params +{ + void *linux_side; + bool _ret; + bool bShowOverlay; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether_params *params ); + +struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDFriend; +}; +extern void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.cpp index f0d37cda..6209d1f3 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.cpp @@ -11,60 +11,44 @@ extern "C" { #define SDKVER_102x #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.h index 9fdcccb5..72911c97 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.h @@ -1,8 +1,69 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota(void *, int32 *, int32 *); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota_params +{ + void *linux_side; + bool _ret; + int32 *pnTotalBytes; + int32 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp index 35e9c53f..3a45f5ea 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp @@ -11,53 +11,39 @@ extern "C" { #define SDKVER_111 #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.h index fb30ea71..c146943e 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.h @@ -1,7 +1,61 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota(void *, int32 *, int32 *); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota_params +{ + void *linux_side; + bool _ret; + int32 *pnTotalBytes; + int32 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.cpp index d0311f70..1c375a73 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.cpp @@ -11,142 +11,104 @@ extern "C" { #define SDKVER_111x #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileForget( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileShare( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FilePersisted( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp_params *params ) { - int64 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileTimestamp( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForAccount( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForApp( ); } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp_params *params ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + ((ISteamRemoteStorage*)params->linux_side)->SetCloudEnabledForApp( (bool)params->bEnabled ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload(void *linux_side, UGCHandle_t hContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownload( (UGCHandle_t)params->hContent ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDetails( (UGCHandle_t)params->hContent, (AppId_t *)params->pnAppID, (char **)params->ppchName, (int32 *)params->pnFileSizeInBytes, (CSteamID *)params->pSteamIDOwner ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead(void *linux_side, UGCHandle_t hContent, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCRead( (UGCHandle_t)params->hContent, (void *)params->pvData, (int32)params->cubDataToRead ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCCount( ); } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle_params *params ) { - UGCHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCHandle( (int32)params->iCachedContent ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.h index aa27fcb3..671674a6 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.h @@ -1,20 +1,167 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead(void *, UGCHandle_t, void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle(void *, int32); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp_params +{ + void *linux_side; + int64 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota_params +{ + void *linux_side; + bool _ret; + int32 *pnTotalBytes; + int32 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + AppId_t *pnAppID; + char **ppchName; + int32 *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead_params +{ + void *linux_side; + int32 _ret; + UGCHandle_t hContent; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle_params +{ + void *linux_side; + UGCHandle_t _ret; + int32 iCachedContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp index 7510fce6..c3d3e4f1 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp @@ -11,156 +11,114 @@ extern "C" { #define SDKVER_116 #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileForget( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileShare( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms(void *linux_side, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetSyncPlatforms( (const char *)params->pchFile, (ERemoteStoragePlatform)params->eRemoteStoragePlatform ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FilePersisted( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp_params *params ) { - int64 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileTimestamp( (const char *)params->pchFile ); } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms_params *params ) { - ERemoteStoragePlatform _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetSyncPlatforms( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForAccount( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForApp( ); } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp_params *params ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + ((ISteamRemoteStorage*)params->linux_side)->SetCloudEnabledForApp( (bool)params->bEnabled ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload(void *linux_side, UGCHandle_t hContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownload( (UGCHandle_t)params->hContent ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDetails( (UGCHandle_t)params->hContent, (AppId_t *)params->pnAppID, (char **)params->ppchName, (int32 *)params->pnFileSizeInBytes, (CSteamID *)params->pSteamIDOwner ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead(void *linux_side, UGCHandle_t hContent, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCRead( (UGCHandle_t)params->hContent, (void *)params->pvData, (int32)params->cubDataToRead ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCCount( ); } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle_params *params ) { - UGCHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCHandle( (int32)params->iCachedContent ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.h index fe6ba3f4..40441106 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.h @@ -1,22 +1,184 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead(void *, UGCHandle_t, void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle(void *, int32); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + ERemoteStoragePlatform eRemoteStoragePlatform; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp_params +{ + void *linux_side; + int64 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms_params +{ + void *linux_side; + ERemoteStoragePlatform _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota_params +{ + void *linux_side; + bool _ret; + int32 *pnTotalBytes; + int32 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + AppId_t *pnAppID; + char **ppchName; + int32 *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead_params +{ + void *linux_side; + int32 _ret; + UGCHandle_t hContent; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle_params +{ + void *linux_side; + UGCHandle_t _ret; + int32 iCachedContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp index 39888618..3f70f759 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp @@ -11,219 +11,159 @@ extern "C" { #define SDKVER_117 #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileForget( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileShare( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms(void *linux_side, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetSyncPlatforms( (const char *)params->pchFile, (ERemoteStoragePlatform)params->eRemoteStoragePlatform ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FilePersisted( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp_params *params ) { - int64 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileTimestamp( (const char *)params->pchFile ); } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms_params *params ) { - ERemoteStoragePlatform _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetSyncPlatforms( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForAccount( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForApp( ); } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp_params *params ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + ((ISteamRemoteStorage*)params->linux_side)->SetCloudEnabledForApp( (bool)params->bEnabled ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload(void *linux_side, UGCHandle_t hContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownload( (UGCHandle_t)params->hContent ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDetails( (UGCHandle_t)params->hContent, (AppId_t *)params->pnAppID, (char **)params->ppchName, (int32 *)params->pnFileSizeInBytes, (CSteamID *)params->pSteamIDOwner ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead(void *linux_side, UGCHandle_t hContent, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCRead( (UGCHandle_t)params->hContent, (void *)params->pvData, (int32)params->cubDataToRead ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCCount( ); } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle_params *params ) { - UGCHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCHandle( (int32)params->iCachedContent ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile(void *linux_side, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishFile( (const char *)params->pchFile, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile(void *linux_side, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishWorkshopFile( (const char *)params->pchFile, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile(void *linux_side, RemoteStorageUpdatePublishedFileRequest_t updatePublishedFileRequest) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFile((RemoteStorageUpdatePublishedFileRequest_t)updatePublishedFileRequest); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFile( (RemoteStorageUpdatePublishedFileRequest_t)params->updatePublishedFileRequest ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedFileDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->DeletePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserPublishedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSubscribedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UnsubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.h index f2e148f8..e2534f7b 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.h @@ -1,31 +1,267 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead(void *, UGCHandle_t, void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile(void *, RemoteStorageUpdatePublishedFileRequest_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile(void *, PublishedFileId_t); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + ERemoteStoragePlatform eRemoteStoragePlatform; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp_params +{ + void *linux_side; + int64 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms_params +{ + void *linux_side; + ERemoteStoragePlatform _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota_params +{ + void *linux_side; + bool _ret; + int32 *pnTotalBytes; + int32 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + AppId_t *pnAppID; + char **ppchName; + int32 *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead_params +{ + void *linux_side; + int32 _ret; + UGCHandle_t hContent; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle_params +{ + void *linux_side; + UGCHandle_t _ret; + int32 iCachedContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + RemoteStorageUpdatePublishedFileRequest_t updatePublishedFileRequest; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp index 0662332b..7fcdf12d 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp @@ -11,331 +11,239 @@ extern "C" { #define SDKVER_119 #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileForget( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileShare( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms(void *linux_side, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetSyncPlatforms( (const char *)params->pchFile, (ERemoteStoragePlatform)params->eRemoteStoragePlatform ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FilePersisted( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp_params *params ) { - int64 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileTimestamp( (const char *)params->pchFile ); } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms_params *params ) { - ERemoteStoragePlatform _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetSyncPlatforms( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForAccount( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForApp( ); } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp_params *params ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + ((ISteamRemoteStorage*)params->linux_side)->SetCloudEnabledForApp( (bool)params->bEnabled ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload(void *linux_side, UGCHandle_t hContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownload( (UGCHandle_t)params->hContent ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDownloadProgress( (UGCHandle_t)params->hContent, (int32 *)params->pnBytesDownloaded, (int32 *)params->pnBytesExpected ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDetails( (UGCHandle_t)params->hContent, (AppId_t *)params->pnAppID, (char **)params->ppchName, (int32 *)params->pnFileSizeInBytes, (CSteamID *)params->pSteamIDOwner ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead(void *linux_side, UGCHandle_t hContent, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCRead( (UGCHandle_t)params->hContent, (void *)params->pvData, (int32)params->cubDataToRead ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCCount( ); } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle_params *params ) { - UGCHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCHandle( (int32)params->iCachedContent ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile(void *linux_side, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishWorkshopFile( (const char *)params->pchFile, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags, (EWorkshopFileType)params->eWorkshopFileType ); } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest_params *params ) { - PublishedFileUpdateHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CreatePublishedFileUpdateRequest( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFilePreviewFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchPreviewFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTitle( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchTitle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchDescription ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileVisibility( (PublishedFileUpdateHandle_t)params->updateHandle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTags( (PublishedFileUpdateHandle_t)params->updateHandle, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CommitPublishedFileUpdate( (PublishedFileUpdateHandle_t)params->updateHandle ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedFileDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->DeletePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserPublishedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSubscribedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UnsubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileSetChangeDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchChangeDescription ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdateUserPublishedItemVote( (PublishedFileId_t)params->unPublishedFileId, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUserPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSharedWorkshopFiles( (CSteamID)params->steamId, (uint32)params->unStartIndex, (SteamParamStringArray_t *)params->pRequiredTags, (SteamParamStringArray_t *)params->pExcludedTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo(void *linux_side, const char *pchVideoURL, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishVideo((const char *)pchVideoURL, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishVideo( (const char *)params->pchVideoURL, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetUserPublishedFileAction( (PublishedFileId_t)params->unPublishedFileId, (EWorkshopFileAction)params->eAction ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedFilesByUserAction( (EWorkshopFileAction)params->eAction, (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedWorkshopFiles( (EWorkshopEnumerationType)params->eEnumerationType, (uint32)params->unStartIndex, (uint32)params->unCount, (uint32)params->unDays, (SteamParamStringArray_t *)params->pTags, (SteamParamStringArray_t *)params->pUserTags ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.h index 13b4399f..3eca0ca0 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.h @@ -1,47 +1,417 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead(void *, UGCHandle_t, void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + ERemoteStoragePlatform eRemoteStoragePlatform; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp_params +{ + void *linux_side; + int64 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms_params +{ + void *linux_side; + ERemoteStoragePlatform _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota_params +{ + void *linux_side; + bool _ret; + int32 *pnTotalBytes; + int32 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + int32 *pnBytesDownloaded; + int32 *pnBytesExpected; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + AppId_t *pnAppID; + char **ppchName; + int32 *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead_params +{ + void *linux_side; + int32 _ret; + UGCHandle_t hContent; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle_params +{ + void *linux_side; + UGCHandle_t _ret; + int32 iCachedContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; + EWorkshopFileType eWorkshopFileType; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest_params +{ + void *linux_side; + PublishedFileUpdateHandle_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchPreviewFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchTitle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileUpdateHandle_t updateHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchChangeDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + bool bVoteUp; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamId; + uint32 unStartIndex; + SteamParamStringArray_t *pRequiredTags; + SteamParamStringArray_t *pExcludedTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchVideoURL; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + EWorkshopFileAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopFileAction eAction; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopEnumerationType eEnumerationType; + uint32 unStartIndex; + uint32 unCount; + uint32 unDays; + SteamParamStringArray_t *pTags; + SteamParamStringArray_t *pUserTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.cpp index cac8d17d..5ad1456f 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.cpp @@ -11,331 +11,239 @@ extern "C" { #define SDKVER_119x #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileForget( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileShare( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms(void *linux_side, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetSyncPlatforms( (const char *)params->pchFile, (ERemoteStoragePlatform)params->eRemoteStoragePlatform ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FilePersisted( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp_params *params ) { - int64 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileTimestamp( (const char *)params->pchFile ); } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms_params *params ) { - ERemoteStoragePlatform _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetSyncPlatforms( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForAccount( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForApp( ); } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp_params *params ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + ((ISteamRemoteStorage*)params->linux_side)->SetCloudEnabledForApp( (bool)params->bEnabled ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload(void *linux_side, UGCHandle_t hContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownload( (UGCHandle_t)params->hContent ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDownloadProgress( (UGCHandle_t)params->hContent, (int32 *)params->pnBytesDownloaded, (int32 *)params->pnBytesExpected ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDetails( (UGCHandle_t)params->hContent, (AppId_t *)params->pnAppID, (char **)params->ppchName, (int32 *)params->pnFileSizeInBytes, (CSteamID *)params->pSteamIDOwner ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead(void *linux_side, UGCHandle_t hContent, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCRead( (UGCHandle_t)params->hContent, (void *)params->pvData, (int32)params->cubDataToRead ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCCount( ); } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle_params *params ) { - UGCHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCHandle( (int32)params->iCachedContent ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile(void *linux_side, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishWorkshopFile( (const char *)params->pchFile, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags, (EWorkshopFileType)params->eWorkshopFileType ); } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest_params *params ) { - PublishedFileUpdateHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CreatePublishedFileUpdateRequest( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFilePreviewFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchPreviewFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTitle( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchTitle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchDescription ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileVisibility( (PublishedFileUpdateHandle_t)params->updateHandle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTags( (PublishedFileUpdateHandle_t)params->updateHandle, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CommitPublishedFileUpdate( (PublishedFileUpdateHandle_t)params->updateHandle ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedFileDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->DeletePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserPublishedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSubscribedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UnsubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileSetChangeDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchChangeDescription ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdateUserPublishedItemVote( (PublishedFileId_t)params->unPublishedFileId, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUserPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSharedWorkshopFiles( (CSteamID)params->steamId, (uint32)params->unStartIndex, (SteamParamStringArray_t *)params->pRequiredTags, (SteamParamStringArray_t *)params->pExcludedTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishVideo( (EWorkshopVideoProvider)params->eVideoProvider, (const char *)params->pchVideoAccount, (const char *)params->pchVideoIdentifier, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetUserPublishedFileAction( (PublishedFileId_t)params->unPublishedFileId, (EWorkshopFileAction)params->eAction ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedFilesByUserAction( (EWorkshopFileAction)params->eAction, (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedWorkshopFiles( (EWorkshopEnumerationType)params->eEnumerationType, (uint32)params->unStartIndex, (uint32)params->unCount, (uint32)params->unDays, (SteamParamStringArray_t *)params->pTags, (SteamParamStringArray_t *)params->pUserTags ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.h index fcc7599c..22d0d608 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.h @@ -1,47 +1,419 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead(void *, UGCHandle_t, void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + ERemoteStoragePlatform eRemoteStoragePlatform; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp_params +{ + void *linux_side; + int64 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms_params +{ + void *linux_side; + ERemoteStoragePlatform _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota_params +{ + void *linux_side; + bool _ret; + int32 *pnTotalBytes; + int32 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + int32 *pnBytesDownloaded; + int32 *pnBytesExpected; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + AppId_t *pnAppID; + char **ppchName; + int32 *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead_params +{ + void *linux_side; + int32 _ret; + UGCHandle_t hContent; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle_params +{ + void *linux_side; + UGCHandle_t _ret; + int32 iCachedContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; + EWorkshopFileType eWorkshopFileType; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest_params +{ + void *linux_side; + PublishedFileUpdateHandle_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchPreviewFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchTitle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileUpdateHandle_t updateHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchChangeDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + bool bVoteUp; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamId; + uint32 unStartIndex; + SteamParamStringArray_t *pRequiredTags; + SteamParamStringArray_t *pExcludedTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopVideoProvider eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + EWorkshopFileAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopFileAction eAction; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopEnumerationType eEnumerationType; + uint32 unStartIndex; + uint32 unCount; + uint32 unDays; + SteamParamStringArray_t *pTags; + SteamParamStringArray_t *pUserTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp index fc372c81..acb39ce4 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp @@ -11,359 +11,259 @@ extern "C" { #define SDKVER_121 #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileForget( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileShare( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms(void *linux_side, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetSyncPlatforms( (const char *)params->pchFile, (ERemoteStoragePlatform)params->eRemoteStoragePlatform ); } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen_params *params ) { - UGCFileWriteStreamHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamOpen( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamWriteChunk( (UGCFileWriteStreamHandle_t)params->writeHandle, (const void *)params->pvData, (int32)params->cubData ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamClose( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamCancel( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FilePersisted( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp_params *params ) { - int64 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileTimestamp( (const char *)params->pchFile ); } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms_params *params ) { - ERemoteStoragePlatform _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetSyncPlatforms( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForAccount( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForApp( ); } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp_params *params ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + ((ISteamRemoteStorage*)params->linux_side)->SetCloudEnabledForApp( (bool)params->bEnabled ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload(void *linux_side, UGCHandle_t hContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownload( (UGCHandle_t)params->hContent ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDownloadProgress( (UGCHandle_t)params->hContent, (int32 *)params->pnBytesDownloaded, (int32 *)params->pnBytesExpected ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDetails( (UGCHandle_t)params->hContent, (AppId_t *)params->pnAppID, (char **)params->ppchName, (int32 *)params->pnFileSizeInBytes, (CSteamID *)params->pSteamIDOwner ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead(void *linux_side, UGCHandle_t hContent, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCRead( (UGCHandle_t)params->hContent, (void *)params->pvData, (int32)params->cubDataToRead ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCCount( ); } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle_params *params ) { - UGCHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCHandle( (int32)params->iCachedContent ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile(void *linux_side, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishWorkshopFile( (const char *)params->pchFile, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags, (EWorkshopFileType)params->eWorkshopFileType ); } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest_params *params ) { - PublishedFileUpdateHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CreatePublishedFileUpdateRequest( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFilePreviewFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchPreviewFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTitle( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchTitle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchDescription ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileVisibility( (PublishedFileUpdateHandle_t)params->updateHandle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTags( (PublishedFileUpdateHandle_t)params->updateHandle, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CommitPublishedFileUpdate( (PublishedFileUpdateHandle_t)params->updateHandle ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedFileDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->DeletePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserPublishedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSubscribedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UnsubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileSetChangeDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchChangeDescription ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdateUserPublishedItemVote( (PublishedFileId_t)params->unPublishedFileId, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUserPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSharedWorkshopFiles( (CSteamID)params->steamId, (uint32)params->unStartIndex, (SteamParamStringArray_t *)params->pRequiredTags, (SteamParamStringArray_t *)params->pExcludedTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishVideo( (EWorkshopVideoProvider)params->eVideoProvider, (const char *)params->pchVideoAccount, (const char *)params->pchVideoIdentifier, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetUserPublishedFileAction( (PublishedFileId_t)params->unPublishedFileId, (EWorkshopFileAction)params->eAction ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedFilesByUserAction( (EWorkshopFileAction)params->eAction, (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedWorkshopFiles( (EWorkshopEnumerationType)params->eEnumerationType, (uint32)params->unStartIndex, (uint32)params->unCount, (uint32)params->unDays, (SteamParamStringArray_t *)params->pTags, (SteamParamStringArray_t *)params->pUserTags ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.h index 4c71334f..059ebe1e 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.h @@ -1,51 +1,453 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead(void *, UGCHandle_t, void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + ERemoteStoragePlatform eRemoteStoragePlatform; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen_params +{ + void *linux_side; + UGCFileWriteStreamHandle_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp_params +{ + void *linux_side; + int64 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms_params +{ + void *linux_side; + ERemoteStoragePlatform _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota_params +{ + void *linux_side; + bool _ret; + int32 *pnTotalBytes; + int32 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + int32 *pnBytesDownloaded; + int32 *pnBytesExpected; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + AppId_t *pnAppID; + char **ppchName; + int32 *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead_params +{ + void *linux_side; + int32 _ret; + UGCHandle_t hContent; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle_params +{ + void *linux_side; + UGCHandle_t _ret; + int32 iCachedContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; + EWorkshopFileType eWorkshopFileType; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest_params +{ + void *linux_side; + PublishedFileUpdateHandle_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchPreviewFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchTitle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileUpdateHandle_t updateHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchChangeDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + bool bVoteUp; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamId; + uint32 unStartIndex; + SteamParamStringArray_t *pRequiredTags; + SteamParamStringArray_t *pExcludedTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopVideoProvider eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + EWorkshopFileAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopFileAction eAction; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopEnumerationType eEnumerationType; + uint32 unStartIndex; + uint32 unCount; + uint32 unDays; + SteamParamStringArray_t *pTags; + SteamParamStringArray_t *pUserTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.cpp index e844bff4..274a4413 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.cpp @@ -11,359 +11,259 @@ extern "C" { #define SDKVER_121x #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileForget( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileShare( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms(void *linux_side, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetSyncPlatforms( (const char *)params->pchFile, (ERemoteStoragePlatform)params->eRemoteStoragePlatform ); } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen_params *params ) { - UGCFileWriteStreamHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamOpen( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamWriteChunk( (UGCFileWriteStreamHandle_t)params->writeHandle, (const void *)params->pvData, (int32)params->cubData ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamClose( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamCancel( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FilePersisted( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp_params *params ) { - int64 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileTimestamp( (const char *)params->pchFile ); } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms_params *params ) { - ERemoteStoragePlatform _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetSyncPlatforms( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForAccount( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForApp( ); } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp_params *params ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + ((ISteamRemoteStorage*)params->linux_side)->SetCloudEnabledForApp( (bool)params->bEnabled ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload(void *linux_side, UGCHandle_t hContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownload( (UGCHandle_t)params->hContent ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDownloadProgress( (UGCHandle_t)params->hContent, (int32 *)params->pnBytesDownloaded, (int32 *)params->pnBytesExpected ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDetails( (UGCHandle_t)params->hContent, (AppId_t *)params->pnAppID, (char **)params->ppchName, (int32 *)params->pnFileSizeInBytes, (CSteamID *)params->pSteamIDOwner ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead(void *linux_side, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCRead( (UGCHandle_t)params->hContent, (void *)params->pvData, (int32)params->cubDataToRead, (uint32)params->cOffset ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCCount( ); } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle_params *params ) { - UGCHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCHandle( (int32)params->iCachedContent ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile(void *linux_side, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishWorkshopFile( (const char *)params->pchFile, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags, (EWorkshopFileType)params->eWorkshopFileType ); } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest_params *params ) { - PublishedFileUpdateHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CreatePublishedFileUpdateRequest( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFilePreviewFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchPreviewFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTitle( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchTitle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchDescription ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileVisibility( (PublishedFileUpdateHandle_t)params->updateHandle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTags( (PublishedFileUpdateHandle_t)params->updateHandle, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CommitPublishedFileUpdate( (PublishedFileUpdateHandle_t)params->updateHandle ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedFileDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->DeletePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserPublishedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSubscribedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UnsubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileSetChangeDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchChangeDescription ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdateUserPublishedItemVote( (PublishedFileId_t)params->unPublishedFileId, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUserPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSharedWorkshopFiles( (CSteamID)params->steamId, (uint32)params->unStartIndex, (SteamParamStringArray_t *)params->pRequiredTags, (SteamParamStringArray_t *)params->pExcludedTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishVideo( (EWorkshopVideoProvider)params->eVideoProvider, (const char *)params->pchVideoAccount, (const char *)params->pchVideoIdentifier, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetUserPublishedFileAction( (PublishedFileId_t)params->unPublishedFileId, (EWorkshopFileAction)params->eAction ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedFilesByUserAction( (EWorkshopFileAction)params->eAction, (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedWorkshopFiles( (EWorkshopEnumerationType)params->eEnumerationType, (uint32)params->unStartIndex, (uint32)params->unCount, (uint32)params->unDays, (SteamParamStringArray_t *)params->pTags, (SteamParamStringArray_t *)params->pUserTags ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.h index 668046f6..fb43f7c1 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.h @@ -1,51 +1,454 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead(void *, UGCHandle_t, void *, int32, uint32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + ERemoteStoragePlatform eRemoteStoragePlatform; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen_params +{ + void *linux_side; + UGCFileWriteStreamHandle_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp_params +{ + void *linux_side; + int64 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms_params +{ + void *linux_side; + ERemoteStoragePlatform _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota_params +{ + void *linux_side; + bool _ret; + int32 *pnTotalBytes; + int32 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + int32 *pnBytesDownloaded; + int32 *pnBytesExpected; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + AppId_t *pnAppID; + char **ppchName; + int32 *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead_params +{ + void *linux_side; + int32 _ret; + UGCHandle_t hContent; + void *pvData; + int32 cubDataToRead; + uint32 cOffset; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle_params +{ + void *linux_side; + UGCHandle_t _ret; + int32 iCachedContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; + EWorkshopFileType eWorkshopFileType; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest_params +{ + void *linux_side; + PublishedFileUpdateHandle_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchPreviewFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchTitle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileUpdateHandle_t updateHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchChangeDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + bool bVoteUp; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamId; + uint32 unStartIndex; + SteamParamStringArray_t *pRequiredTags; + SteamParamStringArray_t *pExcludedTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopVideoProvider eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + EWorkshopFileAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopFileAction eAction; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopEnumerationType eEnumerationType; + uint32 unStartIndex; + uint32 unCount; + uint32 unDays; + SteamParamStringArray_t *pTags; + SteamParamStringArray_t *pUserTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp index 93bc8f65..f017683b 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp @@ -11,366 +11,264 @@ extern "C" { #define SDKVER_124 #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileForget( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileShare( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms(void *linux_side, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetSyncPlatforms( (const char *)params->pchFile, (ERemoteStoragePlatform)params->eRemoteStoragePlatform ); } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen_params *params ) { - UGCFileWriteStreamHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamOpen( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamWriteChunk( (UGCFileWriteStreamHandle_t)params->writeHandle, (const void *)params->pvData, (int32)params->cubData ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamClose( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamCancel( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FilePersisted( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp_params *params ) { - int64 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileTimestamp( (const char *)params->pchFile ); } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms_params *params ) { - ERemoteStoragePlatform _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetSyncPlatforms( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForAccount( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForApp( ); } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp_params *params ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + ((ISteamRemoteStorage*)params->linux_side)->SetCloudEnabledForApp( (bool)params->bEnabled ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload(void *linux_side, UGCHandle_t hContent, uint32 unPriority) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent, (uint32)unPriority); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownload( (UGCHandle_t)params->hContent, (uint32)params->unPriority ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDownloadProgress( (UGCHandle_t)params->hContent, (int32 *)params->pnBytesDownloaded, (int32 *)params->pnBytesExpected ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDetails( (UGCHandle_t)params->hContent, (AppId_t *)params->pnAppID, (char **)params->ppchName, (int32 *)params->pnFileSizeInBytes, (CSteamID *)params->pSteamIDOwner ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead(void *linux_side, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCRead( (UGCHandle_t)params->hContent, (void *)params->pvData, (int32)params->cubDataToRead, (uint32)params->cOffset ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCCount( ); } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle_params *params ) { - UGCHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCHandle( (int32)params->iCachedContent ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile(void *linux_side, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishWorkshopFile( (const char *)params->pchFile, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags, (EWorkshopFileType)params->eWorkshopFileType ); } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest_params *params ) { - PublishedFileUpdateHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CreatePublishedFileUpdateRequest( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFilePreviewFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchPreviewFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTitle( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchTitle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchDescription ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileVisibility( (PublishedFileUpdateHandle_t)params->updateHandle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTags( (PublishedFileUpdateHandle_t)params->updateHandle, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CommitPublishedFileUpdate( (PublishedFileUpdateHandle_t)params->updateHandle ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedFileDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->DeletePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserPublishedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSubscribedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UnsubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileSetChangeDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchChangeDescription ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdateUserPublishedItemVote( (PublishedFileId_t)params->unPublishedFileId, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUserPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSharedWorkshopFiles( (CSteamID)params->steamId, (uint32)params->unStartIndex, (SteamParamStringArray_t *)params->pRequiredTags, (SteamParamStringArray_t *)params->pExcludedTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishVideo( (EWorkshopVideoProvider)params->eVideoProvider, (const char *)params->pchVideoAccount, (const char *)params->pchVideoIdentifier, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetUserPublishedFileAction( (PublishedFileId_t)params->unPublishedFileId, (EWorkshopFileAction)params->eAction ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedFilesByUserAction( (EWorkshopFileAction)params->eAction, (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedWorkshopFiles( (EWorkshopEnumerationType)params->eEnumerationType, (uint32)params->unStartIndex, (uint32)params->unCount, (uint32)params->unDays, (SteamParamStringArray_t *)params->pTags, (SteamParamStringArray_t *)params->pUserTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation(void *linux_side, UGCHandle_t hContent, const char *pchLocation, uint32 unPriority) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownloadToLocation((UGCHandle_t)hContent, (const char *)pchLocation, (uint32)unPriority); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownloadToLocation( (UGCHandle_t)params->hContent, (const char *)params->pchLocation, (uint32)params->unPriority ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.h index ec9a01bf..3ed4ef0d 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.h @@ -1,52 +1,465 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload(void *, UGCHandle_t, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead(void *, UGCHandle_t, void *, int32, uint32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation(void *, UGCHandle_t, const char *, uint32); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + ERemoteStoragePlatform eRemoteStoragePlatform; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen_params +{ + void *linux_side; + UGCFileWriteStreamHandle_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp_params +{ + void *linux_side; + int64 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms_params +{ + void *linux_side; + ERemoteStoragePlatform _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota_params +{ + void *linux_side; + bool _ret; + int32 *pnTotalBytes; + int32 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; + uint32 unPriority; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + int32 *pnBytesDownloaded; + int32 *pnBytesExpected; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + AppId_t *pnAppID; + char **ppchName; + int32 *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead_params +{ + void *linux_side; + int32 _ret; + UGCHandle_t hContent; + void *pvData; + int32 cubDataToRead; + uint32 cOffset; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle_params +{ + void *linux_side; + UGCHandle_t _ret; + int32 iCachedContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; + EWorkshopFileType eWorkshopFileType; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest_params +{ + void *linux_side; + PublishedFileUpdateHandle_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchPreviewFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchTitle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileUpdateHandle_t updateHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchChangeDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + bool bVoteUp; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamId; + uint32 unStartIndex; + SteamParamStringArray_t *pRequiredTags; + SteamParamStringArray_t *pExcludedTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopVideoProvider eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + EWorkshopFileAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopFileAction eAction; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopEnumerationType eEnumerationType; + uint32 unStartIndex; + uint32 unCount; + uint32 unDays; + SteamParamStringArray_t *pTags; + SteamParamStringArray_t *pUserTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; + const char *pchLocation; + uint32 unPriority; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp index 8b10ab0d..06e392a2 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp @@ -11,366 +11,264 @@ extern "C" { #define SDKVER_125 #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileForget( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileShare( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms(void *linux_side, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetSyncPlatforms( (const char *)params->pchFile, (ERemoteStoragePlatform)params->eRemoteStoragePlatform ); } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen_params *params ) { - UGCFileWriteStreamHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamOpen( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamWriteChunk( (UGCFileWriteStreamHandle_t)params->writeHandle, (const void *)params->pvData, (int32)params->cubData ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamClose( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamCancel( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FilePersisted( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp_params *params ) { - int64 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileTimestamp( (const char *)params->pchFile ); } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms_params *params ) { - ERemoteStoragePlatform _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetSyncPlatforms( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForAccount( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForApp( ); } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp_params *params ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + ((ISteamRemoteStorage*)params->linux_side)->SetCloudEnabledForApp( (bool)params->bEnabled ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload(void *linux_side, UGCHandle_t hContent, uint32 unPriority) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent, (uint32)unPriority); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownload( (UGCHandle_t)params->hContent, (uint32)params->unPriority ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDownloadProgress( (UGCHandle_t)params->hContent, (int32 *)params->pnBytesDownloaded, (int32 *)params->pnBytesExpected ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDetails( (UGCHandle_t)params->hContent, (AppId_t *)params->pnAppID, (char **)params->ppchName, (int32 *)params->pnFileSizeInBytes, (CSteamID *)params->pSteamIDOwner ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead(void *linux_side, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCRead( (UGCHandle_t)params->hContent, (void *)params->pvData, (int32)params->cubDataToRead, (uint32)params->cOffset ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCCount( ); } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle_params *params ) { - UGCHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCHandle( (int32)params->iCachedContent ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile(void *linux_side, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishWorkshopFile( (const char *)params->pchFile, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags, (EWorkshopFileType)params->eWorkshopFileType ); } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest_params *params ) { - PublishedFileUpdateHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CreatePublishedFileUpdateRequest( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFilePreviewFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchPreviewFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTitle( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchTitle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchDescription ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileVisibility( (PublishedFileUpdateHandle_t)params->updateHandle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTags( (PublishedFileUpdateHandle_t)params->updateHandle, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CommitPublishedFileUpdate( (PublishedFileUpdateHandle_t)params->updateHandle ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId, (uint32)unMaxSecondsOld); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedFileDetails( (PublishedFileId_t)params->unPublishedFileId, (uint32)params->unMaxSecondsOld ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->DeletePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserPublishedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSubscribedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UnsubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileSetChangeDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchChangeDescription ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdateUserPublishedItemVote( (PublishedFileId_t)params->unPublishedFileId, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUserPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSharedWorkshopFiles( (CSteamID)params->steamId, (uint32)params->unStartIndex, (SteamParamStringArray_t *)params->pRequiredTags, (SteamParamStringArray_t *)params->pExcludedTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishVideo( (EWorkshopVideoProvider)params->eVideoProvider, (const char *)params->pchVideoAccount, (const char *)params->pchVideoIdentifier, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetUserPublishedFileAction( (PublishedFileId_t)params->unPublishedFileId, (EWorkshopFileAction)params->eAction ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedFilesByUserAction( (EWorkshopFileAction)params->eAction, (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedWorkshopFiles( (EWorkshopEnumerationType)params->eEnumerationType, (uint32)params->unStartIndex, (uint32)params->unCount, (uint32)params->unDays, (SteamParamStringArray_t *)params->pTags, (SteamParamStringArray_t *)params->pUserTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation(void *linux_side, UGCHandle_t hContent, const char *pchLocation, uint32 unPriority) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownloadToLocation((UGCHandle_t)hContent, (const char *)pchLocation, (uint32)unPriority); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownloadToLocation( (UGCHandle_t)params->hContent, (const char *)params->pchLocation, (uint32)params->unPriority ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.h index 99315e02..1cafd4e6 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.h @@ -1,52 +1,466 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload(void *, UGCHandle_t, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead(void *, UGCHandle_t, void *, int32, uint32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation(void *, UGCHandle_t, const char *, uint32); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + ERemoteStoragePlatform eRemoteStoragePlatform; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen_params +{ + void *linux_side; + UGCFileWriteStreamHandle_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp_params +{ + void *linux_side; + int64 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms_params +{ + void *linux_side; + ERemoteStoragePlatform _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota_params +{ + void *linux_side; + bool _ret; + int32 *pnTotalBytes; + int32 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; + uint32 unPriority; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + int32 *pnBytesDownloaded; + int32 *pnBytesExpected; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + AppId_t *pnAppID; + char **ppchName; + int32 *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead_params +{ + void *linux_side; + int32 _ret; + UGCHandle_t hContent; + void *pvData; + int32 cubDataToRead; + uint32 cOffset; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle_params +{ + void *linux_side; + UGCHandle_t _ret; + int32 iCachedContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; + EWorkshopFileType eWorkshopFileType; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest_params +{ + void *linux_side; + PublishedFileUpdateHandle_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchPreviewFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchTitle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileUpdateHandle_t updateHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + uint32 unMaxSecondsOld; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchChangeDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + bool bVoteUp; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamId; + uint32 unStartIndex; + SteamParamStringArray_t *pRequiredTags; + SteamParamStringArray_t *pExcludedTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopVideoProvider eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + EWorkshopFileAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopFileAction eAction; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopEnumerationType eEnumerationType; + uint32 unStartIndex; + uint32 unCount; + uint32 unDays; + SteamParamStringArray_t *pTags; + SteamParamStringArray_t *pUserTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; + const char *pchLocation; + uint32 unPriority; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp index d7ef4879..57f481bb 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp @@ -11,366 +11,264 @@ extern "C" { #define SDKVER_134 #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileForget( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileShare( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms(void *linux_side, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetSyncPlatforms( (const char *)params->pchFile, (ERemoteStoragePlatform)params->eRemoteStoragePlatform ); } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen_params *params ) { - UGCFileWriteStreamHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamOpen( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamWriteChunk( (UGCFileWriteStreamHandle_t)params->writeHandle, (const void *)params->pvData, (int32)params->cubData ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamClose( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamCancel( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FilePersisted( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp_params *params ) { - int64 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileTimestamp( (const char *)params->pchFile ); } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms_params *params ) { - ERemoteStoragePlatform _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetSyncPlatforms( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForAccount( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForApp( ); } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp_params *params ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + ((ISteamRemoteStorage*)params->linux_side)->SetCloudEnabledForApp( (bool)params->bEnabled ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload(void *linux_side, UGCHandle_t hContent, uint32 unPriority) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent, (uint32)unPriority); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownload( (UGCHandle_t)params->hContent, (uint32)params->unPriority ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDownloadProgress( (UGCHandle_t)params->hContent, (int32 *)params->pnBytesDownloaded, (int32 *)params->pnBytesExpected ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDetails( (UGCHandle_t)params->hContent, (AppId_t *)params->pnAppID, (char **)params->ppchName, (int32 *)params->pnFileSizeInBytes, (CSteamID *)params->pSteamIDOwner ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead(void *linux_side, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset, (EUGCReadAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCRead( (UGCHandle_t)params->hContent, (void *)params->pvData, (int32)params->cubDataToRead, (uint32)params->cOffset, (EUGCReadAction)params->eAction ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCCount( ); } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle_params *params ) { - UGCHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCHandle( (int32)params->iCachedContent ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile(void *linux_side, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishWorkshopFile( (const char *)params->pchFile, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags, (EWorkshopFileType)params->eWorkshopFileType ); } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest_params *params ) { - PublishedFileUpdateHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CreatePublishedFileUpdateRequest( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFilePreviewFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchPreviewFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTitle( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchTitle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchDescription ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileVisibility( (PublishedFileUpdateHandle_t)params->updateHandle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTags( (PublishedFileUpdateHandle_t)params->updateHandle, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CommitPublishedFileUpdate( (PublishedFileUpdateHandle_t)params->updateHandle ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId, (uint32)unMaxSecondsOld); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedFileDetails( (PublishedFileId_t)params->unPublishedFileId, (uint32)params->unMaxSecondsOld ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->DeletePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserPublishedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSubscribedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UnsubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileSetChangeDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchChangeDescription ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdateUserPublishedItemVote( (PublishedFileId_t)params->unPublishedFileId, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUserPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSharedWorkshopFiles( (CSteamID)params->steamId, (uint32)params->unStartIndex, (SteamParamStringArray_t *)params->pRequiredTags, (SteamParamStringArray_t *)params->pExcludedTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishVideo( (EWorkshopVideoProvider)params->eVideoProvider, (const char *)params->pchVideoAccount, (const char *)params->pchVideoIdentifier, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetUserPublishedFileAction( (PublishedFileId_t)params->unPublishedFileId, (EWorkshopFileAction)params->eAction ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedFilesByUserAction( (EWorkshopFileAction)params->eAction, (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedWorkshopFiles( (EWorkshopEnumerationType)params->eEnumerationType, (uint32)params->unStartIndex, (uint32)params->unCount, (uint32)params->unDays, (SteamParamStringArray_t *)params->pTags, (SteamParamStringArray_t *)params->pUserTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation(void *linux_side, UGCHandle_t hContent, const char *pchLocation, uint32 unPriority) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownloadToLocation((UGCHandle_t)hContent, (const char *)pchLocation, (uint32)unPriority); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownloadToLocation( (UGCHandle_t)params->hContent, (const char *)params->pchLocation, (uint32)params->unPriority ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.h index f9973440..b7f73116 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.h @@ -1,52 +1,467 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload(void *, UGCHandle_t, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead(void *, UGCHandle_t, void *, int32, uint32, EUGCReadAction); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation(void *, UGCHandle_t, const char *, uint32); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + ERemoteStoragePlatform eRemoteStoragePlatform; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen_params +{ + void *linux_side; + UGCFileWriteStreamHandle_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp_params +{ + void *linux_side; + int64 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms_params +{ + void *linux_side; + ERemoteStoragePlatform _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota_params +{ + void *linux_side; + bool _ret; + int32 *pnTotalBytes; + int32 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; + uint32 unPriority; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + int32 *pnBytesDownloaded; + int32 *pnBytesExpected; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + AppId_t *pnAppID; + char **ppchName; + int32 *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead_params +{ + void *linux_side; + int32 _ret; + UGCHandle_t hContent; + void *pvData; + int32 cubDataToRead; + uint32 cOffset; + EUGCReadAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle_params +{ + void *linux_side; + UGCHandle_t _ret; + int32 iCachedContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; + EWorkshopFileType eWorkshopFileType; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest_params +{ + void *linux_side; + PublishedFileUpdateHandle_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchPreviewFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchTitle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileUpdateHandle_t updateHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + uint32 unMaxSecondsOld; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchChangeDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + bool bVoteUp; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamId; + uint32 unStartIndex; + SteamParamStringArray_t *pRequiredTags; + SteamParamStringArray_t *pExcludedTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopVideoProvider eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + EWorkshopFileAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopFileAction eAction; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopEnumerationType eEnumerationType; + uint32 unStartIndex; + uint32 unCount; + uint32 unDays; + SteamParamStringArray_t *pTags; + SteamParamStringArray_t *pUserTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; + const char *pchLocation; + uint32 unPriority; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp index 997038ba..5d23b556 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp @@ -11,387 +11,279 @@ extern "C" { #define SDKVER_137 #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync(void *linux_side, const char *pchFile, const void *pvData, uint32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteAsync((const char *)pchFile, (const void *)pvData, (uint32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteAsync( (const char *)params->pchFile, (const void *)params->pvData, (uint32)params->cubData ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync(void *linux_side, const char *pchFile, uint32 nOffset, uint32 cubToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileReadAsync((const char *)pchFile, (uint32)nOffset, (uint32)cubToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileReadAsync( (const char *)params->pchFile, (uint32)params->nOffset, (uint32)params->cubToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete(void *linux_side, SteamAPICall_t hReadCall, void *pvBuffer, uint32 cubToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileReadAsyncComplete((SteamAPICall_t)hReadCall, (void *)pvBuffer, (uint32)cubToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileReadAsyncComplete( (SteamAPICall_t)params->hReadCall, (void *)params->pvBuffer, (uint32)params->cubToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileForget( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileShare( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms(void *linux_side, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetSyncPlatforms( (const char *)params->pchFile, (ERemoteStoragePlatform)params->eRemoteStoragePlatform ); } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen_params *params ) { - UGCFileWriteStreamHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamOpen( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamWriteChunk( (UGCFileWriteStreamHandle_t)params->writeHandle, (const void *)params->pvData, (int32)params->cubData ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamClose( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamCancel( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FilePersisted( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp_params *params ) { - int64 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileTimestamp( (const char *)params->pchFile ); } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms_params *params ) { - ERemoteStoragePlatform _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetSyncPlatforms( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForAccount( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForApp( ); } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp_params *params ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + ((ISteamRemoteStorage*)params->linux_side)->SetCloudEnabledForApp( (bool)params->bEnabled ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload(void *linux_side, UGCHandle_t hContent, uint32 unPriority) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent, (uint32)unPriority); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownload( (UGCHandle_t)params->hContent, (uint32)params->unPriority ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDownloadProgress( (UGCHandle_t)params->hContent, (int32 *)params->pnBytesDownloaded, (int32 *)params->pnBytesExpected ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDetails( (UGCHandle_t)params->hContent, (AppId_t *)params->pnAppID, (char **)params->ppchName, (int32 *)params->pnFileSizeInBytes, (CSteamID *)params->pSteamIDOwner ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead(void *linux_side, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset, (EUGCReadAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCRead( (UGCHandle_t)params->hContent, (void *)params->pvData, (int32)params->cubDataToRead, (uint32)params->cOffset, (EUGCReadAction)params->eAction ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCCount( ); } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle_params *params ) { - UGCHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCHandle( (int32)params->iCachedContent ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile(void *linux_side, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishWorkshopFile( (const char *)params->pchFile, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags, (EWorkshopFileType)params->eWorkshopFileType ); } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest_params *params ) { - PublishedFileUpdateHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CreatePublishedFileUpdateRequest( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFilePreviewFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchPreviewFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTitle( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchTitle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchDescription ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileVisibility( (PublishedFileUpdateHandle_t)params->updateHandle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTags( (PublishedFileUpdateHandle_t)params->updateHandle, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CommitPublishedFileUpdate( (PublishedFileUpdateHandle_t)params->updateHandle ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId, (uint32)unMaxSecondsOld); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedFileDetails( (PublishedFileId_t)params->unPublishedFileId, (uint32)params->unMaxSecondsOld ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->DeletePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserPublishedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSubscribedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UnsubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileSetChangeDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchChangeDescription ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdateUserPublishedItemVote( (PublishedFileId_t)params->unPublishedFileId, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUserPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSharedWorkshopFiles( (CSteamID)params->steamId, (uint32)params->unStartIndex, (SteamParamStringArray_t *)params->pRequiredTags, (SteamParamStringArray_t *)params->pExcludedTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishVideo( (EWorkshopVideoProvider)params->eVideoProvider, (const char *)params->pchVideoAccount, (const char *)params->pchVideoIdentifier, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetUserPublishedFileAction( (PublishedFileId_t)params->unPublishedFileId, (EWorkshopFileAction)params->eAction ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedFilesByUserAction( (EWorkshopFileAction)params->eAction, (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedWorkshopFiles( (EWorkshopEnumerationType)params->eEnumerationType, (uint32)params->unStartIndex, (uint32)params->unCount, (uint32)params->unDays, (SteamParamStringArray_t *)params->pTags, (SteamParamStringArray_t *)params->pUserTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation(void *linux_side, UGCHandle_t hContent, const char *pchLocation, uint32 unPriority) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownloadToLocation((UGCHandle_t)hContent, (const char *)pchLocation, (uint32)unPriority); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownloadToLocation( (UGCHandle_t)params->hContent, (const char *)params->pchLocation, (uint32)params->unPriority ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.h index 03633a75..e88a62e6 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.h @@ -1,55 +1,497 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead(void *, const char *, void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync(void *, const char *, const void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync(void *, const char *, uint32, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete(void *, SteamAPICall_t, void *, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload(void *, UGCHandle_t, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead(void *, UGCHandle_t, void *, int32, uint32, EUGCReadAction); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation(void *, UGCHandle_t, const char *, uint32); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const void *pvData; + uint32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + uint32 nOffset; + uint32 cubToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hReadCall; + void *pvBuffer; + uint32 cubToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + ERemoteStoragePlatform eRemoteStoragePlatform; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen_params +{ + void *linux_side; + UGCFileWriteStreamHandle_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp_params +{ + void *linux_side; + int64 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms_params +{ + void *linux_side; + ERemoteStoragePlatform _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota_params +{ + void *linux_side; + bool _ret; + int32 *pnTotalBytes; + int32 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; + uint32 unPriority; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + int32 *pnBytesDownloaded; + int32 *pnBytesExpected; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + AppId_t *pnAppID; + char **ppchName; + int32 *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead_params +{ + void *linux_side; + int32 _ret; + UGCHandle_t hContent; + void *pvData; + int32 cubDataToRead; + uint32 cOffset; + EUGCReadAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle_params +{ + void *linux_side; + UGCHandle_t _ret; + int32 iCachedContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; + EWorkshopFileType eWorkshopFileType; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest_params +{ + void *linux_side; + PublishedFileUpdateHandle_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchPreviewFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchTitle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileUpdateHandle_t updateHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + uint32 unMaxSecondsOld; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchChangeDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + bool bVoteUp; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamId; + uint32 unStartIndex; + SteamParamStringArray_t *pRequiredTags; + SteamParamStringArray_t *pExcludedTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopVideoProvider eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + EWorkshopFileAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopFileAction eAction; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopEnumerationType eEnumerationType; + uint32 unStartIndex; + uint32 unCount; + uint32 unDays; + SteamParamStringArray_t *pTags; + SteamParamStringArray_t *pUserTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; + const char *pchLocation; + uint32 unPriority; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp index 24bc6d49..e9d98c33 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp @@ -12,387 +12,279 @@ extern "C" { #define SDKVER_151 #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync(void *linux_side, const char *pchFile, const void *pvData, uint32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteAsync((const char *)pchFile, (const void *)pvData, (uint32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteAsync( (const char *)params->pchFile, (const void *)params->pvData, (uint32)params->cubData ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync(void *linux_side, const char *pchFile, uint32 nOffset, uint32 cubToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileReadAsync((const char *)pchFile, (uint32)nOffset, (uint32)cubToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileReadAsync( (const char *)params->pchFile, (uint32)params->nOffset, (uint32)params->cubToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete(void *linux_side, SteamAPICall_t hReadCall, void *pvBuffer, uint32 cubToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileReadAsyncComplete((SteamAPICall_t)hReadCall, (void *)pvBuffer, (uint32)cubToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileReadAsyncComplete( (SteamAPICall_t)params->hReadCall, (void *)params->pvBuffer, (uint32)params->cubToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileForget( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileShare( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms(void *linux_side, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetSyncPlatforms( (const char *)params->pchFile, (ERemoteStoragePlatform)params->eRemoteStoragePlatform ); } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen_params *params ) { - UGCFileWriteStreamHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamOpen( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamWriteChunk( (UGCFileWriteStreamHandle_t)params->writeHandle, (const void *)params->pvData, (int32)params->cubData ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamClose( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamCancel( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FilePersisted( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp_params *params ) { - int64 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileTimestamp( (const char *)params->pchFile ); } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms_params *params ) { - ERemoteStoragePlatform _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetSyncPlatforms( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota(void *linux_side, uint64 *pnTotalBytes, uint64 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((uint64 *)pnTotalBytes, (uint64 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (uint64 *)params->pnTotalBytes, (uint64 *)params->puAvailableBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForAccount( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForApp( ); } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp_params *params ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + ((ISteamRemoteStorage*)params->linux_side)->SetCloudEnabledForApp( (bool)params->bEnabled ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload(void *linux_side, UGCHandle_t hContent, uint32 unPriority) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent, (uint32)unPriority); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownload( (UGCHandle_t)params->hContent, (uint32)params->unPriority ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDownloadProgress( (UGCHandle_t)params->hContent, (int32 *)params->pnBytesDownloaded, (int32 *)params->pnBytesExpected ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDetails( (UGCHandle_t)params->hContent, (AppId_t *)params->pnAppID, (char **)params->ppchName, (int32 *)params->pnFileSizeInBytes, (CSteamID *)params->pSteamIDOwner ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead(void *linux_side, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset, (EUGCReadAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCRead( (UGCHandle_t)params->hContent, (void *)params->pvData, (int32)params->cubDataToRead, (uint32)params->cOffset, (EUGCReadAction)params->eAction ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCCount( ); } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle_params *params ) { - UGCHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCHandle( (int32)params->iCachedContent ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile(void *linux_side, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishWorkshopFile( (const char *)params->pchFile, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags, (EWorkshopFileType)params->eWorkshopFileType ); } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest_params *params ) { - PublishedFileUpdateHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CreatePublishedFileUpdateRequest( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFilePreviewFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchPreviewFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTitle( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchTitle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchDescription ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileVisibility( (PublishedFileUpdateHandle_t)params->updateHandle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTags( (PublishedFileUpdateHandle_t)params->updateHandle, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CommitPublishedFileUpdate( (PublishedFileUpdateHandle_t)params->updateHandle ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId, (uint32)unMaxSecondsOld); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedFileDetails( (PublishedFileId_t)params->unPublishedFileId, (uint32)params->unMaxSecondsOld ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->DeletePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserPublishedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSubscribedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UnsubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileSetChangeDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchChangeDescription ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdateUserPublishedItemVote( (PublishedFileId_t)params->unPublishedFileId, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUserPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSharedWorkshopFiles( (CSteamID)params->steamId, (uint32)params->unStartIndex, (SteamParamStringArray_t *)params->pRequiredTags, (SteamParamStringArray_t *)params->pExcludedTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishVideo( (EWorkshopVideoProvider)params->eVideoProvider, (const char *)params->pchVideoAccount, (const char *)params->pchVideoIdentifier, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetUserPublishedFileAction( (PublishedFileId_t)params->unPublishedFileId, (EWorkshopFileAction)params->eAction ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedFilesByUserAction( (EWorkshopFileAction)params->eAction, (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedWorkshopFiles( (EWorkshopEnumerationType)params->eEnumerationType, (uint32)params->unStartIndex, (uint32)params->unCount, (uint32)params->unDays, (SteamParamStringArray_t *)params->pTags, (SteamParamStringArray_t *)params->pUserTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation(void *linux_side, UGCHandle_t hContent, const char *pchLocation, uint32 unPriority) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownloadToLocation((UGCHandle_t)hContent, (const char *)pchLocation, (uint32)unPriority); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownloadToLocation( (UGCHandle_t)params->hContent, (const char *)params->pchLocation, (uint32)params->unPriority ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.h index c6b88711..cdd5f8d5 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.h @@ -1,55 +1,497 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead(void *, const char *, void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync(void *, const char *, const void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync(void *, const char *, uint32, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete(void *, SteamAPICall_t, void *, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota(void *, uint64 *, uint64 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload(void *, UGCHandle_t, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead(void *, UGCHandle_t, void *, int32, uint32, EUGCReadAction); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation(void *, UGCHandle_t, const char *, uint32); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const void *pvData; + uint32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + uint32 nOffset; + uint32 cubToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hReadCall; + void *pvBuffer; + uint32 cubToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + ERemoteStoragePlatform eRemoteStoragePlatform; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen_params +{ + void *linux_side; + UGCFileWriteStreamHandle_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp_params +{ + void *linux_side; + int64 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms_params +{ + void *linux_side; + ERemoteStoragePlatform _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota_params +{ + void *linux_side; + bool _ret; + uint64 *pnTotalBytes; + uint64 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; + uint32 unPriority; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + int32 *pnBytesDownloaded; + int32 *pnBytesExpected; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + AppId_t *pnAppID; + char **ppchName; + int32 *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead_params +{ + void *linux_side; + int32 _ret; + UGCHandle_t hContent; + void *pvData; + int32 cubDataToRead; + uint32 cOffset; + EUGCReadAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle_params +{ + void *linux_side; + UGCHandle_t _ret; + int32 iCachedContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; + EWorkshopFileType eWorkshopFileType; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest_params +{ + void *linux_side; + PublishedFileUpdateHandle_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchPreviewFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchTitle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileUpdateHandle_t updateHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + uint32 unMaxSecondsOld; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchChangeDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + bool bVoteUp; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamId; + uint32 unStartIndex; + SteamParamStringArray_t *pRequiredTags; + SteamParamStringArray_t *pExcludedTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopVideoProvider eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + EWorkshopFileAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopFileAction eAction; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopEnumerationType eEnumerationType; + uint32 unStartIndex; + uint32 unCount; + uint32 unDays; + SteamParamStringArray_t *pTags; + SteamParamStringArray_t *pUserTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; + const char *pchLocation; + uint32 unPriority; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation_params *params ); + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp index 719093a5..3a731051 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp @@ -12,415 +12,299 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync(void *linux_side, const char *pchFile, const void *pvData, uint32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteAsync((const char *)pchFile, (const void *)pvData, (uint32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteAsync( (const char *)params->pchFile, (const void *)params->pvData, (uint32)params->cubData ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync(void *linux_side, const char *pchFile, uint32 nOffset, uint32 cubToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileReadAsync((const char *)pchFile, (uint32)nOffset, (uint32)cubToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileReadAsync( (const char *)params->pchFile, (uint32)params->nOffset, (uint32)params->cubToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete(void *linux_side, SteamAPICall_t hReadCall, void *pvBuffer, uint32 cubToRead) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileReadAsyncComplete((SteamAPICall_t)hReadCall, (void *)pvBuffer, (uint32)cubToRead); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileReadAsyncComplete( (SteamAPICall_t)params->hReadCall, (void *)params->pvBuffer, (uint32)params->cubToRead ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileForget( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileShare( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms(void *linux_side, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetSyncPlatforms( (const char *)params->pchFile, (ERemoteStoragePlatform)params->eRemoteStoragePlatform ); } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen_params *params ) { - UGCFileWriteStreamHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamOpen( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamWriteChunk( (UGCFileWriteStreamHandle_t)params->writeHandle, (const void *)params->pvData, (int32)params->cubData ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamClose( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWriteStreamCancel( (UGCFileWriteStreamHandle_t)params->writeHandle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FilePersisted( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile ); } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp_params *params ) { - int64 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileTimestamp( (const char *)params->pchFile ); } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms(void *linux_side, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms_params *params ) { - ERemoteStoragePlatform _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetSyncPlatforms( (const char *)params->pchFile ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(void *linux_side, uint64 *pnTotalBytes, uint64 *puAvailableBytes) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetQuota((uint64 *)pnTotalBytes, (uint64 *)puAvailableBytes); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (uint64 *)params->pnTotalBytes, (uint64 *)params->puAvailableBytes ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForAccount( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->IsCloudEnabledForApp( ); } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp_params *params ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + ((ISteamRemoteStorage*)params->linux_side)->SetCloudEnabledForApp( (bool)params->bEnabled ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload(void *linux_side, UGCHandle_t hContent, uint32 unPriority) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent, (uint32)unPriority); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownload( (UGCHandle_t)params->hContent, (uint32)params->unPriority ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDownloadProgress( (UGCHandle_t)params->hContent, (int32 *)params->pnBytesDownloaded, (int32 *)params->pnBytesExpected ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUGCDetails( (UGCHandle_t)params->hContent, (AppId_t *)params->pnAppID, (char **)params->ppchName, (int32 *)params->pnFileSizeInBytes, (CSteamID *)params->pSteamIDOwner ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead(void *linux_side, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset, (EUGCReadAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCRead( (UGCHandle_t)params->hContent, (void *)params->pvData, (int32)params->cubDataToRead, (uint32)params->cOffset, (EUGCReadAction)params->eAction ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCCount( ); } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle_params *params ) { - UGCHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetCachedUGCHandle( (int32)params->iCachedContent ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile(void *linux_side, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishWorkshopFile( (const char *)params->pchFile, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags, (EWorkshopFileType)params->eWorkshopFileType ); } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest_params *params ) { - PublishedFileUpdateHandle_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CreatePublishedFileUpdateRequest( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFilePreviewFile( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchPreviewFile ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTitle( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchTitle ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchDescription ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileVisibility( (PublishedFileUpdateHandle_t)params->updateHandle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileTags( (PublishedFileUpdateHandle_t)params->updateHandle, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->CommitPublishedFileUpdate( (PublishedFileUpdateHandle_t)params->updateHandle ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId, (uint32)unMaxSecondsOld); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedFileDetails( (PublishedFileId_t)params->unPublishedFileId, (uint32)params->unMaxSecondsOld ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->DeletePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserPublishedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSubscribedFiles( (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UnsubscribePublishedFile( (PublishedFileId_t)params->unPublishedFileId ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdatePublishedFileSetChangeDescription( (PublishedFileUpdateHandle_t)params->updateHandle, (const char *)params->pchChangeDescription ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UpdateUserPublishedItemVote( (PublishedFileId_t)params->unPublishedFileId, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetUserPublishedItemVoteDetails( (PublishedFileId_t)params->unPublishedFileId ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumerateUserSharedWorkshopFiles( (CSteamID)params->steamId, (uint32)params->unStartIndex, (SteamParamStringArray_t *)params->pRequiredTags, (SteamParamStringArray_t *)params->pExcludedTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->PublishVideo( (EWorkshopVideoProvider)params->eVideoProvider, (const char *)params->pchVideoAccount, (const char *)params->pchVideoIdentifier, (const char *)params->pchPreviewFile, (AppId_t)params->nConsumerAppId, (const char *)params->pchTitle, (const char *)params->pchDescription, (ERemoteStoragePublishedFileVisibility)params->eVisibility, (SteamParamStringArray_t *)params->pTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->SetUserPublishedFileAction( (PublishedFileId_t)params->unPublishedFileId, (EWorkshopFileAction)params->eAction ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedFilesByUserAction( (EWorkshopFileAction)params->eAction, (uint32)params->unStartIndex ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EnumeratePublishedWorkshopFiles( (EWorkshopEnumerationType)params->eEnumerationType, (uint32)params->unStartIndex, (uint32)params->unCount, (uint32)params->unDays, (SteamParamStringArray_t *)params->pTags, (SteamParamStringArray_t *)params->pUserTags ); } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation(void *linux_side, UGCHandle_t hContent, const char *pchLocation, uint32 unPriority) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->UGCDownloadToLocation((UGCHandle_t)hContent, (const char *)pchLocation, (uint32)unPriority); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->UGCDownloadToLocation( (UGCHandle_t)params->hContent, (const char *)params->pchLocation, (uint32)params->unPriority ); } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount_params *params ) { - int32 _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetLocalFileChangeCount(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetLocalFileChangeCount( ); } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange(void *linux_side, int iFile, ERemoteStorageLocalFileChange *pEChangeType, ERemoteStorageFilePathType *pEFilePathType) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange_params *params ) { - const char *_ret; - _ret = ((ISteamRemoteStorage*)linux_side)->GetLocalFileChange((int)iFile, (ERemoteStorageLocalFileChange *)pEChangeType, (ERemoteStorageFilePathType *)pEFilePathType); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetLocalFileChange( (int)params->iFile, (ERemoteStorageLocalFileChange *)params->pEChangeType, (ERemoteStorageFilePathType *)params->pEFilePathType ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->BeginFileWriteBatch(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->BeginFileWriteBatch( ); } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch(void *linux_side) +void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch_params *params ) { - bool _ret; - _ret = ((ISteamRemoteStorage*)linux_side)->EndFileWriteBatch(); - return (_ret); + params->_ret = ((ISteamRemoteStorage*)params->linux_side)->EndFileWriteBatch( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h index 64569c23..904b8c4d 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h @@ -1,59 +1,528 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead(void *, const char *, void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync(void *, const char *, const void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync(void *, const char *, uint32, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete(void *, SteamAPICall_t, void *, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(void *, uint64 *, uint64 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload(void *, UGCHandle_t, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead(void *, UGCHandle_t, void *, int32, uint32, EUGCReadAction); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation(void *, UGCHandle_t, const char *, uint32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange(void *, int, ERemoteStorageLocalFileChange *, ERemoteStorageFilePathType *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch(void *); +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; + void *pvData; + int32 cubDataToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const void *pvData; + uint32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + uint32 nOffset; + uint32 cubToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hReadCall; + void *pvBuffer; + uint32 cubToRead; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms_params +{ + void *linux_side; + bool _ret; + const char *pchFile; + ERemoteStoragePlatform eRemoteStoragePlatform; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen_params +{ + void *linux_side; + UGCFileWriteStreamHandle_t _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; + const void *pvData; + int32 cubData; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel_params +{ + void *linux_side; + bool _ret; + UGCFileWriteStreamHandle_t writeHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted_params +{ + void *linux_side; + bool _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize_params +{ + void *linux_side; + int32 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp_params +{ + void *linux_side; + int64 _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms_params +{ + void *linux_side; + ERemoteStoragePlatform _ret; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize_params +{ + void *linux_side; + const char *_ret; + int iFile; + int32 *pnFileSizeInBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota_params +{ + void *linux_side; + bool _ret; + uint64 *pnTotalBytes; + uint64 *puAvailableBytes; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; + uint32 unPriority; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + int32 *pnBytesDownloaded; + int32 *pnBytesExpected; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails_params +{ + void *linux_side; + bool _ret; + UGCHandle_t hContent; + AppId_t *pnAppID; + char **ppchName; + int32 *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead_params +{ + void *linux_side; + int32 _ret; + UGCHandle_t hContent; + void *pvData; + int32 cubDataToRead; + uint32 cOffset; + EUGCReadAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle_params +{ + void *linux_side; + UGCHandle_t _ret; + int32 iCachedContent; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchFile; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; + EWorkshopFileType eWorkshopFileType; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest_params +{ + void *linux_side; + PublishedFileUpdateHandle_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchPreviewFile; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchTitle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileUpdateHandle_t updateHandle; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + uint32 unMaxSecondsOld; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription_params +{ + void *linux_side; + bool _ret; + PublishedFileUpdateHandle_t updateHandle; + const char *pchChangeDescription; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + bool bVoteUp; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamId; + uint32 unStartIndex; + SteamParamStringArray_t *pRequiredTags; + SteamParamStringArray_t *pExcludedTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopVideoProvider eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + AppId_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + ERemoteStoragePublishedFileVisibility eVisibility; + SteamParamStringArray_t *pTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t unPublishedFileId; + EWorkshopFileAction eAction; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopFileAction eAction; + uint32 unStartIndex; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles_params +{ + void *linux_side; + SteamAPICall_t _ret; + EWorkshopEnumerationType eEnumerationType; + uint32 unStartIndex; + uint32 unCount; + uint32 unDays; + SteamParamStringArray_t *pTags; + SteamParamStringArray_t *pUserTags; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCHandle_t hContent; + const char *pchLocation; + uint32 unPriority; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount_params +{ + void *linux_side; + int32 _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange_params +{ + void *linux_side; + const char *_ret; + int iFile; + ERemoteStorageLocalFileChange *pEChangeType; + ERemoteStorageFilePathType *pEFilePathType; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch_params *params ); + +struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch_params *params ); + diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp index 374075f9..7159b682 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp @@ -11,42 +11,34 @@ extern "C" { #define SDKVER_122 #include "struct_converters.h" #include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.h" -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot(void *linux_side, void *pubRGB, uint32 cubRGB, int nWidth, int nHeight) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot_params *params ) { - ScreenshotHandle _ret; - _ret = ((ISteamScreenshots*)linux_side)->WriteScreenshot((void *)pubRGB, (uint32)cubRGB, (int)nWidth, (int)nHeight); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->WriteScreenshot( (void *)params->pubRGB, (uint32)params->cubRGB, (int)params->nWidth, (int)params->nHeight ); } -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary(void *linux_side, const char *pchFilename, const char *pchThumbnailFilename, int nWidth, int nHeight) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary_params *params ) { - ScreenshotHandle _ret; - _ret = ((ISteamScreenshots*)linux_side)->AddScreenshotToLibrary((const char *)pchFilename, (const char *)pchThumbnailFilename, (int)nWidth, (int)nHeight); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->AddScreenshotToLibrary( (const char *)params->pchFilename, (const char *)params->pchThumbnailFilename, (int)params->nWidth, (int)params->nHeight ); } -void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot(void *linux_side) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot_params *params ) { - ((ISteamScreenshots*)linux_side)->TriggerScreenshot(); + ((ISteamScreenshots*)params->linux_side)->TriggerScreenshot( ); } -void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots(void *linux_side, bool bHook) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots_params *params ) { - ((ISteamScreenshots*)linux_side)->HookScreenshots((bool)bHook); + ((ISteamScreenshots*)params->linux_side)->HookScreenshots( (bool)params->bHook ); } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation(void *linux_side, ScreenshotHandle hScreenshot, const char *pchLocation) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation_params *params ) { - bool _ret; - _ret = ((ISteamScreenshots*)linux_side)->SetLocation((ScreenshotHandle)hScreenshot, (const char *)pchLocation); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->SetLocation( (ScreenshotHandle)params->hScreenshot, (const char *)params->pchLocation ); } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser(void *linux_side, ScreenshotHandle hScreenshot, CSteamID steamID) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser_params *params ) { - bool _ret; - _ret = ((ISteamScreenshots*)linux_side)->TagUser((ScreenshotHandle)hScreenshot, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->TagUser( (ScreenshotHandle)params->hScreenshot, (CSteamID)params->steamID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.h b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.h index 99e67ea4..52378882 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.h +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.h @@ -1,6 +1,53 @@ -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot(void *, void *, uint32, int, int); -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary(void *, const char *, const char *, int, int); -extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot(void *); -extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots(void *, bool); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation(void *, ScreenshotHandle, const char *); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser(void *, ScreenshotHandle, CSteamID); +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot_params +{ + void *linux_side; + ScreenshotHandle _ret; + void *pubRGB; + uint32 cubRGB; + int nWidth; + int nHeight; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary_params +{ + void *linux_side; + ScreenshotHandle _ret; + const char *pchFilename; + const char *pchThumbnailFilename; + int nWidth; + int nHeight; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot_params +{ + void *linux_side; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots_params +{ + void *linux_side; + bool bHook; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation_params +{ + void *linux_side; + bool _ret; + ScreenshotHandle hScreenshot; + const char *pchLocation; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser_params +{ + void *linux_side; + bool _ret; + ScreenshotHandle hScreenshot; + CSteamID steamID; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser_params *params ); + diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp index 3db5c6e8..834df3dc 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp @@ -11,49 +11,39 @@ extern "C" { #define SDKVER_137 #include "struct_converters.h" #include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.h" -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot(void *linux_side, void *pubRGB, uint32 cubRGB, int nWidth, int nHeight) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot_params *params ) { - ScreenshotHandle _ret; - _ret = ((ISteamScreenshots*)linux_side)->WriteScreenshot((void *)pubRGB, (uint32)cubRGB, (int)nWidth, (int)nHeight); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->WriteScreenshot( (void *)params->pubRGB, (uint32)params->cubRGB, (int)params->nWidth, (int)params->nHeight ); } -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary(void *linux_side, const char *pchFilename, const char *pchThumbnailFilename, int nWidth, int nHeight) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary_params *params ) { - ScreenshotHandle _ret; - _ret = ((ISteamScreenshots*)linux_side)->AddScreenshotToLibrary((const char *)pchFilename, (const char *)pchThumbnailFilename, (int)nWidth, (int)nHeight); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->AddScreenshotToLibrary( (const char *)params->pchFilename, (const char *)params->pchThumbnailFilename, (int)params->nWidth, (int)params->nHeight ); } -void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot(void *linux_side) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot_params *params ) { - ((ISteamScreenshots*)linux_side)->TriggerScreenshot(); + ((ISteamScreenshots*)params->linux_side)->TriggerScreenshot( ); } -void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots(void *linux_side, bool bHook) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots_params *params ) { - ((ISteamScreenshots*)linux_side)->HookScreenshots((bool)bHook); + ((ISteamScreenshots*)params->linux_side)->HookScreenshots( (bool)params->bHook ); } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation(void *linux_side, ScreenshotHandle hScreenshot, const char *pchLocation) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation_params *params ) { - bool _ret; - _ret = ((ISteamScreenshots*)linux_side)->SetLocation((ScreenshotHandle)hScreenshot, (const char *)pchLocation); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->SetLocation( (ScreenshotHandle)params->hScreenshot, (const char *)params->pchLocation ); } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser(void *linux_side, ScreenshotHandle hScreenshot, CSteamID steamID) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser_params *params ) { - bool _ret; - _ret = ((ISteamScreenshots*)linux_side)->TagUser((ScreenshotHandle)hScreenshot, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->TagUser( (ScreenshotHandle)params->hScreenshot, (CSteamID)params->steamID ); } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile(void *linux_side, ScreenshotHandle hScreenshot, PublishedFileId_t unPublishedFileID) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile_params *params ) { - bool _ret; - _ret = ((ISteamScreenshots*)linux_side)->TagPublishedFile((ScreenshotHandle)hScreenshot, (PublishedFileId_t)unPublishedFileID); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->TagPublishedFile( (ScreenshotHandle)params->hScreenshot, (PublishedFileId_t)params->unPublishedFileID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.h b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.h index a0ed4f81..33b3360d 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.h +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.h @@ -1,7 +1,62 @@ -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot(void *, void *, uint32, int, int); -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary(void *, const char *, const char *, int, int); -extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot(void *); -extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots(void *, bool); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation(void *, ScreenshotHandle, const char *); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser(void *, ScreenshotHandle, CSteamID); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile(void *, ScreenshotHandle, PublishedFileId_t); +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot_params +{ + void *linux_side; + ScreenshotHandle _ret; + void *pubRGB; + uint32 cubRGB; + int nWidth; + int nHeight; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary_params +{ + void *linux_side; + ScreenshotHandle _ret; + const char *pchFilename; + const char *pchThumbnailFilename; + int nWidth; + int nHeight; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot_params +{ + void *linux_side; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots_params +{ + void *linux_side; + bool bHook; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation_params +{ + void *linux_side; + bool _ret; + ScreenshotHandle hScreenshot; + const char *pchLocation; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser_params +{ + void *linux_side; + bool _ret; + ScreenshotHandle hScreenshot; + CSteamID steamID; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile_params +{ + void *linux_side; + bool _ret; + ScreenshotHandle hScreenshot; + PublishedFileId_t unPublishedFileID; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile_params *params ); + diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp index 606a8e6f..40783506 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp @@ -12,63 +12,49 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.h" -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot(void *linux_side, void *pubRGB, uint32 cubRGB, int nWidth, int nHeight) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot_params *params ) { - ScreenshotHandle _ret; - _ret = ((ISteamScreenshots*)linux_side)->WriteScreenshot((void *)pubRGB, (uint32)cubRGB, (int)nWidth, (int)nHeight); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->WriteScreenshot( (void *)params->pubRGB, (uint32)params->cubRGB, (int)params->nWidth, (int)params->nHeight ); } -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary(void *linux_side, const char *pchFilename, const char *pchThumbnailFilename, int nWidth, int nHeight) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary_params *params ) { - ScreenshotHandle _ret; - _ret = ((ISteamScreenshots*)linux_side)->AddScreenshotToLibrary((const char *)pchFilename, (const char *)pchThumbnailFilename, (int)nWidth, (int)nHeight); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->AddScreenshotToLibrary( (const char *)params->pchFilename, (const char *)params->pchThumbnailFilename, (int)params->nWidth, (int)params->nHeight ); } -void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot(void *linux_side) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot_params *params ) { - ((ISteamScreenshots*)linux_side)->TriggerScreenshot(); + ((ISteamScreenshots*)params->linux_side)->TriggerScreenshot( ); } -void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots(void *linux_side, bool bHook) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots_params *params ) { - ((ISteamScreenshots*)linux_side)->HookScreenshots((bool)bHook); + ((ISteamScreenshots*)params->linux_side)->HookScreenshots( (bool)params->bHook ); } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation(void *linux_side, ScreenshotHandle hScreenshot, const char *pchLocation) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation_params *params ) { - bool _ret; - _ret = ((ISteamScreenshots*)linux_side)->SetLocation((ScreenshotHandle)hScreenshot, (const char *)pchLocation); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->SetLocation( (ScreenshotHandle)params->hScreenshot, (const char *)params->pchLocation ); } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser(void *linux_side, ScreenshotHandle hScreenshot, CSteamID steamID) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser_params *params ) { - bool _ret; - _ret = ((ISteamScreenshots*)linux_side)->TagUser((ScreenshotHandle)hScreenshot, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->TagUser( (ScreenshotHandle)params->hScreenshot, (CSteamID)params->steamID ); } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile(void *linux_side, ScreenshotHandle hScreenshot, PublishedFileId_t unPublishedFileID) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile_params *params ) { - bool _ret; - _ret = ((ISteamScreenshots*)linux_side)->TagPublishedFile((ScreenshotHandle)hScreenshot, (PublishedFileId_t)unPublishedFileID); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->TagPublishedFile( (ScreenshotHandle)params->hScreenshot, (PublishedFileId_t)params->unPublishedFileID ); } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked(void *linux_side) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked_params *params ) { - bool _ret; - _ret = ((ISteamScreenshots*)linux_side)->IsScreenshotsHooked(); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->IsScreenshotsHooked( ); } -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary(void *linux_side, EVRScreenshotType eType, const char *pchFilename, const char *pchVRFilename) +void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary_params *params ) { - ScreenshotHandle _ret; - _ret = ((ISteamScreenshots*)linux_side)->AddVRScreenshotToLibrary((EVRScreenshotType)eType, (const char *)pchFilename, (const char *)pchVRFilename); - return (_ret); + params->_ret = ((ISteamScreenshots*)params->linux_side)->AddVRScreenshotToLibrary( (EVRScreenshotType)params->eType, (const char *)params->pchFilename, (const char *)params->pchVRFilename ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.h b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.h index 3f07c17c..d302a7c3 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.h +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.h @@ -1,9 +1,79 @@ -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot(void *, void *, uint32, int, int); -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary(void *, const char *, const char *, int, int); -extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot(void *); -extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots(void *, bool); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation(void *, ScreenshotHandle, const char *); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser(void *, ScreenshotHandle, CSteamID); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile(void *, ScreenshotHandle, PublishedFileId_t); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked(void *); -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary(void *, EVRScreenshotType, const char *, const char *); +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot_params +{ + void *linux_side; + ScreenshotHandle _ret; + void *pubRGB; + uint32 cubRGB; + int nWidth; + int nHeight; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary_params +{ + void *linux_side; + ScreenshotHandle _ret; + const char *pchFilename; + const char *pchThumbnailFilename; + int nWidth; + int nHeight; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot_params +{ + void *linux_side; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots_params +{ + void *linux_side; + bool bHook; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation_params +{ + void *linux_side; + bool _ret; + ScreenshotHandle hScreenshot; + const char *pchLocation; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser_params +{ + void *linux_side; + bool _ret; + ScreenshotHandle hScreenshot; + CSteamID steamID; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile_params +{ + void *linux_side; + bool _ret; + ScreenshotHandle hScreenshot; + PublishedFileId_t unPublishedFileID; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked_params *params ); + +struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary_params +{ + void *linux_side; + ScreenshotHandle _ret; + EVRScreenshotType eType; + const char *pchFilename; + const char *pchVRFilename; +}; +extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp index 4cba5598..6ee9b28c 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp @@ -11,105 +11,77 @@ extern "C" { #define SDKVER_128 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_128 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_128(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_128(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_128( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_128( &lin_pDetails, params->pDetails ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.h index ab09801e..1b74a4a2 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.h @@ -1,14 +1,132 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_128 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails(void *, PublishedFileId_t); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_128 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp index 48ec98ec..13c75ca0 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp @@ -11,224 +11,162 @@ extern "C" { #define SDKVER_130 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_130 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_130(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_130(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_130( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_130( &lin_pDetails, params->pDetails ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo(void *linux_side, PublishedFileId_t nPublishedFileID, bool *pbNeedsUpdate, bool *pbIsDownloading, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateInfo((PublishedFileId_t)nPublishedFileID, (bool *)pbNeedsUpdate, (bool *)pbIsDownloading, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateInfo( (PublishedFileId_t)params->nPublishedFileID, (bool *)params->pbNeedsUpdate, (bool *)params->pbIsDownloading, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.h index 2d35cb9f..04a75cd3 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.h @@ -1,31 +1,288 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_130 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo(void *, PublishedFileId_t, bool *, bool *, uint64 *, uint64 *); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_130 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool *pbNeedsUpdate; + bool *pbIsDownloading; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp index c4872042..65e86618 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp @@ -11,224 +11,162 @@ extern "C" { #define SDKVER_132 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_132 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_132(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_132(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_132( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_132( &lin_pDetails, params->pDetails ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, bool *pbLegacyItem) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (bool *)pbLegacyItem); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (bool *)params->pbLegacyItem ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo(void *linux_side, PublishedFileId_t nPublishedFileID, bool *pbNeedsUpdate, bool *pbIsDownloading, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateInfo((PublishedFileId_t)nPublishedFileID, (bool *)pbNeedsUpdate, (bool *)pbIsDownloading, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateInfo( (PublishedFileId_t)params->nPublishedFileID, (bool *)params->pbNeedsUpdate, (bool *)params->pbIsDownloading, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.h index 8c2ea536..b9a5aa8e 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.h @@ -1,31 +1,289 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_132 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, bool *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo(void *, PublishedFileId_t, bool *, bool *, uint64 *, uint64 *); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_132 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + bool *pbLegacyItem; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool *pbNeedsUpdate; + bool *pbIsDownloading; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.cpp index 8048bae9..6b34e3c5 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.cpp @@ -11,238 +11,172 @@ extern "C" { #define SDKVER_132x #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_132x *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_132x(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_132x(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_132x( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_132x( &lin_pDetails, params->pDetails ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.h index 2a88e47a..27a58d7b 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.h @@ -1,33 +1,304 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_132x *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem(void *, PublishedFileId_t, bool); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_132x *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp index 7f6ed8e0..2a201e34 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp @@ -11,329 +11,237 @@ extern "C" { #define SDKVER_133b #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_133b *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_133b(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_133b(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_133b( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_133b( &lin_pDetails, params->pDetails ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 *pStatValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint32 *)pStatValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint32 *)params->pStatValue ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, bool *pbIsImage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (bool *)pbIsImage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (bool *)params->pbIsImage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.h index 9dc3d40c..ce16a727 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.h @@ -1,46 +1,433 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_133b *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint32 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, bool *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem(void *, PublishedFileId_t, bool); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_133b *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchURL; + uint32 cchURLSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchMetadata; + uint32 cchMetadatasize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + EItemStatistic eStatType; + uint32 *pStatValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 previewIndex; + char *pchURLOrVideoID; + uint32 cchURLSize; + bool *pbIsImage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnMetadata; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnChildren; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnAdditionalPreviews; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchMetaData; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.cpp index 69b3d3f2..a0def3a5 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.cpp @@ -11,357 +11,257 @@ extern "C" { #define SDKVER_133x #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_133x *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_133x(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_133x(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_133x( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_133x( &lin_pDetails, params->pDetails ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 *pStatValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint32 *)pStatValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint32 *)params->pStatValue ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, bool *pbIsImage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (bool *)pbIsImage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (bool *)params->pbIsImage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetLanguage( (UGCQueryHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemUpdateLanguage( (UGCUpdateHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetUserItemVote( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetUserItemVote( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.h index 6072cc9c..e2e998c4 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.h @@ -1,50 +1,468 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_133x *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint32 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, bool *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem(void *, PublishedFileId_t, bool); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_133x *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchURL; + uint32 cchURLSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchMetadata; + uint32 cchMetadatasize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + EItemStatistic eStatType; + uint32 *pStatValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 previewIndex; + char *pchURLOrVideoID; + uint32 cchURLSize; + bool *pbIsImage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnMetadata; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnChildren; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnAdditionalPreviews; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchMetaData; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + bool bVoteUp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp index 5a729df5..b8cecf0a 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp @@ -11,411 +11,297 @@ extern "C" { #define SDKVER_136 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_136 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_136(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_136(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_136( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_136( &lin_pDetails, params->pDetails ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 *pStatValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint32 *)pStatValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint32 *)params->pStatValue ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, bool *pbIsImage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (bool *)pbIsImage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (bool *)params->pbIsImage ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumKeyValueTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->keyValueTagIndex, (char *)params->pchKey, (uint32)params->cchKeySize, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnKeyValueTags( (UGCQueryHandle_t)params->handle, (bool)params->bReturnKeyValueTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetLanguage( (UGCQueryHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char *pKey, const char *pValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredKeyValueTag( (UGCQueryHandle_t)params->handle, (const char *)params->pKey, (const char *)params->pValue ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemUpdateLanguage( (UGCUpdateHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemKeyValueTags( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemKeyValueTag( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey, (const char *)params->pchValue ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetUserItemVote( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetUserItemVote( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char *pszFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->BInitWorkshopForGameServer( (DepotId_t)params->unWorkshopDepotID, (const char *)params->pszFolder ); } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads(void *linux_side, bool bSuspend) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads_params *params ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + ((ISteamUGC*)params->linux_side)->SuspendDownloads( (bool)params->bSuspend ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.h index c60de286..f98c4fd8 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.h @@ -1,58 +1,545 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_136 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint32 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, bool *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads(void *, bool); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_136 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchURL; + uint32 cchURLSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchMetadata; + uint32 cchMetadatasize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + EItemStatistic eStatType; + uint32 *pStatValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 previewIndex; + char *pchURLOrVideoID; + uint32 cchURLSize; + bool *pbIsImage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 keyValueTagIndex; + char *pchKey; + uint32 cchKeySize; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnKeyValueTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnMetadata; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnChildren; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnAdditionalPreviews; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pKey; + const char *pValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchMetaData; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + bool bVoteUp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer_params +{ + void *linux_side; + bool _ret; + DepotId_t unWorkshopDepotID; + const char *pszFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp index bd4e5942..10f88723 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp @@ -11,446 +11,322 @@ extern "C" { #define SDKVER_137 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_137 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_137(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_137(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_137( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_137( &lin_pDetails, params->pDetails ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 *pStatValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint32 *)pStatValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint32 *)params->pStatValue ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (char *)params->pchOriginalFileName, (uint32)params->cchOriginalFileNameSize, (EItemPreviewType *)params->pPreviewType ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumKeyValueTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->keyValueTagIndex, (char *)params->pchKey, (uint32)params->cchKeySize, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnKeyValueTags( (UGCQueryHandle_t)params->handle, (bool)params->bReturnKeyValueTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetLanguage( (UGCQueryHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char *pKey, const char *pValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredKeyValueTag( (UGCQueryHandle_t)params->handle, (const char *)params->pKey, (const char *)params->pValue ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemUpdateLanguage( (UGCUpdateHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemKeyValueTags( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemKeyValueTag( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewFile( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile, (EItemPreviewType)params->type ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewFile( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemPreview( (UGCUpdateHandle_t)params->handle, (uint32)params->index ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetUserItemVote( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetUserItemVote( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char *pszFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->BInitWorkshopForGameServer( (DepotId_t)params->unWorkshopDepotID, (const char *)params->pszFolder ); } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads(void *linux_side, bool bSuspend) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads_params *params ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + ((ISteamUGC*)params->linux_side)->SuspendDownloads( (bool)params->bSuspend ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.h index 94c0b5a3..99804794 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.h @@ -1,63 +1,595 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_137 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint32 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads(void *, bool); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_137 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchURL; + uint32 cchURLSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchMetadata; + uint32 cchMetadatasize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + EItemStatistic eStatType; + uint32 *pStatValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 previewIndex; + char *pchURLOrVideoID; + uint32 cchURLSize; + char *pchOriginalFileName; + uint32 cchOriginalFileNameSize; + EItemPreviewType *pPreviewType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 keyValueTagIndex; + char *pchKey; + uint32 cchKeySize; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnKeyValueTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnMetadata; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnChildren; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnAdditionalPreviews; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pKey; + const char *pValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchMetaData; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; + EItemPreviewType type; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + bool bVoteUp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer_params +{ + void *linux_side; + bool _ret; + DepotId_t unWorkshopDepotID; + const char *pszFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp index c28e4422..31c29892 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp @@ -11,474 +11,342 @@ extern "C" { #define SDKVER_139 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_139 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_139(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_139(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_139( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_139( &lin_pDetails, params->pDetails ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint64 *)params->pStatValue ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (char *)params->pchOriginalFileName, (uint32)params->cchOriginalFileNameSize, (EItemPreviewType *)params->pPreviewType ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumKeyValueTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->keyValueTagIndex, (char *)params->pchKey, (uint32)params->cchKeySize, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnOnlyIDs( (UGCQueryHandle_t)params->handle, (bool)params->bReturnOnlyIDs ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnKeyValueTags( (UGCQueryHandle_t)params->handle, (bool)params->bReturnKeyValueTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetLanguage( (UGCQueryHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char *pKey, const char *pValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredKeyValueTag( (UGCQueryHandle_t)params->handle, (const char *)params->pKey, (const char *)params->pValue ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemUpdateLanguage( (UGCUpdateHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemKeyValueTags( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemKeyValueTag( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewFile( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile, (EItemPreviewType)params->type ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewFile( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemPreview( (UGCUpdateHandle_t)params->handle, (uint32)params->index ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetUserItemVote( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetUserItemVote( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char *pszFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->BInitWorkshopForGameServer( (DepotId_t)params->unWorkshopDepotID, (const char *)params->pszFolder ); } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads(void *linux_side, bool bSuspend) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads_params *params ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + ((ISteamUGC*)params->linux_side)->SuspendDownloads( (bool)params->bSuspend ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTrackingForAllItems( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.h index b9a2c78d..47645f9f 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.h @@ -1,67 +1,629 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_139 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems(void *); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_139 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchURL; + uint32 cchURLSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchMetadata; + uint32 cchMetadatasize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + EItemStatistic eStatType; + uint64 *pStatValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 previewIndex; + char *pchURLOrVideoID; + uint32 cchURLSize; + char *pchOriginalFileName; + uint32 cchOriginalFileNameSize; + EItemPreviewType *pPreviewType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 keyValueTagIndex; + char *pchKey; + uint32 cchKeySize; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnOnlyIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnKeyValueTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnMetadata; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnChildren; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnAdditionalPreviews; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pKey; + const char *pValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchMetaData; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; + EItemPreviewType type; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + bool bVoteUp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer_params +{ + void *linux_side; + bool _ret; + DepotId_t unWorkshopDepotID; + const char *pszFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp index d8ba55d7..1ffd8b59 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp @@ -11,523 +11,377 @@ extern "C" { #define SDKVER_142 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_142 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_142(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_142(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_142( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_142( &lin_pDetails, params->pDetails ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint64 *)params->pStatValue ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (char *)params->pchOriginalFileName, (uint32)params->cchOriginalFileNameSize, (EItemPreviewType *)params->pPreviewType ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumKeyValueTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->keyValueTagIndex, (char *)params->pchKey, (uint32)params->cchKeySize, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnOnlyIDs( (UGCQueryHandle_t)params->handle, (bool)params->bReturnOnlyIDs ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnKeyValueTags( (UGCQueryHandle_t)params->handle, (bool)params->bReturnKeyValueTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnPlaytimeStats( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetLanguage( (UGCQueryHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char *pKey, const char *pValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredKeyValueTag( (UGCQueryHandle_t)params->handle, (const char *)params->pKey, (const char *)params->pValue ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemUpdateLanguage( (UGCUpdateHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemKeyValueTags( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemKeyValueTag( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewFile( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile, (EItemPreviewType)params->type ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewFile( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemPreview( (UGCUpdateHandle_t)params->handle, (uint32)params->index ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetUserItemVote( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetUserItemVote( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char *pszFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->BInitWorkshopForGameServer( (DepotId_t)params->unWorkshopDepotID, (const char *)params->pszFolder ); } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads(void *linux_side, bool bSuspend) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads_params *params ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + ((ISteamUGC*)params->linux_side)->SuspendDownloads( (bool)params->bSuspend ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTrackingForAllItems( ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetAppDependencies( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DeleteItem( (PublishedFileId_t)params->nPublishedFileID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.h index 3ebfc66b..0c691c10 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.h @@ -1,74 +1,690 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_142 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem(void *, PublishedFileId_t); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_142 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchURL; + uint32 cchURLSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchMetadata; + uint32 cchMetadatasize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + EItemStatistic eStatType; + uint64 *pStatValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 previewIndex; + char *pchURLOrVideoID; + uint32 cchURLSize; + char *pchOriginalFileName; + uint32 cchOriginalFileNameSize; + EItemPreviewType *pPreviewType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 keyValueTagIndex; + char *pchKey; + uint32 cchKeySize; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnOnlyIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnKeyValueTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnMetadata; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnChildren; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnAdditionalPreviews; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pKey; + const char *pValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchMetaData; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; + EItemPreviewType type; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + bool bVoteUp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer_params +{ + void *linux_side; + bool _ret; + DepotId_t unWorkshopDepotID; + const char *pszFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.cpp index 87760673..881f0d1c 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.cpp @@ -12,537 +12,387 @@ extern "C" { #define SDKVER_144 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (const char *)params->pchCursor ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_144 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_144(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_144(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_144( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_144( &lin_pDetails, params->pDetails ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint64 *)params->pStatValue ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (char *)params->pchOriginalFileName, (uint32)params->cchOriginalFileNameSize, (EItemPreviewType *)params->pPreviewType ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumKeyValueTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->keyValueTagIndex, (char *)params->pchKey, (uint32)params->cchKeySize, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnOnlyIDs( (UGCQueryHandle_t)params->handle, (bool)params->bReturnOnlyIDs ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnKeyValueTags( (UGCQueryHandle_t)params->handle, (bool)params->bReturnKeyValueTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnPlaytimeStats( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetLanguage( (UGCQueryHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char *pKey, const char *pValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredKeyValueTag( (UGCQueryHandle_t)params->handle, (const char *)params->pKey, (const char *)params->pValue ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemUpdateLanguage( (UGCUpdateHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowLegacyUpload( (UGCUpdateHandle_t)params->handle, (bool)params->bAllowLegacyUpload ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemKeyValueTags( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemKeyValueTag( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewFile( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile, (EItemPreviewType)params->type ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewFile( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemPreview( (UGCUpdateHandle_t)params->handle, (uint32)params->index ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetUserItemVote( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetUserItemVote( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char *pszFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->BInitWorkshopForGameServer( (DepotId_t)params->unWorkshopDepotID, (const char *)params->pszFolder ); } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads(void *linux_side, bool bSuspend) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads_params *params ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + ((ISteamUGC*)params->linux_side)->SuspendDownloads( (bool)params->bSuspend ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTrackingForAllItems( ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetAppDependencies( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DeleteItem( (PublishedFileId_t)params->nPublishedFileID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.h index 11c4d8ee..34c57151 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.h @@ -1,76 +1,711 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_144 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem(void *, PublishedFileId_t); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + const char *pchCursor; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_144 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchURL; + uint32 cchURLSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchMetadata; + uint32 cchMetadatasize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + EItemStatistic eStatType; + uint64 *pStatValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 previewIndex; + char *pchURLOrVideoID; + uint32 cchURLSize; + char *pchOriginalFileName; + uint32 cchOriginalFileNameSize; + EItemPreviewType *pPreviewType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 keyValueTagIndex; + char *pchKey; + uint32 cchKeySize; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnOnlyIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnKeyValueTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnMetadata; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnChildren; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnAdditionalPreviews; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pKey; + const char *pValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchMetaData; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + bool bAllowLegacyUpload; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; + EItemPreviewType type; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + bool bVoteUp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer_params +{ + void *linux_side; + bool _ret; + DepotId_t unWorkshopDepotID; + const char *pszFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp index 7012ee50..cc807691 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp @@ -12,551 +12,397 @@ extern "C" { #define SDKVER_146 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (const char *)params->pchCursor ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_146 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_146(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_146(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_146( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_146( &lin_pDetails, params->pDetails ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint64 *)params->pStatValue ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (char *)params->pchOriginalFileName, (uint32)params->cchOriginalFileNameSize, (EItemPreviewType *)params->pPreviewType ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumKeyValueTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->keyValueTagIndex, (char *)params->pchKey, (uint32)params->cchKeySize, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2(void *linux_side, UGCQueryHandle_t handle, uint32 index, const char *pchKey, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (const char *)pchKey, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (const char *)params->pchKey, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnOnlyIDs( (UGCQueryHandle_t)params->handle, (bool)params->bReturnOnlyIDs ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnKeyValueTags( (UGCQueryHandle_t)params->handle, (bool)params->bReturnKeyValueTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnPlaytimeStats( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetLanguage( (UGCQueryHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char *pKey, const char *pValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredKeyValueTag( (UGCQueryHandle_t)params->handle, (const char *)params->pKey, (const char *)params->pValue ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemUpdateLanguage( (UGCUpdateHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowLegacyUpload( (UGCUpdateHandle_t)params->handle, (bool)params->bAllowLegacyUpload ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAllItemKeyValueTags((UGCUpdateHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAllItemKeyValueTags( (UGCUpdateHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemKeyValueTags( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemKeyValueTag( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewFile( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile, (EItemPreviewType)params->type ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewFile( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemPreview( (UGCUpdateHandle_t)params->handle, (uint32)params->index ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetUserItemVote( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetUserItemVote( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char *pszFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->BInitWorkshopForGameServer( (DepotId_t)params->unWorkshopDepotID, (const char *)params->pszFolder ); } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads(void *linux_side, bool bSuspend) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads_params *params ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + ((ISteamUGC*)params->linux_side)->SuspendDownloads( (bool)params->bSuspend ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTrackingForAllItems( ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetAppDependencies( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DeleteItem( (PublishedFileId_t)params->nPublishedFileID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h index f88a55bd..4f26a7e4 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h @@ -1,78 +1,731 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_146 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2(void *, UGCQueryHandle_t, uint32, const char *, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags(void *, UGCUpdateHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem(void *, PublishedFileId_t); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + const char *pchCursor; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_146 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchURL; + uint32 cchURLSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchMetadata; + uint32 cchMetadatasize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + EItemStatistic eStatType; + uint64 *pStatValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 previewIndex; + char *pchURLOrVideoID; + uint32 cchURLSize; + char *pchOriginalFileName; + uint32 cchOriginalFileNameSize; + EItemPreviewType *pPreviewType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 keyValueTagIndex; + char *pchKey; + uint32 cchKeySize; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + const char *pchKey; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnOnlyIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnKeyValueTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnMetadata; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnChildren; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnAdditionalPreviews; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pKey; + const char *pValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchMetaData; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + bool bAllowLegacyUpload; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; + EItemPreviewType type; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + bool bVoteUp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer_params +{ + void *linux_side; + bool _ret; + DepotId_t unWorkshopDepotID; + const char *pszFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.cpp index dec5a12e..068ef957 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.cpp @@ -12,558 +12,402 @@ extern "C" { #define SDKVER_150 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (const char *)params->pchCursor ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_150 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_150(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_150(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_150( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_150( &lin_pDetails, params->pDetails ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint64 *)params->pStatValue ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (char *)params->pchOriginalFileName, (uint32)params->cchOriginalFileNameSize, (EItemPreviewType *)params->pPreviewType ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumKeyValueTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->keyValueTagIndex, (char *)params->pchKey, (uint32)params->cchKeySize, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2(void *linux_side, UGCQueryHandle_t handle, uint32 index, const char *pchKey, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (const char *)pchKey, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (const char *)params->pchKey, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup(void *linux_side, UGCQueryHandle_t handle, const SteamParamStringArray_t *pTagGroups) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTagGroup((UGCQueryHandle_t)handle, (const SteamParamStringArray_t *)pTagGroups); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTagGroup( (UGCQueryHandle_t)params->handle, (const SteamParamStringArray_t *)params->pTagGroups ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnOnlyIDs( (UGCQueryHandle_t)params->handle, (bool)params->bReturnOnlyIDs ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnKeyValueTags( (UGCQueryHandle_t)params->handle, (bool)params->bReturnKeyValueTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnPlaytimeStats( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetLanguage( (UGCQueryHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char *pKey, const char *pValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredKeyValueTag( (UGCQueryHandle_t)params->handle, (const char *)params->pKey, (const char *)params->pValue ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemUpdateLanguage( (UGCUpdateHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowLegacyUpload( (UGCUpdateHandle_t)params->handle, (bool)params->bAllowLegacyUpload ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAllItemKeyValueTags((UGCUpdateHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAllItemKeyValueTags( (UGCUpdateHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemKeyValueTags( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemKeyValueTag( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewFile( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile, (EItemPreviewType)params->type ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewFile( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemPreview( (UGCUpdateHandle_t)params->handle, (uint32)params->index ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetUserItemVote( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetUserItemVote( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char *pszFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->BInitWorkshopForGameServer( (DepotId_t)params->unWorkshopDepotID, (const char *)params->pszFolder ); } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads(void *linux_side, bool bSuspend) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads_params *params ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + ((ISteamUGC*)params->linux_side)->SuspendDownloads( (bool)params->bSuspend ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTrackingForAllItems( ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetAppDependencies( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DeleteItem( (PublishedFileId_t)params->nPublishedFileID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.h index cfa25935..5dfbe297 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.h @@ -1,79 +1,740 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_150 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2(void *, UGCQueryHandle_t, uint32, const char *, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup(void *, UGCQueryHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags(void *, UGCUpdateHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem(void *, PublishedFileId_t); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + const char *pchCursor; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_150 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchURL; + uint32 cchURLSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchMetadata; + uint32 cchMetadatasize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + EItemStatistic eStatType; + uint64 *pStatValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 previewIndex; + char *pchURLOrVideoID; + uint32 cchURLSize; + char *pchOriginalFileName; + uint32 cchOriginalFileNameSize; + EItemPreviewType *pPreviewType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 keyValueTagIndex; + char *pchKey; + uint32 cchKeySize; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + const char *pchKey; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const SteamParamStringArray_t *pTagGroups; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnOnlyIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnKeyValueTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnMetadata; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnChildren; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnAdditionalPreviews; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pKey; + const char *pValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchMetaData; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + bool bAllowLegacyUpload; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; + EItemPreviewType type; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + bool bVoteUp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer_params +{ + void *linux_side; + bool _ret; + DepotId_t unWorkshopDepotID; + const char *pszFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp index efe09f92..3c56315f 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp @@ -12,593 +12,427 @@ extern "C" { #define SDKVER_152 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (const char *)params->pchCursor ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_152 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_152(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_152(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_152( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_152( &lin_pDetails, params->pDetails ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->indexTag, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCTagDisplayName((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCTagDisplayName( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->indexTag, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint64 *)params->pStatValue ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (char *)params->pchOriginalFileName, (uint32)params->cchOriginalFileNameSize, (EItemPreviewType *)params->pPreviewType ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumKeyValueTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->keyValueTagIndex, (char *)params->pchKey, (uint32)params->cchKeySize, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2(void *linux_side, UGCQueryHandle_t handle, uint32 index, const char *pchKey, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (const char *)pchKey, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (const char *)params->pchKey, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup(void *linux_side, UGCQueryHandle_t handle, const SteamParamStringArray_t *pTagGroups) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTagGroup((UGCQueryHandle_t)handle, (const SteamParamStringArray_t *)pTagGroups); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTagGroup( (UGCQueryHandle_t)params->handle, (const SteamParamStringArray_t *)params->pTagGroups ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnOnlyIDs( (UGCQueryHandle_t)params->handle, (bool)params->bReturnOnlyIDs ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnKeyValueTags( (UGCQueryHandle_t)params->handle, (bool)params->bReturnKeyValueTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnPlaytimeStats( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetLanguage( (UGCQueryHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char *pKey, const char *pValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredKeyValueTag( (UGCQueryHandle_t)params->handle, (const char *)params->pKey, (const char *)params->pValue ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemUpdateLanguage( (UGCUpdateHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowLegacyUpload( (UGCUpdateHandle_t)params->handle, (bool)params->bAllowLegacyUpload ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAllItemKeyValueTags((UGCUpdateHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAllItemKeyValueTags( (UGCUpdateHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemKeyValueTags( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemKeyValueTag( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewFile( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile, (EItemPreviewType)params->type ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewFile( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemPreview( (UGCUpdateHandle_t)params->handle, (uint32)params->index ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetUserItemVote( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetUserItemVote( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char *pszFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->BInitWorkshopForGameServer( (DepotId_t)params->unWorkshopDepotID, (const char *)params->pszFolder ); } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads(void *linux_side, bool bSuspend) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads_params *params ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + ((ISteamUGC*)params->linux_side)->SuspendDownloads( (bool)params->bSuspend ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTrackingForAllItems( ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetAppDependencies( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DeleteItem( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ShowWorkshopEULA(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ShowWorkshopEULA( ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetWorkshopEULAStatus(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetWorkshopEULAStatus( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h index 11871fc1..d5a5477f 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h @@ -1,84 +1,787 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_152 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2(void *, UGCQueryHandle_t, uint32, const char *, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup(void *, UGCQueryHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags(void *, UGCUpdateHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus(void *); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + const char *pchCursor; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_152 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 indexTag; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 indexTag; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchURL; + uint32 cchURLSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchMetadata; + uint32 cchMetadatasize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + EItemStatistic eStatType; + uint64 *pStatValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 previewIndex; + char *pchURLOrVideoID; + uint32 cchURLSize; + char *pchOriginalFileName; + uint32 cchOriginalFileNameSize; + EItemPreviewType *pPreviewType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 keyValueTagIndex; + char *pchKey; + uint32 cchKeySize; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + const char *pchKey; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const SteamParamStringArray_t *pTagGroups; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnOnlyIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnKeyValueTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnMetadata; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnChildren; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnAdditionalPreviews; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pKey; + const char *pValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchMetaData; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + bool bAllowLegacyUpload; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; + EItemPreviewType type; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + bool bVoteUp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer_params +{ + void *linux_side; + bool _ret; + DepotId_t unWorkshopDepotID; + const char *pszFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.cpp index cf4569c8..cd5398c5 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.cpp @@ -12,607 +12,437 @@ extern "C" { #define SDKVER_155 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (const char *)params->pchCursor ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_155 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_155(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_155(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_155( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_155( &lin_pDetails, params->pDetails ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->indexTag, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCTagDisplayName((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCTagDisplayName( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->indexTag, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint64 *)params->pStatValue ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (char *)params->pchOriginalFileName, (uint32)params->cchOriginalFileNameSize, (EItemPreviewType *)params->pPreviewType ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumKeyValueTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->keyValueTagIndex, (char *)params->pchKey, (uint32)params->cchKeySize, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2(void *linux_side, UGCQueryHandle_t handle, uint32 index, const char *pchKey, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (const char *)pchKey, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (const char *)params->pchKey, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup(void *linux_side, UGCQueryHandle_t handle, const SteamParamStringArray_t *pTagGroups) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTagGroup((UGCQueryHandle_t)handle, (const SteamParamStringArray_t *)pTagGroups); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTagGroup( (UGCQueryHandle_t)params->handle, (const SteamParamStringArray_t *)params->pTagGroups ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnOnlyIDs( (UGCQueryHandle_t)params->handle, (bool)params->bReturnOnlyIDs ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnKeyValueTags( (UGCQueryHandle_t)params->handle, (bool)params->bReturnKeyValueTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnPlaytimeStats( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetLanguage( (UGCQueryHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange(void *linux_side, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetTimeCreatedDateRange((UGCQueryHandle_t)handle, (RTime32)rtStart, (RTime32)rtEnd); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetTimeCreatedDateRange( (UGCQueryHandle_t)params->handle, (RTime32)params->rtStart, (RTime32)params->rtEnd ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange(void *linux_side, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetTimeUpdatedDateRange((UGCQueryHandle_t)handle, (RTime32)rtStart, (RTime32)rtEnd); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetTimeUpdatedDateRange( (UGCQueryHandle_t)params->handle, (RTime32)params->rtStart, (RTime32)params->rtEnd ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char *pKey, const char *pValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredKeyValueTag( (UGCQueryHandle_t)params->handle, (const char *)params->pKey, (const char *)params->pValue ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemUpdateLanguage( (UGCUpdateHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowLegacyUpload( (UGCUpdateHandle_t)params->handle, (bool)params->bAllowLegacyUpload ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAllItemKeyValueTags((UGCUpdateHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAllItemKeyValueTags( (UGCUpdateHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemKeyValueTags( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemKeyValueTag( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewFile( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile, (EItemPreviewType)params->type ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewFile( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemPreview( (UGCUpdateHandle_t)params->handle, (uint32)params->index ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetUserItemVote( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetUserItemVote( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char *pszFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->BInitWorkshopForGameServer( (DepotId_t)params->unWorkshopDepotID, (const char *)params->pszFolder ); } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads(void *linux_side, bool bSuspend) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads_params *params ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + ((ISteamUGC*)params->linux_side)->SuspendDownloads( (bool)params->bSuspend ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTrackingForAllItems( ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetAppDependencies( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DeleteItem( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ShowWorkshopEULA(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ShowWorkshopEULA( ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetWorkshopEULAStatus(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetWorkshopEULAStatus( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.h index a5de9e01..123ce696 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.h @@ -1,86 +1,807 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_155 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2(void *, UGCQueryHandle_t, uint32, const char *, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup(void *, UGCQueryHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange(void *, UGCQueryHandle_t, RTime32, RTime32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange(void *, UGCQueryHandle_t, RTime32, RTime32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags(void *, UGCUpdateHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus(void *); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + const char *pchCursor; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_155 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 indexTag; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 indexTag; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchURL; + uint32 cchURLSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchMetadata; + uint32 cchMetadatasize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + EItemStatistic eStatType; + uint64 *pStatValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 previewIndex; + char *pchURLOrVideoID; + uint32 cchURLSize; + char *pchOriginalFileName; + uint32 cchOriginalFileNameSize; + EItemPreviewType *pPreviewType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 keyValueTagIndex; + char *pchKey; + uint32 cchKeySize; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + const char *pchKey; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const SteamParamStringArray_t *pTagGroups; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnOnlyIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnKeyValueTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnMetadata; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnChildren; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnAdditionalPreviews; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + RTime32 rtStart; + RTime32 rtEnd; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + RTime32 rtStart; + RTime32 rtEnd; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pKey; + const char *pValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchMetaData; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + bool bAllowLegacyUpload; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; + EItemPreviewType type; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + bool bVoteUp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer_params +{ + void *linux_side; + bool _ret; + DepotId_t unWorkshopDepotID; + const char *pszFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.cpp index d86b88f7..5087485c 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.cpp @@ -12,628 +12,452 @@ extern "C" { #define SDKVER_157 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (const char *)params->pchCursor ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_157 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_157(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_157(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_157( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_157( &lin_pDetails, params->pDetails ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->indexTag, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCTagDisplayName((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCTagDisplayName( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->indexTag, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint64 *)params->pStatValue ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (char *)params->pchOriginalFileName, (uint32)params->cchOriginalFileNameSize, (EItemPreviewType *)params->pPreviewType ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumKeyValueTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->keyValueTagIndex, (char *)params->pchKey, (uint32)params->cchKeySize, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2(void *linux_side, UGCQueryHandle_t handle, uint32 index, const char *pchKey, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (const char *)pchKey, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (const char *)params->pchKey, (char *)params->pchValue, (uint32)params->cchValueSize ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors(void *linux_side, UGCQueryHandle_t handle, uint32 index, EUGCContentDescriptorID *pvecDescriptors, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCContentDescriptors((UGCQueryHandle_t)handle, (uint32)index, (EUGCContentDescriptorID *)pvecDescriptors, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCContentDescriptors( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EUGCContentDescriptorID *)params->pvecDescriptors, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup(void *linux_side, UGCQueryHandle_t handle, const SteamParamStringArray_t *pTagGroups) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTagGroup((UGCQueryHandle_t)handle, (const SteamParamStringArray_t *)pTagGroups); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTagGroup( (UGCQueryHandle_t)params->handle, (const SteamParamStringArray_t *)params->pTagGroups ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnOnlyIDs( (UGCQueryHandle_t)params->handle, (bool)params->bReturnOnlyIDs ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnKeyValueTags( (UGCQueryHandle_t)params->handle, (bool)params->bReturnKeyValueTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnPlaytimeStats( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetLanguage( (UGCQueryHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange(void *linux_side, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetTimeCreatedDateRange((UGCQueryHandle_t)handle, (RTime32)rtStart, (RTime32)rtEnd); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetTimeCreatedDateRange( (UGCQueryHandle_t)params->handle, (RTime32)params->rtStart, (RTime32)params->rtEnd ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange(void *linux_side, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetTimeUpdatedDateRange((UGCQueryHandle_t)handle, (RTime32)rtStart, (RTime32)rtEnd); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetTimeUpdatedDateRange( (UGCQueryHandle_t)params->handle, (RTime32)params->rtStart, (RTime32)params->rtEnd ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char *pKey, const char *pValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredKeyValueTag( (UGCQueryHandle_t)params->handle, (const char *)params->pKey, (const char *)params->pValue ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemUpdateLanguage( (UGCUpdateHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowLegacyUpload( (UGCUpdateHandle_t)params->handle, (bool)params->bAllowLegacyUpload ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAllItemKeyValueTags((UGCUpdateHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAllItemKeyValueTags( (UGCUpdateHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemKeyValueTags( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemKeyValueTag( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewFile( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile, (EItemPreviewType)params->type ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewFile( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemPreview( (UGCUpdateHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor(void *linux_side, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddContentDescriptor((UGCUpdateHandle_t)handle, (EUGCContentDescriptorID)descid); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddContentDescriptor( (UGCUpdateHandle_t)params->handle, (EUGCContentDescriptorID)params->descid ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor(void *linux_side, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveContentDescriptor((UGCUpdateHandle_t)handle, (EUGCContentDescriptorID)descid); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveContentDescriptor( (UGCUpdateHandle_t)params->handle, (EUGCContentDescriptorID)params->descid ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetUserItemVote( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetUserItemVote( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char *pszFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->BInitWorkshopForGameServer( (DepotId_t)params->unWorkshopDepotID, (const char *)params->pszFolder ); } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads(void *linux_side, bool bSuspend) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads_params *params ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + ((ISteamUGC*)params->linux_side)->SuspendDownloads( (bool)params->bSuspend ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTrackingForAllItems( ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetAppDependencies( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DeleteItem( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ShowWorkshopEULA(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ShowWorkshopEULA( ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetWorkshopEULAStatus(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetWorkshopEULAStatus( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h index c885bac9..6ca96a22 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h @@ -1,89 +1,836 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_157 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2(void *, UGCQueryHandle_t, uint32, const char *, char *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors(void *, UGCQueryHandle_t, uint32, EUGCContentDescriptorID *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup(void *, UGCQueryHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange(void *, UGCQueryHandle_t, RTime32, RTime32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange(void *, UGCQueryHandle_t, RTime32, RTime32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags(void *, UGCUpdateHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor(void *, UGCUpdateHandle_t, EUGCContentDescriptorID); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor(void *, UGCUpdateHandle_t, EUGCContentDescriptorID); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus(void *); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + const char *pchCursor; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_157 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 indexTag; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 indexTag; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchURL; + uint32 cchURLSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchMetadata; + uint32 cchMetadatasize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + EItemStatistic eStatType; + uint64 *pStatValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 previewIndex; + char *pchURLOrVideoID; + uint32 cchURLSize; + char *pchOriginalFileName; + uint32 cchOriginalFileNameSize; + EItemPreviewType *pPreviewType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 keyValueTagIndex; + char *pchKey; + uint32 cchKeySize; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + const char *pchKey; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; + EUGCContentDescriptorID *pvecDescriptors; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const SteamParamStringArray_t *pTagGroups; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnOnlyIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnKeyValueTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnMetadata; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnChildren; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnAdditionalPreviews; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + RTime32 rtStart; + RTime32 rtEnd; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + RTime32 rtStart; + RTime32 rtEnd; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pKey; + const char *pValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchMetaData; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + bool bAllowLegacyUpload; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; + EItemPreviewType type; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + EUGCContentDescriptorID descid; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + EUGCContentDescriptorID descid; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + bool bVoteUp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer_params +{ + void *linux_side; + bool _ret; + DepotId_t unWorkshopDepotID; + const char *pszFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus_params *params ); + diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION018.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION018.cpp index ef8829cc..77d3d9b0 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION018.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION018.cpp @@ -12,635 +12,457 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION018.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (const char *)params->pchCursor ); } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest_params *params ) { - UGCQueryHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_158 *pDetails) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult_params *params ) { - bool _ret; SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_158(pDetails, &lin_pDetails); - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_158(&lin_pDetails, pDetails); - return (_ret); + win_to_lin_struct_SteamUGCDetails_t_158( params->pDetails, &lin_pDetails ); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails ); + lin_to_win_struct_SteamUGCDetails_t_158( &lin_pDetails, params->pDetails ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->indexTag, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCTagDisplayName((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCTagDisplayName( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->indexTag, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint64 *)params->pStatValue ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (char *)params->pchOriginalFileName, (uint32)params->cchOriginalFileNameSize, (EItemPreviewType *)params->pPreviewType ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumKeyValueTags( (UGCQueryHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->keyValueTagIndex, (char *)params->pchKey, (uint32)params->cchKeySize, (char *)params->pchValue, (uint32)params->cchValueSize ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2(void *linux_side, UGCQueryHandle_t handle, uint32 index, const char *pchKey, char *pchValue, uint32 cchValueSize) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (const char *)pchKey, (char *)pchValue, (uint32)cchValueSize); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCKeyValueTag( (UGCQueryHandle_t)params->handle, (uint32)params->index, (const char *)params->pchKey, (char *)params->pchValue, (uint32)params->cchValueSize ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors(void *linux_side, UGCQueryHandle_t handle, uint32 index, EUGCContentDescriptorID *pvecDescriptors, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetQueryUGCContentDescriptors((UGCQueryHandle_t)handle, (uint32)index, (EUGCContentDescriptorID *)pvecDescriptors, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCContentDescriptors( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EUGCContentDescriptorID *)params->pvecDescriptors, (uint32)params->cMaxEntries ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup(void *linux_side, UGCQueryHandle_t handle, const SteamParamStringArray_t *pTagGroups) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredTagGroup((UGCQueryHandle_t)handle, (const SteamParamStringArray_t *)pTagGroups); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTagGroup( (UGCQueryHandle_t)params->handle, (const SteamParamStringArray_t *)params->pTagGroups ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnOnlyIDs( (UGCQueryHandle_t)params->handle, (bool)params->bReturnOnlyIDs ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnKeyValueTags( (UGCQueryHandle_t)params->handle, (bool)params->bReturnKeyValueTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnPlaytimeStats( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetLanguage( (UGCQueryHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange(void *linux_side, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetTimeCreatedDateRange((UGCQueryHandle_t)handle, (RTime32)rtStart, (RTime32)rtEnd); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetTimeCreatedDateRange( (UGCQueryHandle_t)params->handle, (RTime32)params->rtStart, (RTime32)params->rtEnd ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange(void *linux_side, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetTimeUpdatedDateRange((UGCQueryHandle_t)handle, (RTime32)rtStart, (RTime32)rtEnd); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetTimeUpdatedDateRange( (UGCQueryHandle_t)params->handle, (RTime32)params->rtStart, (RTime32)params->rtEnd ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char *pKey, const char *pValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredKeyValueTag( (UGCQueryHandle_t)params->handle, (const char *)params->pKey, (const char *)params->pValue ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType ); } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate_params *params ) { - UGCUpdateHandle_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemUpdateLanguage( (UGCUpdateHandle_t)params->handle, (const char *)params->pchLanguage ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags, bool bAllowAdminTags) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags, (bool)bAllowAdminTags); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags, (bool)params->bAllowAdminTags ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowLegacyUpload( (UGCUpdateHandle_t)params->handle, (bool)params->bAllowLegacyUpload ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAllItemKeyValueTags((UGCUpdateHandle_t)handle); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAllItemKeyValueTags( (UGCUpdateHandle_t)params->handle ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemKeyValueTags( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemKeyValueTag( (UGCUpdateHandle_t)params->handle, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewFile( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile, (EItemPreviewType)params->type ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewFile( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszPreviewFile ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UpdateItemPreviewVideo( (UGCUpdateHandle_t)params->handle, (uint32)params->index, (const char *)params->pszVideoID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemPreview( (UGCUpdateHandle_t)params->handle, (uint32)params->index ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor(void *linux_side, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->AddContentDescriptor((UGCUpdateHandle_t)handle, (EUGCContentDescriptorID)descid); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddContentDescriptor( (UGCUpdateHandle_t)params->handle, (EUGCContentDescriptorID)params->descid ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor(void *linux_side, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveContentDescriptor((UGCUpdateHandle_t)handle, (EUGCContentDescriptorID)descid); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveContentDescriptor( (UGCUpdateHandle_t)params->handle, (EUGCContentDescriptorID)params->descid ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote ); } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress_params *params ) { - EItemUpdateStatus _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SetUserItemVote( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bVoteUp ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetUserItemVote( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char *pszFolder) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->BInitWorkshopForGameServer( (DepotId_t)params->unWorkshopDepotID, (const char *)params->pszFolder ); } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads(void *linux_side, bool bSuspend) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads_params *params ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + ((ISteamUGC*)params->linux_side)->SuspendDownloads( (bool)params->bSuspend ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StartPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTracking( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->StopPlaytimeTrackingForAllItems( ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveDependency( (PublishedFileId_t)params->nParentPublishedFileID, (PublishedFileId_t)params->nChildPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->AddAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->RemoveAppDependency( (PublishedFileId_t)params->nPublishedFileID, (AppId_t)params->nAppID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetAppDependencies( (PublishedFileId_t)params->nPublishedFileID ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->DeleteItem( (PublishedFileId_t)params->nPublishedFileID ); } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA_params *params ) { - bool _ret; - _ret = ((ISteamUGC*)linux_side)->ShowWorkshopEULA(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->ShowWorkshopEULA( ); } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus(void *linux_side) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUGC*)linux_side)->GetWorkshopEULAStatus(); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetWorkshopEULAStatus( ); } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences(void *linux_side, EUGCContentDescriptorID *pvecDescriptors, uint32 cMaxEntries) +void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences_params *params ) { - uint32 _ret; - _ret = ((ISteamUGC*)linux_side)->GetUserContentDescriptorPreferences((EUGCContentDescriptorID *)pvecDescriptors, (uint32)cMaxEntries); - return (_ret); + params->_ret = ((ISteamUGC*)params->linux_side)->GetUserContentDescriptorPreferences( (EUGCContentDescriptorID *)params->pvecDescriptors, (uint32)params->cMaxEntries ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION018.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION018.h index 853e4de8..0e32d780 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION018.h +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION018.h @@ -1,90 +1,846 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_158 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2(void *, UGCQueryHandle_t, uint32, const char *, char *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors(void *, UGCQueryHandle_t, uint32, EUGCContentDescriptorID *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup(void *, UGCQueryHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange(void *, UGCQueryHandle_t, RTime32, RTime32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange(void *, UGCQueryHandle_t, RTime32, RTime32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags(void *, UGCUpdateHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor(void *, UGCUpdateHandle_t, EUGCContentDescriptorID); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor(void *, UGCUpdateHandle_t, EUGCContentDescriptorID); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences(void *, EUGCContentDescriptorID *, uint32); +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + AccountID_t unAccountID; + EUserUGCList eListType; + EUGCMatchingUGCType eMatchingUGCType; + EUserUGCListSortOrder eSortOrder; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + uint32 unPage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + EUGCQuery eQueryType; + EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType; + AppId_t nCreatorAppID; + AppId_t nConsumerAppID; + const char *pchCursor; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest_params +{ + void *linux_side; + UGCQueryHandle_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + winSteamUGCDetails_t_158 *pDetails; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 indexTag; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 indexTag; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchURL; + uint32 cchURLSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + char *pchMetadata; + uint32 cchMetadatasize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + EItemStatistic eStatType; + uint64 *pStatValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 previewIndex; + char *pchURLOrVideoID; + uint32 cchURLSize; + char *pchOriginalFileName; + uint32 cchOriginalFileNameSize; + EItemPreviewType *pPreviewType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + uint32 keyValueTagIndex; + char *pchKey; + uint32 cchKeySize; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 index; + const char *pchKey; + char *pchValue; + uint32 cchValueSize; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors_params +{ + void *linux_side; + uint32 _ret; + UGCQueryHandle_t handle; + uint32 index; + EUGCContentDescriptorID *pvecDescriptors; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const SteamParamStringArray_t *pTagGroups; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pTagName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnOnlyIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnKeyValueTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnLongDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnMetadata; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnChildren; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnAdditionalPreviews; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bReturnTotalOnly; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pMatchCloudFileName; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + bool bMatchAnyTag; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pSearchText; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + uint32 unDays; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + RTime32 rtStart; + RTime32 rtEnd; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + RTime32 rtStart; + RTime32 rtEnd; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCQueryHandle_t handle; + const char *pKey; + const char *pValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + uint32 unMaxAgeSeconds; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nConsumerAppId; + EWorkshopFileType eFileType; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate_params +{ + void *linux_side; + UGCUpdateHandle_t _ret; + AppId_t nConsumerAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchTitle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchDescription; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchLanguage; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchMetaData; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + ERemoteStoragePublishedFileVisibility eVisibility; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t updateHandle; + const SteamParamStringArray_t *pTags; + bool bAllowAdminTags; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszContentFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + bool bAllowLegacyUpload; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszPreviewFile; + EItemPreviewType type; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszPreviewFile; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; + const char *pszVideoID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + uint32 index; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + EUGCContentDescriptorID descid; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor_params +{ + void *linux_side; + bool _ret; + UGCUpdateHandle_t handle; + EUGCContentDescriptorID descid; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate_params +{ + void *linux_side; + SteamAPICall_t _ret; + UGCUpdateHandle_t handle; + const char *pchChangeNote; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress_params +{ + void *linux_side; + EItemUpdateStatus _ret; + UGCUpdateHandle_t handle; + uint64 *punBytesProcessed; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + bool bVoteUp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites_params +{ + void *linux_side; + SteamAPICall_t _ret; + AppId_t nAppId; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState_params +{ + void *linux_side; + uint32 _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punSizeOnDisk; + char *pchFolder; + uint32 cchFolderSize; + uint32 *punTimeStamp; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + uint64 *punBytesDownloaded; + uint64 *punBytesTotal; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem_params +{ + void *linux_side; + bool _ret; + PublishedFileId_t nPublishedFileID; + bool bHighPriority; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer_params +{ + void *linux_side; + bool _ret; + DepotId_t unWorkshopDepotID; + const char *pszFolder; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t *pvecPublishedFileID; + uint32 unNumPublishedFileIDs; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nParentPublishedFileID; + PublishedFileId_t nChildPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; + AppId_t nAppID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem_params +{ + void *linux_side; + SteamAPICall_t _ret; + PublishedFileId_t nPublishedFileID; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus_params *params ); + +struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences_params +{ + void *linux_side; + uint32 _ret; + EUGCContentDescriptorID *pvecDescriptors; + uint32 cMaxEntries; +}; +extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences_params *params ); + diff --git a/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp index 5380e61c..186a4a4e 100644 --- a/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp @@ -11,39 +11,29 @@ extern "C" { #define SDKVER_141 #include "struct_converters.h" #include "cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h" -ClientUnifiedMessageHandle cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod(void *linux_side, const char *pchServiceMethod, const void *pRequestBuffer, uint32 unRequestBufferSize, uint64 unContext) +void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod_params *params ) { - ClientUnifiedMessageHandle _ret; - _ret = ((ISteamUnifiedMessages*)linux_side)->SendMethod((const char *)pchServiceMethod, (const void *)pRequestBuffer, (uint32)unRequestBufferSize, (uint64)unContext); - return (_ret); + params->_ret = ((ISteamUnifiedMessages*)params->linux_side)->SendMethod( (const char *)params->pchServiceMethod, (const void *)params->pRequestBuffer, (uint32)params->unRequestBufferSize, (uint64)params->unContext ); } -bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo(void *linux_side, ClientUnifiedMessageHandle hHandle, uint32 *punResponseSize, EResult *peResult) +void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo_params *params ) { - bool _ret; - _ret = ((ISteamUnifiedMessages*)linux_side)->GetMethodResponseInfo((ClientUnifiedMessageHandle)hHandle, (uint32 *)punResponseSize, (EResult *)peResult); - return (_ret); + params->_ret = ((ISteamUnifiedMessages*)params->linux_side)->GetMethodResponseInfo( (ClientUnifiedMessageHandle)params->hHandle, (uint32 *)params->punResponseSize, (EResult *)params->peResult ); } -bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData(void *linux_side, ClientUnifiedMessageHandle hHandle, void *pResponseBuffer, uint32 unResponseBufferSize, bool bAutoRelease) +void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData_params *params ) { - bool _ret; - _ret = ((ISteamUnifiedMessages*)linux_side)->GetMethodResponseData((ClientUnifiedMessageHandle)hHandle, (void *)pResponseBuffer, (uint32)unResponseBufferSize, (bool)bAutoRelease); - return (_ret); + params->_ret = ((ISteamUnifiedMessages*)params->linux_side)->GetMethodResponseData( (ClientUnifiedMessageHandle)params->hHandle, (void *)params->pResponseBuffer, (uint32)params->unResponseBufferSize, (bool)params->bAutoRelease ); } -bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod(void *linux_side, ClientUnifiedMessageHandle hHandle) +void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod_params *params ) { - bool _ret; - _ret = ((ISteamUnifiedMessages*)linux_side)->ReleaseMethod((ClientUnifiedMessageHandle)hHandle); - return (_ret); + params->_ret = ((ISteamUnifiedMessages*)params->linux_side)->ReleaseMethod( (ClientUnifiedMessageHandle)params->hHandle ); } -bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification(void *linux_side, const char *pchServiceNotification, const void *pNotificationBuffer, uint32 unNotificationBufferSize) +void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification_params *params ) { - bool _ret; - _ret = ((ISteamUnifiedMessages*)linux_side)->SendNotification((const char *)pchServiceNotification, (const void *)pNotificationBuffer, (uint32)unNotificationBufferSize); - return (_ret); + params->_ret = ((ISteamUnifiedMessages*)params->linux_side)->SendNotification( (const char *)params->pchServiceNotification, (const void *)params->pNotificationBuffer, (uint32)params->unNotificationBufferSize ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h b/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h index 6d3a3876..a2565383 100644 --- a/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h +++ b/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h @@ -1,5 +1,50 @@ -extern ClientUnifiedMessageHandle cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod(void *, const char *, const void *, uint32, uint64); -extern bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo(void *, ClientUnifiedMessageHandle, uint32 *, EResult *); -extern bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData(void *, ClientUnifiedMessageHandle, void *, uint32, bool); -extern bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod(void *, ClientUnifiedMessageHandle); -extern bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification(void *, const char *, const void *, uint32); +struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod_params +{ + void *linux_side; + ClientUnifiedMessageHandle _ret; + const char *pchServiceMethod; + const void *pRequestBuffer; + uint32 unRequestBufferSize; + uint64 unContext; +}; +extern void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod_params *params ); + +struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo_params +{ + void *linux_side; + bool _ret; + ClientUnifiedMessageHandle hHandle; + uint32 *punResponseSize; + EResult *peResult; +}; +extern void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo_params *params ); + +struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData_params +{ + void *linux_side; + bool _ret; + ClientUnifiedMessageHandle hHandle; + void *pResponseBuffer; + uint32 unResponseBufferSize; + bool bAutoRelease; +}; +extern void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData_params *params ); + +struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod_params +{ + void *linux_side; + bool _ret; + ClientUnifiedMessageHandle hHandle; +}; +extern void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod_params *params ); + +struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification_params +{ + void *linux_side; + bool _ret; + const char *pchServiceNotification; + const void *pNotificationBuffer; + uint32 unNotificationBufferSize; +}; +extern void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification_params *params ); + diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.cpp index 387ab2a8..63b927fa 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.cpp @@ -11,158 +11,114 @@ extern "C" { #define SDKVER_099x #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.h" -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats(void *linux_side, CGameID nGameID) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats_params *params ) { - uint32 _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumStats((CGameID)nGameID); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumStats( (CGameID)params->nGameID ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName(void *linux_side, CGameID nGameID, uint32 iStat) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetStatName((CGameID)nGameID, (uint32)iStat); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStatName( (CGameID)params->nGameID, (uint32)params->iStat ); } -ESteamUserStatType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType(void *linux_side, CGameID nGameID, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType_params *params ) { - ESteamUserStatType _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStatType((CGameID)nGameID, (const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStatType( (CGameID)params->nGameID, (const char *)params->pchName ); } -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements(void *linux_side, CGameID nGameID) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements_params *params ) { - uint32 _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumAchievements((CGameID)nGameID); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumAchievements( (CGameID)params->nGameID ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName(void *linux_side, CGameID nGameID, uint32 iAchievement) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementName((CGameID)nGameID, (uint32)iAchievement); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementName( (CGameID)params->nGameID, (uint32)params->iAchievement ); } -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements(void *linux_side, CGameID nGameID) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements_params *params ) { - uint32 _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumGroupAchievements((CGameID)nGameID); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumGroupAchievements( (CGameID)params->nGameID ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName(void *linux_side, CGameID nGameID, uint32 iAchievement) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetGroupAchievementName((CGameID)nGameID, (uint32)iAchievement); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGroupAchievementName( (CGameID)params->nGameID, (uint32)params->iAchievement ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats(void *linux_side, CGameID nGameID) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestCurrentStats((CGameID)nGameID); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestCurrentStats( (CGameID)params->nGameID ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat(void *linux_side, CGameID nGameID, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((CGameID)nGameID, (const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (CGameID)params->nGameID, (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2(void *linux_side, CGameID nGameID, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((CGameID)nGameID, (const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (CGameID)params->nGameID, (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat(void *linux_side, CGameID nGameID, const char *pchName, int32 nData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((CGameID)nGameID, (const char *)pchName, (int32)nData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (CGameID)params->nGameID, (const char *)params->pchName, (int32)params->nData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2(void *linux_side, CGameID nGameID, const char *pchName, float fData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((CGameID)nGameID, (const char *)pchName, (float)fData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (CGameID)params->nGameID, (const char *)params->pchName, (float)params->fData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat(void *linux_side, CGameID nGameID, const char *pchName, float flCountThisSession, double dSessionLength) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((CGameID)nGameID, (const char *)pchName, (float)flCountThisSession, (double)dSessionLength); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UpdateAvgRateStat( (CGameID)params->nGameID, (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement(void *linux_side, CGameID nGameID, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievement((CGameID)nGameID, (const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievement( (CGameID)params->nGameID, (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement(void *linux_side, CGameID nGameID, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetGroupAchievement((CGameID)nGameID, (const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGroupAchievement( (CGameID)params->nGameID, (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement(void *linux_side, CGameID nGameID, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetAchievement((CGameID)nGameID, (const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetAchievement( (CGameID)params->nGameID, (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement(void *linux_side, CGameID nGameID, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetGroupAchievement((CGameID)nGameID, (const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetGroupAchievement( (CGameID)params->nGameID, (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats(void *linux_side, CGameID nGameID) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->StoreStats((CGameID)nGameID); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->StoreStats( (CGameID)params->nGameID ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement(void *linux_side, CGameID nGameID, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ClearAchievement((CGameID)nGameID, (const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ClearAchievement( (CGameID)params->nGameID, (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement(void *linux_side, CGameID nGameID, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ClearGroupAchievement((CGameID)nGameID, (const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ClearGroupAchievement( (CGameID)params->nGameID, (const char *)params->pchName ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon(void *linux_side, CGameID nGameID, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementIcon((CGameID)nGameID, (const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementIcon( (CGameID)params->nGameID, (const char *)params->pchName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute(void *linux_side, CGameID nGameID, const char *pchName, const char *pchKey) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((CGameID)nGameID, (const char *)pchName, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementDisplayAttribute( (CGameID)params->nGameID, (const char *)params->pchName, (const char *)params->pchKey ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.h index a6242f1e..06f0bedb 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.h @@ -1,22 +1,202 @@ -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats(void *, CGameID); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName(void *, CGameID, uint32); -extern ESteamUserStatType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType(void *, CGameID, const char *); -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements(void *, CGameID); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName(void *, CGameID, uint32); -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements(void *, CGameID); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName(void *, CGameID, uint32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats(void *, CGameID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat(void *, CGameID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2(void *, CGameID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat(void *, CGameID, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2(void *, CGameID, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat(void *, CGameID, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement(void *, CGameID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement(void *, CGameID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement(void *, CGameID, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement(void *, CGameID, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats(void *, CGameID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement(void *, CGameID, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement(void *, CGameID, const char *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon(void *, CGameID, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute(void *, CGameID, const char *, const char *); +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats_params +{ + void *linux_side; + uint32 _ret; + CGameID nGameID; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName_params +{ + void *linux_side; + const char *_ret; + CGameID nGameID; + uint32 iStat; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType_params +{ + void *linux_side; + ESteamUserStatType _ret; + CGameID nGameID; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements_params +{ + void *linux_side; + uint32 _ret; + CGameID nGameID; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName_params +{ + void *linux_side; + const char *_ret; + CGameID nGameID; + uint32 iAchievement; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements_params +{ + void *linux_side; + uint32 _ret; + CGameID nGameID; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName_params +{ + void *linux_side; + const char *_ret; + CGameID nGameID; + uint32 iAchievement; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + int32 nData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + float fData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon_params +{ + void *linux_side; + int _ret; + CGameID nGameID; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute_params +{ + void *linux_side; + const char *_ret; + CGameID nGameID; + const char *pchName; + const char *pchKey; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute_params *params ); + diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.cpp index e0b675ed..78e2499c 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.cpp @@ -11,130 +11,94 @@ extern "C" { #define SDKVER_099y #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.h" -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats(void *linux_side, CGameID nGameID) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats_params *params ) { - uint32 _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumStats((CGameID)nGameID); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumStats( (CGameID)params->nGameID ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName(void *linux_side, CGameID nGameID, uint32 iStat) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetStatName((CGameID)nGameID, (uint32)iStat); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStatName( (CGameID)params->nGameID, (uint32)params->iStat ); } -ESteamUserStatType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType(void *linux_side, CGameID nGameID, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType_params *params ) { - ESteamUserStatType _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStatType((CGameID)nGameID, (const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStatType( (CGameID)params->nGameID, (const char *)params->pchName ); } -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements(void *linux_side, CGameID nGameID) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements_params *params ) { - uint32 _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumAchievements((CGameID)nGameID); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumAchievements( (CGameID)params->nGameID ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName(void *linux_side, CGameID nGameID, uint32 iAchievement) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementName((CGameID)nGameID, (uint32)iAchievement); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementName( (CGameID)params->nGameID, (uint32)params->iAchievement ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats(void *linux_side, CGameID nGameID) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestCurrentStats((CGameID)nGameID); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestCurrentStats( (CGameID)params->nGameID ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat(void *linux_side, CGameID nGameID, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((CGameID)nGameID, (const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (CGameID)params->nGameID, (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2(void *linux_side, CGameID nGameID, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((CGameID)nGameID, (const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (CGameID)params->nGameID, (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat(void *linux_side, CGameID nGameID, const char *pchName, int32 nData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((CGameID)nGameID, (const char *)pchName, (int32)nData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (CGameID)params->nGameID, (const char *)params->pchName, (int32)params->nData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2(void *linux_side, CGameID nGameID, const char *pchName, float fData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((CGameID)nGameID, (const char *)pchName, (float)fData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (CGameID)params->nGameID, (const char *)params->pchName, (float)params->fData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat(void *linux_side, CGameID nGameID, const char *pchName, float flCountThisSession, double dSessionLength) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((CGameID)nGameID, (const char *)pchName, (float)flCountThisSession, (double)dSessionLength); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UpdateAvgRateStat( (CGameID)params->nGameID, (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement(void *linux_side, CGameID nGameID, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievement((CGameID)nGameID, (const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievement( (CGameID)params->nGameID, (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement(void *linux_side, CGameID nGameID, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetAchievement((CGameID)nGameID, (const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetAchievement( (CGameID)params->nGameID, (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement(void *linux_side, CGameID nGameID, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ClearAchievement((CGameID)nGameID, (const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ClearAchievement( (CGameID)params->nGameID, (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats(void *linux_side, CGameID nGameID) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->StoreStats((CGameID)nGameID); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->StoreStats( (CGameID)params->nGameID ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon(void *linux_side, CGameID nGameID, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementIcon((CGameID)nGameID, (const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementIcon( (CGameID)params->nGameID, (const char *)params->pchName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute(void *linux_side, CGameID nGameID, const char *pchName, const char *pchKey) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((CGameID)nGameID, (const char *)pchName, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementDisplayAttribute( (CGameID)params->nGameID, (const char *)params->pchName, (const char *)params->pchKey ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress(void *linux_side, CGameID nGameID, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((CGameID)nGameID, (const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->IndicateAchievementProgress( (CGameID)params->nGameID, (const char *)params->pchName, (uint32)params->nCurProgress, (uint32)params->nMaxProgress ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.h index e777010a..77c14f15 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.h @@ -1,18 +1,168 @@ -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats(void *, CGameID); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName(void *, CGameID, uint32); -extern ESteamUserStatType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType(void *, CGameID, const char *); -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements(void *, CGameID); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName(void *, CGameID, uint32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats(void *, CGameID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat(void *, CGameID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2(void *, CGameID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat(void *, CGameID, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2(void *, CGameID, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat(void *, CGameID, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement(void *, CGameID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement(void *, CGameID, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement(void *, CGameID, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats(void *, CGameID); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon(void *, CGameID, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute(void *, CGameID, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress(void *, CGameID, const char *, uint32, uint32); +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats_params +{ + void *linux_side; + uint32 _ret; + CGameID nGameID; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName_params +{ + void *linux_side; + const char *_ret; + CGameID nGameID; + uint32 iStat; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType_params +{ + void *linux_side; + ESteamUserStatType _ret; + CGameID nGameID; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements_params +{ + void *linux_side; + uint32 _ret; + CGameID nGameID; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName_params +{ + void *linux_side; + const char *_ret; + CGameID nGameID; + uint32 iAchievement; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + int32 nData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + float fData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon_params +{ + void *linux_side; + int _ret; + CGameID nGameID; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute_params +{ + void *linux_side; + const char *_ret; + CGameID nGameID; + const char *pchName; + const char *pchKey; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress_params +{ + void *linux_side; + bool _ret; + CGameID nGameID; + const char *pchName; + uint32 nCurProgress; + uint32 nMaxProgress; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress_params *params ); + diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.cpp index 2267bbfd..8394a9dc 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.cpp @@ -11,95 +11,69 @@ extern "C" { #define SDKVER_102 #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestCurrentStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestCurrentStats( ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat(void *linux_side, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2(void *linux_side, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat(void *linux_side, const char *pchName, int32 nData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (int32)params->nData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2(void *linux_side, const char *pchName, float fData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (float)params->fData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat(void *linux_side, const char *pchName, float flCountThisSession, double dSessionLength) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UpdateAvgRateStat( (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement(void *linux_side, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievement( (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ClearAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->StoreStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->StoreStats( ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementIcon( (const char *)params->pchName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute(void *linux_side, const char *pchName, const char *pchKey) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementDisplayAttribute( (const char *)params->pchName, (const char *)params->pchKey ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress(void *linux_side, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->IndicateAchievementProgress( (const char *)params->pchName, (uint32)params->nCurProgress, (uint32)params->nMaxProgress ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.h index c8aa884a..f3a3e6f8 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.h @@ -1,13 +1,112 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress(void *, const char *, uint32, uint32); +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 nData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float fData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon_params +{ + void *linux_side; + int _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute_params +{ + void *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress_params +{ + void *linux_side; + bool _ret; + const char *pchName; + uint32 nCurProgress; + uint32 nMaxProgress; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress_params *params ); + diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp index decdbeb8..23308e1f 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp @@ -11,123 +11,89 @@ extern "C" { #define SDKVER_103 #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestCurrentStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestCurrentStats( ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat(void *linux_side, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2(void *linux_side, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat(void *linux_side, const char *pchName, int32 nData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (int32)params->nData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2(void *linux_side, const char *pchName, float fData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (float)params->fData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat(void *linux_side, const char *pchName, float flCountThisSession, double dSessionLength) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UpdateAvgRateStat( (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement(void *linux_side, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievement( (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ClearAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->StoreStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->StoreStats( ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementIcon( (const char *)params->pchName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute(void *linux_side, const char *pchName, const char *pchKey) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementDisplayAttribute( (const char *)params->pchName, (const char *)params->pchKey ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress(void *linux_side, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->IndicateAchievementProgress( (const char *)params->pchName, (uint32)params->nCurProgress, (uint32)params->nMaxProgress ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats(void *linux_side, CSteamID steamIDUser) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestUserStats( (CSteamID)params->steamIDUser ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat(void *linux_side, CSteamID steamIDUser, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievement( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h index ad196e59..fb932d2f 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h @@ -1,17 +1,150 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement(void *, CSteamID, const char *, bool *); +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 nData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float fData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon_params +{ + void *linux_side; + int _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute_params +{ + void *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress_params +{ + void *linux_side; + bool _ret; + const char *pchName; + uint32 nCurProgress; + uint32 nMaxProgress; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDUser; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement_params *params ); + diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.cpp index 5f61db30..b9414019 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.cpp @@ -11,193 +11,139 @@ extern "C" { #define SDKVER_104 #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestCurrentStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestCurrentStats( ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat(void *linux_side, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2(void *linux_side, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat(void *linux_side, const char *pchName, int32 nData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (int32)params->nData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2(void *linux_side, const char *pchName, float fData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (float)params->fData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat(void *linux_side, const char *pchName, float flCountThisSession, double dSessionLength) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UpdateAvgRateStat( (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement(void *linux_side, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievement( (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ClearAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->StoreStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->StoreStats( ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementIcon( (const char *)params->pchName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute(void *linux_side, const char *pchName, const char *pchKey) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementDisplayAttribute( (const char *)params->pchName, (const char *)params->pchKey ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress(void *linux_side, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->IndicateAchievementProgress( (const char *)params->pchName, (uint32)params->nCurProgress, (uint32)params->nMaxProgress ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats(void *linux_side, CSteamID steamIDUser) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestUserStats( (CSteamID)params->steamIDUser ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat(void *linux_side, CSteamID steamIDUser, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievement( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats(void *linux_side, bool bAchievementsToo) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ResetAllStats( (bool)params->bAchievementsToo ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard(void *linux_side, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindOrCreateLeaderboard( (const char *)params->pchLeaderboardName, (ELeaderboardSortMethod)params->eLeaderboardSortMethod, (ELeaderboardDisplayType)params->eLeaderboardDisplayType ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard(void *linux_side, const char *pchLeaderboardName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindLeaderboard( (const char *)params->pchLeaderboardName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardName( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardEntryCount( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod_params *params ) { - ELeaderboardSortMethod _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardSortMethod( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType_params *params ) { - ELeaderboardDisplayType _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardDisplayType( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->DownloadLeaderboardEntries( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardDataRequest)params->eLeaderboardDataRequest, (int)params->nRangeStart, (int)params->nRangeEnd ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, (LeaderboardEntry_t *)pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetDownloadedLeaderboardEntry( (SteamLeaderboardEntries_t)params->hSteamLeaderboardEntries, (int)params->index, (LeaderboardEntry_t *)params->pLeaderboardEntry, (int32 *)params->pDetails, (int)params->cDetailsMax ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, int32 nScore, int32 *pScoreDetails, int cScoreDetailsCount) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (int32)nScore, (int32 *)pScoreDetails, (int)cScoreDetailsCount); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UploadLeaderboardScore( (SteamLeaderboard_t)params->hSteamLeaderboard, (int32)params->nScore, (int32 *)params->pScoreDetails, (int)params->cScoreDetailsCount ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.h index b44958bf..55b363bb 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.h @@ -1,27 +1,242 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, LeaderboardEntry_t *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore(void *, SteamLeaderboard_t, int32, int32 *, int); +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 nData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float fData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon_params +{ + void *linux_side; + int _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute_params +{ + void *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress_params +{ + void *linux_side; + bool _ret; + const char *pchName; + uint32 nCurProgress; + uint32 nMaxProgress; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDUser; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats_params +{ + void *linux_side; + bool _ret; + bool bAchievementsToo; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; + ELeaderboardSortMethod eLeaderboardSortMethod; + ELeaderboardDisplayType eLeaderboardDisplayType; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName_params +{ + void *linux_side; + const char *_ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount_params +{ + void *linux_side; + int _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod_params +{ + void *linux_side; + ELeaderboardSortMethod _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType_params +{ + void *linux_side; + ELeaderboardDisplayType _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardDataRequest eLeaderboardDataRequest; + int nRangeStart; + int nRangeEnd; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry_params +{ + void *linux_side; + bool _ret; + SteamLeaderboardEntries_t hSteamLeaderboardEntries; + int index; + LeaderboardEntry_t *pLeaderboardEntry; + int32 *pDetails; + int cDetailsMax; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + int32 nScore; + int32 *pScoreDetails; + int cScoreDetailsCount; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore_params *params ); + diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.cpp index cc2c4ed6..8220adac 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.cpp @@ -11,200 +11,144 @@ extern "C" { #define SDKVER_107 #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestCurrentStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestCurrentStats( ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat(void *linux_side, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2(void *linux_side, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat(void *linux_side, const char *pchName, int32 nData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (int32)params->nData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2(void *linux_side, const char *pchName, float fData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (float)params->fData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat(void *linux_side, const char *pchName, float flCountThisSession, double dSessionLength) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UpdateAvgRateStat( (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement(void *linux_side, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievement( (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ClearAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->StoreStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->StoreStats( ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementIcon( (const char *)params->pchName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute(void *linux_side, const char *pchName, const char *pchKey) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementDisplayAttribute( (const char *)params->pchName, (const char *)params->pchKey ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress(void *linux_side, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->IndicateAchievementProgress( (const char *)params->pchName, (uint32)params->nCurProgress, (uint32)params->nMaxProgress ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats(void *linux_side, CSteamID steamIDUser) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestUserStats( (CSteamID)params->steamIDUser ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat(void *linux_side, CSteamID steamIDUser, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievement( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats(void *linux_side, bool bAchievementsToo) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ResetAllStats( (bool)params->bAchievementsToo ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard(void *linux_side, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindOrCreateLeaderboard( (const char *)params->pchLeaderboardName, (ELeaderboardSortMethod)params->eLeaderboardSortMethod, (ELeaderboardDisplayType)params->eLeaderboardDisplayType ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard(void *linux_side, const char *pchLeaderboardName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindLeaderboard( (const char *)params->pchLeaderboardName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardName( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardEntryCount( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod_params *params ) { - ELeaderboardSortMethod _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardSortMethod( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType_params *params ) { - ELeaderboardDisplayType _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardDisplayType( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->DownloadLeaderboardEntries( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardDataRequest)params->eLeaderboardDataRequest, (int)params->nRangeStart, (int)params->nRangeEnd ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, (LeaderboardEntry_t *)pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetDownloadedLeaderboardEntry( (SteamLeaderboardEntries_t)params->hSteamLeaderboardEntries, (int)params->index, (LeaderboardEntry_t *)params->pLeaderboardEntry, (int32 *)params->pDetails, (int)params->cDetailsMax ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UploadLeaderboardScore( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardUploadScoreMethod)params->eLeaderboardUploadScoreMethod, (int32)params->nScore, (const int32 *)params->pScoreDetails, (int)params->cScoreDetailsCount ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumberOfCurrentPlayers( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.h index 78b5b9df..a6fa0db3 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.h @@ -1,28 +1,250 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, LeaderboardEntry_t *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers(void *); +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 nData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float fData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon_params +{ + void *linux_side; + int _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute_params +{ + void *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress_params +{ + void *linux_side; + bool _ret; + const char *pchName; + uint32 nCurProgress; + uint32 nMaxProgress; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDUser; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats_params +{ + void *linux_side; + bool _ret; + bool bAchievementsToo; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; + ELeaderboardSortMethod eLeaderboardSortMethod; + ELeaderboardDisplayType eLeaderboardDisplayType; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName_params +{ + void *linux_side; + const char *_ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount_params +{ + void *linux_side; + int _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod_params +{ + void *linux_side; + ELeaderboardSortMethod _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType_params +{ + void *linux_side; + ELeaderboardDisplayType _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardDataRequest eLeaderboardDataRequest; + int nRangeStart; + int nRangeEnd; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry_params +{ + void *linux_side; + bool _ret; + SteamLeaderboardEntries_t hSteamLeaderboardEntries; + int index; + LeaderboardEntry_t *pLeaderboardEntry; + int32 *pDetails; + int cDetailsMax; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod; + int32 nScore; + const int32 *pScoreDetails; + int cScoreDetailsCount; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers_params *params ); + diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.cpp index c2ad1585..7df83ff2 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.cpp @@ -11,214 +11,154 @@ extern "C" { #define SDKVER_111 #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestCurrentStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestCurrentStats( ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat(void *linux_side, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2(void *linux_side, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat(void *linux_side, const char *pchName, int32 nData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (int32)params->nData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2(void *linux_side, const char *pchName, float fData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (float)params->fData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat(void *linux_side, const char *pchName, float flCountThisSession, double dSessionLength) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UpdateAvgRateStat( (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement(void *linux_side, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievement( (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ClearAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime(void *linux_side, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementAndUnlockTime((const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementAndUnlockTime( (const char *)params->pchName, (bool *)params->pbAchieved, (uint32 *)params->punUnlockTime ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->StoreStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->StoreStats( ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementIcon( (const char *)params->pchName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute(void *linux_side, const char *pchName, const char *pchKey) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementDisplayAttribute( (const char *)params->pchName, (const char *)params->pchKey ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress(void *linux_side, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->IndicateAchievementProgress( (const char *)params->pchName, (uint32)params->nCurProgress, (uint32)params->nMaxProgress ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats(void *linux_side, CSteamID steamIDUser) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestUserStats( (CSteamID)params->steamIDUser ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat(void *linux_side, CSteamID steamIDUser, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievement( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievementAndUnlockTime((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievementAndUnlockTime( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved, (uint32 *)params->punUnlockTime ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats(void *linux_side, bool bAchievementsToo) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ResetAllStats( (bool)params->bAchievementsToo ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard(void *linux_side, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindOrCreateLeaderboard( (const char *)params->pchLeaderboardName, (ELeaderboardSortMethod)params->eLeaderboardSortMethod, (ELeaderboardDisplayType)params->eLeaderboardDisplayType ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard(void *linux_side, const char *pchLeaderboardName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindLeaderboard( (const char *)params->pchLeaderboardName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardName( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardEntryCount( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod_params *params ) { - ELeaderboardSortMethod _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardSortMethod( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType_params *params ) { - ELeaderboardDisplayType _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardDisplayType( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->DownloadLeaderboardEntries( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardDataRequest)params->eLeaderboardDataRequest, (int)params->nRangeStart, (int)params->nRangeEnd ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, (LeaderboardEntry_t *)pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetDownloadedLeaderboardEntry( (SteamLeaderboardEntries_t)params->hSteamLeaderboardEntries, (int)params->index, (LeaderboardEntry_t *)params->pLeaderboardEntry, (int32 *)params->pDetails, (int)params->cDetailsMax ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UploadLeaderboardScore( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardUploadScoreMethod)params->eLeaderboardUploadScoreMethod, (int32)params->nScore, (const int32 *)params->pScoreDetails, (int)params->cScoreDetailsCount ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumberOfCurrentPlayers( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.h index da226835..3c865512 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.h @@ -1,30 +1,271 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime(void *, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime(void *, CSteamID, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, LeaderboardEntry_t *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers(void *); +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 nData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float fData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; + uint32 *punUnlockTime; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon_params +{ + void *linux_side; + int _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute_params +{ + void *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress_params +{ + void *linux_side; + bool _ret; + const char *pchName; + uint32 nCurProgress; + uint32 nMaxProgress; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDUser; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; + uint32 *punUnlockTime; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats_params +{ + void *linux_side; + bool _ret; + bool bAchievementsToo; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; + ELeaderboardSortMethod eLeaderboardSortMethod; + ELeaderboardDisplayType eLeaderboardDisplayType; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName_params +{ + void *linux_side; + const char *_ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount_params +{ + void *linux_side; + int _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod_params +{ + void *linux_side; + ELeaderboardSortMethod _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType_params +{ + void *linux_side; + ELeaderboardDisplayType _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardDataRequest eLeaderboardDataRequest; + int nRangeStart; + int nRangeEnd; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry_params +{ + void *linux_side; + bool _ret; + SteamLeaderboardEntries_t hSteamLeaderboardEntries; + int index; + LeaderboardEntry_t *pLeaderboardEntry; + int32 *pDetails; + int cDetailsMax; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod; + int32 nScore; + const int32 *pScoreDetails; + int cScoreDetailsCount; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers_params *params ); + diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.cpp index 9ce3314b..49383fe0 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.cpp @@ -11,224 +11,162 @@ extern "C" { #define SDKVER_111x #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestCurrentStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestCurrentStats( ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat(void *linux_side, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2(void *linux_side, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat(void *linux_side, const char *pchName, int32 nData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (int32)params->nData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2(void *linux_side, const char *pchName, float fData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (float)params->fData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat(void *linux_side, const char *pchName, float flCountThisSession, double dSessionLength) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UpdateAvgRateStat( (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement(void *linux_side, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievement( (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ClearAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime(void *linux_side, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementAndUnlockTime((const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementAndUnlockTime( (const char *)params->pchName, (bool *)params->pbAchieved, (uint32 *)params->punUnlockTime ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->StoreStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->StoreStats( ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementIcon( (const char *)params->pchName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute(void *linux_side, const char *pchName, const char *pchKey) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementDisplayAttribute( (const char *)params->pchName, (const char *)params->pchKey ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress(void *linux_side, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->IndicateAchievementProgress( (const char *)params->pchName, (uint32)params->nCurProgress, (uint32)params->nMaxProgress ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats(void *linux_side, CSteamID steamIDUser) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestUserStats( (CSteamID)params->steamIDUser ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat(void *linux_side, CSteamID steamIDUser, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievement( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievementAndUnlockTime((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievementAndUnlockTime( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved, (uint32 *)params->punUnlockTime ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats(void *linux_side, bool bAchievementsToo) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ResetAllStats( (bool)params->bAchievementsToo ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard(void *linux_side, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindOrCreateLeaderboard( (const char *)params->pchLeaderboardName, (ELeaderboardSortMethod)params->eLeaderboardSortMethod, (ELeaderboardDisplayType)params->eLeaderboardDisplayType ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard(void *linux_side, const char *pchLeaderboardName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindLeaderboard( (const char *)params->pchLeaderboardName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardName( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardEntryCount( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod_params *params ) { - ELeaderboardSortMethod _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardSortMethod( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType_params *params ) { - ELeaderboardDisplayType _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardDisplayType( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->DownloadLeaderboardEntries( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardDataRequest)params->eLeaderboardDataRequest, (int)params->nRangeStart, (int)params->nRangeEnd ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_111x *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry_params *params ) { - bool _ret; LeaderboardEntry_t lin_pLeaderboardEntry; - win_to_lin_struct_LeaderboardEntry_t_111x(pLeaderboardEntry, &lin_pLeaderboardEntry); - _ret = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, &lin_pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - lin_to_win_struct_LeaderboardEntry_t_111x(&lin_pLeaderboardEntry, pLeaderboardEntry); - return (_ret); + win_to_lin_struct_LeaderboardEntry_t_111x( params->pLeaderboardEntry, &lin_pLeaderboardEntry ); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetDownloadedLeaderboardEntry( (SteamLeaderboardEntries_t)params->hSteamLeaderboardEntries, (int)params->index, &lin_pLeaderboardEntry, (int32 *)params->pDetails, (int)params->cDetailsMax ); + lin_to_win_struct_LeaderboardEntry_t_111x( &lin_pLeaderboardEntry, params->pLeaderboardEntry ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UploadLeaderboardScore( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardUploadScoreMethod)params->eLeaderboardUploadScoreMethod, (int32)params->nScore, (const int32 *)params->pScoreDetails, (int)params->cScoreDetailsCount ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->AttachLeaderboardUGC((SteamLeaderboard_t)hSteamLeaderboard, (UGCHandle_t)hUGC); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->AttachLeaderboardUGC( (SteamLeaderboard_t)params->hSteamLeaderboard, (UGCHandle_t)params->hUGC ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumberOfCurrentPlayers( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.h index 6ee45a51..2d226383 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.h @@ -1,31 +1,280 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime(void *, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime(void *, CSteamID, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_111x *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC(void *, SteamLeaderboard_t, UGCHandle_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers(void *); +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 nData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float fData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; + uint32 *punUnlockTime; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon_params +{ + void *linux_side; + int _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute_params +{ + void *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress_params +{ + void *linux_side; + bool _ret; + const char *pchName; + uint32 nCurProgress; + uint32 nMaxProgress; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDUser; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; + uint32 *punUnlockTime; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats_params +{ + void *linux_side; + bool _ret; + bool bAchievementsToo; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; + ELeaderboardSortMethod eLeaderboardSortMethod; + ELeaderboardDisplayType eLeaderboardDisplayType; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName_params +{ + void *linux_side; + const char *_ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount_params +{ + void *linux_side; + int _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod_params +{ + void *linux_side; + ELeaderboardSortMethod _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType_params +{ + void *linux_side; + ELeaderboardDisplayType _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardDataRequest eLeaderboardDataRequest; + int nRangeStart; + int nRangeEnd; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry_params +{ + void *linux_side; + bool _ret; + SteamLeaderboardEntries_t hSteamLeaderboardEntries; + int index; + winLeaderboardEntry_t_111x *pLeaderboardEntry; + int32 *pDetails; + int cDetailsMax; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod; + int32 nScore; + const int32 *pScoreDetails; + int cScoreDetailsCount; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + UGCHandle_t hUGC; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers_params *params ); + diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.cpp index 147b9f2c..dca0b4b2 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.cpp @@ -11,231 +11,167 @@ extern "C" { #define SDKVER_113 #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestCurrentStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestCurrentStats( ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat(void *linux_side, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2(void *linux_side, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat(void *linux_side, const char *pchName, int32 nData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (int32)params->nData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2(void *linux_side, const char *pchName, float fData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (float)params->fData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat(void *linux_side, const char *pchName, float flCountThisSession, double dSessionLength) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UpdateAvgRateStat( (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement(void *linux_side, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievement( (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ClearAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime(void *linux_side, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementAndUnlockTime((const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementAndUnlockTime( (const char *)params->pchName, (bool *)params->pbAchieved, (uint32 *)params->punUnlockTime ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->StoreStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->StoreStats( ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementIcon( (const char *)params->pchName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute(void *linux_side, const char *pchName, const char *pchKey) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementDisplayAttribute( (const char *)params->pchName, (const char *)params->pchKey ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress(void *linux_side, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->IndicateAchievementProgress( (const char *)params->pchName, (uint32)params->nCurProgress, (uint32)params->nMaxProgress ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats(void *linux_side, CSteamID steamIDUser) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestUserStats( (CSteamID)params->steamIDUser ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat(void *linux_side, CSteamID steamIDUser, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievement( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievementAndUnlockTime((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievementAndUnlockTime( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved, (uint32 *)params->punUnlockTime ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats(void *linux_side, bool bAchievementsToo) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ResetAllStats( (bool)params->bAchievementsToo ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard(void *linux_side, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindOrCreateLeaderboard( (const char *)params->pchLeaderboardName, (ELeaderboardSortMethod)params->eLeaderboardSortMethod, (ELeaderboardDisplayType)params->eLeaderboardDisplayType ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard(void *linux_side, const char *pchLeaderboardName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindLeaderboard( (const char *)params->pchLeaderboardName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardName( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardEntryCount( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod_params *params ) { - ELeaderboardSortMethod _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardSortMethod( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType_params *params ) { - ELeaderboardDisplayType _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardDisplayType( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->DownloadLeaderboardEntries( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardDataRequest)params->eLeaderboardDataRequest, (int)params->nRangeStart, (int)params->nRangeEnd ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, CSteamID *prgUsers, int cUsers) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntriesForUsers((SteamLeaderboard_t)hSteamLeaderboard, (CSteamID *)prgUsers, (int)cUsers); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->DownloadLeaderboardEntriesForUsers( (SteamLeaderboard_t)params->hSteamLeaderboard, (CSteamID *)params->prgUsers, (int)params->cUsers ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_113 *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry_params *params ) { - bool _ret; LeaderboardEntry_t lin_pLeaderboardEntry; - win_to_lin_struct_LeaderboardEntry_t_113(pLeaderboardEntry, &lin_pLeaderboardEntry); - _ret = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, &lin_pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - lin_to_win_struct_LeaderboardEntry_t_113(&lin_pLeaderboardEntry, pLeaderboardEntry); - return (_ret); + win_to_lin_struct_LeaderboardEntry_t_113( params->pLeaderboardEntry, &lin_pLeaderboardEntry ); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetDownloadedLeaderboardEntry( (SteamLeaderboardEntries_t)params->hSteamLeaderboardEntries, (int)params->index, &lin_pLeaderboardEntry, (int32 *)params->pDetails, (int)params->cDetailsMax ); + lin_to_win_struct_LeaderboardEntry_t_113( &lin_pLeaderboardEntry, params->pLeaderboardEntry ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UploadLeaderboardScore( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardUploadScoreMethod)params->eLeaderboardUploadScoreMethod, (int32)params->nScore, (const int32 *)params->pScoreDetails, (int)params->cScoreDetailsCount ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->AttachLeaderboardUGC((SteamLeaderboard_t)hSteamLeaderboard, (UGCHandle_t)hUGC); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->AttachLeaderboardUGC( (SteamLeaderboard_t)params->hSteamLeaderboard, (UGCHandle_t)params->hUGC ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumberOfCurrentPlayers( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.h index 6da525ec..16e8327a 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.h @@ -1,32 +1,290 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime(void *, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime(void *, CSteamID, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers(void *, SteamLeaderboard_t, CSteamID *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_113 *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC(void *, SteamLeaderboard_t, UGCHandle_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers(void *); +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 nData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float fData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; + uint32 *punUnlockTime; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon_params +{ + void *linux_side; + int _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute_params +{ + void *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress_params +{ + void *linux_side; + bool _ret; + const char *pchName; + uint32 nCurProgress; + uint32 nMaxProgress; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDUser; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; + uint32 *punUnlockTime; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats_params +{ + void *linux_side; + bool _ret; + bool bAchievementsToo; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; + ELeaderboardSortMethod eLeaderboardSortMethod; + ELeaderboardDisplayType eLeaderboardDisplayType; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName_params +{ + void *linux_side; + const char *_ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount_params +{ + void *linux_side; + int _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod_params +{ + void *linux_side; + ELeaderboardSortMethod _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType_params +{ + void *linux_side; + ELeaderboardDisplayType _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardDataRequest eLeaderboardDataRequest; + int nRangeStart; + int nRangeEnd; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + CSteamID *prgUsers; + int cUsers; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry_params +{ + void *linux_side; + bool _ret; + SteamLeaderboardEntries_t hSteamLeaderboardEntries; + int index; + winLeaderboardEntry_t_113 *pLeaderboardEntry; + int32 *pDetails; + int cDetailsMax; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod; + int32 nScore; + const int32 *pScoreDetails; + int cScoreDetailsCount; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + UGCHandle_t hUGC; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers_params *params ); + diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.cpp index 2dbd2a7e..81c8d24f 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.cpp @@ -11,294 +11,212 @@ extern "C" { #define SDKVER_119 #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestCurrentStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestCurrentStats( ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat(void *linux_side, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2(void *linux_side, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat(void *linux_side, const char *pchName, int32 nData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (int32)params->nData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2(void *linux_side, const char *pchName, float fData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (float)params->fData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat(void *linux_side, const char *pchName, float flCountThisSession, double dSessionLength) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UpdateAvgRateStat( (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement(void *linux_side, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievement( (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ClearAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime(void *linux_side, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementAndUnlockTime((const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementAndUnlockTime( (const char *)params->pchName, (bool *)params->pbAchieved, (uint32 *)params->punUnlockTime ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->StoreStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->StoreStats( ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementIcon( (const char *)params->pchName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute(void *linux_side, const char *pchName, const char *pchKey) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementDisplayAttribute( (const char *)params->pchName, (const char *)params->pchKey ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress(void *linux_side, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->IndicateAchievementProgress( (const char *)params->pchName, (uint32)params->nCurProgress, (uint32)params->nMaxProgress ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats(void *linux_side, CSteamID steamIDUser) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestUserStats( (CSteamID)params->steamIDUser ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat(void *linux_side, CSteamID steamIDUser, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievement( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievementAndUnlockTime((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievementAndUnlockTime( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved, (uint32 *)params->punUnlockTime ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats(void *linux_side, bool bAchievementsToo) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ResetAllStats( (bool)params->bAchievementsToo ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard(void *linux_side, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindOrCreateLeaderboard( (const char *)params->pchLeaderboardName, (ELeaderboardSortMethod)params->eLeaderboardSortMethod, (ELeaderboardDisplayType)params->eLeaderboardDisplayType ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard(void *linux_side, const char *pchLeaderboardName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindLeaderboard( (const char *)params->pchLeaderboardName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardName( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardEntryCount( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod_params *params ) { - ELeaderboardSortMethod _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardSortMethod( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType_params *params ) { - ELeaderboardDisplayType _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardDisplayType( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->DownloadLeaderboardEntries( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardDataRequest)params->eLeaderboardDataRequest, (int)params->nRangeStart, (int)params->nRangeEnd ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, CSteamID *prgUsers, int cUsers) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntriesForUsers((SteamLeaderboard_t)hSteamLeaderboard, (CSteamID *)prgUsers, (int)cUsers); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->DownloadLeaderboardEntriesForUsers( (SteamLeaderboard_t)params->hSteamLeaderboard, (CSteamID *)params->prgUsers, (int)params->cUsers ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_119 *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry_params *params ) { - bool _ret; LeaderboardEntry_t lin_pLeaderboardEntry; - win_to_lin_struct_LeaderboardEntry_t_119(pLeaderboardEntry, &lin_pLeaderboardEntry); - _ret = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, &lin_pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - lin_to_win_struct_LeaderboardEntry_t_119(&lin_pLeaderboardEntry, pLeaderboardEntry); - return (_ret); + win_to_lin_struct_LeaderboardEntry_t_119( params->pLeaderboardEntry, &lin_pLeaderboardEntry ); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetDownloadedLeaderboardEntry( (SteamLeaderboardEntries_t)params->hSteamLeaderboardEntries, (int)params->index, &lin_pLeaderboardEntry, (int32 *)params->pDetails, (int)params->cDetailsMax ); + lin_to_win_struct_LeaderboardEntry_t_119( &lin_pLeaderboardEntry, params->pLeaderboardEntry ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UploadLeaderboardScore( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardUploadScoreMethod)params->eLeaderboardUploadScoreMethod, (int32)params->nScore, (const int32 *)params->pScoreDetails, (int)params->cScoreDetailsCount ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->AttachLeaderboardUGC((SteamLeaderboard_t)hSteamLeaderboard, (UGCHandle_t)hUGC); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->AttachLeaderboardUGC( (SteamLeaderboard_t)params->hSteamLeaderboard, (UGCHandle_t)params->hUGC ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumberOfCurrentPlayers( ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestGlobalAchievementPercentages(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestGlobalAchievementPercentages( ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo(void *linux_side, char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetMostAchievedAchievementInfo((char *)pchName, (uint32)unNameBufLen, (float *)pflPercent, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetMostAchievedAchievementInfo( (char *)params->pchName, (uint32)params->unNameBufLen, (float *)params->pflPercent, (bool *)params->pbAchieved ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo(void *linux_side, int iIteratorPrevious, char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNextMostAchievedAchievementInfo((int)iIteratorPrevious, (char *)pchName, (uint32)unNameBufLen, (float *)pflPercent, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNextMostAchievedAchievementInfo( (int)params->iIteratorPrevious, (char *)params->pchName, (uint32)params->unNameBufLen, (float *)params->pflPercent, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent(void *linux_side, const char *pchName, float *pflPercent) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementAchievedPercent((const char *)pchName, (float *)pflPercent); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementAchievedPercent( (const char *)params->pchName, (float *)params->pflPercent ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats(void *linux_side, int nHistoryDays) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestGlobalStats((int)nHistoryDays); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestGlobalStats( (int)params->nHistoryDays ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat(void *linux_side, const char *pchStatName, int64 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetGlobalStat((const char *)pchStatName, (int64 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGlobalStat( (const char *)params->pchStatName, (int64 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2(void *linux_side, const char *pchStatName, double *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetGlobalStat((const char *)pchStatName, (double *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGlobalStat( (const char *)params->pchStatName, (double *)params->pData ); } -int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory(void *linux_side, const char *pchStatName, int64 *pData, uint32 cubData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_params *params ) { - int32 _ret; - _ret = ((ISteamUserStats*)linux_side)->GetGlobalStatHistory((const char *)pchStatName, (int64 *)pData, (uint32)cubData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGlobalStatHistory( (const char *)params->pchStatName, (int64 *)params->pData, (uint32)params->cubData ); } -int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2(void *linux_side, const char *pchStatName, double *pData, uint32 cubData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2_params *params ) { - int32 _ret; - _ret = ((ISteamUserStats*)linux_side)->GetGlobalStatHistory((const char *)pchStatName, (double *)pData, (uint32)cubData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGlobalStatHistory( (const char *)params->pchStatName, (double *)params->pData, (uint32)params->cubData ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.h index 4a2d6b15..4224eaf5 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.h @@ -1,41 +1,375 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime(void *, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime(void *, CSteamID, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers(void *, SteamLeaderboard_t, CSteamID *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_119 *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC(void *, SteamLeaderboard_t, UGCHandle_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers(void *); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo(void *, char *, uint32, float *, bool *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo(void *, int, char *, uint32, float *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent(void *, const char *, float *); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats(void *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat(void *, const char *, int64 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2(void *, const char *, double *); -extern int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory(void *, const char *, int64 *, uint32); -extern int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2(void *, const char *, double *, uint32); +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 nData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float fData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; + uint32 *punUnlockTime; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon_params +{ + void *linux_side; + int _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute_params +{ + void *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress_params +{ + void *linux_side; + bool _ret; + const char *pchName; + uint32 nCurProgress; + uint32 nMaxProgress; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDUser; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; + uint32 *punUnlockTime; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats_params +{ + void *linux_side; + bool _ret; + bool bAchievementsToo; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; + ELeaderboardSortMethod eLeaderboardSortMethod; + ELeaderboardDisplayType eLeaderboardDisplayType; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName_params +{ + void *linux_side; + const char *_ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount_params +{ + void *linux_side; + int _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod_params +{ + void *linux_side; + ELeaderboardSortMethod _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType_params +{ + void *linux_side; + ELeaderboardDisplayType _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardDataRequest eLeaderboardDataRequest; + int nRangeStart; + int nRangeEnd; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + CSteamID *prgUsers; + int cUsers; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry_params +{ + void *linux_side; + bool _ret; + SteamLeaderboardEntries_t hSteamLeaderboardEntries; + int index; + winLeaderboardEntry_t_119 *pLeaderboardEntry; + int32 *pDetails; + int cDetailsMax; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod; + int32 nScore; + const int32 *pScoreDetails; + int cScoreDetailsCount; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + UGCHandle_t hUGC; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo_params +{ + void *linux_side; + int _ret; + char *pchName; + uint32 unNameBufLen; + float *pflPercent; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo_params +{ + void *linux_side; + int _ret; + int iIteratorPrevious; + char *pchName; + uint32 unNameBufLen; + float *pflPercent; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pflPercent; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + int nHistoryDays; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_params +{ + void *linux_side; + bool _ret; + const char *pchStatName; + int64 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchStatName; + double *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_params +{ + void *linux_side; + int32 _ret; + const char *pchStatName; + int64 *pData; + uint32 cubData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2_params +{ + void *linux_side; + int32 _ret; + const char *pchStatName; + double *pData; + uint32 cubData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2_params *params ); + diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp index 24b4e8b3..a7fde3e1 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp @@ -12,308 +12,222 @@ extern "C" { #define SDKVER_148a #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestCurrentStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestCurrentStats( ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat(void *linux_side, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2(void *linux_side, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat(void *linux_side, const char *pchName, int32 nData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (int32)params->nData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2(void *linux_side, const char *pchName, float fData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (float)params->fData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat(void *linux_side, const char *pchName, float flCountThisSession, double dSessionLength) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UpdateAvgRateStat( (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement(void *linux_side, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievement( (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ClearAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime(void *linux_side, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementAndUnlockTime((const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementAndUnlockTime( (const char *)params->pchName, (bool *)params->pbAchieved, (uint32 *)params->punUnlockTime ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->StoreStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->StoreStats( ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementIcon( (const char *)params->pchName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute(void *linux_side, const char *pchName, const char *pchKey) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementDisplayAttribute( (const char *)params->pchName, (const char *)params->pchKey ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress(void *linux_side, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->IndicateAchievementProgress( (const char *)params->pchName, (uint32)params->nCurProgress, (uint32)params->nMaxProgress ); } -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements_params *params ) { - uint32 _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumAchievements(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumAchievements( ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName(void *linux_side, uint32 iAchievement) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementName((uint32)iAchievement); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementName( (uint32)params->iAchievement ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats(void *linux_side, CSteamID steamIDUser) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestUserStats( (CSteamID)params->steamIDUser ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat(void *linux_side, CSteamID steamIDUser, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievement( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievementAndUnlockTime((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievementAndUnlockTime( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved, (uint32 *)params->punUnlockTime ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats(void *linux_side, bool bAchievementsToo) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ResetAllStats( (bool)params->bAchievementsToo ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard(void *linux_side, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindOrCreateLeaderboard( (const char *)params->pchLeaderboardName, (ELeaderboardSortMethod)params->eLeaderboardSortMethod, (ELeaderboardDisplayType)params->eLeaderboardDisplayType ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard(void *linux_side, const char *pchLeaderboardName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindLeaderboard( (const char *)params->pchLeaderboardName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardName( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardEntryCount( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod_params *params ) { - ELeaderboardSortMethod _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardSortMethod( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType_params *params ) { - ELeaderboardDisplayType _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardDisplayType( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->DownloadLeaderboardEntries( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardDataRequest)params->eLeaderboardDataRequest, (int)params->nRangeStart, (int)params->nRangeEnd ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, CSteamID *prgUsers, int cUsers) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntriesForUsers((SteamLeaderboard_t)hSteamLeaderboard, (CSteamID *)prgUsers, (int)cUsers); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->DownloadLeaderboardEntriesForUsers( (SteamLeaderboard_t)params->hSteamLeaderboard, (CSteamID *)params->prgUsers, (int)params->cUsers ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_148a *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry_params *params ) { - bool _ret; LeaderboardEntry_t lin_pLeaderboardEntry; - win_to_lin_struct_LeaderboardEntry_t_148a(pLeaderboardEntry, &lin_pLeaderboardEntry); - _ret = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, &lin_pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - lin_to_win_struct_LeaderboardEntry_t_148a(&lin_pLeaderboardEntry, pLeaderboardEntry); - return (_ret); + win_to_lin_struct_LeaderboardEntry_t_148a( params->pLeaderboardEntry, &lin_pLeaderboardEntry ); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetDownloadedLeaderboardEntry( (SteamLeaderboardEntries_t)params->hSteamLeaderboardEntries, (int)params->index, &lin_pLeaderboardEntry, (int32 *)params->pDetails, (int)params->cDetailsMax ); + lin_to_win_struct_LeaderboardEntry_t_148a( &lin_pLeaderboardEntry, params->pLeaderboardEntry ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UploadLeaderboardScore( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardUploadScoreMethod)params->eLeaderboardUploadScoreMethod, (int32)params->nScore, (const int32 *)params->pScoreDetails, (int)params->cScoreDetailsCount ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->AttachLeaderboardUGC((SteamLeaderboard_t)hSteamLeaderboard, (UGCHandle_t)hUGC); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->AttachLeaderboardUGC( (SteamLeaderboard_t)params->hSteamLeaderboard, (UGCHandle_t)params->hUGC ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumberOfCurrentPlayers( ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestGlobalAchievementPercentages(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestGlobalAchievementPercentages( ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo(void *linux_side, char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetMostAchievedAchievementInfo((char *)pchName, (uint32)unNameBufLen, (float *)pflPercent, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetMostAchievedAchievementInfo( (char *)params->pchName, (uint32)params->unNameBufLen, (float *)params->pflPercent, (bool *)params->pbAchieved ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo(void *linux_side, int iIteratorPrevious, char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNextMostAchievedAchievementInfo((int)iIteratorPrevious, (char *)pchName, (uint32)unNameBufLen, (float *)pflPercent, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNextMostAchievedAchievementInfo( (int)params->iIteratorPrevious, (char *)params->pchName, (uint32)params->unNameBufLen, (float *)params->pflPercent, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent(void *linux_side, const char *pchName, float *pflPercent) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementAchievedPercent((const char *)pchName, (float *)pflPercent); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementAchievedPercent( (const char *)params->pchName, (float *)params->pflPercent ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats(void *linux_side, int nHistoryDays) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestGlobalStats((int)nHistoryDays); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestGlobalStats( (int)params->nHistoryDays ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat(void *linux_side, const char *pchStatName, int64 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetGlobalStat((const char *)pchStatName, (int64 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGlobalStat( (const char *)params->pchStatName, (int64 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2(void *linux_side, const char *pchStatName, double *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetGlobalStat((const char *)pchStatName, (double *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGlobalStat( (const char *)params->pchStatName, (double *)params->pData ); } -int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory(void *linux_side, const char *pchStatName, int64 *pData, uint32 cubData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_params *params ) { - int32 _ret; - _ret = ((ISteamUserStats*)linux_side)->GetGlobalStatHistory((const char *)pchStatName, (int64 *)pData, (uint32)cubData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGlobalStatHistory( (const char *)params->pchStatName, (int64 *)params->pData, (uint32)params->cubData ); } -int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2(void *linux_side, const char *pchStatName, double *pData, uint32 cubData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2_params *params ) { - int32 _ret; - _ret = ((ISteamUserStats*)linux_side)->GetGlobalStatHistory((const char *)pchStatName, (double *)pData, (uint32)cubData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGlobalStatHistory( (const char *)params->pchStatName, (double *)params->pData, (uint32)params->cubData ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h index d71f931a..afa88277 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h @@ -1,43 +1,390 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime(void *, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements(void *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName(void *, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime(void *, CSteamID, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers(void *, SteamLeaderboard_t, CSteamID *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_148a *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC(void *, SteamLeaderboard_t, UGCHandle_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers(void *); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo(void *, char *, uint32, float *, bool *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo(void *, int, char *, uint32, float *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent(void *, const char *, float *); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats(void *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat(void *, const char *, int64 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2(void *, const char *, double *); -extern int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory(void *, const char *, int64 *, uint32); -extern int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2(void *, const char *, double *, uint32); +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 nData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float fData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; + uint32 *punUnlockTime; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon_params +{ + void *linux_side; + int _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute_params +{ + void *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress_params +{ + void *linux_side; + bool _ret; + const char *pchName; + uint32 nCurProgress; + uint32 nMaxProgress; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName_params +{ + void *linux_side; + const char *_ret; + uint32 iAchievement; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDUser; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; + uint32 *punUnlockTime; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats_params +{ + void *linux_side; + bool _ret; + bool bAchievementsToo; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; + ELeaderboardSortMethod eLeaderboardSortMethod; + ELeaderboardDisplayType eLeaderboardDisplayType; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName_params +{ + void *linux_side; + const char *_ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount_params +{ + void *linux_side; + int _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod_params +{ + void *linux_side; + ELeaderboardSortMethod _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType_params +{ + void *linux_side; + ELeaderboardDisplayType _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardDataRequest eLeaderboardDataRequest; + int nRangeStart; + int nRangeEnd; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + CSteamID *prgUsers; + int cUsers; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry_params +{ + void *linux_side; + bool _ret; + SteamLeaderboardEntries_t hSteamLeaderboardEntries; + int index; + winLeaderboardEntry_t_148a *pLeaderboardEntry; + int32 *pDetails; + int cDetailsMax; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod; + int32 nScore; + const int32 *pScoreDetails; + int cScoreDetailsCount; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + UGCHandle_t hUGC; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo_params +{ + void *linux_side; + int _ret; + char *pchName; + uint32 unNameBufLen; + float *pflPercent; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo_params +{ + void *linux_side; + int _ret; + int iIteratorPrevious; + char *pchName; + uint32 unNameBufLen; + float *pflPercent; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pflPercent; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + int nHistoryDays; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_params +{ + void *linux_side; + bool _ret; + const char *pchStatName; + int64 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchStatName; + double *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_params +{ + void *linux_side; + int32 _ret; + const char *pchStatName; + int64 *pData; + uint32 cubData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2_params +{ + void *linux_side; + int32 _ret; + const char *pchStatName; + double *pData; + uint32 cubData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2_params *params ); + diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp index 3ddc3718..478803ac 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp @@ -12,322 +12,232 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestCurrentStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestCurrentStats( ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat(void *linux_side, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2(void *linux_side, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat(void *linux_side, const char *pchName, int32 nData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (int32)params->nData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2(void *linux_side, const char *pchName, float fData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (float)params->fData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat(void *linux_side, const char *pchName, float flCountThisSession, double dSessionLength) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UpdateAvgRateStat( (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement(void *linux_side, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievement( (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->SetAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ClearAchievement( (const char *)params->pchName ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime(void *linux_side, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementAndUnlockTime((const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementAndUnlockTime( (const char *)params->pchName, (bool *)params->pbAchieved, (uint32 *)params->punUnlockTime ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->StoreStats(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->StoreStats( ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon(void *linux_side, const char *pchName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementIcon( (const char *)params->pchName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute(void *linux_side, const char *pchName, const char *pchKey) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementDisplayAttribute( (const char *)params->pchName, (const char *)params->pchKey ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress(void *linux_side, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->IndicateAchievementProgress( (const char *)params->pchName, (uint32)params->nCurProgress, (uint32)params->nMaxProgress ); } -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements_params *params ) { - uint32 _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumAchievements(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumAchievements( ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName(void *linux_side, uint32 iAchievement) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementName((uint32)iAchievement); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementName( (uint32)params->iAchievement ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats(void *linux_side, CSteamID steamIDUser) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestUserStats( (CSteamID)params->steamIDUser ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat(void *linux_side, CSteamID steamIDUser, const char *pchName, int32 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (int32 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char *pchName, float *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (float *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievement( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetUserAchievementAndUnlockTime((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievementAndUnlockTime( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved, (uint32 *)params->punUnlockTime ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats(void *linux_side, bool bAchievementsToo) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->ResetAllStats( (bool)params->bAchievementsToo ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard(void *linux_side, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindOrCreateLeaderboard( (const char *)params->pchLeaderboardName, (ELeaderboardSortMethod)params->eLeaderboardSortMethod, (ELeaderboardDisplayType)params->eLeaderboardDisplayType ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard(void *linux_side, const char *pchLeaderboardName) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->FindLeaderboard( (const char *)params->pchLeaderboardName ); } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName_params *params ) { - const char *_ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardName( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardEntryCount( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod_params *params ) { - ELeaderboardSortMethod _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardSortMethod( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType_params *params ) { - ELeaderboardDisplayType _ret; - _ret = ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetLeaderboardDisplayType( (SteamLeaderboard_t)params->hSteamLeaderboard ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->DownloadLeaderboardEntries( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardDataRequest)params->eLeaderboardDataRequest, (int)params->nRangeStart, (int)params->nRangeEnd ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, CSteamID *prgUsers, int cUsers) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntriesForUsers((SteamLeaderboard_t)hSteamLeaderboard, (CSteamID *)prgUsers, (int)cUsers); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->DownloadLeaderboardEntriesForUsers( (SteamLeaderboard_t)params->hSteamLeaderboard, (CSteamID *)params->prgUsers, (int)params->cUsers ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_158 *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry_params *params ) { - bool _ret; LeaderboardEntry_t lin_pLeaderboardEntry; - win_to_lin_struct_LeaderboardEntry_t_158(pLeaderboardEntry, &lin_pLeaderboardEntry); - _ret = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, &lin_pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - lin_to_win_struct_LeaderboardEntry_t_158(&lin_pLeaderboardEntry, pLeaderboardEntry); - return (_ret); + win_to_lin_struct_LeaderboardEntry_t_158( params->pLeaderboardEntry, &lin_pLeaderboardEntry ); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetDownloadedLeaderboardEntry( (SteamLeaderboardEntries_t)params->hSteamLeaderboardEntries, (int)params->index, &lin_pLeaderboardEntry, (int32 *)params->pDetails, (int)params->cDetailsMax ); + lin_to_win_struct_LeaderboardEntry_t_158( &lin_pLeaderboardEntry, params->pLeaderboardEntry ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->UploadLeaderboardScore( (SteamLeaderboard_t)params->hSteamLeaderboard, (ELeaderboardUploadScoreMethod)params->eLeaderboardUploadScoreMethod, (int32)params->nScore, (const int32 *)params->pScoreDetails, (int)params->cScoreDetailsCount ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->AttachLeaderboardUGC((SteamLeaderboard_t)hSteamLeaderboard, (UGCHandle_t)hUGC); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->AttachLeaderboardUGC( (SteamLeaderboard_t)params->hSteamLeaderboard, (UGCHandle_t)params->hUGC ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNumberOfCurrentPlayers( ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages(void *linux_side) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestGlobalAchievementPercentages(); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestGlobalAchievementPercentages( ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo(void *linux_side, char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetMostAchievedAchievementInfo((char *)pchName, (uint32)unNameBufLen, (float *)pflPercent, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetMostAchievedAchievementInfo( (char *)params->pchName, (uint32)params->unNameBufLen, (float *)params->pflPercent, (bool *)params->pbAchieved ); } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo(void *linux_side, int iIteratorPrevious, char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo_params *params ) { - int _ret; - _ret = ((ISteamUserStats*)linux_side)->GetNextMostAchievedAchievementInfo((int)iIteratorPrevious, (char *)pchName, (uint32)unNameBufLen, (float *)pflPercent, (bool *)pbAchieved); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetNextMostAchievedAchievementInfo( (int)params->iIteratorPrevious, (char *)params->pchName, (uint32)params->unNameBufLen, (float *)params->pflPercent, (bool *)params->pbAchieved ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent(void *linux_side, const char *pchName, float *pflPercent) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementAchievedPercent((const char *)pchName, (float *)pflPercent); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementAchievedPercent( (const char *)params->pchName, (float *)params->pflPercent ); } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats(void *linux_side, int nHistoryDays) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUserStats*)linux_side)->RequestGlobalStats((int)nHistoryDays); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->RequestGlobalStats( (int)params->nHistoryDays ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat(void *linux_side, const char *pchStatName, int64 *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetGlobalStat((const char *)pchStatName, (int64 *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGlobalStat( (const char *)params->pchStatName, (int64 *)params->pData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2(void *linux_side, const char *pchStatName, double *pData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetGlobalStat((const char *)pchStatName, (double *)pData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGlobalStat( (const char *)params->pchStatName, (double *)params->pData ); } -int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory(void *linux_side, const char *pchStatName, int64 *pData, uint32 cubData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_params *params ) { - int32 _ret; - _ret = ((ISteamUserStats*)linux_side)->GetGlobalStatHistory((const char *)pchStatName, (int64 *)pData, (uint32)cubData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGlobalStatHistory( (const char *)params->pchStatName, (int64 *)params->pData, (uint32)params->cubData ); } -int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2(void *linux_side, const char *pchStatName, double *pData, uint32 cubData) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2_params *params ) { - int32 _ret; - _ret = ((ISteamUserStats*)linux_side)->GetGlobalStatHistory((const char *)pchStatName, (double *)pData, (uint32)cubData); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetGlobalStatHistory( (const char *)params->pchStatName, (double *)params->pData, (uint32)params->cubData ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits(void *linux_side, const char *pchName, int32 *pnMinProgress, int32 *pnMaxProgress) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementProgressLimits((const char *)pchName, (int32 *)pnMinProgress, (int32 *)pnMaxProgress); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementProgressLimits( (const char *)params->pchName, (int32 *)params->pnMinProgress, (int32 *)params->pnMaxProgress ); } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2(void *linux_side, const char *pchName, float *pfMinProgress, float *pfMaxProgress) +void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2_params *params ) { - bool _ret; - _ret = ((ISteamUserStats*)linux_side)->GetAchievementProgressLimits((const char *)pchName, (float *)pfMinProgress, (float *)pfMaxProgress); - return (_ret); + params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementProgressLimits( (const char *)params->pchName, (float *)params->pfMinProgress, (float *)params->pfMaxProgress ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h index b3046ddf..562fe823 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h @@ -1,45 +1,410 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime(void *, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements(void *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName(void *, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime(void *, CSteamID, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers(void *, SteamLeaderboard_t, CSteamID *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_158 *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC(void *, SteamLeaderboard_t, UGCHandle_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers(void *); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo(void *, char *, uint32, float *, bool *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo(void *, int, char *, uint32, float *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent(void *, const char *, float *); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats(void *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat(void *, const char *, int64 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2(void *, const char *, double *); -extern int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory(void *, const char *, int64 *, uint32); -extern int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2(void *, const char *, double *, uint32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits(void *, const char *, int32 *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2(void *, const char *, float *, float *); +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 nData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float fData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement_params +{ + void *linux_side; + bool _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime_params +{ + void *linux_side; + bool _ret; + const char *pchName; + bool *pbAchieved; + uint32 *punUnlockTime; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon_params +{ + void *linux_side; + int _ret; + const char *pchName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute_params +{ + void *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress_params +{ + void *linux_side; + bool _ret; + const char *pchName; + uint32 nCurProgress; + uint32 nMaxProgress; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName_params +{ + void *linux_side; + const char *_ret; + uint32 iAchievement; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + CSteamID steamIDUser; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + int32 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime_params +{ + void *linux_side; + bool _ret; + CSteamID steamIDUser; + const char *pchName; + bool *pbAchieved; + uint32 *punUnlockTime; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats_params +{ + void *linux_side; + bool _ret; + bool bAchievementsToo; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; + ELeaderboardSortMethod eLeaderboardSortMethod; + ELeaderboardDisplayType eLeaderboardDisplayType; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchLeaderboardName; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName_params +{ + void *linux_side; + const char *_ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount_params +{ + void *linux_side; + int _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod_params +{ + void *linux_side; + ELeaderboardSortMethod _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType_params +{ + void *linux_side; + ELeaderboardDisplayType _ret; + SteamLeaderboard_t hSteamLeaderboard; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardDataRequest eLeaderboardDataRequest; + int nRangeStart; + int nRangeEnd; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + CSteamID *prgUsers; + int cUsers; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry_params +{ + void *linux_side; + bool _ret; + SteamLeaderboardEntries_t hSteamLeaderboardEntries; + int index; + winLeaderboardEntry_t_158 *pLeaderboardEntry; + int32 *pDetails; + int cDetailsMax; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod; + int32 nScore; + const int32 *pScoreDetails; + int cScoreDetailsCount; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC_params +{ + void *linux_side; + SteamAPICall_t _ret; + SteamLeaderboard_t hSteamLeaderboard; + UGCHandle_t hUGC; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo_params +{ + void *linux_side; + int _ret; + char *pchName; + uint32 unNameBufLen; + float *pflPercent; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo_params +{ + void *linux_side; + int _ret; + int iIteratorPrevious; + char *pchName; + uint32 unNameBufLen; + float *pflPercent; + bool *pbAchieved; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pflPercent; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats_params +{ + void *linux_side; + SteamAPICall_t _ret; + int nHistoryDays; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_params +{ + void *linux_side; + bool _ret; + const char *pchStatName; + int64 *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2_params +{ + void *linux_side; + bool _ret; + const char *pchStatName; + double *pData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_params +{ + void *linux_side; + int32 _ret; + const char *pchStatName; + int64 *pData; + uint32 cubData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2_params +{ + void *linux_side; + int32 _ret; + const char *pchStatName; + double *pData; + uint32 cubData; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_params +{ + void *linux_side; + bool _ret; + const char *pchName; + int32 *pnMinProgress; + int32 *pnMaxProgress; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_params *params ); + +struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2_params +{ + void *linux_side; + bool _ret; + const char *pchName; + float *pfMinProgress; + float *pfMaxProgress; +}; +extern void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser004.cpp b/lsteamclient/cppISteamUser_SteamUser004.cpp index 1d5af65b..47c809c6 100644 --- a/lsteamclient/cppISteamUser_SteamUser004.cpp +++ b/lsteamclient/cppISteamUser_SteamUser004.cpp @@ -11,166 +11,134 @@ extern "C" { #define SDKVER_099u #include "struct_converters.h" #include "cppISteamUser_SteamUser004.h" -HSteamUser cppISteamUser_SteamUser004_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser004_GetHSteamUser( struct cppISteamUser_SteamUser004_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -void cppISteamUser_SteamUser004_LogOn(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser004_LogOn( struct cppISteamUser_SteamUser004_LogOn_params *params ) { - ((ISteamUser*)linux_side)->LogOn((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->LogOn( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser004_LogOff(void *linux_side) +void cppISteamUser_SteamUser004_LogOff( struct cppISteamUser_SteamUser004_LogOff_params *params ) { - ((ISteamUser*)linux_side)->LogOff(); + ((ISteamUser*)params->linux_side)->LogOff( ); } -bool cppISteamUser_SteamUser004_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser004_BLoggedOn( struct cppISteamUser_SteamUser004_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -ELogonState cppISteamUser_SteamUser004_GetLogonState(void *linux_side) +void cppISteamUser_SteamUser004_GetLogonState( struct cppISteamUser_SteamUser004_GetLogonState_params *params ) { - ELogonState _ret; - _ret = ((ISteamUser*)linux_side)->GetLogonState(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetLogonState( ); } -bool cppISteamUser_SteamUser004_BConnected(void *linux_side) +void cppISteamUser_SteamUser004_BConnected( struct cppISteamUser_SteamUser004_BConnected_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BConnected(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BConnected( ); } -CSteamID cppISteamUser_SteamUser004_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser004_GetSteamID( struct cppISteamUser_SteamUser004_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -bool cppISteamUser_SteamUser004_IsVACBanned(void *linux_side, int nGameID) +void cppISteamUser_SteamUser004_IsVACBanned( struct cppISteamUser_SteamUser004_IsVACBanned_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->IsVACBanned((int)nGameID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->IsVACBanned( (int)params->nGameID ); } -bool cppISteamUser_SteamUser004_RequireShowVACBannedMessage(void *linux_side, int nGameID) +void cppISteamUser_SteamUser004_RequireShowVACBannedMessage( struct cppISteamUser_SteamUser004_RequireShowVACBannedMessage_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->RequireShowVACBannedMessage((int)nGameID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequireShowVACBannedMessage( (int)params->nGameID ); } -void cppISteamUser_SteamUser004_AcknowledgeVACBanning(void *linux_side, int nGameID) +void cppISteamUser_SteamUser004_AcknowledgeVACBanning( struct cppISteamUser_SteamUser004_AcknowledgeVACBanning_params *params ) { - ((ISteamUser*)linux_side)->AcknowledgeVACBanning((int)nGameID); + ((ISteamUser*)params->linux_side)->AcknowledgeVACBanning( (int)params->nGameID ); } -int cppISteamUser_SteamUser004_NClientGameIDAdd(void *linux_side, int nGameID) +void cppISteamUser_SteamUser004_NClientGameIDAdd( struct cppISteamUser_SteamUser004_NClientGameIDAdd_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->NClientGameIDAdd((int)nGameID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->NClientGameIDAdd( (int)params->nGameID ); } -void cppISteamUser_SteamUser004_RemoveClientGame(void *linux_side, int nClientGameID) +void cppISteamUser_SteamUser004_RemoveClientGame( struct cppISteamUser_SteamUser004_RemoveClientGame_params *params ) { - ((ISteamUser*)linux_side)->RemoveClientGame((int)nClientGameID); + ((ISteamUser*)params->linux_side)->RemoveClientGame( (int)params->nClientGameID ); } -void cppISteamUser_SteamUser004_SetClientGameServer(void *linux_side, int nClientGameID, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser004_SetClientGameServer( struct cppISteamUser_SteamUser004_SetClientGameServer_params *params ) { - ((ISteamUser*)linux_side)->SetClientGameServer((int)nClientGameID, (uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->SetClientGameServer( (int)params->nClientGameID, (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser004_SetSteam2Ticket(void *linux_side, uint8 *pubTicket, int cubTicket) +void cppISteamUser_SteamUser004_SetSteam2Ticket( struct cppISteamUser_SteamUser004_SetSteam2Ticket_params *params ) { - ((ISteamUser*)linux_side)->SetSteam2Ticket((uint8 *)pubTicket, (int)cubTicket); + ((ISteamUser*)params->linux_side)->SetSteam2Ticket( (uint8 *)params->pubTicket, (int)params->cubTicket ); } -void cppISteamUser_SteamUser004_AddServerNetAddress(void *linux_side, uint32 unIP, uint16 unPort) +void cppISteamUser_SteamUser004_AddServerNetAddress( struct cppISteamUser_SteamUser004_AddServerNetAddress_params *params ) { - ((ISteamUser*)linux_side)->AddServerNetAddress((uint32)unIP, (uint16)unPort); + ((ISteamUser*)params->linux_side)->AddServerNetAddress( (uint32)params->unIP, (uint16)params->unPort ); } -bool cppISteamUser_SteamUser004_SetEmail(void *linux_side, const char *pchEmail) +void cppISteamUser_SteamUser004_SetEmail( struct cppISteamUser_SteamUser004_SetEmail_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->SetEmail((const char *)pchEmail); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->SetEmail( (const char *)params->pchEmail ); } -int cppISteamUser_SteamUser004_GetSteamGameConnectToken(void *linux_side, void *pBlob, int cbMaxBlob) +void cppISteamUser_SteamUser004_GetSteamGameConnectToken( struct cppISteamUser_SteamUser004_GetSteamGameConnectToken_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamGameConnectToken((void *)pBlob, (int)cbMaxBlob); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetSteamGameConnectToken( (void *)params->pBlob, (int)params->cbMaxBlob ); } -bool cppISteamUser_SteamUser004_SetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, const char *pchValue) +void cppISteamUser_SteamUser004_SetRegistryString( struct cppISteamUser_SteamUser004_SetRegistryString_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->SetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->SetRegistryString( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUser_SteamUser004_GetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, char *pchValue, int cbValue) +void cppISteamUser_SteamUser004_GetRegistryString( struct cppISteamUser_SteamUser004_GetRegistryString_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (char *)pchValue, (int)cbValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetRegistryString( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (char *)params->pchValue, (int)params->cbValue ); } -bool cppISteamUser_SteamUser004_SetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, int iValue) +void cppISteamUser_SteamUser004_SetRegistryInt( struct cppISteamUser_SteamUser004_SetRegistryInt_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->SetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int)iValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->SetRegistryInt( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (int)params->iValue ); } -bool cppISteamUser_SteamUser004_GetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, int *piValue) +void cppISteamUser_SteamUser004_GetRegistryInt( struct cppISteamUser_SteamUser004_GetRegistryInt_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int *)piValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetRegistryInt( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (int *)params->piValue ); } -int cppISteamUser_SteamUser004_InitiateGameConnection(void *linux_side, void *pBlob, int cbMaxBlob, CSteamID steamID, int nGameAppID, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser004_InitiateGameConnection( struct cppISteamUser_SteamUser004_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pBlob, (int)cbMaxBlob, (CSteamID)steamID, (int)nGameAppID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pBlob, (int)params->cbMaxBlob, (CSteamID)params->steamID, (int)params->nGameAppID, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser004_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser004_TerminateGameConnection( struct cppISteamUser_SteamUser004_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination(void *linux_side) +void cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination( struct cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination_params *params ) { - ((ISteamUser*)linux_side)->SetSelfAsPrimaryChatDestination(); + ((ISteamUser*)params->linux_side)->SetSelfAsPrimaryChatDestination( ); } -bool cppISteamUser_SteamUser004_IsPrimaryChatDestination(void *linux_side) +void cppISteamUser_SteamUser004_IsPrimaryChatDestination( struct cppISteamUser_SteamUser004_IsPrimaryChatDestination_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->IsPrimaryChatDestination(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->IsPrimaryChatDestination( ); } -void cppISteamUser_SteamUser004_RequestLegacyCDKey(void *linux_side, uint32 iAppID) +void cppISteamUser_SteamUser004_RequestLegacyCDKey( struct cppISteamUser_SteamUser004_RequestLegacyCDKey_params *params ) { - ((ISteamUser*)linux_side)->RequestLegacyCDKey((uint32)iAppID); + ((ISteamUser*)params->linux_side)->RequestLegacyCDKey( (uint32)params->iAppID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser004.h b/lsteamclient/cppISteamUser_SteamUser004.h index bb78c655..46e0653a 100644 --- a/lsteamclient/cppISteamUser_SteamUser004.h +++ b/lsteamclient/cppISteamUser_SteamUser004.h @@ -1,26 +1,211 @@ -extern HSteamUser cppISteamUser_SteamUser004_GetHSteamUser(void *); -extern void cppISteamUser_SteamUser004_LogOn(void *, CSteamID); -extern void cppISteamUser_SteamUser004_LogOff(void *); -extern bool cppISteamUser_SteamUser004_BLoggedOn(void *); -extern ELogonState cppISteamUser_SteamUser004_GetLogonState(void *); -extern bool cppISteamUser_SteamUser004_BConnected(void *); -extern CSteamID cppISteamUser_SteamUser004_GetSteamID(void *); -extern bool cppISteamUser_SteamUser004_IsVACBanned(void *, int); -extern bool cppISteamUser_SteamUser004_RequireShowVACBannedMessage(void *, int); -extern void cppISteamUser_SteamUser004_AcknowledgeVACBanning(void *, int); -extern int cppISteamUser_SteamUser004_NClientGameIDAdd(void *, int); -extern void cppISteamUser_SteamUser004_RemoveClientGame(void *, int); -extern void cppISteamUser_SteamUser004_SetClientGameServer(void *, int, uint32, uint16); -extern void cppISteamUser_SteamUser004_SetSteam2Ticket(void *, uint8 *, int); -extern void cppISteamUser_SteamUser004_AddServerNetAddress(void *, uint32, uint16); -extern bool cppISteamUser_SteamUser004_SetEmail(void *, const char *); -extern int cppISteamUser_SteamUser004_GetSteamGameConnectToken(void *, void *, int); -extern bool cppISteamUser_SteamUser004_SetRegistryString(void *, EConfigSubTree, const char *, const char *); -extern bool cppISteamUser_SteamUser004_GetRegistryString(void *, EConfigSubTree, const char *, char *, int); -extern bool cppISteamUser_SteamUser004_SetRegistryInt(void *, EConfigSubTree, const char *, int); -extern bool cppISteamUser_SteamUser004_GetRegistryInt(void *, EConfigSubTree, const char *, int *); -extern int cppISteamUser_SteamUser004_InitiateGameConnection(void *, void *, int, CSteamID, int, uint32, uint16, bool); -extern void cppISteamUser_SteamUser004_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination(void *); -extern bool cppISteamUser_SteamUser004_IsPrimaryChatDestination(void *); -extern void cppISteamUser_SteamUser004_RequestLegacyCDKey(void *, uint32); +struct cppISteamUser_SteamUser004_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser004_GetHSteamUser( struct cppISteamUser_SteamUser004_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser004_LogOn_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser004_LogOn( struct cppISteamUser_SteamUser004_LogOn_params *params ); + +struct cppISteamUser_SteamUser004_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser004_LogOff( struct cppISteamUser_SteamUser004_LogOff_params *params ); + +struct cppISteamUser_SteamUser004_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser004_BLoggedOn( struct cppISteamUser_SteamUser004_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser004_GetLogonState_params +{ + void *linux_side; + ELogonState _ret; +}; +extern void cppISteamUser_SteamUser004_GetLogonState( struct cppISteamUser_SteamUser004_GetLogonState_params *params ); + +struct cppISteamUser_SteamUser004_BConnected_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser004_BConnected( struct cppISteamUser_SteamUser004_BConnected_params *params ); + +struct cppISteamUser_SteamUser004_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser004_GetSteamID( struct cppISteamUser_SteamUser004_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser004_IsVACBanned_params +{ + void *linux_side; + bool _ret; + int nGameID; +}; +extern void cppISteamUser_SteamUser004_IsVACBanned( struct cppISteamUser_SteamUser004_IsVACBanned_params *params ); + +struct cppISteamUser_SteamUser004_RequireShowVACBannedMessage_params +{ + void *linux_side; + bool _ret; + int nGameID; +}; +extern void cppISteamUser_SteamUser004_RequireShowVACBannedMessage( struct cppISteamUser_SteamUser004_RequireShowVACBannedMessage_params *params ); + +struct cppISteamUser_SteamUser004_AcknowledgeVACBanning_params +{ + void *linux_side; + int nGameID; +}; +extern void cppISteamUser_SteamUser004_AcknowledgeVACBanning( struct cppISteamUser_SteamUser004_AcknowledgeVACBanning_params *params ); + +struct cppISteamUser_SteamUser004_NClientGameIDAdd_params +{ + void *linux_side; + int _ret; + int nGameID; +}; +extern void cppISteamUser_SteamUser004_NClientGameIDAdd( struct cppISteamUser_SteamUser004_NClientGameIDAdd_params *params ); + +struct cppISteamUser_SteamUser004_RemoveClientGame_params +{ + void *linux_side; + int nClientGameID; +}; +extern void cppISteamUser_SteamUser004_RemoveClientGame( struct cppISteamUser_SteamUser004_RemoveClientGame_params *params ); + +struct cppISteamUser_SteamUser004_SetClientGameServer_params +{ + void *linux_side; + int nClientGameID; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser004_SetClientGameServer( struct cppISteamUser_SteamUser004_SetClientGameServer_params *params ); + +struct cppISteamUser_SteamUser004_SetSteam2Ticket_params +{ + void *linux_side; + uint8 *pubTicket; + int cubTicket; +}; +extern void cppISteamUser_SteamUser004_SetSteam2Ticket( struct cppISteamUser_SteamUser004_SetSteam2Ticket_params *params ); + +struct cppISteamUser_SteamUser004_AddServerNetAddress_params +{ + void *linux_side; + uint32 unIP; + uint16 unPort; +}; +extern void cppISteamUser_SteamUser004_AddServerNetAddress( struct cppISteamUser_SteamUser004_AddServerNetAddress_params *params ); + +struct cppISteamUser_SteamUser004_SetEmail_params +{ + void *linux_side; + bool _ret; + const char *pchEmail; +}; +extern void cppISteamUser_SteamUser004_SetEmail( struct cppISteamUser_SteamUser004_SetEmail_params *params ); + +struct cppISteamUser_SteamUser004_GetSteamGameConnectToken_params +{ + void *linux_side; + int _ret; + void *pBlob; + int cbMaxBlob; +}; +extern void cppISteamUser_SteamUser004_GetSteamGameConnectToken( struct cppISteamUser_SteamUser004_GetSteamGameConnectToken_params *params ); + +struct cppISteamUser_SteamUser004_SetRegistryString_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUser_SteamUser004_SetRegistryString( struct cppISteamUser_SteamUser004_SetRegistryString_params *params ); + +struct cppISteamUser_SteamUser004_GetRegistryString_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + char *pchValue; + int cbValue; +}; +extern void cppISteamUser_SteamUser004_GetRegistryString( struct cppISteamUser_SteamUser004_GetRegistryString_params *params ); + +struct cppISteamUser_SteamUser004_SetRegistryInt_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + int iValue; +}; +extern void cppISteamUser_SteamUser004_SetRegistryInt( struct cppISteamUser_SteamUser004_SetRegistryInt_params *params ); + +struct cppISteamUser_SteamUser004_GetRegistryInt_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + int *piValue; +}; +extern void cppISteamUser_SteamUser004_GetRegistryInt( struct cppISteamUser_SteamUser004_GetRegistryInt_params *params ); + +struct cppISteamUser_SteamUser004_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pBlob; + int cbMaxBlob; + CSteamID steamID; + int nGameAppID; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser004_InitiateGameConnection( struct cppISteamUser_SteamUser004_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser004_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser004_TerminateGameConnection( struct cppISteamUser_SteamUser004_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination( struct cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination_params *params ); + +struct cppISteamUser_SteamUser004_IsPrimaryChatDestination_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser004_IsPrimaryChatDestination( struct cppISteamUser_SteamUser004_IsPrimaryChatDestination_params *params ); + +struct cppISteamUser_SteamUser004_RequestLegacyCDKey_params +{ + void *linux_side; + uint32 iAppID; +}; +extern void cppISteamUser_SteamUser004_RequestLegacyCDKey( struct cppISteamUser_SteamUser004_RequestLegacyCDKey_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser005.cpp b/lsteamclient/cppISteamUser_SteamUser005.cpp index 071e4ec5..7dd04f6b 100644 --- a/lsteamclient/cppISteamUser_SteamUser005.cpp +++ b/lsteamclient/cppISteamUser_SteamUser005.cpp @@ -11,251 +11,199 @@ extern "C" { #define SDKVER_099v #include "struct_converters.h" #include "cppISteamUser_SteamUser005.h" -HSteamUser cppISteamUser_SteamUser005_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser005_GetHSteamUser( struct cppISteamUser_SteamUser005_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -void cppISteamUser_SteamUser005_LogOn(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser005_LogOn( struct cppISteamUser_SteamUser005_LogOn_params *params ) { - ((ISteamUser*)linux_side)->LogOn((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->LogOn( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser005_LogOff(void *linux_side) +void cppISteamUser_SteamUser005_LogOff( struct cppISteamUser_SteamUser005_LogOff_params *params ) { - ((ISteamUser*)linux_side)->LogOff(); + ((ISteamUser*)params->linux_side)->LogOff( ); } -bool cppISteamUser_SteamUser005_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser005_BLoggedOn( struct cppISteamUser_SteamUser005_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -ELogonState cppISteamUser_SteamUser005_GetLogonState(void *linux_side) +void cppISteamUser_SteamUser005_GetLogonState( struct cppISteamUser_SteamUser005_GetLogonState_params *params ) { - ELogonState _ret; - _ret = ((ISteamUser*)linux_side)->GetLogonState(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetLogonState( ); } -bool cppISteamUser_SteamUser005_BConnected(void *linux_side) +void cppISteamUser_SteamUser005_BConnected( struct cppISteamUser_SteamUser005_BConnected_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BConnected(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BConnected( ); } -CSteamID cppISteamUser_SteamUser005_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser005_GetSteamID( struct cppISteamUser_SteamUser005_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -bool cppISteamUser_SteamUser005_IsVACBanned(void *linux_side, int nGameID) +void cppISteamUser_SteamUser005_IsVACBanned( struct cppISteamUser_SteamUser005_IsVACBanned_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->IsVACBanned((int)nGameID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->IsVACBanned( (int)params->nGameID ); } -bool cppISteamUser_SteamUser005_RequireShowVACBannedMessage(void *linux_side, int nAppID) +void cppISteamUser_SteamUser005_RequireShowVACBannedMessage( struct cppISteamUser_SteamUser005_RequireShowVACBannedMessage_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->RequireShowVACBannedMessage((int)nAppID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequireShowVACBannedMessage( (int)params->nAppID ); } -void cppISteamUser_SteamUser005_AcknowledgeVACBanning(void *linux_side, int nAppID) +void cppISteamUser_SteamUser005_AcknowledgeVACBanning( struct cppISteamUser_SteamUser005_AcknowledgeVACBanning_params *params ) { - ((ISteamUser*)linux_side)->AcknowledgeVACBanning((int)nAppID); + ((ISteamUser*)params->linux_side)->AcknowledgeVACBanning( (int)params->nAppID ); } -void cppISteamUser_SteamUser005_SetSteam2Ticket(void *linux_side, uint8 *pubTicket, int cubTicket) +void cppISteamUser_SteamUser005_SetSteam2Ticket( struct cppISteamUser_SteamUser005_SetSteam2Ticket_params *params ) { - ((ISteamUser*)linux_side)->SetSteam2Ticket((uint8 *)pubTicket, (int)cubTicket); + ((ISteamUser*)params->linux_side)->SetSteam2Ticket( (uint8 *)params->pubTicket, (int)params->cubTicket ); } -void cppISteamUser_SteamUser005_AddServerNetAddress(void *linux_side, uint32 unIP, uint16 unPort) +void cppISteamUser_SteamUser005_AddServerNetAddress( struct cppISteamUser_SteamUser005_AddServerNetAddress_params *params ) { - ((ISteamUser*)linux_side)->AddServerNetAddress((uint32)unIP, (uint16)unPort); + ((ISteamUser*)params->linux_side)->AddServerNetAddress( (uint32)params->unIP, (uint16)params->unPort ); } -bool cppISteamUser_SteamUser005_SetEmail(void *linux_side, const char *pchEmail) +void cppISteamUser_SteamUser005_SetEmail( struct cppISteamUser_SteamUser005_SetEmail_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->SetEmail((const char *)pchEmail); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->SetEmail( (const char *)params->pchEmail ); } -bool cppISteamUser_SteamUser005_SetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, const char *pchValue) +void cppISteamUser_SteamUser005_SetRegistryString( struct cppISteamUser_SteamUser005_SetRegistryString_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->SetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->SetRegistryString( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUser_SteamUser005_GetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, char *pchValue, int cbValue) +void cppISteamUser_SteamUser005_GetRegistryString( struct cppISteamUser_SteamUser005_GetRegistryString_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (char *)pchValue, (int)cbValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetRegistryString( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (char *)params->pchValue, (int)params->cbValue ); } -bool cppISteamUser_SteamUser005_SetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, int iValue) +void cppISteamUser_SteamUser005_SetRegistryInt( struct cppISteamUser_SteamUser005_SetRegistryInt_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->SetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int)iValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->SetRegistryInt( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (int)params->iValue ); } -bool cppISteamUser_SteamUser005_GetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, int *piValue) +void cppISteamUser_SteamUser005_GetRegistryInt( struct cppISteamUser_SteamUser005_GetRegistryInt_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int *)piValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetRegistryInt( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (int *)params->piValue ); } -int cppISteamUser_SteamUser005_InitiateGameConnection(void *linux_side, void *pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser005_InitiateGameConnection( struct cppISteamUser_SteamUser005_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pBlob, (int)cbMaxBlob, (CSteamID)steamID, (CGameID)gameID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pBlob, (int)params->cbMaxBlob, (CSteamID)params->steamID, (CGameID)params->gameID, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser005_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser005_TerminateGameConnection( struct cppISteamUser_SteamUser005_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination(void *linux_side) +void cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination( struct cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination_params *params ) { - ((ISteamUser*)linux_side)->SetSelfAsPrimaryChatDestination(); + ((ISteamUser*)params->linux_side)->SetSelfAsPrimaryChatDestination( ); } -bool cppISteamUser_SteamUser005_IsPrimaryChatDestination(void *linux_side) +void cppISteamUser_SteamUser005_IsPrimaryChatDestination( struct cppISteamUser_SteamUser005_IsPrimaryChatDestination_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->IsPrimaryChatDestination(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->IsPrimaryChatDestination( ); } -void cppISteamUser_SteamUser005_RequestLegacyCDKey(void *linux_side, uint32 nAppID) +void cppISteamUser_SteamUser005_RequestLegacyCDKey( struct cppISteamUser_SteamUser005_RequestLegacyCDKey_params *params ) { - ((ISteamUser*)linux_side)->RequestLegacyCDKey((uint32)nAppID); + ((ISteamUser*)params->linux_side)->RequestLegacyCDKey( (uint32)params->nAppID ); } -bool cppISteamUser_SteamUser005_SendGuestPassByEmail(void *linux_side, const char *pchEmailAccount, GID_t gidGuestPassID, bool bResending) +void cppISteamUser_SteamUser005_SendGuestPassByEmail( struct cppISteamUser_SteamUser005_SendGuestPassByEmail_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->SendGuestPassByEmail((const char *)pchEmailAccount, (GID_t)gidGuestPassID, (bool)bResending); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->SendGuestPassByEmail( (const char *)params->pchEmailAccount, (GID_t)params->gidGuestPassID, (bool)params->bResending ); } -bool cppISteamUser_SteamUser005_SendGuestPassByAccountID(void *linux_side, uint32 uAccountID, GID_t gidGuestPassID, bool bResending) +void cppISteamUser_SteamUser005_SendGuestPassByAccountID( struct cppISteamUser_SteamUser005_SendGuestPassByAccountID_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->SendGuestPassByAccountID((uint32)uAccountID, (GID_t)gidGuestPassID, (bool)bResending); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->SendGuestPassByAccountID( (uint32)params->uAccountID, (GID_t)params->gidGuestPassID, (bool)params->bResending ); } -bool cppISteamUser_SteamUser005_AckGuestPass(void *linux_side, const char *pchGuestPassCode) +void cppISteamUser_SteamUser005_AckGuestPass( struct cppISteamUser_SteamUser005_AckGuestPass_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->AckGuestPass((const char *)pchGuestPassCode); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->AckGuestPass( (const char *)params->pchGuestPassCode ); } -bool cppISteamUser_SteamUser005_RedeemGuestPass(void *linux_side, const char *pchGuestPassCode) +void cppISteamUser_SteamUser005_RedeemGuestPass( struct cppISteamUser_SteamUser005_RedeemGuestPass_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->RedeemGuestPass((const char *)pchGuestPassCode); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RedeemGuestPass( (const char *)params->pchGuestPassCode ); } -uint32 cppISteamUser_SteamUser005_GetGuestPassToGiveCount(void *linux_side) +void cppISteamUser_SteamUser005_GetGuestPassToGiveCount( struct cppISteamUser_SteamUser005_GetGuestPassToGiveCount_params *params ) { - uint32 _ret; - _ret = ((ISteamUser*)linux_side)->GetGuestPassToGiveCount(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassToGiveCount( ); } -uint32 cppISteamUser_SteamUser005_GetGuestPassToRedeemCount(void *linux_side) +void cppISteamUser_SteamUser005_GetGuestPassToRedeemCount( struct cppISteamUser_SteamUser005_GetGuestPassToRedeemCount_params *params ) { - uint32 _ret; - _ret = ((ISteamUser*)linux_side)->GetGuestPassToRedeemCount(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassToRedeemCount( ); } -RTime32 cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime(void *linux_side) +void cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime( struct cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime_params *params ) { - RTime32 _ret; - _ret = ((ISteamUser*)linux_side)->GetGuestPassLastUpdateTime(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassLastUpdateTime( ); } -bool cppISteamUser_SteamUser005_GetGuestPassToGiveInfo(void *linux_side, uint32 nPassIndex, GID_t *pgidGuestPassID, PackageId_t *pnPackageID, RTime32 *pRTime32Created, RTime32 *pRTime32Expiration, RTime32 *pRTime32Sent, RTime32 *pRTime32Redeemed, char *pchRecipientAddress, int cRecipientAddressSize) +void cppISteamUser_SteamUser005_GetGuestPassToGiveInfo( struct cppISteamUser_SteamUser005_GetGuestPassToGiveInfo_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetGuestPassToGiveInfo((uint32)nPassIndex, (GID_t *)pgidGuestPassID, (PackageId_t *)pnPackageID, (RTime32 *)pRTime32Created, (RTime32 *)pRTime32Expiration, (RTime32 *)pRTime32Sent, (RTime32 *)pRTime32Redeemed, (char *)pchRecipientAddress, (int)cRecipientAddressSize); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassToGiveInfo( (uint32)params->nPassIndex, (GID_t *)params->pgidGuestPassID, (PackageId_t *)params->pnPackageID, (RTime32 *)params->pRTime32Created, (RTime32 *)params->pRTime32Expiration, (RTime32 *)params->pRTime32Sent, (RTime32 *)params->pRTime32Redeemed, (char *)params->pchRecipientAddress, (int)params->cRecipientAddressSize ); } -bool cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo(void *linux_side, uint32 nPassIndex, GID_t *pgidGuestPassID, PackageId_t *pnPackageID, RTime32 *pRTime32Created, RTime32 *pRTime32Expiration, RTime32 *pRTime32Sent, RTime32 *pRTime32Redeemed) +void cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo( struct cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetGuestPassToRedeemInfo((uint32)nPassIndex, (GID_t *)pgidGuestPassID, (PackageId_t *)pnPackageID, (RTime32 *)pRTime32Created, (RTime32 *)pRTime32Expiration, (RTime32 *)pRTime32Sent, (RTime32 *)pRTime32Redeemed); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassToRedeemInfo( (uint32)params->nPassIndex, (GID_t *)params->pgidGuestPassID, (PackageId_t *)params->pnPackageID, (RTime32 *)params->pRTime32Created, (RTime32 *)params->pRTime32Expiration, (RTime32 *)params->pRTime32Sent, (RTime32 *)params->pRTime32Redeemed ); } -bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress(void *linux_side, uint32 nPassIndex, char *pchSenderAddress, int cSenderAddressSize) +void cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress( struct cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetGuestPassToRedeemSenderAddress((uint32)nPassIndex, (char *)pchSenderAddress, (int)cSenderAddressSize); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassToRedeemSenderAddress( (uint32)params->nPassIndex, (char *)params->pchSenderAddress, (int)params->cSenderAddressSize ); } -bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName(void *linux_side, uint32 nPassIndex, char *pchSenderName, int cSenderNameSize) +void cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName( struct cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetGuestPassToRedeemSenderName((uint32)nPassIndex, (char *)pchSenderName, (int)cSenderNameSize); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGuestPassToRedeemSenderName( (uint32)params->nPassIndex, (char *)params->pchSenderName, (int)params->cSenderNameSize ); } -void cppISteamUser_SteamUser005_AcknowledgeMessageByGID(void *linux_side, const char *pchMessageGID) +void cppISteamUser_SteamUser005_AcknowledgeMessageByGID( struct cppISteamUser_SteamUser005_AcknowledgeMessageByGID_params *params ) { - ((ISteamUser*)linux_side)->AcknowledgeMessageByGID((const char *)pchMessageGID); + ((ISteamUser*)params->linux_side)->AcknowledgeMessageByGID( (const char *)params->pchMessageGID ); } -bool cppISteamUser_SteamUser005_SetLanguage(void *linux_side, const char *pchLanguage) +void cppISteamUser_SteamUser005_SetLanguage( struct cppISteamUser_SteamUser005_SetLanguage_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->SetLanguage((const char *)pchLanguage); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->SetLanguage( (const char *)params->pchLanguage ); } -void cppISteamUser_SteamUser005_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser005_TrackAppUsageEvent( struct cppISteamUser_SteamUser005_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -void cppISteamUser_SteamUser005_SetAccountName(void *linux_side, const char *pchAccountName) +void cppISteamUser_SteamUser005_SetAccountName( struct cppISteamUser_SteamUser005_SetAccountName_params *params ) { - ((ISteamUser*)linux_side)->SetAccountName((const char *)pchAccountName); + ((ISteamUser*)params->linux_side)->SetAccountName( (const char *)params->pchAccountName ); } -void cppISteamUser_SteamUser005_SetPassword(void *linux_side, const char *pchPassword) +void cppISteamUser_SteamUser005_SetPassword( struct cppISteamUser_SteamUser005_SetPassword_params *params ) { - ((ISteamUser*)linux_side)->SetPassword((const char *)pchPassword); + ((ISteamUser*)params->linux_side)->SetPassword( (const char *)params->pchPassword ); } -void cppISteamUser_SteamUser005_SetAccountCreationTime(void *linux_side, RTime32 rt) +void cppISteamUser_SteamUser005_SetAccountCreationTime( struct cppISteamUser_SteamUser005_SetAccountCreationTime_params *params ) { - ((ISteamUser*)linux_side)->SetAccountCreationTime((RTime32)rt); + ((ISteamUser*)params->linux_side)->SetAccountCreationTime( (RTime32)params->rt ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser005.h b/lsteamclient/cppISteamUser_SteamUser005.h index 7eded8d6..ceaf5348 100644 --- a/lsteamclient/cppISteamUser_SteamUser005.h +++ b/lsteamclient/cppISteamUser_SteamUser005.h @@ -1,39 +1,330 @@ -extern HSteamUser cppISteamUser_SteamUser005_GetHSteamUser(void *); -extern void cppISteamUser_SteamUser005_LogOn(void *, CSteamID); -extern void cppISteamUser_SteamUser005_LogOff(void *); -extern bool cppISteamUser_SteamUser005_BLoggedOn(void *); -extern ELogonState cppISteamUser_SteamUser005_GetLogonState(void *); -extern bool cppISteamUser_SteamUser005_BConnected(void *); -extern CSteamID cppISteamUser_SteamUser005_GetSteamID(void *); -extern bool cppISteamUser_SteamUser005_IsVACBanned(void *, int); -extern bool cppISteamUser_SteamUser005_RequireShowVACBannedMessage(void *, int); -extern void cppISteamUser_SteamUser005_AcknowledgeVACBanning(void *, int); -extern void cppISteamUser_SteamUser005_SetSteam2Ticket(void *, uint8 *, int); -extern void cppISteamUser_SteamUser005_AddServerNetAddress(void *, uint32, uint16); -extern bool cppISteamUser_SteamUser005_SetEmail(void *, const char *); -extern bool cppISteamUser_SteamUser005_SetRegistryString(void *, EConfigSubTree, const char *, const char *); -extern bool cppISteamUser_SteamUser005_GetRegistryString(void *, EConfigSubTree, const char *, char *, int); -extern bool cppISteamUser_SteamUser005_SetRegistryInt(void *, EConfigSubTree, const char *, int); -extern bool cppISteamUser_SteamUser005_GetRegistryInt(void *, EConfigSubTree, const char *, int *); -extern int cppISteamUser_SteamUser005_InitiateGameConnection(void *, void *, int, CSteamID, CGameID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser005_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination(void *); -extern bool cppISteamUser_SteamUser005_IsPrimaryChatDestination(void *); -extern void cppISteamUser_SteamUser005_RequestLegacyCDKey(void *, uint32); -extern bool cppISteamUser_SteamUser005_SendGuestPassByEmail(void *, const char *, GID_t, bool); -extern bool cppISteamUser_SteamUser005_SendGuestPassByAccountID(void *, uint32, GID_t, bool); -extern bool cppISteamUser_SteamUser005_AckGuestPass(void *, const char *); -extern bool cppISteamUser_SteamUser005_RedeemGuestPass(void *, const char *); -extern uint32 cppISteamUser_SteamUser005_GetGuestPassToGiveCount(void *); -extern uint32 cppISteamUser_SteamUser005_GetGuestPassToRedeemCount(void *); -extern RTime32 cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime(void *); -extern bool cppISteamUser_SteamUser005_GetGuestPassToGiveInfo(void *, uint32, GID_t *, PackageId_t *, RTime32 *, RTime32 *, RTime32 *, RTime32 *, char *, int); -extern bool cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo(void *, uint32, GID_t *, PackageId_t *, RTime32 *, RTime32 *, RTime32 *, RTime32 *); -extern bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress(void *, uint32, char *, int); -extern bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName(void *, uint32, char *, int); -extern void cppISteamUser_SteamUser005_AcknowledgeMessageByGID(void *, const char *); -extern bool cppISteamUser_SteamUser005_SetLanguage(void *, const char *); -extern void cppISteamUser_SteamUser005_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern void cppISteamUser_SteamUser005_SetAccountName(void *, const char *); -extern void cppISteamUser_SteamUser005_SetPassword(void *, const char *); -extern void cppISteamUser_SteamUser005_SetAccountCreationTime(void *, RTime32); +struct cppISteamUser_SteamUser005_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser005_GetHSteamUser( struct cppISteamUser_SteamUser005_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser005_LogOn_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser005_LogOn( struct cppISteamUser_SteamUser005_LogOn_params *params ); + +struct cppISteamUser_SteamUser005_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser005_LogOff( struct cppISteamUser_SteamUser005_LogOff_params *params ); + +struct cppISteamUser_SteamUser005_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser005_BLoggedOn( struct cppISteamUser_SteamUser005_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser005_GetLogonState_params +{ + void *linux_side; + ELogonState _ret; +}; +extern void cppISteamUser_SteamUser005_GetLogonState( struct cppISteamUser_SteamUser005_GetLogonState_params *params ); + +struct cppISteamUser_SteamUser005_BConnected_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser005_BConnected( struct cppISteamUser_SteamUser005_BConnected_params *params ); + +struct cppISteamUser_SteamUser005_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser005_GetSteamID( struct cppISteamUser_SteamUser005_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser005_IsVACBanned_params +{ + void *linux_side; + bool _ret; + int nGameID; +}; +extern void cppISteamUser_SteamUser005_IsVACBanned( struct cppISteamUser_SteamUser005_IsVACBanned_params *params ); + +struct cppISteamUser_SteamUser005_RequireShowVACBannedMessage_params +{ + void *linux_side; + bool _ret; + int nAppID; +}; +extern void cppISteamUser_SteamUser005_RequireShowVACBannedMessage( struct cppISteamUser_SteamUser005_RequireShowVACBannedMessage_params *params ); + +struct cppISteamUser_SteamUser005_AcknowledgeVACBanning_params +{ + void *linux_side; + int nAppID; +}; +extern void cppISteamUser_SteamUser005_AcknowledgeVACBanning( struct cppISteamUser_SteamUser005_AcknowledgeVACBanning_params *params ); + +struct cppISteamUser_SteamUser005_SetSteam2Ticket_params +{ + void *linux_side; + uint8 *pubTicket; + int cubTicket; +}; +extern void cppISteamUser_SteamUser005_SetSteam2Ticket( struct cppISteamUser_SteamUser005_SetSteam2Ticket_params *params ); + +struct cppISteamUser_SteamUser005_AddServerNetAddress_params +{ + void *linux_side; + uint32 unIP; + uint16 unPort; +}; +extern void cppISteamUser_SteamUser005_AddServerNetAddress( struct cppISteamUser_SteamUser005_AddServerNetAddress_params *params ); + +struct cppISteamUser_SteamUser005_SetEmail_params +{ + void *linux_side; + bool _ret; + const char *pchEmail; +}; +extern void cppISteamUser_SteamUser005_SetEmail( struct cppISteamUser_SteamUser005_SetEmail_params *params ); + +struct cppISteamUser_SteamUser005_SetRegistryString_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUser_SteamUser005_SetRegistryString( struct cppISteamUser_SteamUser005_SetRegistryString_params *params ); + +struct cppISteamUser_SteamUser005_GetRegistryString_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + char *pchValue; + int cbValue; +}; +extern void cppISteamUser_SteamUser005_GetRegistryString( struct cppISteamUser_SteamUser005_GetRegistryString_params *params ); + +struct cppISteamUser_SteamUser005_SetRegistryInt_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + int iValue; +}; +extern void cppISteamUser_SteamUser005_SetRegistryInt( struct cppISteamUser_SteamUser005_SetRegistryInt_params *params ); + +struct cppISteamUser_SteamUser005_GetRegistryInt_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + int *piValue; +}; +extern void cppISteamUser_SteamUser005_GetRegistryInt( struct cppISteamUser_SteamUser005_GetRegistryInt_params *params ); + +struct cppISteamUser_SteamUser005_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pBlob; + int cbMaxBlob; + CSteamID steamID; + CGameID gameID; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser005_InitiateGameConnection( struct cppISteamUser_SteamUser005_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser005_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser005_TerminateGameConnection( struct cppISteamUser_SteamUser005_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination( struct cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination_params *params ); + +struct cppISteamUser_SteamUser005_IsPrimaryChatDestination_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser005_IsPrimaryChatDestination( struct cppISteamUser_SteamUser005_IsPrimaryChatDestination_params *params ); + +struct cppISteamUser_SteamUser005_RequestLegacyCDKey_params +{ + void *linux_side; + uint32 nAppID; +}; +extern void cppISteamUser_SteamUser005_RequestLegacyCDKey( struct cppISteamUser_SteamUser005_RequestLegacyCDKey_params *params ); + +struct cppISteamUser_SteamUser005_SendGuestPassByEmail_params +{ + void *linux_side; + bool _ret; + const char *pchEmailAccount; + GID_t gidGuestPassID; + bool bResending; +}; +extern void cppISteamUser_SteamUser005_SendGuestPassByEmail( struct cppISteamUser_SteamUser005_SendGuestPassByEmail_params *params ); + +struct cppISteamUser_SteamUser005_SendGuestPassByAccountID_params +{ + void *linux_side; + bool _ret; + uint32 uAccountID; + GID_t gidGuestPassID; + bool bResending; +}; +extern void cppISteamUser_SteamUser005_SendGuestPassByAccountID( struct cppISteamUser_SteamUser005_SendGuestPassByAccountID_params *params ); + +struct cppISteamUser_SteamUser005_AckGuestPass_params +{ + void *linux_side; + bool _ret; + const char *pchGuestPassCode; +}; +extern void cppISteamUser_SteamUser005_AckGuestPass( struct cppISteamUser_SteamUser005_AckGuestPass_params *params ); + +struct cppISteamUser_SteamUser005_RedeemGuestPass_params +{ + void *linux_side; + bool _ret; + const char *pchGuestPassCode; +}; +extern void cppISteamUser_SteamUser005_RedeemGuestPass( struct cppISteamUser_SteamUser005_RedeemGuestPass_params *params ); + +struct cppISteamUser_SteamUser005_GetGuestPassToGiveCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUser_SteamUser005_GetGuestPassToGiveCount( struct cppISteamUser_SteamUser005_GetGuestPassToGiveCount_params *params ); + +struct cppISteamUser_SteamUser005_GetGuestPassToRedeemCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUser_SteamUser005_GetGuestPassToRedeemCount( struct cppISteamUser_SteamUser005_GetGuestPassToRedeemCount_params *params ); + +struct cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime_params +{ + void *linux_side; + RTime32 _ret; +}; +extern void cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime( struct cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime_params *params ); + +struct cppISteamUser_SteamUser005_GetGuestPassToGiveInfo_params +{ + void *linux_side; + bool _ret; + uint32 nPassIndex; + GID_t *pgidGuestPassID; + PackageId_t *pnPackageID; + RTime32 *pRTime32Created; + RTime32 *pRTime32Expiration; + RTime32 *pRTime32Sent; + RTime32 *pRTime32Redeemed; + char *pchRecipientAddress; + int cRecipientAddressSize; +}; +extern void cppISteamUser_SteamUser005_GetGuestPassToGiveInfo( struct cppISteamUser_SteamUser005_GetGuestPassToGiveInfo_params *params ); + +struct cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo_params +{ + void *linux_side; + bool _ret; + uint32 nPassIndex; + GID_t *pgidGuestPassID; + PackageId_t *pnPackageID; + RTime32 *pRTime32Created; + RTime32 *pRTime32Expiration; + RTime32 *pRTime32Sent; + RTime32 *pRTime32Redeemed; +}; +extern void cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo( struct cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo_params *params ); + +struct cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress_params +{ + void *linux_side; + bool _ret; + uint32 nPassIndex; + char *pchSenderAddress; + int cSenderAddressSize; +}; +extern void cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress( struct cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress_params *params ); + +struct cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName_params +{ + void *linux_side; + bool _ret; + uint32 nPassIndex; + char *pchSenderName; + int cSenderNameSize; +}; +extern void cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName( struct cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName_params *params ); + +struct cppISteamUser_SteamUser005_AcknowledgeMessageByGID_params +{ + void *linux_side; + const char *pchMessageGID; +}; +extern void cppISteamUser_SteamUser005_AcknowledgeMessageByGID( struct cppISteamUser_SteamUser005_AcknowledgeMessageByGID_params *params ); + +struct cppISteamUser_SteamUser005_SetLanguage_params +{ + void *linux_side; + bool _ret; + const char *pchLanguage; +}; +extern void cppISteamUser_SteamUser005_SetLanguage( struct cppISteamUser_SteamUser005_SetLanguage_params *params ); + +struct cppISteamUser_SteamUser005_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser005_TrackAppUsageEvent( struct cppISteamUser_SteamUser005_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser005_SetAccountName_params +{ + void *linux_side; + const char *pchAccountName; +}; +extern void cppISteamUser_SteamUser005_SetAccountName( struct cppISteamUser_SteamUser005_SetAccountName_params *params ); + +struct cppISteamUser_SteamUser005_SetPassword_params +{ + void *linux_side; + const char *pchPassword; +}; +extern void cppISteamUser_SteamUser005_SetPassword( struct cppISteamUser_SteamUser005_SetPassword_params *params ); + +struct cppISteamUser_SteamUser005_SetAccountCreationTime_params +{ + void *linux_side; + RTime32 rt; +}; +extern void cppISteamUser_SteamUser005_SetAccountCreationTime( struct cppISteamUser_SteamUser005_SetAccountCreationTime_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser006.cpp b/lsteamclient/cppISteamUser_SteamUser006.cpp index 8c3b1c8d..b5530045 100644 --- a/lsteamclient/cppISteamUser_SteamUser006.cpp +++ b/lsteamclient/cppISteamUser_SteamUser006.cpp @@ -11,80 +11,64 @@ extern "C" { #define SDKVER_099w #include "struct_converters.h" #include "cppISteamUser_SteamUser006.h" -HSteamUser cppISteamUser_SteamUser006_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser006_GetHSteamUser( struct cppISteamUser_SteamUser006_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -void cppISteamUser_SteamUser006_LogOn(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser006_LogOn( struct cppISteamUser_SteamUser006_LogOn_params *params ) { - ((ISteamUser*)linux_side)->LogOn((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->LogOn( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser006_LogOff(void *linux_side) +void cppISteamUser_SteamUser006_LogOff( struct cppISteamUser_SteamUser006_LogOff_params *params ) { - ((ISteamUser*)linux_side)->LogOff(); + ((ISteamUser*)params->linux_side)->LogOff( ); } -bool cppISteamUser_SteamUser006_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser006_BLoggedOn( struct cppISteamUser_SteamUser006_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser006_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser006_GetSteamID( struct cppISteamUser_SteamUser006_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -bool cppISteamUser_SteamUser006_SetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, const char *pchValue) +void cppISteamUser_SteamUser006_SetRegistryString( struct cppISteamUser_SteamUser006_SetRegistryString_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->SetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->SetRegistryString( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUser_SteamUser006_GetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, char *pchValue, int cbValue) +void cppISteamUser_SteamUser006_GetRegistryString( struct cppISteamUser_SteamUser006_GetRegistryString_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (char *)pchValue, (int)cbValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetRegistryString( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (char *)params->pchValue, (int)params->cbValue ); } -bool cppISteamUser_SteamUser006_SetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, int iValue) +void cppISteamUser_SteamUser006_SetRegistryInt( struct cppISteamUser_SteamUser006_SetRegistryInt_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->SetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int)iValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->SetRegistryInt( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (int)params->iValue ); } -bool cppISteamUser_SteamUser006_GetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, int *piValue) +void cppISteamUser_SteamUser006_GetRegistryInt( struct cppISteamUser_SteamUser006_GetRegistryInt_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int *)piValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetRegistryInt( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (int *)params->piValue ); } -int cppISteamUser_SteamUser006_InitiateGameConnection(void *linux_side, void *pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser006_InitiateGameConnection( struct cppISteamUser_SteamUser006_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pBlob, (int)cbMaxBlob, (CSteamID)steamID, (CGameID)gameID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pBlob, (int)params->cbMaxBlob, (CSteamID)params->steamID, (CGameID)params->gameID, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser006_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser006_TerminateGameConnection( struct cppISteamUser_SteamUser006_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser006_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser006_TrackAppUsageEvent( struct cppISteamUser_SteamUser006_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser006.h b/lsteamclient/cppISteamUser_SteamUser006.h index a45bdf2d..37dee762 100644 --- a/lsteamclient/cppISteamUser_SteamUser006.h +++ b/lsteamclient/cppISteamUser_SteamUser006.h @@ -1,12 +1,106 @@ -extern HSteamUser cppISteamUser_SteamUser006_GetHSteamUser(void *); -extern void cppISteamUser_SteamUser006_LogOn(void *, CSteamID); -extern void cppISteamUser_SteamUser006_LogOff(void *); -extern bool cppISteamUser_SteamUser006_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser006_GetSteamID(void *); -extern bool cppISteamUser_SteamUser006_SetRegistryString(void *, EConfigSubTree, const char *, const char *); -extern bool cppISteamUser_SteamUser006_GetRegistryString(void *, EConfigSubTree, const char *, char *, int); -extern bool cppISteamUser_SteamUser006_SetRegistryInt(void *, EConfigSubTree, const char *, int); -extern bool cppISteamUser_SteamUser006_GetRegistryInt(void *, EConfigSubTree, const char *, int *); -extern int cppISteamUser_SteamUser006_InitiateGameConnection(void *, void *, int, CSteamID, CGameID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser006_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser006_TrackAppUsageEvent(void *, CGameID, int, const char *); +struct cppISteamUser_SteamUser006_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser006_GetHSteamUser( struct cppISteamUser_SteamUser006_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser006_LogOn_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser006_LogOn( struct cppISteamUser_SteamUser006_LogOn_params *params ); + +struct cppISteamUser_SteamUser006_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser006_LogOff( struct cppISteamUser_SteamUser006_LogOff_params *params ); + +struct cppISteamUser_SteamUser006_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser006_BLoggedOn( struct cppISteamUser_SteamUser006_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser006_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser006_GetSteamID( struct cppISteamUser_SteamUser006_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser006_SetRegistryString_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUser_SteamUser006_SetRegistryString( struct cppISteamUser_SteamUser006_SetRegistryString_params *params ); + +struct cppISteamUser_SteamUser006_GetRegistryString_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + char *pchValue; + int cbValue; +}; +extern void cppISteamUser_SteamUser006_GetRegistryString( struct cppISteamUser_SteamUser006_GetRegistryString_params *params ); + +struct cppISteamUser_SteamUser006_SetRegistryInt_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + int iValue; +}; +extern void cppISteamUser_SteamUser006_SetRegistryInt( struct cppISteamUser_SteamUser006_SetRegistryInt_params *params ); + +struct cppISteamUser_SteamUser006_GetRegistryInt_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + int *piValue; +}; +extern void cppISteamUser_SteamUser006_GetRegistryInt( struct cppISteamUser_SteamUser006_GetRegistryInt_params *params ); + +struct cppISteamUser_SteamUser006_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pBlob; + int cbMaxBlob; + CSteamID steamID; + CGameID gameID; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser006_InitiateGameConnection( struct cppISteamUser_SteamUser006_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser006_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser006_TerminateGameConnection( struct cppISteamUser_SteamUser006_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser006_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser006_TrackAppUsageEvent( struct cppISteamUser_SteamUser006_TrackAppUsageEvent_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser007.cpp b/lsteamclient/cppISteamUser_SteamUser007.cpp index db9178fe..375a5d91 100644 --- a/lsteamclient/cppISteamUser_SteamUser007.cpp +++ b/lsteamclient/cppISteamUser_SteamUser007.cpp @@ -11,85 +11,69 @@ extern "C" { #define SDKVER_099x #include "struct_converters.h" #include "cppISteamUser_SteamUser007.h" -HSteamUser cppISteamUser_SteamUser007_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser007_GetHSteamUser( struct cppISteamUser_SteamUser007_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -void cppISteamUser_SteamUser007_LogOn(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser007_LogOn( struct cppISteamUser_SteamUser007_LogOn_params *params ) { - ((ISteamUser*)linux_side)->LogOn((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->LogOn( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser007_LogOff(void *linux_side) +void cppISteamUser_SteamUser007_LogOff( struct cppISteamUser_SteamUser007_LogOff_params *params ) { - ((ISteamUser*)linux_side)->LogOff(); + ((ISteamUser*)params->linux_side)->LogOff( ); } -bool cppISteamUser_SteamUser007_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser007_BLoggedOn( struct cppISteamUser_SteamUser007_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser007_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser007_GetSteamID( struct cppISteamUser_SteamUser007_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -bool cppISteamUser_SteamUser007_SetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, const char *pchValue) +void cppISteamUser_SteamUser007_SetRegistryString( struct cppISteamUser_SteamUser007_SetRegistryString_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->SetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (const char *)pchValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->SetRegistryString( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (const char *)params->pchValue ); } -bool cppISteamUser_SteamUser007_GetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, char *pchValue, int cbValue) +void cppISteamUser_SteamUser007_GetRegistryString( struct cppISteamUser_SteamUser007_GetRegistryString_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (char *)pchValue, (int)cbValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetRegistryString( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (char *)params->pchValue, (int)params->cbValue ); } -bool cppISteamUser_SteamUser007_SetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, int iValue) +void cppISteamUser_SteamUser007_SetRegistryInt( struct cppISteamUser_SteamUser007_SetRegistryInt_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->SetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int)iValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->SetRegistryInt( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (int)params->iValue ); } -bool cppISteamUser_SteamUser007_GetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, int *piValue) +void cppISteamUser_SteamUser007_GetRegistryInt( struct cppISteamUser_SteamUser007_GetRegistryInt_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int *)piValue); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetRegistryInt( (EConfigSubTree)params->eRegistrySubTree, (const char *)params->pchKey, (int *)params->piValue ); } -int cppISteamUser_SteamUser007_InitiateGameConnection(void *linux_side, void *pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure, void *pvSteam2GetEncryptionKey, int cbSteam2GetEncryptionKey) +void cppISteamUser_SteamUser007_InitiateGameConnection( struct cppISteamUser_SteamUser007_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pBlob, (int)cbMaxBlob, (CSteamID)steamID, (CGameID)gameID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure, (void *)pvSteam2GetEncryptionKey, (int)cbSteam2GetEncryptionKey); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pBlob, (int)params->cbMaxBlob, (CSteamID)params->steamID, (CGameID)params->gameID, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure, (void *)params->pvSteam2GetEncryptionKey, (int)params->cbSteam2GetEncryptionKey ); } -void cppISteamUser_SteamUser007_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser007_TerminateGameConnection( struct cppISteamUser_SteamUser007_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser007_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser007_TrackAppUsageEvent( struct cppISteamUser_SteamUser007_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -void cppISteamUser_SteamUser007_RefreshSteam2Login(void *linux_side) +void cppISteamUser_SteamUser007_RefreshSteam2Login( struct cppISteamUser_SteamUser007_RefreshSteam2Login_params *params ) { - ((ISteamUser*)linux_side)->RefreshSteam2Login(); + ((ISteamUser*)params->linux_side)->RefreshSteam2Login( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser007.h b/lsteamclient/cppISteamUser_SteamUser007.h index 645d89ed..33b3dbfa 100644 --- a/lsteamclient/cppISteamUser_SteamUser007.h +++ b/lsteamclient/cppISteamUser_SteamUser007.h @@ -1,13 +1,114 @@ -extern HSteamUser cppISteamUser_SteamUser007_GetHSteamUser(void *); -extern void cppISteamUser_SteamUser007_LogOn(void *, CSteamID); -extern void cppISteamUser_SteamUser007_LogOff(void *); -extern bool cppISteamUser_SteamUser007_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser007_GetSteamID(void *); -extern bool cppISteamUser_SteamUser007_SetRegistryString(void *, EConfigSubTree, const char *, const char *); -extern bool cppISteamUser_SteamUser007_GetRegistryString(void *, EConfigSubTree, const char *, char *, int); -extern bool cppISteamUser_SteamUser007_SetRegistryInt(void *, EConfigSubTree, const char *, int); -extern bool cppISteamUser_SteamUser007_GetRegistryInt(void *, EConfigSubTree, const char *, int *); -extern int cppISteamUser_SteamUser007_InitiateGameConnection(void *, void *, int, CSteamID, CGameID, uint32, uint16, bool, void *, int); -extern void cppISteamUser_SteamUser007_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser007_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern void cppISteamUser_SteamUser007_RefreshSteam2Login(void *); +struct cppISteamUser_SteamUser007_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser007_GetHSteamUser( struct cppISteamUser_SteamUser007_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser007_LogOn_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser007_LogOn( struct cppISteamUser_SteamUser007_LogOn_params *params ); + +struct cppISteamUser_SteamUser007_LogOff_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser007_LogOff( struct cppISteamUser_SteamUser007_LogOff_params *params ); + +struct cppISteamUser_SteamUser007_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser007_BLoggedOn( struct cppISteamUser_SteamUser007_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser007_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser007_GetSteamID( struct cppISteamUser_SteamUser007_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser007_SetRegistryString_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + const char *pchValue; +}; +extern void cppISteamUser_SteamUser007_SetRegistryString( struct cppISteamUser_SteamUser007_SetRegistryString_params *params ); + +struct cppISteamUser_SteamUser007_GetRegistryString_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + char *pchValue; + int cbValue; +}; +extern void cppISteamUser_SteamUser007_GetRegistryString( struct cppISteamUser_SteamUser007_GetRegistryString_params *params ); + +struct cppISteamUser_SteamUser007_SetRegistryInt_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + int iValue; +}; +extern void cppISteamUser_SteamUser007_SetRegistryInt( struct cppISteamUser_SteamUser007_SetRegistryInt_params *params ); + +struct cppISteamUser_SteamUser007_GetRegistryInt_params +{ + void *linux_side; + bool _ret; + EConfigSubTree eRegistrySubTree; + const char *pchKey; + int *piValue; +}; +extern void cppISteamUser_SteamUser007_GetRegistryInt( struct cppISteamUser_SteamUser007_GetRegistryInt_params *params ); + +struct cppISteamUser_SteamUser007_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pBlob; + int cbMaxBlob; + CSteamID steamID; + CGameID gameID; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; + void *pvSteam2GetEncryptionKey; + int cbSteam2GetEncryptionKey; +}; +extern void cppISteamUser_SteamUser007_InitiateGameConnection( struct cppISteamUser_SteamUser007_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser007_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser007_TerminateGameConnection( struct cppISteamUser_SteamUser007_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser007_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser007_TrackAppUsageEvent( struct cppISteamUser_SteamUser007_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser007_RefreshSteam2Login_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser007_RefreshSteam2Login( struct cppISteamUser_SteamUser007_RefreshSteam2Login_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser008.cpp b/lsteamclient/cppISteamUser_SteamUser008.cpp index 2852354e..f853db40 100644 --- a/lsteamclient/cppISteamUser_SteamUser008.cpp +++ b/lsteamclient/cppISteamUser_SteamUser008.cpp @@ -11,40 +11,34 @@ extern "C" { #define SDKVER_099y #include "struct_converters.h" #include "cppISteamUser_SteamUser008.h" -HSteamUser cppISteamUser_SteamUser008_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser008_GetHSteamUser( struct cppISteamUser_SteamUser008_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser008_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser008_BLoggedOn( struct cppISteamUser_SteamUser008_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser008_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser008_GetSteamID( struct cppISteamUser_SteamUser008_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -void cppISteamUser_SteamUser008_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser008_TerminateGameConnection( struct cppISteamUser_SteamUser008_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser008_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser008_TrackAppUsageEvent( struct cppISteamUser_SteamUser008_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -void cppISteamUser_SteamUser008_RefreshSteam2Login(void *linux_side) +void cppISteamUser_SteamUser008_RefreshSteam2Login( struct cppISteamUser_SteamUser008_RefreshSteam2Login_params *params ) { - ((ISteamUser*)linux_side)->RefreshSteam2Login(); + ((ISteamUser*)params->linux_side)->RefreshSteam2Login( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser008.h b/lsteamclient/cppISteamUser_SteamUser008.h index 7ce2d042..09e62027 100644 --- a/lsteamclient/cppISteamUser_SteamUser008.h +++ b/lsteamclient/cppISteamUser_SteamUser008.h @@ -1,7 +1,60 @@ -extern HSteamUser cppISteamUser_SteamUser008_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser008_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser008_GetSteamID(void *); -extern int cppISteamUser_SteamUser008_InitiateGameConnection(void *, void *, int, CSteamID, CGameID, uint32, uint16, bool, void *, int); -extern void cppISteamUser_SteamUser008_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser008_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern void cppISteamUser_SteamUser008_RefreshSteam2Login(void *); +struct cppISteamUser_SteamUser008_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser008_GetHSteamUser( struct cppISteamUser_SteamUser008_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser008_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser008_BLoggedOn( struct cppISteamUser_SteamUser008_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser008_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser008_GetSteamID( struct cppISteamUser_SteamUser008_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser008_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pBlob; + int cbMaxBlob; + CSteamID steamID; + CGameID gameID; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; + void *pvSteam2GetEncryptionKey; + int cbSteam2GetEncryptionKey; +}; +extern void cppISteamUser_SteamUser008_InitiateGameConnection( struct cppISteamUser_SteamUser008_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser008_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser008_TerminateGameConnection( struct cppISteamUser_SteamUser008_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser008_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser008_TrackAppUsageEvent( struct cppISteamUser_SteamUser008_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser008_RefreshSteam2Login_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser008_RefreshSteam2Login( struct cppISteamUser_SteamUser008_RefreshSteam2Login_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser009.cpp b/lsteamclient/cppISteamUser_SteamUser009.cpp index 1232f887..81ad9cd2 100644 --- a/lsteamclient/cppISteamUser_SteamUser009.cpp +++ b/lsteamclient/cppISteamUser_SteamUser009.cpp @@ -11,47 +11,39 @@ extern "C" { #define SDKVER_100 #include "struct_converters.h" #include "cppISteamUser_SteamUser009.h" -HSteamUser cppISteamUser_SteamUser009_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser009_GetHSteamUser( struct cppISteamUser_SteamUser009_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser009_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser009_BLoggedOn( struct cppISteamUser_SteamUser009_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser009_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser009_GetSteamID( struct cppISteamUser_SteamUser009_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser009_InitiateGameConnection(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser009_InitiateGameConnection( struct cppISteamUser_SteamUser009_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (CGameID)gameID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (CGameID)params->gameID, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser009_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser009_TerminateGameConnection( struct cppISteamUser_SteamUser009_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser009_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser009_TrackAppUsageEvent( struct cppISteamUser_SteamUser009_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -void cppISteamUser_SteamUser009_RefreshSteam2Login(void *linux_side) +void cppISteamUser_SteamUser009_RefreshSteam2Login( struct cppISteamUser_SteamUser009_RefreshSteam2Login_params *params ) { - ((ISteamUser*)linux_side)->RefreshSteam2Login(); + ((ISteamUser*)params->linux_side)->RefreshSteam2Login( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser009.h b/lsteamclient/cppISteamUser_SteamUser009.h index f8141732..175ce560 100644 --- a/lsteamclient/cppISteamUser_SteamUser009.h +++ b/lsteamclient/cppISteamUser_SteamUser009.h @@ -1,7 +1,58 @@ -extern HSteamUser cppISteamUser_SteamUser009_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser009_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser009_GetSteamID(void *); -extern int cppISteamUser_SteamUser009_InitiateGameConnection(void *, void *, int, CSteamID, CGameID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser009_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser009_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern void cppISteamUser_SteamUser009_RefreshSteam2Login(void *); +struct cppISteamUser_SteamUser009_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser009_GetHSteamUser( struct cppISteamUser_SteamUser009_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser009_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser009_BLoggedOn( struct cppISteamUser_SteamUser009_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser009_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser009_GetSteamID( struct cppISteamUser_SteamUser009_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser009_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + CGameID gameID; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser009_InitiateGameConnection( struct cppISteamUser_SteamUser009_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser009_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser009_TerminateGameConnection( struct cppISteamUser_SteamUser009_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser009_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser009_TrackAppUsageEvent( struct cppISteamUser_SteamUser009_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser009_RefreshSteam2Login_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser009_RefreshSteam2Login( struct cppISteamUser_SteamUser009_RefreshSteam2Login_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser010.cpp b/lsteamclient/cppISteamUser_SteamUser010.cpp index e32fb89f..b2125c28 100644 --- a/lsteamclient/cppISteamUser_SteamUser010.cpp +++ b/lsteamclient/cppISteamUser_SteamUser010.cpp @@ -11,42 +11,34 @@ extern "C" { #define SDKVER_101 #include "struct_converters.h" #include "cppISteamUser_SteamUser010.h" -HSteamUser cppISteamUser_SteamUser010_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser010_GetHSteamUser( struct cppISteamUser_SteamUser010_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser010_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser010_BLoggedOn( struct cppISteamUser_SteamUser010_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser010_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser010_GetSteamID( struct cppISteamUser_SteamUser010_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser010_InitiateGameConnection(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser010_InitiateGameConnection( struct cppISteamUser_SteamUser010_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser010_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser010_TerminateGameConnection( struct cppISteamUser_SteamUser010_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser010_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser010_TrackAppUsageEvent( struct cppISteamUser_SteamUser010_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser010.h b/lsteamclient/cppISteamUser_SteamUser010.h index 5a641f5b..59bbc2ce 100644 --- a/lsteamclient/cppISteamUser_SteamUser010.h +++ b/lsteamclient/cppISteamUser_SteamUser010.h @@ -1,6 +1,51 @@ -extern HSteamUser cppISteamUser_SteamUser010_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser010_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser010_GetSteamID(void *); -extern int cppISteamUser_SteamUser010_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser010_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser010_TrackAppUsageEvent(void *, CGameID, int, const char *); +struct cppISteamUser_SteamUser010_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser010_GetHSteamUser( struct cppISteamUser_SteamUser010_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser010_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser010_BLoggedOn( struct cppISteamUser_SteamUser010_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser010_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser010_GetSteamID( struct cppISteamUser_SteamUser010_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser010_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser010_InitiateGameConnection( struct cppISteamUser_SteamUser010_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser010_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser010_TerminateGameConnection( struct cppISteamUser_SteamUser010_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser010_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser010_TrackAppUsageEvent( struct cppISteamUser_SteamUser010_TrackAppUsageEvent_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser011.cpp b/lsteamclient/cppISteamUser_SteamUser011.cpp index eaebb11f..ba26fb26 100644 --- a/lsteamclient/cppISteamUser_SteamUser011.cpp +++ b/lsteamclient/cppISteamUser_SteamUser011.cpp @@ -11,73 +11,59 @@ extern "C" { #define SDKVER_103 #include "struct_converters.h" #include "cppISteamUser_SteamUser011.h" -HSteamUser cppISteamUser_SteamUser011_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser011_GetHSteamUser( struct cppISteamUser_SteamUser011_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser011_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser011_BLoggedOn( struct cppISteamUser_SteamUser011_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser011_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser011_GetSteamID( struct cppISteamUser_SteamUser011_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser011_InitiateGameConnection(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser011_InitiateGameConnection( struct cppISteamUser_SteamUser011_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser011_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser011_TerminateGameConnection( struct cppISteamUser_SteamUser011_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser011_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser011_TrackAppUsageEvent( struct cppISteamUser_SteamUser011_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -bool cppISteamUser_SteamUser011_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer) +void cppISteamUser_SteamUser011_GetUserDataFolder( struct cppISteamUser_SteamUser011_GetUserDataFolder_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer ); } -void cppISteamUser_SteamUser011_StartVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser011_StartVoiceRecording( struct cppISteamUser_SteamUser011_StartVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + ((ISteamUser*)params->linux_side)->StartVoiceRecording( ); } -void cppISteamUser_SteamUser011_StopVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser011_StopVoiceRecording( struct cppISteamUser_SteamUser011_StopVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + ((ISteamUser*)params->linux_side)->StopVoiceRecording( ); } -EVoiceResult cppISteamUser_SteamUser011_GetCompressedVoice(void *linux_side, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten) +void cppISteamUser_SteamUser011_GetCompressedVoice( struct cppISteamUser_SteamUser011_GetCompressedVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetCompressedVoice((void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetCompressedVoice( (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten ); } -EVoiceResult cppISteamUser_SteamUser011_DecompressVoice(void *linux_side, void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten) +void cppISteamUser_SteamUser011_DecompressVoice( struct cppISteamUser_SteamUser011_DecompressVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->DecompressVoice((void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser011.h b/lsteamclient/cppISteamUser_SteamUser011.h index a7706164..a1d65d1f 100644 --- a/lsteamclient/cppISteamUser_SteamUser011.h +++ b/lsteamclient/cppISteamUser_SteamUser011.h @@ -1,11 +1,94 @@ -extern HSteamUser cppISteamUser_SteamUser011_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser011_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser011_GetSteamID(void *); -extern int cppISteamUser_SteamUser011_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser011_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser011_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser011_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser011_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser011_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser011_GetCompressedVoice(void *, void *, uint32, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser011_DecompressVoice(void *, void *, uint32, void *, uint32, uint32 *); +struct cppISteamUser_SteamUser011_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser011_GetHSteamUser( struct cppISteamUser_SteamUser011_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser011_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser011_BLoggedOn( struct cppISteamUser_SteamUser011_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser011_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser011_GetSteamID( struct cppISteamUser_SteamUser011_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser011_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser011_InitiateGameConnection( struct cppISteamUser_SteamUser011_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser011_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser011_TerminateGameConnection( struct cppISteamUser_SteamUser011_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser011_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser011_TrackAppUsageEvent( struct cppISteamUser_SteamUser011_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser011_GetUserDataFolder_params +{ + void *linux_side; + bool _ret; + char *pchBuffer; + int cubBuffer; +}; +extern void cppISteamUser_SteamUser011_GetUserDataFolder( struct cppISteamUser_SteamUser011_GetUserDataFolder_params *params ); + +struct cppISteamUser_SteamUser011_StartVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser011_StartVoiceRecording( struct cppISteamUser_SteamUser011_StartVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser011_StopVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser011_StopVoiceRecording( struct cppISteamUser_SteamUser011_StopVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser011_GetCompressedVoice_params +{ + void *linux_side; + EVoiceResult _ret; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; +}; +extern void cppISteamUser_SteamUser011_GetCompressedVoice( struct cppISteamUser_SteamUser011_GetCompressedVoice_params *params ); + +struct cppISteamUser_SteamUser011_DecompressVoice_params +{ + void *linux_side; + EVoiceResult _ret; + void *pCompressed; + uint32 cbCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; +}; +extern void cppISteamUser_SteamUser011_DecompressVoice( struct cppISteamUser_SteamUser011_DecompressVoice_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser012.cpp b/lsteamclient/cppISteamUser_SteamUser012.cpp index d37ef962..12f0496d 100644 --- a/lsteamclient/cppISteamUser_SteamUser012.cpp +++ b/lsteamclient/cppISteamUser_SteamUser012.cpp @@ -11,104 +11,84 @@ extern "C" { #define SDKVER_105 #include "struct_converters.h" #include "cppISteamUser_SteamUser012.h" -HSteamUser cppISteamUser_SteamUser012_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser012_GetHSteamUser( struct cppISteamUser_SteamUser012_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser012_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser012_BLoggedOn( struct cppISteamUser_SteamUser012_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser012_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser012_GetSteamID( struct cppISteamUser_SteamUser012_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser012_InitiateGameConnection(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser012_InitiateGameConnection( struct cppISteamUser_SteamUser012_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser012_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser012_TerminateGameConnection( struct cppISteamUser_SteamUser012_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser012_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser012_TrackAppUsageEvent( struct cppISteamUser_SteamUser012_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -bool cppISteamUser_SteamUser012_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer) +void cppISteamUser_SteamUser012_GetUserDataFolder( struct cppISteamUser_SteamUser012_GetUserDataFolder_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer ); } -void cppISteamUser_SteamUser012_StartVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser012_StartVoiceRecording( struct cppISteamUser_SteamUser012_StartVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + ((ISteamUser*)params->linux_side)->StartVoiceRecording( ); } -void cppISteamUser_SteamUser012_StopVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser012_StopVoiceRecording( struct cppISteamUser_SteamUser012_StopVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + ((ISteamUser*)params->linux_side)->StopVoiceRecording( ); } -EVoiceResult cppISteamUser_SteamUser012_GetCompressedVoice(void *linux_side, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten) +void cppISteamUser_SteamUser012_GetCompressedVoice( struct cppISteamUser_SteamUser012_GetCompressedVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetCompressedVoice((void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetCompressedVoice( (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten ); } -EVoiceResult cppISteamUser_SteamUser012_DecompressVoice(void *linux_side, void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten) +void cppISteamUser_SteamUser012_DecompressVoice( struct cppISteamUser_SteamUser012_DecompressVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->DecompressVoice((void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten ); } -HAuthTicket cppISteamUser_SteamUser012_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser012_GetAuthSessionTicket( struct cppISteamUser_SteamUser012_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamUser_SteamUser012_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamUser_SteamUser012_BeginAuthSession( struct cppISteamUser_SteamUser012_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser012_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser012_EndAuthSession( struct cppISteamUser_SteamUser012_EndAuthSession_params *params ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser012_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamUser_SteamUser012_CancelAuthTicket( struct cppISteamUser_SteamUser012_CancelAuthTicket_params *params ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamUser_SteamUser012_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamUser_SteamUser012_UserHasLicenseForApp( struct cppISteamUser_SteamUser012_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser012.h b/lsteamclient/cppISteamUser_SteamUser012.h index c604abc3..049be562 100644 --- a/lsteamclient/cppISteamUser_SteamUser012.h +++ b/lsteamclient/cppISteamUser_SteamUser012.h @@ -1,16 +1,137 @@ -extern HSteamUser cppISteamUser_SteamUser012_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser012_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser012_GetSteamID(void *); -extern int cppISteamUser_SteamUser012_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser012_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser012_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser012_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser012_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser012_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser012_GetCompressedVoice(void *, void *, uint32, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser012_DecompressVoice(void *, void *, uint32, void *, uint32, uint32 *); -extern HAuthTicket cppISteamUser_SteamUser012_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser012_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser012_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser012_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser012_UserHasLicenseForApp(void *, CSteamID, AppId_t); +struct cppISteamUser_SteamUser012_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser012_GetHSteamUser( struct cppISteamUser_SteamUser012_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser012_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser012_BLoggedOn( struct cppISteamUser_SteamUser012_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser012_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser012_GetSteamID( struct cppISteamUser_SteamUser012_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser012_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser012_InitiateGameConnection( struct cppISteamUser_SteamUser012_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser012_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser012_TerminateGameConnection( struct cppISteamUser_SteamUser012_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser012_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser012_TrackAppUsageEvent( struct cppISteamUser_SteamUser012_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser012_GetUserDataFolder_params +{ + void *linux_side; + bool _ret; + char *pchBuffer; + int cubBuffer; +}; +extern void cppISteamUser_SteamUser012_GetUserDataFolder( struct cppISteamUser_SteamUser012_GetUserDataFolder_params *params ); + +struct cppISteamUser_SteamUser012_StartVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser012_StartVoiceRecording( struct cppISteamUser_SteamUser012_StartVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser012_StopVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser012_StopVoiceRecording( struct cppISteamUser_SteamUser012_StopVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser012_GetCompressedVoice_params +{ + void *linux_side; + EVoiceResult _ret; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; +}; +extern void cppISteamUser_SteamUser012_GetCompressedVoice( struct cppISteamUser_SteamUser012_GetCompressedVoice_params *params ); + +struct cppISteamUser_SteamUser012_DecompressVoice_params +{ + void *linux_side; + EVoiceResult _ret; + void *pCompressed; + uint32 cbCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; +}; +extern void cppISteamUser_SteamUser012_DecompressVoice( struct cppISteamUser_SteamUser012_DecompressVoice_params *params ); + +struct cppISteamUser_SteamUser012_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser012_GetAuthSessionTicket( struct cppISteamUser_SteamUser012_GetAuthSessionTicket_params *params ); + +struct cppISteamUser_SteamUser012_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser012_BeginAuthSession( struct cppISteamUser_SteamUser012_BeginAuthSession_params *params ); + +struct cppISteamUser_SteamUser012_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser012_EndAuthSession( struct cppISteamUser_SteamUser012_EndAuthSession_params *params ); + +struct cppISteamUser_SteamUser012_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamUser_SteamUser012_CancelAuthTicket( struct cppISteamUser_SteamUser012_CancelAuthTicket_params *params ); + +struct cppISteamUser_SteamUser012_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamUser_SteamUser012_UserHasLicenseForApp( struct cppISteamUser_SteamUser012_UserHasLicenseForApp_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser013.cpp b/lsteamclient/cppISteamUser_SteamUser013.cpp index a54ee2cb..c9ed8094 100644 --- a/lsteamclient/cppISteamUser_SteamUser013.cpp +++ b/lsteamclient/cppISteamUser_SteamUser013.cpp @@ -11,111 +11,89 @@ extern "C" { #define SDKVER_110 #include "struct_converters.h" #include "cppISteamUser_SteamUser013.h" -HSteamUser cppISteamUser_SteamUser013_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser013_GetHSteamUser( struct cppISteamUser_SteamUser013_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser013_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser013_BLoggedOn( struct cppISteamUser_SteamUser013_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser013_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser013_GetSteamID( struct cppISteamUser_SteamUser013_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser013_InitiateGameConnection(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser013_InitiateGameConnection( struct cppISteamUser_SteamUser013_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser013_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser013_TerminateGameConnection( struct cppISteamUser_SteamUser013_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser013_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser013_TrackAppUsageEvent( struct cppISteamUser_SteamUser013_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -bool cppISteamUser_SteamUser013_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer) +void cppISteamUser_SteamUser013_GetUserDataFolder( struct cppISteamUser_SteamUser013_GetUserDataFolder_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer ); } -void cppISteamUser_SteamUser013_StartVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser013_StartVoiceRecording( struct cppISteamUser_SteamUser013_StartVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + ((ISteamUser*)params->linux_side)->StartVoiceRecording( ); } -void cppISteamUser_SteamUser013_StopVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser013_StopVoiceRecording( struct cppISteamUser_SteamUser013_StopVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + ((ISteamUser*)params->linux_side)->StopVoiceRecording( ); } -EVoiceResult cppISteamUser_SteamUser013_GetAvailableVoice(void *linux_side, uint32 *pcbCompressed, uint32 *pcbUncompressed) +void cppISteamUser_SteamUser013_GetAvailableVoice( struct cppISteamUser_SteamUser013_GetAvailableVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAvailableVoice( (uint32 *)params->pcbCompressed, (uint32 *)params->pcbUncompressed ); } -EVoiceResult cppISteamUser_SteamUser013_GetVoice(void *linux_side, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed, void *pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 *nUncompressBytesWritten) +void cppISteamUser_SteamUser013_GetVoice( struct cppISteamUser_SteamUser013_GetVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoice( (bool)params->bWantCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (bool)params->bWantUncompressed, (void *)params->pUncompressedDestBuffer, (uint32)params->cbUncompressedDestBufferSize, (uint32 *)params->nUncompressBytesWritten ); } -EVoiceResult cppISteamUser_SteamUser013_DecompressVoice(void *linux_side, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten) +void cppISteamUser_SteamUser013_DecompressVoice( struct cppISteamUser_SteamUser013_DecompressVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (const void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten ); } -HAuthTicket cppISteamUser_SteamUser013_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser013_GetAuthSessionTicket( struct cppISteamUser_SteamUser013_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamUser_SteamUser013_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamUser_SteamUser013_BeginAuthSession( struct cppISteamUser_SteamUser013_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser013_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser013_EndAuthSession( struct cppISteamUser_SteamUser013_EndAuthSession_params *params ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser013_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamUser_SteamUser013_CancelAuthTicket( struct cppISteamUser_SteamUser013_CancelAuthTicket_params *params ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamUser_SteamUser013_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamUser_SteamUser013_UserHasLicenseForApp( struct cppISteamUser_SteamUser013_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser013.h b/lsteamclient/cppISteamUser_SteamUser013.h index 1c925a1c..232ce166 100644 --- a/lsteamclient/cppISteamUser_SteamUser013.h +++ b/lsteamclient/cppISteamUser_SteamUser013.h @@ -1,17 +1,151 @@ -extern HSteamUser cppISteamUser_SteamUser013_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser013_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser013_GetSteamID(void *); -extern int cppISteamUser_SteamUser013_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser013_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser013_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser013_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser013_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser013_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser013_GetAvailableVoice(void *, uint32 *, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser013_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser013_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *); -extern HAuthTicket cppISteamUser_SteamUser013_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser013_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser013_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser013_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser013_UserHasLicenseForApp(void *, CSteamID, AppId_t); +struct cppISteamUser_SteamUser013_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser013_GetHSteamUser( struct cppISteamUser_SteamUser013_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser013_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser013_BLoggedOn( struct cppISteamUser_SteamUser013_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser013_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser013_GetSteamID( struct cppISteamUser_SteamUser013_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser013_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser013_InitiateGameConnection( struct cppISteamUser_SteamUser013_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser013_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser013_TerminateGameConnection( struct cppISteamUser_SteamUser013_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser013_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser013_TrackAppUsageEvent( struct cppISteamUser_SteamUser013_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser013_GetUserDataFolder_params +{ + void *linux_side; + bool _ret; + char *pchBuffer; + int cubBuffer; +}; +extern void cppISteamUser_SteamUser013_GetUserDataFolder( struct cppISteamUser_SteamUser013_GetUserDataFolder_params *params ); + +struct cppISteamUser_SteamUser013_StartVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser013_StartVoiceRecording( struct cppISteamUser_SteamUser013_StartVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser013_StopVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser013_StopVoiceRecording( struct cppISteamUser_SteamUser013_StopVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser013_GetAvailableVoice_params +{ + void *linux_side; + EVoiceResult _ret; + uint32 *pcbCompressed; + uint32 *pcbUncompressed; +}; +extern void cppISteamUser_SteamUser013_GetAvailableVoice( struct cppISteamUser_SteamUser013_GetAvailableVoice_params *params ); + +struct cppISteamUser_SteamUser013_GetVoice_params +{ + void *linux_side; + EVoiceResult _ret; + bool bWantCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + bool bWantUncompressed; + void *pUncompressedDestBuffer; + uint32 cbUncompressedDestBufferSize; + uint32 *nUncompressBytesWritten; +}; +extern void cppISteamUser_SteamUser013_GetVoice( struct cppISteamUser_SteamUser013_GetVoice_params *params ); + +struct cppISteamUser_SteamUser013_DecompressVoice_params +{ + void *linux_side; + EVoiceResult _ret; + const void *pCompressed; + uint32 cbCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; +}; +extern void cppISteamUser_SteamUser013_DecompressVoice( struct cppISteamUser_SteamUser013_DecompressVoice_params *params ); + +struct cppISteamUser_SteamUser013_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser013_GetAuthSessionTicket( struct cppISteamUser_SteamUser013_GetAuthSessionTicket_params *params ); + +struct cppISteamUser_SteamUser013_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser013_BeginAuthSession( struct cppISteamUser_SteamUser013_BeginAuthSession_params *params ); + +struct cppISteamUser_SteamUser013_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser013_EndAuthSession( struct cppISteamUser_SteamUser013_EndAuthSession_params *params ); + +struct cppISteamUser_SteamUser013_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamUser_SteamUser013_CancelAuthTicket( struct cppISteamUser_SteamUser013_CancelAuthTicket_params *params ); + +struct cppISteamUser_SteamUser013_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamUser_SteamUser013_UserHasLicenseForApp( struct cppISteamUser_SteamUser013_UserHasLicenseForApp_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser014.cpp b/lsteamclient/cppISteamUser_SteamUser014.cpp index 607cb83a..d84ed569 100644 --- a/lsteamclient/cppISteamUser_SteamUser014.cpp +++ b/lsteamclient/cppISteamUser_SteamUser014.cpp @@ -11,137 +11,109 @@ extern "C" { #define SDKVER_112 #include "struct_converters.h" #include "cppISteamUser_SteamUser014.h" -HSteamUser cppISteamUser_SteamUser014_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser014_GetHSteamUser( struct cppISteamUser_SteamUser014_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser014_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser014_BLoggedOn( struct cppISteamUser_SteamUser014_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser014_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser014_GetSteamID( struct cppISteamUser_SteamUser014_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser014_InitiateGameConnection(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser014_InitiateGameConnection( struct cppISteamUser_SteamUser014_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser014_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser014_TerminateGameConnection( struct cppISteamUser_SteamUser014_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser014_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser014_TrackAppUsageEvent( struct cppISteamUser_SteamUser014_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -bool cppISteamUser_SteamUser014_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer) +void cppISteamUser_SteamUser014_GetUserDataFolder( struct cppISteamUser_SteamUser014_GetUserDataFolder_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer ); } -void cppISteamUser_SteamUser014_StartVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser014_StartVoiceRecording( struct cppISteamUser_SteamUser014_StartVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + ((ISteamUser*)params->linux_side)->StartVoiceRecording( ); } -void cppISteamUser_SteamUser014_StopVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser014_StopVoiceRecording( struct cppISteamUser_SteamUser014_StopVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + ((ISteamUser*)params->linux_side)->StopVoiceRecording( ); } -EVoiceResult cppISteamUser_SteamUser014_GetAvailableVoice(void *linux_side, uint32 *pcbCompressed, uint32 *pcbUncompressed) +void cppISteamUser_SteamUser014_GetAvailableVoice( struct cppISteamUser_SteamUser014_GetAvailableVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAvailableVoice( (uint32 *)params->pcbCompressed, (uint32 *)params->pcbUncompressed ); } -EVoiceResult cppISteamUser_SteamUser014_GetVoice(void *linux_side, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed, void *pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 *nUncompressBytesWritten) +void cppISteamUser_SteamUser014_GetVoice( struct cppISteamUser_SteamUser014_GetVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoice( (bool)params->bWantCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (bool)params->bWantUncompressed, (void *)params->pUncompressedDestBuffer, (uint32)params->cbUncompressedDestBufferSize, (uint32 *)params->nUncompressBytesWritten ); } -EVoiceResult cppISteamUser_SteamUser014_DecompressVoice(void *linux_side, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten) +void cppISteamUser_SteamUser014_DecompressVoice( struct cppISteamUser_SteamUser014_DecompressVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (const void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten ); } -HAuthTicket cppISteamUser_SteamUser014_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser014_GetAuthSessionTicket( struct cppISteamUser_SteamUser014_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamUser_SteamUser014_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamUser_SteamUser014_BeginAuthSession( struct cppISteamUser_SteamUser014_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser014_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser014_EndAuthSession( struct cppISteamUser_SteamUser014_EndAuthSession_params *params ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser014_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamUser_SteamUser014_CancelAuthTicket( struct cppISteamUser_SteamUser014_CancelAuthTicket_params *params ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamUser_SteamUser014_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamUser_SteamUser014_UserHasLicenseForApp( struct cppISteamUser_SteamUser014_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamUser_SteamUser014_BIsBehindNAT(void *linux_side) +void cppISteamUser_SteamUser014_BIsBehindNAT( struct cppISteamUser_SteamUser014_BIsBehindNAT_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsBehindNAT(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsBehindNAT( ); } -void cppISteamUser_SteamUser014_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser014_AdvertiseGame( struct cppISteamUser_SteamUser014_AdvertiseGame_params *params ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->AdvertiseGame( (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer ); } -SteamAPICall_t cppISteamUser_SteamUser014_RequestEncryptedAppTicket(void *linux_side, void *pDataToInclude, int cbDataToInclude) +void cppISteamUser_SteamUser014_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser014_RequestEncryptedAppTicket_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestEncryptedAppTicket( (void *)params->pDataToInclude, (int)params->cbDataToInclude ); } -bool cppISteamUser_SteamUser014_GetEncryptedAppTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser014_GetEncryptedAppTicket( struct cppISteamUser_SteamUser014_GetEncryptedAppTicket_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetEncryptedAppTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser014.h b/lsteamclient/cppISteamUser_SteamUser014.h index 0045f3a1..937bdf0b 100644 --- a/lsteamclient/cppISteamUser_SteamUser014.h +++ b/lsteamclient/cppISteamUser_SteamUser014.h @@ -1,21 +1,186 @@ -extern HSteamUser cppISteamUser_SteamUser014_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser014_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser014_GetSteamID(void *); -extern int cppISteamUser_SteamUser014_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser014_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser014_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser014_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser014_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser014_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser014_GetAvailableVoice(void *, uint32 *, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser014_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser014_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *); -extern HAuthTicket cppISteamUser_SteamUser014_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser014_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser014_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser014_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser014_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser014_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser014_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser014_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser014_GetEncryptedAppTicket(void *, void *, int, uint32 *); +struct cppISteamUser_SteamUser014_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser014_GetHSteamUser( struct cppISteamUser_SteamUser014_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser014_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser014_BLoggedOn( struct cppISteamUser_SteamUser014_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser014_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser014_GetSteamID( struct cppISteamUser_SteamUser014_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser014_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser014_InitiateGameConnection( struct cppISteamUser_SteamUser014_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser014_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser014_TerminateGameConnection( struct cppISteamUser_SteamUser014_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser014_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser014_TrackAppUsageEvent( struct cppISteamUser_SteamUser014_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser014_GetUserDataFolder_params +{ + void *linux_side; + bool _ret; + char *pchBuffer; + int cubBuffer; +}; +extern void cppISteamUser_SteamUser014_GetUserDataFolder( struct cppISteamUser_SteamUser014_GetUserDataFolder_params *params ); + +struct cppISteamUser_SteamUser014_StartVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser014_StartVoiceRecording( struct cppISteamUser_SteamUser014_StartVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser014_StopVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser014_StopVoiceRecording( struct cppISteamUser_SteamUser014_StopVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser014_GetAvailableVoice_params +{ + void *linux_side; + EVoiceResult _ret; + uint32 *pcbCompressed; + uint32 *pcbUncompressed; +}; +extern void cppISteamUser_SteamUser014_GetAvailableVoice( struct cppISteamUser_SteamUser014_GetAvailableVoice_params *params ); + +struct cppISteamUser_SteamUser014_GetVoice_params +{ + void *linux_side; + EVoiceResult _ret; + bool bWantCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + bool bWantUncompressed; + void *pUncompressedDestBuffer; + uint32 cbUncompressedDestBufferSize; + uint32 *nUncompressBytesWritten; +}; +extern void cppISteamUser_SteamUser014_GetVoice( struct cppISteamUser_SteamUser014_GetVoice_params *params ); + +struct cppISteamUser_SteamUser014_DecompressVoice_params +{ + void *linux_side; + EVoiceResult _ret; + const void *pCompressed; + uint32 cbCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; +}; +extern void cppISteamUser_SteamUser014_DecompressVoice( struct cppISteamUser_SteamUser014_DecompressVoice_params *params ); + +struct cppISteamUser_SteamUser014_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser014_GetAuthSessionTicket( struct cppISteamUser_SteamUser014_GetAuthSessionTicket_params *params ); + +struct cppISteamUser_SteamUser014_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser014_BeginAuthSession( struct cppISteamUser_SteamUser014_BeginAuthSession_params *params ); + +struct cppISteamUser_SteamUser014_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser014_EndAuthSession( struct cppISteamUser_SteamUser014_EndAuthSession_params *params ); + +struct cppISteamUser_SteamUser014_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamUser_SteamUser014_CancelAuthTicket( struct cppISteamUser_SteamUser014_CancelAuthTicket_params *params ); + +struct cppISteamUser_SteamUser014_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamUser_SteamUser014_UserHasLicenseForApp( struct cppISteamUser_SteamUser014_UserHasLicenseForApp_params *params ); + +struct cppISteamUser_SteamUser014_BIsBehindNAT_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser014_BIsBehindNAT( struct cppISteamUser_SteamUser014_BIsBehindNAT_params *params ); + +struct cppISteamUser_SteamUser014_AdvertiseGame_params +{ + void *linux_side; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser014_AdvertiseGame( struct cppISteamUser_SteamUser014_AdvertiseGame_params *params ); + +struct cppISteamUser_SteamUser014_RequestEncryptedAppTicket_params +{ + void *linux_side; + SteamAPICall_t _ret; + void *pDataToInclude; + int cbDataToInclude; +}; +extern void cppISteamUser_SteamUser014_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser014_RequestEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser014_GetEncryptedAppTicket_params +{ + void *linux_side; + bool _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser014_GetEncryptedAppTicket( struct cppISteamUser_SteamUser014_GetEncryptedAppTicket_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser015.cpp b/lsteamclient/cppISteamUser_SteamUser015.cpp index 175521ee..d5dae1d7 100644 --- a/lsteamclient/cppISteamUser_SteamUser015.cpp +++ b/lsteamclient/cppISteamUser_SteamUser015.cpp @@ -11,144 +11,114 @@ extern "C" { #define SDKVER_112x #include "struct_converters.h" #include "cppISteamUser_SteamUser015.h" -HSteamUser cppISteamUser_SteamUser015_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser015_GetHSteamUser( struct cppISteamUser_SteamUser015_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser015_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser015_BLoggedOn( struct cppISteamUser_SteamUser015_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser015_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser015_GetSteamID( struct cppISteamUser_SteamUser015_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser015_InitiateGameConnection(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser015_InitiateGameConnection( struct cppISteamUser_SteamUser015_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser015_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser015_TerminateGameConnection( struct cppISteamUser_SteamUser015_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser015_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser015_TrackAppUsageEvent( struct cppISteamUser_SteamUser015_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -bool cppISteamUser_SteamUser015_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer) +void cppISteamUser_SteamUser015_GetUserDataFolder( struct cppISteamUser_SteamUser015_GetUserDataFolder_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer ); } -void cppISteamUser_SteamUser015_StartVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser015_StartVoiceRecording( struct cppISteamUser_SteamUser015_StartVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + ((ISteamUser*)params->linux_side)->StartVoiceRecording( ); } -void cppISteamUser_SteamUser015_StopVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser015_StopVoiceRecording( struct cppISteamUser_SteamUser015_StopVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + ((ISteamUser*)params->linux_side)->StopVoiceRecording( ); } -EVoiceResult cppISteamUser_SteamUser015_GetAvailableVoice(void *linux_side, uint32 *pcbCompressed, uint32 *pcbUncompressed) +void cppISteamUser_SteamUser015_GetAvailableVoice( struct cppISteamUser_SteamUser015_GetAvailableVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAvailableVoice( (uint32 *)params->pcbCompressed, (uint32 *)params->pcbUncompressed ); } -EVoiceResult cppISteamUser_SteamUser015_GetVoice(void *linux_side, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed, void *pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 *nUncompressBytesWritten) +void cppISteamUser_SteamUser015_GetVoice( struct cppISteamUser_SteamUser015_GetVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoice( (bool)params->bWantCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (bool)params->bWantUncompressed, (void *)params->pUncompressedDestBuffer, (uint32)params->cbUncompressedDestBufferSize, (uint32 *)params->nUncompressBytesWritten ); } -EVoiceResult cppISteamUser_SteamUser015_DecompressVoice(void *linux_side, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) +void cppISteamUser_SteamUser015_DecompressVoice( struct cppISteamUser_SteamUser015_DecompressVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (const void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (uint32)params->nDesiredSampleRate ); } -uint32 cppISteamUser_SteamUser015_GetVoiceOptimalSampleRate(void *linux_side) +void cppISteamUser_SteamUser015_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser015_GetVoiceOptimalSampleRate_params *params ) { - uint32 _ret; - _ret = ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoiceOptimalSampleRate( ); } -HAuthTicket cppISteamUser_SteamUser015_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser015_GetAuthSessionTicket( struct cppISteamUser_SteamUser015_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamUser_SteamUser015_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamUser_SteamUser015_BeginAuthSession( struct cppISteamUser_SteamUser015_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser015_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser015_EndAuthSession( struct cppISteamUser_SteamUser015_EndAuthSession_params *params ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser015_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamUser_SteamUser015_CancelAuthTicket( struct cppISteamUser_SteamUser015_CancelAuthTicket_params *params ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamUser_SteamUser015_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamUser_SteamUser015_UserHasLicenseForApp( struct cppISteamUser_SteamUser015_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamUser_SteamUser015_BIsBehindNAT(void *linux_side) +void cppISteamUser_SteamUser015_BIsBehindNAT( struct cppISteamUser_SteamUser015_BIsBehindNAT_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsBehindNAT(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsBehindNAT( ); } -void cppISteamUser_SteamUser015_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser015_AdvertiseGame( struct cppISteamUser_SteamUser015_AdvertiseGame_params *params ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->AdvertiseGame( (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer ); } -SteamAPICall_t cppISteamUser_SteamUser015_RequestEncryptedAppTicket(void *linux_side, void *pDataToInclude, int cbDataToInclude) +void cppISteamUser_SteamUser015_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser015_RequestEncryptedAppTicket_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestEncryptedAppTicket( (void *)params->pDataToInclude, (int)params->cbDataToInclude ); } -bool cppISteamUser_SteamUser015_GetEncryptedAppTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser015_GetEncryptedAppTicket( struct cppISteamUser_SteamUser015_GetEncryptedAppTicket_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetEncryptedAppTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser015.h b/lsteamclient/cppISteamUser_SteamUser015.h index 758f3e5d..8cec931d 100644 --- a/lsteamclient/cppISteamUser_SteamUser015.h +++ b/lsteamclient/cppISteamUser_SteamUser015.h @@ -1,22 +1,194 @@ -extern HSteamUser cppISteamUser_SteamUser015_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser015_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser015_GetSteamID(void *); -extern int cppISteamUser_SteamUser015_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser015_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser015_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser015_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser015_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser015_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser015_GetAvailableVoice(void *, uint32 *, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser015_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser015_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser015_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser015_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser015_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser015_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser015_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser015_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser015_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser015_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser015_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser015_GetEncryptedAppTicket(void *, void *, int, uint32 *); +struct cppISteamUser_SteamUser015_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser015_GetHSteamUser( struct cppISteamUser_SteamUser015_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser015_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser015_BLoggedOn( struct cppISteamUser_SteamUser015_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser015_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser015_GetSteamID( struct cppISteamUser_SteamUser015_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser015_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser015_InitiateGameConnection( struct cppISteamUser_SteamUser015_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser015_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser015_TerminateGameConnection( struct cppISteamUser_SteamUser015_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser015_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser015_TrackAppUsageEvent( struct cppISteamUser_SteamUser015_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser015_GetUserDataFolder_params +{ + void *linux_side; + bool _ret; + char *pchBuffer; + int cubBuffer; +}; +extern void cppISteamUser_SteamUser015_GetUserDataFolder( struct cppISteamUser_SteamUser015_GetUserDataFolder_params *params ); + +struct cppISteamUser_SteamUser015_StartVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser015_StartVoiceRecording( struct cppISteamUser_SteamUser015_StartVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser015_StopVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser015_StopVoiceRecording( struct cppISteamUser_SteamUser015_StopVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser015_GetAvailableVoice_params +{ + void *linux_side; + EVoiceResult _ret; + uint32 *pcbCompressed; + uint32 *pcbUncompressed; +}; +extern void cppISteamUser_SteamUser015_GetAvailableVoice( struct cppISteamUser_SteamUser015_GetAvailableVoice_params *params ); + +struct cppISteamUser_SteamUser015_GetVoice_params +{ + void *linux_side; + EVoiceResult _ret; + bool bWantCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + bool bWantUncompressed; + void *pUncompressedDestBuffer; + uint32 cbUncompressedDestBufferSize; + uint32 *nUncompressBytesWritten; +}; +extern void cppISteamUser_SteamUser015_GetVoice( struct cppISteamUser_SteamUser015_GetVoice_params *params ); + +struct cppISteamUser_SteamUser015_DecompressVoice_params +{ + void *linux_side; + EVoiceResult _ret; + const void *pCompressed; + uint32 cbCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + uint32 nDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser015_DecompressVoice( struct cppISteamUser_SteamUser015_DecompressVoice_params *params ); + +struct cppISteamUser_SteamUser015_GetVoiceOptimalSampleRate_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUser_SteamUser015_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser015_GetVoiceOptimalSampleRate_params *params ); + +struct cppISteamUser_SteamUser015_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser015_GetAuthSessionTicket( struct cppISteamUser_SteamUser015_GetAuthSessionTicket_params *params ); + +struct cppISteamUser_SteamUser015_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser015_BeginAuthSession( struct cppISteamUser_SteamUser015_BeginAuthSession_params *params ); + +struct cppISteamUser_SteamUser015_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser015_EndAuthSession( struct cppISteamUser_SteamUser015_EndAuthSession_params *params ); + +struct cppISteamUser_SteamUser015_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamUser_SteamUser015_CancelAuthTicket( struct cppISteamUser_SteamUser015_CancelAuthTicket_params *params ); + +struct cppISteamUser_SteamUser015_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamUser_SteamUser015_UserHasLicenseForApp( struct cppISteamUser_SteamUser015_UserHasLicenseForApp_params *params ); + +struct cppISteamUser_SteamUser015_BIsBehindNAT_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser015_BIsBehindNAT( struct cppISteamUser_SteamUser015_BIsBehindNAT_params *params ); + +struct cppISteamUser_SteamUser015_AdvertiseGame_params +{ + void *linux_side; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser015_AdvertiseGame( struct cppISteamUser_SteamUser015_AdvertiseGame_params *params ); + +struct cppISteamUser_SteamUser015_RequestEncryptedAppTicket_params +{ + void *linux_side; + SteamAPICall_t _ret; + void *pDataToInclude; + int cbDataToInclude; +}; +extern void cppISteamUser_SteamUser015_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser015_RequestEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser015_GetEncryptedAppTicket_params +{ + void *linux_side; + bool _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser015_GetEncryptedAppTicket( struct cppISteamUser_SteamUser015_GetEncryptedAppTicket_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser016.cpp b/lsteamclient/cppISteamUser_SteamUser016.cpp index 85e65742..aa832d9a 100644 --- a/lsteamclient/cppISteamUser_SteamUser016.cpp +++ b/lsteamclient/cppISteamUser_SteamUser016.cpp @@ -11,144 +11,114 @@ extern "C" { #define SDKVER_123a #include "struct_converters.h" #include "cppISteamUser_SteamUser016.h" -HSteamUser cppISteamUser_SteamUser016_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser016_GetHSteamUser( struct cppISteamUser_SteamUser016_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser016_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser016_BLoggedOn( struct cppISteamUser_SteamUser016_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser016_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser016_GetSteamID( struct cppISteamUser_SteamUser016_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser016_InitiateGameConnection(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser016_InitiateGameConnection( struct cppISteamUser_SteamUser016_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser016_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser016_TerminateGameConnection( struct cppISteamUser_SteamUser016_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser016_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser016_TrackAppUsageEvent( struct cppISteamUser_SteamUser016_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -bool cppISteamUser_SteamUser016_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer) +void cppISteamUser_SteamUser016_GetUserDataFolder( struct cppISteamUser_SteamUser016_GetUserDataFolder_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer ); } -void cppISteamUser_SteamUser016_StartVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser016_StartVoiceRecording( struct cppISteamUser_SteamUser016_StartVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + ((ISteamUser*)params->linux_side)->StartVoiceRecording( ); } -void cppISteamUser_SteamUser016_StopVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser016_StopVoiceRecording( struct cppISteamUser_SteamUser016_StopVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + ((ISteamUser*)params->linux_side)->StopVoiceRecording( ); } -EVoiceResult cppISteamUser_SteamUser016_GetAvailableVoice(void *linux_side, uint32 *pcbCompressed, uint32 *pcbUncompressed, uint32 nUncompressedVoiceDesiredSampleRate) +void cppISteamUser_SteamUser016_GetAvailableVoice( struct cppISteamUser_SteamUser016_GetAvailableVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed, (uint32)nUncompressedVoiceDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAvailableVoice( (uint32 *)params->pcbCompressed, (uint32 *)params->pcbUncompressed, (uint32)params->nUncompressedVoiceDesiredSampleRate ); } -EVoiceResult cppISteamUser_SteamUser016_GetVoice(void *linux_side, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed, void *pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 *nUncompressBytesWritten, uint32 nUncompressedVoiceDesiredSampleRate) +void cppISteamUser_SteamUser016_GetVoice( struct cppISteamUser_SteamUser016_GetVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten, (uint32)nUncompressedVoiceDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoice( (bool)params->bWantCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (bool)params->bWantUncompressed, (void *)params->pUncompressedDestBuffer, (uint32)params->cbUncompressedDestBufferSize, (uint32 *)params->nUncompressBytesWritten, (uint32)params->nUncompressedVoiceDesiredSampleRate ); } -EVoiceResult cppISteamUser_SteamUser016_DecompressVoice(void *linux_side, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) +void cppISteamUser_SteamUser016_DecompressVoice( struct cppISteamUser_SteamUser016_DecompressVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (const void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (uint32)params->nDesiredSampleRate ); } -uint32 cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate(void *linux_side) +void cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate_params *params ) { - uint32 _ret; - _ret = ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoiceOptimalSampleRate( ); } -HAuthTicket cppISteamUser_SteamUser016_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser016_GetAuthSessionTicket( struct cppISteamUser_SteamUser016_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamUser_SteamUser016_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamUser_SteamUser016_BeginAuthSession( struct cppISteamUser_SteamUser016_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser016_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser016_EndAuthSession( struct cppISteamUser_SteamUser016_EndAuthSession_params *params ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser016_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamUser_SteamUser016_CancelAuthTicket( struct cppISteamUser_SteamUser016_CancelAuthTicket_params *params ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamUser_SteamUser016_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamUser_SteamUser016_UserHasLicenseForApp( struct cppISteamUser_SteamUser016_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamUser_SteamUser016_BIsBehindNAT(void *linux_side) +void cppISteamUser_SteamUser016_BIsBehindNAT( struct cppISteamUser_SteamUser016_BIsBehindNAT_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsBehindNAT(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsBehindNAT( ); } -void cppISteamUser_SteamUser016_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser016_AdvertiseGame( struct cppISteamUser_SteamUser016_AdvertiseGame_params *params ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->AdvertiseGame( (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer ); } -SteamAPICall_t cppISteamUser_SteamUser016_RequestEncryptedAppTicket(void *linux_side, void *pDataToInclude, int cbDataToInclude) +void cppISteamUser_SteamUser016_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser016_RequestEncryptedAppTicket_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestEncryptedAppTicket( (void *)params->pDataToInclude, (int)params->cbDataToInclude ); } -bool cppISteamUser_SteamUser016_GetEncryptedAppTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser016_GetEncryptedAppTicket( struct cppISteamUser_SteamUser016_GetEncryptedAppTicket_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetEncryptedAppTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser016.h b/lsteamclient/cppISteamUser_SteamUser016.h index 6e2003d9..b9f05210 100644 --- a/lsteamclient/cppISteamUser_SteamUser016.h +++ b/lsteamclient/cppISteamUser_SteamUser016.h @@ -1,22 +1,196 @@ -extern HSteamUser cppISteamUser_SteamUser016_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser016_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser016_GetSteamID(void *); -extern int cppISteamUser_SteamUser016_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser016_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser016_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser016_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser016_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser016_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser016_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser016_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser016_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser016_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser016_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser016_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser016_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser016_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser016_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser016_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser016_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser016_GetEncryptedAppTicket(void *, void *, int, uint32 *); +struct cppISteamUser_SteamUser016_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser016_GetHSteamUser( struct cppISteamUser_SteamUser016_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser016_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser016_BLoggedOn( struct cppISteamUser_SteamUser016_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser016_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser016_GetSteamID( struct cppISteamUser_SteamUser016_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser016_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser016_InitiateGameConnection( struct cppISteamUser_SteamUser016_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser016_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser016_TerminateGameConnection( struct cppISteamUser_SteamUser016_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser016_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser016_TrackAppUsageEvent( struct cppISteamUser_SteamUser016_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser016_GetUserDataFolder_params +{ + void *linux_side; + bool _ret; + char *pchBuffer; + int cubBuffer; +}; +extern void cppISteamUser_SteamUser016_GetUserDataFolder( struct cppISteamUser_SteamUser016_GetUserDataFolder_params *params ); + +struct cppISteamUser_SteamUser016_StartVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser016_StartVoiceRecording( struct cppISteamUser_SteamUser016_StartVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser016_StopVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser016_StopVoiceRecording( struct cppISteamUser_SteamUser016_StopVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser016_GetAvailableVoice_params +{ + void *linux_side; + EVoiceResult _ret; + uint32 *pcbCompressed; + uint32 *pcbUncompressed; + uint32 nUncompressedVoiceDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser016_GetAvailableVoice( struct cppISteamUser_SteamUser016_GetAvailableVoice_params *params ); + +struct cppISteamUser_SteamUser016_GetVoice_params +{ + void *linux_side; + EVoiceResult _ret; + bool bWantCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + bool bWantUncompressed; + void *pUncompressedDestBuffer; + uint32 cbUncompressedDestBufferSize; + uint32 *nUncompressBytesWritten; + uint32 nUncompressedVoiceDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser016_GetVoice( struct cppISteamUser_SteamUser016_GetVoice_params *params ); + +struct cppISteamUser_SteamUser016_DecompressVoice_params +{ + void *linux_side; + EVoiceResult _ret; + const void *pCompressed; + uint32 cbCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + uint32 nDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser016_DecompressVoice( struct cppISteamUser_SteamUser016_DecompressVoice_params *params ); + +struct cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate_params *params ); + +struct cppISteamUser_SteamUser016_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser016_GetAuthSessionTicket( struct cppISteamUser_SteamUser016_GetAuthSessionTicket_params *params ); + +struct cppISteamUser_SteamUser016_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser016_BeginAuthSession( struct cppISteamUser_SteamUser016_BeginAuthSession_params *params ); + +struct cppISteamUser_SteamUser016_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser016_EndAuthSession( struct cppISteamUser_SteamUser016_EndAuthSession_params *params ); + +struct cppISteamUser_SteamUser016_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamUser_SteamUser016_CancelAuthTicket( struct cppISteamUser_SteamUser016_CancelAuthTicket_params *params ); + +struct cppISteamUser_SteamUser016_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamUser_SteamUser016_UserHasLicenseForApp( struct cppISteamUser_SteamUser016_UserHasLicenseForApp_params *params ); + +struct cppISteamUser_SteamUser016_BIsBehindNAT_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser016_BIsBehindNAT( struct cppISteamUser_SteamUser016_BIsBehindNAT_params *params ); + +struct cppISteamUser_SteamUser016_AdvertiseGame_params +{ + void *linux_side; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser016_AdvertiseGame( struct cppISteamUser_SteamUser016_AdvertiseGame_params *params ); + +struct cppISteamUser_SteamUser016_RequestEncryptedAppTicket_params +{ + void *linux_side; + SteamAPICall_t _ret; + void *pDataToInclude; + int cbDataToInclude; +}; +extern void cppISteamUser_SteamUser016_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser016_RequestEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser016_GetEncryptedAppTicket_params +{ + void *linux_side; + bool _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser016_GetEncryptedAppTicket( struct cppISteamUser_SteamUser016_GetEncryptedAppTicket_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser017.cpp b/lsteamclient/cppISteamUser_SteamUser017.cpp index 509eaef9..e5d075ce 100644 --- a/lsteamclient/cppISteamUser_SteamUser017.cpp +++ b/lsteamclient/cppISteamUser_SteamUser017.cpp @@ -11,158 +11,124 @@ extern "C" { #define SDKVER_131 #include "struct_converters.h" #include "cppISteamUser_SteamUser017.h" -HSteamUser cppISteamUser_SteamUser017_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser017_GetHSteamUser( struct cppISteamUser_SteamUser017_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser017_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser017_BLoggedOn( struct cppISteamUser_SteamUser017_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser017_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser017_GetSteamID( struct cppISteamUser_SteamUser017_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser017_InitiateGameConnection(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser017_InitiateGameConnection( struct cppISteamUser_SteamUser017_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser017_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser017_TerminateGameConnection( struct cppISteamUser_SteamUser017_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser017_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser017_TrackAppUsageEvent( struct cppISteamUser_SteamUser017_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -bool cppISteamUser_SteamUser017_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer) +void cppISteamUser_SteamUser017_GetUserDataFolder( struct cppISteamUser_SteamUser017_GetUserDataFolder_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer ); } -void cppISteamUser_SteamUser017_StartVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser017_StartVoiceRecording( struct cppISteamUser_SteamUser017_StartVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + ((ISteamUser*)params->linux_side)->StartVoiceRecording( ); } -void cppISteamUser_SteamUser017_StopVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser017_StopVoiceRecording( struct cppISteamUser_SteamUser017_StopVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + ((ISteamUser*)params->linux_side)->StopVoiceRecording( ); } -EVoiceResult cppISteamUser_SteamUser017_GetAvailableVoice(void *linux_side, uint32 *pcbCompressed, uint32 *pcbUncompressed, uint32 nUncompressedVoiceDesiredSampleRate) +void cppISteamUser_SteamUser017_GetAvailableVoice( struct cppISteamUser_SteamUser017_GetAvailableVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed, (uint32)nUncompressedVoiceDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAvailableVoice( (uint32 *)params->pcbCompressed, (uint32 *)params->pcbUncompressed, (uint32)params->nUncompressedVoiceDesiredSampleRate ); } -EVoiceResult cppISteamUser_SteamUser017_GetVoice(void *linux_side, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed, void *pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 *nUncompressBytesWritten, uint32 nUncompressedVoiceDesiredSampleRate) +void cppISteamUser_SteamUser017_GetVoice( struct cppISteamUser_SteamUser017_GetVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten, (uint32)nUncompressedVoiceDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoice( (bool)params->bWantCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (bool)params->bWantUncompressed, (void *)params->pUncompressedDestBuffer, (uint32)params->cbUncompressedDestBufferSize, (uint32 *)params->nUncompressBytesWritten, (uint32)params->nUncompressedVoiceDesiredSampleRate ); } -EVoiceResult cppISteamUser_SteamUser017_DecompressVoice(void *linux_side, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) +void cppISteamUser_SteamUser017_DecompressVoice( struct cppISteamUser_SteamUser017_DecompressVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (const void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (uint32)params->nDesiredSampleRate ); } -uint32 cppISteamUser_SteamUser017_GetVoiceOptimalSampleRate(void *linux_side) +void cppISteamUser_SteamUser017_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser017_GetVoiceOptimalSampleRate_params *params ) { - uint32 _ret; - _ret = ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoiceOptimalSampleRate( ); } -HAuthTicket cppISteamUser_SteamUser017_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser017_GetAuthSessionTicket( struct cppISteamUser_SteamUser017_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamUser_SteamUser017_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamUser_SteamUser017_BeginAuthSession( struct cppISteamUser_SteamUser017_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser017_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser017_EndAuthSession( struct cppISteamUser_SteamUser017_EndAuthSession_params *params ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser017_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamUser_SteamUser017_CancelAuthTicket( struct cppISteamUser_SteamUser017_CancelAuthTicket_params *params ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamUser_SteamUser017_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamUser_SteamUser017_UserHasLicenseForApp( struct cppISteamUser_SteamUser017_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamUser_SteamUser017_BIsBehindNAT(void *linux_side) +void cppISteamUser_SteamUser017_BIsBehindNAT( struct cppISteamUser_SteamUser017_BIsBehindNAT_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsBehindNAT(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsBehindNAT( ); } -void cppISteamUser_SteamUser017_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser017_AdvertiseGame( struct cppISteamUser_SteamUser017_AdvertiseGame_params *params ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->AdvertiseGame( (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer ); } -SteamAPICall_t cppISteamUser_SteamUser017_RequestEncryptedAppTicket(void *linux_side, void *pDataToInclude, int cbDataToInclude) +void cppISteamUser_SteamUser017_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser017_RequestEncryptedAppTicket_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestEncryptedAppTicket( (void *)params->pDataToInclude, (int)params->cbDataToInclude ); } -bool cppISteamUser_SteamUser017_GetEncryptedAppTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser017_GetEncryptedAppTicket( struct cppISteamUser_SteamUser017_GetEncryptedAppTicket_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetEncryptedAppTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -int cppISteamUser_SteamUser017_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +void cppISteamUser_SteamUser017_GetGameBadgeLevel( struct cppISteamUser_SteamUser017_GetGameBadgeLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGameBadgeLevel( (int)params->nSeries, (bool)params->bFoil ); } -int cppISteamUser_SteamUser017_GetPlayerSteamLevel(void *linux_side) +void cppISteamUser_SteamUser017_GetPlayerSteamLevel( struct cppISteamUser_SteamUser017_GetPlayerSteamLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetPlayerSteamLevel( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser017.h b/lsteamclient/cppISteamUser_SteamUser017.h index 83e6fd32..b5020a9c 100644 --- a/lsteamclient/cppISteamUser_SteamUser017.h +++ b/lsteamclient/cppISteamUser_SteamUser017.h @@ -1,24 +1,212 @@ -extern HSteamUser cppISteamUser_SteamUser017_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser017_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser017_GetSteamID(void *); -extern int cppISteamUser_SteamUser017_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser017_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser017_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser017_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser017_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser017_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser017_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser017_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser017_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser017_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser017_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser017_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser017_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser017_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser017_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser017_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser017_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser017_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser017_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser017_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser017_GetPlayerSteamLevel(void *); +struct cppISteamUser_SteamUser017_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser017_GetHSteamUser( struct cppISteamUser_SteamUser017_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser017_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser017_BLoggedOn( struct cppISteamUser_SteamUser017_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser017_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser017_GetSteamID( struct cppISteamUser_SteamUser017_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser017_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser017_InitiateGameConnection( struct cppISteamUser_SteamUser017_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser017_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser017_TerminateGameConnection( struct cppISteamUser_SteamUser017_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser017_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser017_TrackAppUsageEvent( struct cppISteamUser_SteamUser017_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser017_GetUserDataFolder_params +{ + void *linux_side; + bool _ret; + char *pchBuffer; + int cubBuffer; +}; +extern void cppISteamUser_SteamUser017_GetUserDataFolder( struct cppISteamUser_SteamUser017_GetUserDataFolder_params *params ); + +struct cppISteamUser_SteamUser017_StartVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser017_StartVoiceRecording( struct cppISteamUser_SteamUser017_StartVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser017_StopVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser017_StopVoiceRecording( struct cppISteamUser_SteamUser017_StopVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser017_GetAvailableVoice_params +{ + void *linux_side; + EVoiceResult _ret; + uint32 *pcbCompressed; + uint32 *pcbUncompressed; + uint32 nUncompressedVoiceDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser017_GetAvailableVoice( struct cppISteamUser_SteamUser017_GetAvailableVoice_params *params ); + +struct cppISteamUser_SteamUser017_GetVoice_params +{ + void *linux_side; + EVoiceResult _ret; + bool bWantCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + bool bWantUncompressed; + void *pUncompressedDestBuffer; + uint32 cbUncompressedDestBufferSize; + uint32 *nUncompressBytesWritten; + uint32 nUncompressedVoiceDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser017_GetVoice( struct cppISteamUser_SteamUser017_GetVoice_params *params ); + +struct cppISteamUser_SteamUser017_DecompressVoice_params +{ + void *linux_side; + EVoiceResult _ret; + const void *pCompressed; + uint32 cbCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + uint32 nDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser017_DecompressVoice( struct cppISteamUser_SteamUser017_DecompressVoice_params *params ); + +struct cppISteamUser_SteamUser017_GetVoiceOptimalSampleRate_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUser_SteamUser017_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser017_GetVoiceOptimalSampleRate_params *params ); + +struct cppISteamUser_SteamUser017_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser017_GetAuthSessionTicket( struct cppISteamUser_SteamUser017_GetAuthSessionTicket_params *params ); + +struct cppISteamUser_SteamUser017_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser017_BeginAuthSession( struct cppISteamUser_SteamUser017_BeginAuthSession_params *params ); + +struct cppISteamUser_SteamUser017_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser017_EndAuthSession( struct cppISteamUser_SteamUser017_EndAuthSession_params *params ); + +struct cppISteamUser_SteamUser017_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamUser_SteamUser017_CancelAuthTicket( struct cppISteamUser_SteamUser017_CancelAuthTicket_params *params ); + +struct cppISteamUser_SteamUser017_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamUser_SteamUser017_UserHasLicenseForApp( struct cppISteamUser_SteamUser017_UserHasLicenseForApp_params *params ); + +struct cppISteamUser_SteamUser017_BIsBehindNAT_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser017_BIsBehindNAT( struct cppISteamUser_SteamUser017_BIsBehindNAT_params *params ); + +struct cppISteamUser_SteamUser017_AdvertiseGame_params +{ + void *linux_side; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser017_AdvertiseGame( struct cppISteamUser_SteamUser017_AdvertiseGame_params *params ); + +struct cppISteamUser_SteamUser017_RequestEncryptedAppTicket_params +{ + void *linux_side; + SteamAPICall_t _ret; + void *pDataToInclude; + int cbDataToInclude; +}; +extern void cppISteamUser_SteamUser017_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser017_RequestEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser017_GetEncryptedAppTicket_params +{ + void *linux_side; + bool _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser017_GetEncryptedAppTicket( struct cppISteamUser_SteamUser017_GetEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser017_GetGameBadgeLevel_params +{ + void *linux_side; + int _ret; + int nSeries; + bool bFoil; +}; +extern void cppISteamUser_SteamUser017_GetGameBadgeLevel( struct cppISteamUser_SteamUser017_GetGameBadgeLevel_params *params ); + +struct cppISteamUser_SteamUser017_GetPlayerSteamLevel_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamUser_SteamUser017_GetPlayerSteamLevel( struct cppISteamUser_SteamUser017_GetPlayerSteamLevel_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser018.cpp b/lsteamclient/cppISteamUser_SteamUser018.cpp index a6640852..7ebfb7ac 100644 --- a/lsteamclient/cppISteamUser_SteamUser018.cpp +++ b/lsteamclient/cppISteamUser_SteamUser018.cpp @@ -11,165 +11,129 @@ extern "C" { #define SDKVER_136 #include "struct_converters.h" #include "cppISteamUser_SteamUser018.h" -HSteamUser cppISteamUser_SteamUser018_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser018_GetHSteamUser( struct cppISteamUser_SteamUser018_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser018_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser018_BLoggedOn( struct cppISteamUser_SteamUser018_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser018_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser018_GetSteamID( struct cppISteamUser_SteamUser018_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser018_InitiateGameConnection(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser018_InitiateGameConnection( struct cppISteamUser_SteamUser018_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser018_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser018_TerminateGameConnection( struct cppISteamUser_SteamUser018_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser018_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser018_TrackAppUsageEvent( struct cppISteamUser_SteamUser018_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -bool cppISteamUser_SteamUser018_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer) +void cppISteamUser_SteamUser018_GetUserDataFolder( struct cppISteamUser_SteamUser018_GetUserDataFolder_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer ); } -void cppISteamUser_SteamUser018_StartVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser018_StartVoiceRecording( struct cppISteamUser_SteamUser018_StartVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + ((ISteamUser*)params->linux_side)->StartVoiceRecording( ); } -void cppISteamUser_SteamUser018_StopVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser018_StopVoiceRecording( struct cppISteamUser_SteamUser018_StopVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + ((ISteamUser*)params->linux_side)->StopVoiceRecording( ); } -EVoiceResult cppISteamUser_SteamUser018_GetAvailableVoice(void *linux_side, uint32 *pcbCompressed, uint32 *pcbUncompressed, uint32 nUncompressedVoiceDesiredSampleRate) +void cppISteamUser_SteamUser018_GetAvailableVoice( struct cppISteamUser_SteamUser018_GetAvailableVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed, (uint32)nUncompressedVoiceDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAvailableVoice( (uint32 *)params->pcbCompressed, (uint32 *)params->pcbUncompressed, (uint32)params->nUncompressedVoiceDesiredSampleRate ); } -EVoiceResult cppISteamUser_SteamUser018_GetVoice(void *linux_side, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed, void *pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 *nUncompressBytesWritten, uint32 nUncompressedVoiceDesiredSampleRate) +void cppISteamUser_SteamUser018_GetVoice( struct cppISteamUser_SteamUser018_GetVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten, (uint32)nUncompressedVoiceDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoice( (bool)params->bWantCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (bool)params->bWantUncompressed, (void *)params->pUncompressedDestBuffer, (uint32)params->cbUncompressedDestBufferSize, (uint32 *)params->nUncompressBytesWritten, (uint32)params->nUncompressedVoiceDesiredSampleRate ); } -EVoiceResult cppISteamUser_SteamUser018_DecompressVoice(void *linux_side, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) +void cppISteamUser_SteamUser018_DecompressVoice( struct cppISteamUser_SteamUser018_DecompressVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (const void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (uint32)params->nDesiredSampleRate ); } -uint32 cppISteamUser_SteamUser018_GetVoiceOptimalSampleRate(void *linux_side) +void cppISteamUser_SteamUser018_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser018_GetVoiceOptimalSampleRate_params *params ) { - uint32 _ret; - _ret = ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoiceOptimalSampleRate( ); } -HAuthTicket cppISteamUser_SteamUser018_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser018_GetAuthSessionTicket( struct cppISteamUser_SteamUser018_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamUser_SteamUser018_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamUser_SteamUser018_BeginAuthSession( struct cppISteamUser_SteamUser018_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser018_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser018_EndAuthSession( struct cppISteamUser_SteamUser018_EndAuthSession_params *params ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser018_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamUser_SteamUser018_CancelAuthTicket( struct cppISteamUser_SteamUser018_CancelAuthTicket_params *params ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamUser_SteamUser018_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamUser_SteamUser018_UserHasLicenseForApp( struct cppISteamUser_SteamUser018_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamUser_SteamUser018_BIsBehindNAT(void *linux_side) +void cppISteamUser_SteamUser018_BIsBehindNAT( struct cppISteamUser_SteamUser018_BIsBehindNAT_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsBehindNAT(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsBehindNAT( ); } -void cppISteamUser_SteamUser018_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser018_AdvertiseGame( struct cppISteamUser_SteamUser018_AdvertiseGame_params *params ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->AdvertiseGame( (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer ); } -SteamAPICall_t cppISteamUser_SteamUser018_RequestEncryptedAppTicket(void *linux_side, void *pDataToInclude, int cbDataToInclude) +void cppISteamUser_SteamUser018_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser018_RequestEncryptedAppTicket_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestEncryptedAppTicket( (void *)params->pDataToInclude, (int)params->cbDataToInclude ); } -bool cppISteamUser_SteamUser018_GetEncryptedAppTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser018_GetEncryptedAppTicket( struct cppISteamUser_SteamUser018_GetEncryptedAppTicket_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetEncryptedAppTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -int cppISteamUser_SteamUser018_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +void cppISteamUser_SteamUser018_GetGameBadgeLevel( struct cppISteamUser_SteamUser018_GetGameBadgeLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGameBadgeLevel( (int)params->nSeries, (bool)params->bFoil ); } -int cppISteamUser_SteamUser018_GetPlayerSteamLevel(void *linux_side) +void cppISteamUser_SteamUser018_GetPlayerSteamLevel( struct cppISteamUser_SteamUser018_GetPlayerSteamLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetPlayerSteamLevel( ); } -SteamAPICall_t cppISteamUser_SteamUser018_RequestStoreAuthURL(void *linux_side, const char *pchRedirectURL) +void cppISteamUser_SteamUser018_RequestStoreAuthURL( struct cppISteamUser_SteamUser018_RequestStoreAuthURL_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestStoreAuthURL((const char *)pchRedirectURL); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestStoreAuthURL( (const char *)params->pchRedirectURL ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser018.h b/lsteamclient/cppISteamUser_SteamUser018.h index fa3f3bfb..54a7262a 100644 --- a/lsteamclient/cppISteamUser_SteamUser018.h +++ b/lsteamclient/cppISteamUser_SteamUser018.h @@ -1,25 +1,220 @@ -extern HSteamUser cppISteamUser_SteamUser018_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser018_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser018_GetSteamID(void *); -extern int cppISteamUser_SteamUser018_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser018_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser018_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser018_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser018_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser018_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser018_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser018_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser018_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser018_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser018_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser018_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser018_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser018_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser018_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser018_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser018_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser018_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser018_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser018_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser018_GetPlayerSteamLevel(void *); -extern SteamAPICall_t cppISteamUser_SteamUser018_RequestStoreAuthURL(void *, const char *); +struct cppISteamUser_SteamUser018_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser018_GetHSteamUser( struct cppISteamUser_SteamUser018_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser018_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser018_BLoggedOn( struct cppISteamUser_SteamUser018_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser018_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser018_GetSteamID( struct cppISteamUser_SteamUser018_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser018_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser018_InitiateGameConnection( struct cppISteamUser_SteamUser018_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser018_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser018_TerminateGameConnection( struct cppISteamUser_SteamUser018_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser018_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser018_TrackAppUsageEvent( struct cppISteamUser_SteamUser018_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser018_GetUserDataFolder_params +{ + void *linux_side; + bool _ret; + char *pchBuffer; + int cubBuffer; +}; +extern void cppISteamUser_SteamUser018_GetUserDataFolder( struct cppISteamUser_SteamUser018_GetUserDataFolder_params *params ); + +struct cppISteamUser_SteamUser018_StartVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser018_StartVoiceRecording( struct cppISteamUser_SteamUser018_StartVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser018_StopVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser018_StopVoiceRecording( struct cppISteamUser_SteamUser018_StopVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser018_GetAvailableVoice_params +{ + void *linux_side; + EVoiceResult _ret; + uint32 *pcbCompressed; + uint32 *pcbUncompressed; + uint32 nUncompressedVoiceDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser018_GetAvailableVoice( struct cppISteamUser_SteamUser018_GetAvailableVoice_params *params ); + +struct cppISteamUser_SteamUser018_GetVoice_params +{ + void *linux_side; + EVoiceResult _ret; + bool bWantCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + bool bWantUncompressed; + void *pUncompressedDestBuffer; + uint32 cbUncompressedDestBufferSize; + uint32 *nUncompressBytesWritten; + uint32 nUncompressedVoiceDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser018_GetVoice( struct cppISteamUser_SteamUser018_GetVoice_params *params ); + +struct cppISteamUser_SteamUser018_DecompressVoice_params +{ + void *linux_side; + EVoiceResult _ret; + const void *pCompressed; + uint32 cbCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + uint32 nDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser018_DecompressVoice( struct cppISteamUser_SteamUser018_DecompressVoice_params *params ); + +struct cppISteamUser_SteamUser018_GetVoiceOptimalSampleRate_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUser_SteamUser018_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser018_GetVoiceOptimalSampleRate_params *params ); + +struct cppISteamUser_SteamUser018_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser018_GetAuthSessionTicket( struct cppISteamUser_SteamUser018_GetAuthSessionTicket_params *params ); + +struct cppISteamUser_SteamUser018_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser018_BeginAuthSession( struct cppISteamUser_SteamUser018_BeginAuthSession_params *params ); + +struct cppISteamUser_SteamUser018_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser018_EndAuthSession( struct cppISteamUser_SteamUser018_EndAuthSession_params *params ); + +struct cppISteamUser_SteamUser018_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamUser_SteamUser018_CancelAuthTicket( struct cppISteamUser_SteamUser018_CancelAuthTicket_params *params ); + +struct cppISteamUser_SteamUser018_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamUser_SteamUser018_UserHasLicenseForApp( struct cppISteamUser_SteamUser018_UserHasLicenseForApp_params *params ); + +struct cppISteamUser_SteamUser018_BIsBehindNAT_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser018_BIsBehindNAT( struct cppISteamUser_SteamUser018_BIsBehindNAT_params *params ); + +struct cppISteamUser_SteamUser018_AdvertiseGame_params +{ + void *linux_side; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser018_AdvertiseGame( struct cppISteamUser_SteamUser018_AdvertiseGame_params *params ); + +struct cppISteamUser_SteamUser018_RequestEncryptedAppTicket_params +{ + void *linux_side; + SteamAPICall_t _ret; + void *pDataToInclude; + int cbDataToInclude; +}; +extern void cppISteamUser_SteamUser018_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser018_RequestEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser018_GetEncryptedAppTicket_params +{ + void *linux_side; + bool _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser018_GetEncryptedAppTicket( struct cppISteamUser_SteamUser018_GetEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser018_GetGameBadgeLevel_params +{ + void *linux_side; + int _ret; + int nSeries; + bool bFoil; +}; +extern void cppISteamUser_SteamUser018_GetGameBadgeLevel( struct cppISteamUser_SteamUser018_GetGameBadgeLevel_params *params ); + +struct cppISteamUser_SteamUser018_GetPlayerSteamLevel_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamUser_SteamUser018_GetPlayerSteamLevel( struct cppISteamUser_SteamUser018_GetPlayerSteamLevel_params *params ); + +struct cppISteamUser_SteamUser018_RequestStoreAuthURL_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchRedirectURL; +}; +extern void cppISteamUser_SteamUser018_RequestStoreAuthURL( struct cppISteamUser_SteamUser018_RequestStoreAuthURL_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser019.cpp b/lsteamclient/cppISteamUser_SteamUser019.cpp index e189178c..fb28e528 100644 --- a/lsteamclient/cppISteamUser_SteamUser019.cpp +++ b/lsteamclient/cppISteamUser_SteamUser019.cpp @@ -11,193 +11,149 @@ extern "C" { #define SDKVER_142 #include "struct_converters.h" #include "cppISteamUser_SteamUser019.h" -HSteamUser cppISteamUser_SteamUser019_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser019_GetHSteamUser( struct cppISteamUser_SteamUser019_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser019_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser019_BLoggedOn( struct cppISteamUser_SteamUser019_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser019_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser019_GetSteamID( struct cppISteamUser_SteamUser019_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser019_InitiateGameConnection(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser019_InitiateGameConnection( struct cppISteamUser_SteamUser019_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser019_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser019_TerminateGameConnection( struct cppISteamUser_SteamUser019_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser019_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser019_TrackAppUsageEvent( struct cppISteamUser_SteamUser019_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -bool cppISteamUser_SteamUser019_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer) +void cppISteamUser_SteamUser019_GetUserDataFolder( struct cppISteamUser_SteamUser019_GetUserDataFolder_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer ); } -void cppISteamUser_SteamUser019_StartVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser019_StartVoiceRecording( struct cppISteamUser_SteamUser019_StartVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + ((ISteamUser*)params->linux_side)->StartVoiceRecording( ); } -void cppISteamUser_SteamUser019_StopVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser019_StopVoiceRecording( struct cppISteamUser_SteamUser019_StopVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + ((ISteamUser*)params->linux_side)->StopVoiceRecording( ); } -EVoiceResult cppISteamUser_SteamUser019_GetAvailableVoice(void *linux_side, uint32 *pcbCompressed, uint32 *pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +void cppISteamUser_SteamUser019_GetAvailableVoice( struct cppISteamUser_SteamUser019_GetAvailableVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAvailableVoice( (uint32 *)params->pcbCompressed, (uint32 *)params->pcbUncompressed_Deprecated, (uint32)params->nUncompressedVoiceDesiredSampleRate_Deprecated ); } -EVoiceResult cppISteamUser_SteamUser019_GetVoice(void *linux_side, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 *nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +void cppISteamUser_SteamUser019_GetVoice( struct cppISteamUser_SteamUser019_GetVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed_Deprecated, (void *)pUncompressedDestBuffer_Deprecated, (uint32)cbUncompressedDestBufferSize_Deprecated, (uint32 *)nUncompressBytesWritten_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoice( (bool)params->bWantCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (bool)params->bWantUncompressed_Deprecated, (void *)params->pUncompressedDestBuffer_Deprecated, (uint32)params->cbUncompressedDestBufferSize_Deprecated, (uint32 *)params->nUncompressBytesWritten_Deprecated, (uint32)params->nUncompressedVoiceDesiredSampleRate_Deprecated ); } -EVoiceResult cppISteamUser_SteamUser019_DecompressVoice(void *linux_side, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) +void cppISteamUser_SteamUser019_DecompressVoice( struct cppISteamUser_SteamUser019_DecompressVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (const void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (uint32)params->nDesiredSampleRate ); } -uint32 cppISteamUser_SteamUser019_GetVoiceOptimalSampleRate(void *linux_side) +void cppISteamUser_SteamUser019_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser019_GetVoiceOptimalSampleRate_params *params ) { - uint32 _ret; - _ret = ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoiceOptimalSampleRate( ); } -HAuthTicket cppISteamUser_SteamUser019_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser019_GetAuthSessionTicket( struct cppISteamUser_SteamUser019_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamUser_SteamUser019_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamUser_SteamUser019_BeginAuthSession( struct cppISteamUser_SteamUser019_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser019_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser019_EndAuthSession( struct cppISteamUser_SteamUser019_EndAuthSession_params *params ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser019_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamUser_SteamUser019_CancelAuthTicket( struct cppISteamUser_SteamUser019_CancelAuthTicket_params *params ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamUser_SteamUser019_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamUser_SteamUser019_UserHasLicenseForApp( struct cppISteamUser_SteamUser019_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamUser_SteamUser019_BIsBehindNAT(void *linux_side) +void cppISteamUser_SteamUser019_BIsBehindNAT( struct cppISteamUser_SteamUser019_BIsBehindNAT_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsBehindNAT(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsBehindNAT( ); } -void cppISteamUser_SteamUser019_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser019_AdvertiseGame( struct cppISteamUser_SteamUser019_AdvertiseGame_params *params ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->AdvertiseGame( (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer ); } -SteamAPICall_t cppISteamUser_SteamUser019_RequestEncryptedAppTicket(void *linux_side, void *pDataToInclude, int cbDataToInclude) +void cppISteamUser_SteamUser019_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser019_RequestEncryptedAppTicket_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestEncryptedAppTicket( (void *)params->pDataToInclude, (int)params->cbDataToInclude ); } -bool cppISteamUser_SteamUser019_GetEncryptedAppTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser019_GetEncryptedAppTicket( struct cppISteamUser_SteamUser019_GetEncryptedAppTicket_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetEncryptedAppTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -int cppISteamUser_SteamUser019_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +void cppISteamUser_SteamUser019_GetGameBadgeLevel( struct cppISteamUser_SteamUser019_GetGameBadgeLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGameBadgeLevel( (int)params->nSeries, (bool)params->bFoil ); } -int cppISteamUser_SteamUser019_GetPlayerSteamLevel(void *linux_side) +void cppISteamUser_SteamUser019_GetPlayerSteamLevel( struct cppISteamUser_SteamUser019_GetPlayerSteamLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetPlayerSteamLevel( ); } -SteamAPICall_t cppISteamUser_SteamUser019_RequestStoreAuthURL(void *linux_side, const char *pchRedirectURL) +void cppISteamUser_SteamUser019_RequestStoreAuthURL( struct cppISteamUser_SteamUser019_RequestStoreAuthURL_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestStoreAuthURL((const char *)pchRedirectURL); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestStoreAuthURL( (const char *)params->pchRedirectURL ); } -bool cppISteamUser_SteamUser019_BIsPhoneVerified(void *linux_side) +void cppISteamUser_SteamUser019_BIsPhoneVerified( struct cppISteamUser_SteamUser019_BIsPhoneVerified_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneVerified(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneVerified( ); } -bool cppISteamUser_SteamUser019_BIsTwoFactorEnabled(void *linux_side) +void cppISteamUser_SteamUser019_BIsTwoFactorEnabled( struct cppISteamUser_SteamUser019_BIsTwoFactorEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsTwoFactorEnabled(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsTwoFactorEnabled( ); } -bool cppISteamUser_SteamUser019_BIsPhoneIdentifying(void *linux_side) +void cppISteamUser_SteamUser019_BIsPhoneIdentifying( struct cppISteamUser_SteamUser019_BIsPhoneIdentifying_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneIdentifying(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneIdentifying( ); } -bool cppISteamUser_SteamUser019_BIsPhoneRequiringVerification(void *linux_side) +void cppISteamUser_SteamUser019_BIsPhoneRequiringVerification( struct cppISteamUser_SteamUser019_BIsPhoneRequiringVerification_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneRequiringVerification(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneRequiringVerification( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser019.h b/lsteamclient/cppISteamUser_SteamUser019.h index 73377e75..d0d8f13d 100644 --- a/lsteamclient/cppISteamUser_SteamUser019.h +++ b/lsteamclient/cppISteamUser_SteamUser019.h @@ -1,29 +1,248 @@ -extern HSteamUser cppISteamUser_SteamUser019_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser019_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser019_GetSteamID(void *); -extern int cppISteamUser_SteamUser019_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser019_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser019_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser019_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser019_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser019_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser019_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser019_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser019_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser019_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser019_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser019_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser019_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser019_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser019_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser019_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser019_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser019_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser019_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser019_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser019_GetPlayerSteamLevel(void *); -extern SteamAPICall_t cppISteamUser_SteamUser019_RequestStoreAuthURL(void *, const char *); -extern bool cppISteamUser_SteamUser019_BIsPhoneVerified(void *); -extern bool cppISteamUser_SteamUser019_BIsTwoFactorEnabled(void *); -extern bool cppISteamUser_SteamUser019_BIsPhoneIdentifying(void *); -extern bool cppISteamUser_SteamUser019_BIsPhoneRequiringVerification(void *); +struct cppISteamUser_SteamUser019_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser019_GetHSteamUser( struct cppISteamUser_SteamUser019_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser019_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser019_BLoggedOn( struct cppISteamUser_SteamUser019_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser019_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser019_GetSteamID( struct cppISteamUser_SteamUser019_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser019_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser019_InitiateGameConnection( struct cppISteamUser_SteamUser019_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser019_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser019_TerminateGameConnection( struct cppISteamUser_SteamUser019_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser019_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser019_TrackAppUsageEvent( struct cppISteamUser_SteamUser019_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser019_GetUserDataFolder_params +{ + void *linux_side; + bool _ret; + char *pchBuffer; + int cubBuffer; +}; +extern void cppISteamUser_SteamUser019_GetUserDataFolder( struct cppISteamUser_SteamUser019_GetUserDataFolder_params *params ); + +struct cppISteamUser_SteamUser019_StartVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser019_StartVoiceRecording( struct cppISteamUser_SteamUser019_StartVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser019_StopVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser019_StopVoiceRecording( struct cppISteamUser_SteamUser019_StopVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser019_GetAvailableVoice_params +{ + void *linux_side; + EVoiceResult _ret; + uint32 *pcbCompressed; + uint32 *pcbUncompressed_Deprecated; + uint32 nUncompressedVoiceDesiredSampleRate_Deprecated; +}; +extern void cppISteamUser_SteamUser019_GetAvailableVoice( struct cppISteamUser_SteamUser019_GetAvailableVoice_params *params ); + +struct cppISteamUser_SteamUser019_GetVoice_params +{ + void *linux_side; + EVoiceResult _ret; + bool bWantCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + bool bWantUncompressed_Deprecated; + void *pUncompressedDestBuffer_Deprecated; + uint32 cbUncompressedDestBufferSize_Deprecated; + uint32 *nUncompressBytesWritten_Deprecated; + uint32 nUncompressedVoiceDesiredSampleRate_Deprecated; +}; +extern void cppISteamUser_SteamUser019_GetVoice( struct cppISteamUser_SteamUser019_GetVoice_params *params ); + +struct cppISteamUser_SteamUser019_DecompressVoice_params +{ + void *linux_side; + EVoiceResult _ret; + const void *pCompressed; + uint32 cbCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + uint32 nDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser019_DecompressVoice( struct cppISteamUser_SteamUser019_DecompressVoice_params *params ); + +struct cppISteamUser_SteamUser019_GetVoiceOptimalSampleRate_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUser_SteamUser019_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser019_GetVoiceOptimalSampleRate_params *params ); + +struct cppISteamUser_SteamUser019_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser019_GetAuthSessionTicket( struct cppISteamUser_SteamUser019_GetAuthSessionTicket_params *params ); + +struct cppISteamUser_SteamUser019_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser019_BeginAuthSession( struct cppISteamUser_SteamUser019_BeginAuthSession_params *params ); + +struct cppISteamUser_SteamUser019_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser019_EndAuthSession( struct cppISteamUser_SteamUser019_EndAuthSession_params *params ); + +struct cppISteamUser_SteamUser019_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamUser_SteamUser019_CancelAuthTicket( struct cppISteamUser_SteamUser019_CancelAuthTicket_params *params ); + +struct cppISteamUser_SteamUser019_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamUser_SteamUser019_UserHasLicenseForApp( struct cppISteamUser_SteamUser019_UserHasLicenseForApp_params *params ); + +struct cppISteamUser_SteamUser019_BIsBehindNAT_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser019_BIsBehindNAT( struct cppISteamUser_SteamUser019_BIsBehindNAT_params *params ); + +struct cppISteamUser_SteamUser019_AdvertiseGame_params +{ + void *linux_side; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser019_AdvertiseGame( struct cppISteamUser_SteamUser019_AdvertiseGame_params *params ); + +struct cppISteamUser_SteamUser019_RequestEncryptedAppTicket_params +{ + void *linux_side; + SteamAPICall_t _ret; + void *pDataToInclude; + int cbDataToInclude; +}; +extern void cppISteamUser_SteamUser019_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser019_RequestEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser019_GetEncryptedAppTicket_params +{ + void *linux_side; + bool _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser019_GetEncryptedAppTicket( struct cppISteamUser_SteamUser019_GetEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser019_GetGameBadgeLevel_params +{ + void *linux_side; + int _ret; + int nSeries; + bool bFoil; +}; +extern void cppISteamUser_SteamUser019_GetGameBadgeLevel( struct cppISteamUser_SteamUser019_GetGameBadgeLevel_params *params ); + +struct cppISteamUser_SteamUser019_GetPlayerSteamLevel_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamUser_SteamUser019_GetPlayerSteamLevel( struct cppISteamUser_SteamUser019_GetPlayerSteamLevel_params *params ); + +struct cppISteamUser_SteamUser019_RequestStoreAuthURL_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchRedirectURL; +}; +extern void cppISteamUser_SteamUser019_RequestStoreAuthURL( struct cppISteamUser_SteamUser019_RequestStoreAuthURL_params *params ); + +struct cppISteamUser_SteamUser019_BIsPhoneVerified_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser019_BIsPhoneVerified( struct cppISteamUser_SteamUser019_BIsPhoneVerified_params *params ); + +struct cppISteamUser_SteamUser019_BIsTwoFactorEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser019_BIsTwoFactorEnabled( struct cppISteamUser_SteamUser019_BIsTwoFactorEnabled_params *params ); + +struct cppISteamUser_SteamUser019_BIsPhoneIdentifying_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser019_BIsPhoneIdentifying( struct cppISteamUser_SteamUser019_BIsPhoneIdentifying_params *params ); + +struct cppISteamUser_SteamUser019_BIsPhoneRequiringVerification_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser019_BIsPhoneRequiringVerification( struct cppISteamUser_SteamUser019_BIsPhoneRequiringVerification_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser020.cpp b/lsteamclient/cppISteamUser_SteamUser020.cpp index 4cff876c..41af9da3 100644 --- a/lsteamclient/cppISteamUser_SteamUser020.cpp +++ b/lsteamclient/cppISteamUser_SteamUser020.cpp @@ -12,207 +12,159 @@ extern "C" { #define SDKVER_148a #include "struct_converters.h" #include "cppISteamUser_SteamUser020.h" -HSteamUser cppISteamUser_SteamUser020_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser020_GetHSteamUser( struct cppISteamUser_SteamUser020_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser020_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser020_BLoggedOn( struct cppISteamUser_SteamUser020_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser020_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser020_GetSteamID( struct cppISteamUser_SteamUser020_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser020_InitiateGameConnection(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser020_InitiateGameConnection( struct cppISteamUser_SteamUser020_InitiateGameConnection_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser020_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser020_TerminateGameConnection( struct cppISteamUser_SteamUser020_TerminateGameConnection_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser020_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser020_TrackAppUsageEvent( struct cppISteamUser_SteamUser020_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -bool cppISteamUser_SteamUser020_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer) +void cppISteamUser_SteamUser020_GetUserDataFolder( struct cppISteamUser_SteamUser020_GetUserDataFolder_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer ); } -void cppISteamUser_SteamUser020_StartVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser020_StartVoiceRecording( struct cppISteamUser_SteamUser020_StartVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + ((ISteamUser*)params->linux_side)->StartVoiceRecording( ); } -void cppISteamUser_SteamUser020_StopVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser020_StopVoiceRecording( struct cppISteamUser_SteamUser020_StopVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + ((ISteamUser*)params->linux_side)->StopVoiceRecording( ); } -EVoiceResult cppISteamUser_SteamUser020_GetAvailableVoice(void *linux_side, uint32 *pcbCompressed, uint32 *pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +void cppISteamUser_SteamUser020_GetAvailableVoice( struct cppISteamUser_SteamUser020_GetAvailableVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAvailableVoice( (uint32 *)params->pcbCompressed, (uint32 *)params->pcbUncompressed_Deprecated, (uint32)params->nUncompressedVoiceDesiredSampleRate_Deprecated ); } -EVoiceResult cppISteamUser_SteamUser020_GetVoice(void *linux_side, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 *nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +void cppISteamUser_SteamUser020_GetVoice( struct cppISteamUser_SteamUser020_GetVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed_Deprecated, (void *)pUncompressedDestBuffer_Deprecated, (uint32)cbUncompressedDestBufferSize_Deprecated, (uint32 *)nUncompressBytesWritten_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoice( (bool)params->bWantCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (bool)params->bWantUncompressed_Deprecated, (void *)params->pUncompressedDestBuffer_Deprecated, (uint32)params->cbUncompressedDestBufferSize_Deprecated, (uint32 *)params->nUncompressBytesWritten_Deprecated, (uint32)params->nUncompressedVoiceDesiredSampleRate_Deprecated ); } -EVoiceResult cppISteamUser_SteamUser020_DecompressVoice(void *linux_side, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) +void cppISteamUser_SteamUser020_DecompressVoice( struct cppISteamUser_SteamUser020_DecompressVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (const void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (uint32)params->nDesiredSampleRate ); } -uint32 cppISteamUser_SteamUser020_GetVoiceOptimalSampleRate(void *linux_side) +void cppISteamUser_SteamUser020_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser020_GetVoiceOptimalSampleRate_params *params ) { - uint32 _ret; - _ret = ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoiceOptimalSampleRate( ); } -HAuthTicket cppISteamUser_SteamUser020_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser020_GetAuthSessionTicket( struct cppISteamUser_SteamUser020_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamUser_SteamUser020_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamUser_SteamUser020_BeginAuthSession( struct cppISteamUser_SteamUser020_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser020_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser020_EndAuthSession( struct cppISteamUser_SteamUser020_EndAuthSession_params *params ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser020_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamUser_SteamUser020_CancelAuthTicket( struct cppISteamUser_SteamUser020_CancelAuthTicket_params *params ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamUser_SteamUser020_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamUser_SteamUser020_UserHasLicenseForApp( struct cppISteamUser_SteamUser020_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamUser_SteamUser020_BIsBehindNAT(void *linux_side) +void cppISteamUser_SteamUser020_BIsBehindNAT( struct cppISteamUser_SteamUser020_BIsBehindNAT_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsBehindNAT(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsBehindNAT( ); } -void cppISteamUser_SteamUser020_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser020_AdvertiseGame( struct cppISteamUser_SteamUser020_AdvertiseGame_params *params ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->AdvertiseGame( (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer ); } -SteamAPICall_t cppISteamUser_SteamUser020_RequestEncryptedAppTicket(void *linux_side, void *pDataToInclude, int cbDataToInclude) +void cppISteamUser_SteamUser020_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser020_RequestEncryptedAppTicket_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestEncryptedAppTicket( (void *)params->pDataToInclude, (int)params->cbDataToInclude ); } -bool cppISteamUser_SteamUser020_GetEncryptedAppTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser020_GetEncryptedAppTicket( struct cppISteamUser_SteamUser020_GetEncryptedAppTicket_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetEncryptedAppTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -int cppISteamUser_SteamUser020_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +void cppISteamUser_SteamUser020_GetGameBadgeLevel( struct cppISteamUser_SteamUser020_GetGameBadgeLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGameBadgeLevel( (int)params->nSeries, (bool)params->bFoil ); } -int cppISteamUser_SteamUser020_GetPlayerSteamLevel(void *linux_side) +void cppISteamUser_SteamUser020_GetPlayerSteamLevel( struct cppISteamUser_SteamUser020_GetPlayerSteamLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetPlayerSteamLevel( ); } -SteamAPICall_t cppISteamUser_SteamUser020_RequestStoreAuthURL(void *linux_side, const char *pchRedirectURL) +void cppISteamUser_SteamUser020_RequestStoreAuthURL( struct cppISteamUser_SteamUser020_RequestStoreAuthURL_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestStoreAuthURL((const char *)pchRedirectURL); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestStoreAuthURL( (const char *)params->pchRedirectURL ); } -bool cppISteamUser_SteamUser020_BIsPhoneVerified(void *linux_side) +void cppISteamUser_SteamUser020_BIsPhoneVerified( struct cppISteamUser_SteamUser020_BIsPhoneVerified_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneVerified(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneVerified( ); } -bool cppISteamUser_SteamUser020_BIsTwoFactorEnabled(void *linux_side) +void cppISteamUser_SteamUser020_BIsTwoFactorEnabled( struct cppISteamUser_SteamUser020_BIsTwoFactorEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsTwoFactorEnabled(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsTwoFactorEnabled( ); } -bool cppISteamUser_SteamUser020_BIsPhoneIdentifying(void *linux_side) +void cppISteamUser_SteamUser020_BIsPhoneIdentifying( struct cppISteamUser_SteamUser020_BIsPhoneIdentifying_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneIdentifying(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneIdentifying( ); } -bool cppISteamUser_SteamUser020_BIsPhoneRequiringVerification(void *linux_side) +void cppISteamUser_SteamUser020_BIsPhoneRequiringVerification( struct cppISteamUser_SteamUser020_BIsPhoneRequiringVerification_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneRequiringVerification(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneRequiringVerification( ); } -SteamAPICall_t cppISteamUser_SteamUser020_GetMarketEligibility(void *linux_side) +void cppISteamUser_SteamUser020_GetMarketEligibility( struct cppISteamUser_SteamUser020_GetMarketEligibility_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->GetMarketEligibility(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetMarketEligibility( ); } -SteamAPICall_t cppISteamUser_SteamUser020_GetDurationControl(void *linux_side) +void cppISteamUser_SteamUser020_GetDurationControl( struct cppISteamUser_SteamUser020_GetDurationControl_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->GetDurationControl(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetDurationControl( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser020.h b/lsteamclient/cppISteamUser_SteamUser020.h index 22f141a3..e0c52821 100644 --- a/lsteamclient/cppISteamUser_SteamUser020.h +++ b/lsteamclient/cppISteamUser_SteamUser020.h @@ -1,31 +1,262 @@ -extern HSteamUser cppISteamUser_SteamUser020_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser020_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser020_GetSteamID(void *); -extern int cppISteamUser_SteamUser020_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser020_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser020_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser020_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser020_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser020_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser020_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser020_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser020_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser020_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser020_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser020_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser020_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser020_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser020_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser020_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser020_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser020_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser020_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser020_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser020_GetPlayerSteamLevel(void *); -extern SteamAPICall_t cppISteamUser_SteamUser020_RequestStoreAuthURL(void *, const char *); -extern bool cppISteamUser_SteamUser020_BIsPhoneVerified(void *); -extern bool cppISteamUser_SteamUser020_BIsTwoFactorEnabled(void *); -extern bool cppISteamUser_SteamUser020_BIsPhoneIdentifying(void *); -extern bool cppISteamUser_SteamUser020_BIsPhoneRequiringVerification(void *); -extern SteamAPICall_t cppISteamUser_SteamUser020_GetMarketEligibility(void *); -extern SteamAPICall_t cppISteamUser_SteamUser020_GetDurationControl(void *); +struct cppISteamUser_SteamUser020_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser020_GetHSteamUser( struct cppISteamUser_SteamUser020_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser020_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser020_BLoggedOn( struct cppISteamUser_SteamUser020_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser020_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser020_GetSteamID( struct cppISteamUser_SteamUser020_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser020_InitiateGameConnection_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser020_InitiateGameConnection( struct cppISteamUser_SteamUser020_InitiateGameConnection_params *params ); + +struct cppISteamUser_SteamUser020_TerminateGameConnection_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser020_TerminateGameConnection( struct cppISteamUser_SteamUser020_TerminateGameConnection_params *params ); + +struct cppISteamUser_SteamUser020_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser020_TrackAppUsageEvent( struct cppISteamUser_SteamUser020_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser020_GetUserDataFolder_params +{ + void *linux_side; + bool _ret; + char *pchBuffer; + int cubBuffer; +}; +extern void cppISteamUser_SteamUser020_GetUserDataFolder( struct cppISteamUser_SteamUser020_GetUserDataFolder_params *params ); + +struct cppISteamUser_SteamUser020_StartVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser020_StartVoiceRecording( struct cppISteamUser_SteamUser020_StartVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser020_StopVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser020_StopVoiceRecording( struct cppISteamUser_SteamUser020_StopVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser020_GetAvailableVoice_params +{ + void *linux_side; + EVoiceResult _ret; + uint32 *pcbCompressed; + uint32 *pcbUncompressed_Deprecated; + uint32 nUncompressedVoiceDesiredSampleRate_Deprecated; +}; +extern void cppISteamUser_SteamUser020_GetAvailableVoice( struct cppISteamUser_SteamUser020_GetAvailableVoice_params *params ); + +struct cppISteamUser_SteamUser020_GetVoice_params +{ + void *linux_side; + EVoiceResult _ret; + bool bWantCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + bool bWantUncompressed_Deprecated; + void *pUncompressedDestBuffer_Deprecated; + uint32 cbUncompressedDestBufferSize_Deprecated; + uint32 *nUncompressBytesWritten_Deprecated; + uint32 nUncompressedVoiceDesiredSampleRate_Deprecated; +}; +extern void cppISteamUser_SteamUser020_GetVoice( struct cppISteamUser_SteamUser020_GetVoice_params *params ); + +struct cppISteamUser_SteamUser020_DecompressVoice_params +{ + void *linux_side; + EVoiceResult _ret; + const void *pCompressed; + uint32 cbCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + uint32 nDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser020_DecompressVoice( struct cppISteamUser_SteamUser020_DecompressVoice_params *params ); + +struct cppISteamUser_SteamUser020_GetVoiceOptimalSampleRate_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUser_SteamUser020_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser020_GetVoiceOptimalSampleRate_params *params ); + +struct cppISteamUser_SteamUser020_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser020_GetAuthSessionTicket( struct cppISteamUser_SteamUser020_GetAuthSessionTicket_params *params ); + +struct cppISteamUser_SteamUser020_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser020_BeginAuthSession( struct cppISteamUser_SteamUser020_BeginAuthSession_params *params ); + +struct cppISteamUser_SteamUser020_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser020_EndAuthSession( struct cppISteamUser_SteamUser020_EndAuthSession_params *params ); + +struct cppISteamUser_SteamUser020_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamUser_SteamUser020_CancelAuthTicket( struct cppISteamUser_SteamUser020_CancelAuthTicket_params *params ); + +struct cppISteamUser_SteamUser020_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamUser_SteamUser020_UserHasLicenseForApp( struct cppISteamUser_SteamUser020_UserHasLicenseForApp_params *params ); + +struct cppISteamUser_SteamUser020_BIsBehindNAT_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser020_BIsBehindNAT( struct cppISteamUser_SteamUser020_BIsBehindNAT_params *params ); + +struct cppISteamUser_SteamUser020_AdvertiseGame_params +{ + void *linux_side; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser020_AdvertiseGame( struct cppISteamUser_SteamUser020_AdvertiseGame_params *params ); + +struct cppISteamUser_SteamUser020_RequestEncryptedAppTicket_params +{ + void *linux_side; + SteamAPICall_t _ret; + void *pDataToInclude; + int cbDataToInclude; +}; +extern void cppISteamUser_SteamUser020_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser020_RequestEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser020_GetEncryptedAppTicket_params +{ + void *linux_side; + bool _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser020_GetEncryptedAppTicket( struct cppISteamUser_SteamUser020_GetEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser020_GetGameBadgeLevel_params +{ + void *linux_side; + int _ret; + int nSeries; + bool bFoil; +}; +extern void cppISteamUser_SteamUser020_GetGameBadgeLevel( struct cppISteamUser_SteamUser020_GetGameBadgeLevel_params *params ); + +struct cppISteamUser_SteamUser020_GetPlayerSteamLevel_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamUser_SteamUser020_GetPlayerSteamLevel( struct cppISteamUser_SteamUser020_GetPlayerSteamLevel_params *params ); + +struct cppISteamUser_SteamUser020_RequestStoreAuthURL_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchRedirectURL; +}; +extern void cppISteamUser_SteamUser020_RequestStoreAuthURL( struct cppISteamUser_SteamUser020_RequestStoreAuthURL_params *params ); + +struct cppISteamUser_SteamUser020_BIsPhoneVerified_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser020_BIsPhoneVerified( struct cppISteamUser_SteamUser020_BIsPhoneVerified_params *params ); + +struct cppISteamUser_SteamUser020_BIsTwoFactorEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser020_BIsTwoFactorEnabled( struct cppISteamUser_SteamUser020_BIsTwoFactorEnabled_params *params ); + +struct cppISteamUser_SteamUser020_BIsPhoneIdentifying_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser020_BIsPhoneIdentifying( struct cppISteamUser_SteamUser020_BIsPhoneIdentifying_params *params ); + +struct cppISteamUser_SteamUser020_BIsPhoneRequiringVerification_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser020_BIsPhoneRequiringVerification( struct cppISteamUser_SteamUser020_BIsPhoneRequiringVerification_params *params ); + +struct cppISteamUser_SteamUser020_GetMarketEligibility_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUser_SteamUser020_GetMarketEligibility( struct cppISteamUser_SteamUser020_GetMarketEligibility_params *params ); + +struct cppISteamUser_SteamUser020_GetDurationControl_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUser_SteamUser020_GetDurationControl( struct cppISteamUser_SteamUser020_GetDurationControl_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser021.cpp b/lsteamclient/cppISteamUser_SteamUser021.cpp index aa5fc109..5d62254d 100644 --- a/lsteamclient/cppISteamUser_SteamUser021.cpp +++ b/lsteamclient/cppISteamUser_SteamUser021.cpp @@ -12,214 +12,164 @@ extern "C" { #define SDKVER_155 #include "struct_converters.h" #include "cppISteamUser_SteamUser021.h" -HSteamUser cppISteamUser_SteamUser021_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser021_GetHSteamUser( struct cppISteamUser_SteamUser021_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser021_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser021_BLoggedOn( struct cppISteamUser_SteamUser021_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser021_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser021_GetSteamID( struct cppISteamUser_SteamUser021_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection_DEPRECATED((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection_DEPRECATED( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection_DEPRECATED((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection_DEPRECATED( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser021_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser021_TrackAppUsageEvent( struct cppISteamUser_SteamUser021_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -bool cppISteamUser_SteamUser021_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer) +void cppISteamUser_SteamUser021_GetUserDataFolder( struct cppISteamUser_SteamUser021_GetUserDataFolder_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer ); } -void cppISteamUser_SteamUser021_StartVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser021_StartVoiceRecording( struct cppISteamUser_SteamUser021_StartVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + ((ISteamUser*)params->linux_side)->StartVoiceRecording( ); } -void cppISteamUser_SteamUser021_StopVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser021_StopVoiceRecording( struct cppISteamUser_SteamUser021_StopVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + ((ISteamUser*)params->linux_side)->StopVoiceRecording( ); } -EVoiceResult cppISteamUser_SteamUser021_GetAvailableVoice(void *linux_side, uint32 *pcbCompressed, uint32 *pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +void cppISteamUser_SteamUser021_GetAvailableVoice( struct cppISteamUser_SteamUser021_GetAvailableVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAvailableVoice( (uint32 *)params->pcbCompressed, (uint32 *)params->pcbUncompressed_Deprecated, (uint32)params->nUncompressedVoiceDesiredSampleRate_Deprecated ); } -EVoiceResult cppISteamUser_SteamUser021_GetVoice(void *linux_side, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 *nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +void cppISteamUser_SteamUser021_GetVoice( struct cppISteamUser_SteamUser021_GetVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed_Deprecated, (void *)pUncompressedDestBuffer_Deprecated, (uint32)cbUncompressedDestBufferSize_Deprecated, (uint32 *)nUncompressBytesWritten_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoice( (bool)params->bWantCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (bool)params->bWantUncompressed_Deprecated, (void *)params->pUncompressedDestBuffer_Deprecated, (uint32)params->cbUncompressedDestBufferSize_Deprecated, (uint32 *)params->nUncompressBytesWritten_Deprecated, (uint32)params->nUncompressedVoiceDesiredSampleRate_Deprecated ); } -EVoiceResult cppISteamUser_SteamUser021_DecompressVoice(void *linux_side, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) +void cppISteamUser_SteamUser021_DecompressVoice( struct cppISteamUser_SteamUser021_DecompressVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (const void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (uint32)params->nDesiredSampleRate ); } -uint32 cppISteamUser_SteamUser021_GetVoiceOptimalSampleRate(void *linux_side) +void cppISteamUser_SteamUser021_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser021_GetVoiceOptimalSampleRate_params *params ) { - uint32 _ret; - _ret = ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoiceOptimalSampleRate( ); } -HAuthTicket cppISteamUser_SteamUser021_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser021_GetAuthSessionTicket( struct cppISteamUser_SteamUser021_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -EBeginAuthSessionResult cppISteamUser_SteamUser021_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamUser_SteamUser021_BeginAuthSession( struct cppISteamUser_SteamUser021_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser021_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser021_EndAuthSession( struct cppISteamUser_SteamUser021_EndAuthSession_params *params ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser021_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamUser_SteamUser021_CancelAuthTicket( struct cppISteamUser_SteamUser021_CancelAuthTicket_params *params ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamUser_SteamUser021_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamUser_SteamUser021_UserHasLicenseForApp( struct cppISteamUser_SteamUser021_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamUser_SteamUser021_BIsBehindNAT(void *linux_side) +void cppISteamUser_SteamUser021_BIsBehindNAT( struct cppISteamUser_SteamUser021_BIsBehindNAT_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsBehindNAT(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsBehindNAT( ); } -void cppISteamUser_SteamUser021_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser021_AdvertiseGame( struct cppISteamUser_SteamUser021_AdvertiseGame_params *params ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->AdvertiseGame( (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer ); } -SteamAPICall_t cppISteamUser_SteamUser021_RequestEncryptedAppTicket(void *linux_side, void *pDataToInclude, int cbDataToInclude) +void cppISteamUser_SteamUser021_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser021_RequestEncryptedAppTicket_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestEncryptedAppTicket( (void *)params->pDataToInclude, (int)params->cbDataToInclude ); } -bool cppISteamUser_SteamUser021_GetEncryptedAppTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser021_GetEncryptedAppTicket( struct cppISteamUser_SteamUser021_GetEncryptedAppTicket_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetEncryptedAppTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -int cppISteamUser_SteamUser021_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +void cppISteamUser_SteamUser021_GetGameBadgeLevel( struct cppISteamUser_SteamUser021_GetGameBadgeLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGameBadgeLevel( (int)params->nSeries, (bool)params->bFoil ); } -int cppISteamUser_SteamUser021_GetPlayerSteamLevel(void *linux_side) +void cppISteamUser_SteamUser021_GetPlayerSteamLevel( struct cppISteamUser_SteamUser021_GetPlayerSteamLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetPlayerSteamLevel( ); } -SteamAPICall_t cppISteamUser_SteamUser021_RequestStoreAuthURL(void *linux_side, const char *pchRedirectURL) +void cppISteamUser_SteamUser021_RequestStoreAuthURL( struct cppISteamUser_SteamUser021_RequestStoreAuthURL_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestStoreAuthURL((const char *)pchRedirectURL); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestStoreAuthURL( (const char *)params->pchRedirectURL ); } -bool cppISteamUser_SteamUser021_BIsPhoneVerified(void *linux_side) +void cppISteamUser_SteamUser021_BIsPhoneVerified( struct cppISteamUser_SteamUser021_BIsPhoneVerified_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneVerified(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneVerified( ); } -bool cppISteamUser_SteamUser021_BIsTwoFactorEnabled(void *linux_side) +void cppISteamUser_SteamUser021_BIsTwoFactorEnabled( struct cppISteamUser_SteamUser021_BIsTwoFactorEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsTwoFactorEnabled(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsTwoFactorEnabled( ); } -bool cppISteamUser_SteamUser021_BIsPhoneIdentifying(void *linux_side) +void cppISteamUser_SteamUser021_BIsPhoneIdentifying( struct cppISteamUser_SteamUser021_BIsPhoneIdentifying_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneIdentifying(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneIdentifying( ); } -bool cppISteamUser_SteamUser021_BIsPhoneRequiringVerification(void *linux_side) +void cppISteamUser_SteamUser021_BIsPhoneRequiringVerification( struct cppISteamUser_SteamUser021_BIsPhoneRequiringVerification_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneRequiringVerification(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneRequiringVerification( ); } -SteamAPICall_t cppISteamUser_SteamUser021_GetMarketEligibility(void *linux_side) +void cppISteamUser_SteamUser021_GetMarketEligibility( struct cppISteamUser_SteamUser021_GetMarketEligibility_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->GetMarketEligibility(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetMarketEligibility( ); } -SteamAPICall_t cppISteamUser_SteamUser021_GetDurationControl(void *linux_side) +void cppISteamUser_SteamUser021_GetDurationControl( struct cppISteamUser_SteamUser021_GetDurationControl_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->GetDurationControl(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetDurationControl( ); } -bool cppISteamUser_SteamUser021_BSetDurationControlOnlineState(void *linux_side, EDurationControlOnlineState eNewState) +void cppISteamUser_SteamUser021_BSetDurationControlOnlineState( struct cppISteamUser_SteamUser021_BSetDurationControlOnlineState_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BSetDurationControlOnlineState((EDurationControlOnlineState)eNewState); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BSetDurationControlOnlineState( (EDurationControlOnlineState)params->eNewState ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser021.h b/lsteamclient/cppISteamUser_SteamUser021.h index b203a75c..60be6bef 100644 --- a/lsteamclient/cppISteamUser_SteamUser021.h +++ b/lsteamclient/cppISteamUser_SteamUser021.h @@ -1,32 +1,270 @@ -extern HSteamUser cppISteamUser_SteamUser021_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser021_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser021_GetSteamID(void *); -extern int cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED(void *, uint32, uint16); -extern void cppISteamUser_SteamUser021_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser021_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser021_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser021_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser021_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser021_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser021_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser021_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser021_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser021_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser021_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser021_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser021_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser021_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser021_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser021_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser021_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser021_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser021_GetPlayerSteamLevel(void *); -extern SteamAPICall_t cppISteamUser_SteamUser021_RequestStoreAuthURL(void *, const char *); -extern bool cppISteamUser_SteamUser021_BIsPhoneVerified(void *); -extern bool cppISteamUser_SteamUser021_BIsTwoFactorEnabled(void *); -extern bool cppISteamUser_SteamUser021_BIsPhoneIdentifying(void *); -extern bool cppISteamUser_SteamUser021_BIsPhoneRequiringVerification(void *); -extern SteamAPICall_t cppISteamUser_SteamUser021_GetMarketEligibility(void *); -extern SteamAPICall_t cppISteamUser_SteamUser021_GetDurationControl(void *); -extern bool cppISteamUser_SteamUser021_BSetDurationControlOnlineState(void *, EDurationControlOnlineState); +struct cppISteamUser_SteamUser021_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser021_GetHSteamUser( struct cppISteamUser_SteamUser021_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser021_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser021_BLoggedOn( struct cppISteamUser_SteamUser021_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser021_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser021_GetSteamID( struct cppISteamUser_SteamUser021_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED_params *params ); + +struct cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED_params *params ); + +struct cppISteamUser_SteamUser021_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser021_TrackAppUsageEvent( struct cppISteamUser_SteamUser021_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser021_GetUserDataFolder_params +{ + void *linux_side; + bool _ret; + char *pchBuffer; + int cubBuffer; +}; +extern void cppISteamUser_SteamUser021_GetUserDataFolder( struct cppISteamUser_SteamUser021_GetUserDataFolder_params *params ); + +struct cppISteamUser_SteamUser021_StartVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser021_StartVoiceRecording( struct cppISteamUser_SteamUser021_StartVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser021_StopVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser021_StopVoiceRecording( struct cppISteamUser_SteamUser021_StopVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser021_GetAvailableVoice_params +{ + void *linux_side; + EVoiceResult _ret; + uint32 *pcbCompressed; + uint32 *pcbUncompressed_Deprecated; + uint32 nUncompressedVoiceDesiredSampleRate_Deprecated; +}; +extern void cppISteamUser_SteamUser021_GetAvailableVoice( struct cppISteamUser_SteamUser021_GetAvailableVoice_params *params ); + +struct cppISteamUser_SteamUser021_GetVoice_params +{ + void *linux_side; + EVoiceResult _ret; + bool bWantCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + bool bWantUncompressed_Deprecated; + void *pUncompressedDestBuffer_Deprecated; + uint32 cbUncompressedDestBufferSize_Deprecated; + uint32 *nUncompressBytesWritten_Deprecated; + uint32 nUncompressedVoiceDesiredSampleRate_Deprecated; +}; +extern void cppISteamUser_SteamUser021_GetVoice( struct cppISteamUser_SteamUser021_GetVoice_params *params ); + +struct cppISteamUser_SteamUser021_DecompressVoice_params +{ + void *linux_side; + EVoiceResult _ret; + const void *pCompressed; + uint32 cbCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + uint32 nDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser021_DecompressVoice( struct cppISteamUser_SteamUser021_DecompressVoice_params *params ); + +struct cppISteamUser_SteamUser021_GetVoiceOptimalSampleRate_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUser_SteamUser021_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser021_GetVoiceOptimalSampleRate_params *params ); + +struct cppISteamUser_SteamUser021_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser021_GetAuthSessionTicket( struct cppISteamUser_SteamUser021_GetAuthSessionTicket_params *params ); + +struct cppISteamUser_SteamUser021_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser021_BeginAuthSession( struct cppISteamUser_SteamUser021_BeginAuthSession_params *params ); + +struct cppISteamUser_SteamUser021_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser021_EndAuthSession( struct cppISteamUser_SteamUser021_EndAuthSession_params *params ); + +struct cppISteamUser_SteamUser021_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamUser_SteamUser021_CancelAuthTicket( struct cppISteamUser_SteamUser021_CancelAuthTicket_params *params ); + +struct cppISteamUser_SteamUser021_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamUser_SteamUser021_UserHasLicenseForApp( struct cppISteamUser_SteamUser021_UserHasLicenseForApp_params *params ); + +struct cppISteamUser_SteamUser021_BIsBehindNAT_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser021_BIsBehindNAT( struct cppISteamUser_SteamUser021_BIsBehindNAT_params *params ); + +struct cppISteamUser_SteamUser021_AdvertiseGame_params +{ + void *linux_side; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser021_AdvertiseGame( struct cppISteamUser_SteamUser021_AdvertiseGame_params *params ); + +struct cppISteamUser_SteamUser021_RequestEncryptedAppTicket_params +{ + void *linux_side; + SteamAPICall_t _ret; + void *pDataToInclude; + int cbDataToInclude; +}; +extern void cppISteamUser_SteamUser021_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser021_RequestEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser021_GetEncryptedAppTicket_params +{ + void *linux_side; + bool _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser021_GetEncryptedAppTicket( struct cppISteamUser_SteamUser021_GetEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser021_GetGameBadgeLevel_params +{ + void *linux_side; + int _ret; + int nSeries; + bool bFoil; +}; +extern void cppISteamUser_SteamUser021_GetGameBadgeLevel( struct cppISteamUser_SteamUser021_GetGameBadgeLevel_params *params ); + +struct cppISteamUser_SteamUser021_GetPlayerSteamLevel_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamUser_SteamUser021_GetPlayerSteamLevel( struct cppISteamUser_SteamUser021_GetPlayerSteamLevel_params *params ); + +struct cppISteamUser_SteamUser021_RequestStoreAuthURL_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchRedirectURL; +}; +extern void cppISteamUser_SteamUser021_RequestStoreAuthURL( struct cppISteamUser_SteamUser021_RequestStoreAuthURL_params *params ); + +struct cppISteamUser_SteamUser021_BIsPhoneVerified_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser021_BIsPhoneVerified( struct cppISteamUser_SteamUser021_BIsPhoneVerified_params *params ); + +struct cppISteamUser_SteamUser021_BIsTwoFactorEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser021_BIsTwoFactorEnabled( struct cppISteamUser_SteamUser021_BIsTwoFactorEnabled_params *params ); + +struct cppISteamUser_SteamUser021_BIsPhoneIdentifying_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser021_BIsPhoneIdentifying( struct cppISteamUser_SteamUser021_BIsPhoneIdentifying_params *params ); + +struct cppISteamUser_SteamUser021_BIsPhoneRequiringVerification_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser021_BIsPhoneRequiringVerification( struct cppISteamUser_SteamUser021_BIsPhoneRequiringVerification_params *params ); + +struct cppISteamUser_SteamUser021_GetMarketEligibility_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUser_SteamUser021_GetMarketEligibility( struct cppISteamUser_SteamUser021_GetMarketEligibility_params *params ); + +struct cppISteamUser_SteamUser021_GetDurationControl_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUser_SteamUser021_GetDurationControl( struct cppISteamUser_SteamUser021_GetDurationControl_params *params ); + +struct cppISteamUser_SteamUser021_BSetDurationControlOnlineState_params +{ + void *linux_side; + bool _ret; + EDurationControlOnlineState eNewState; +}; +extern void cppISteamUser_SteamUser021_BSetDurationControlOnlineState( struct cppISteamUser_SteamUser021_BSetDurationControlOnlineState_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser022.cpp b/lsteamclient/cppISteamUser_SteamUser022.cpp index cb934a91..1aca033c 100644 --- a/lsteamclient/cppISteamUser_SteamUser022.cpp +++ b/lsteamclient/cppISteamUser_SteamUser022.cpp @@ -12,214 +12,164 @@ extern "C" { #define SDKVER_156 #include "struct_converters.h" #include "cppISteamUser_SteamUser022.h" -HSteamUser cppISteamUser_SteamUser022_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser022_GetHSteamUser( struct cppISteamUser_SteamUser022_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser022_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser022_BLoggedOn( struct cppISteamUser_SteamUser022_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser022_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser022_GetSteamID( struct cppISteamUser_SteamUser022_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection_DEPRECATED((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection_DEPRECATED( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection_DEPRECATED((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection_DEPRECATED( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser022_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser022_TrackAppUsageEvent( struct cppISteamUser_SteamUser022_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -bool cppISteamUser_SteamUser022_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer) +void cppISteamUser_SteamUser022_GetUserDataFolder( struct cppISteamUser_SteamUser022_GetUserDataFolder_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer ); } -void cppISteamUser_SteamUser022_StartVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser022_StartVoiceRecording( struct cppISteamUser_SteamUser022_StartVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + ((ISteamUser*)params->linux_side)->StartVoiceRecording( ); } -void cppISteamUser_SteamUser022_StopVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser022_StopVoiceRecording( struct cppISteamUser_SteamUser022_StopVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + ((ISteamUser*)params->linux_side)->StopVoiceRecording( ); } -EVoiceResult cppISteamUser_SteamUser022_GetAvailableVoice(void *linux_side, uint32 *pcbCompressed, uint32 *pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +void cppISteamUser_SteamUser022_GetAvailableVoice( struct cppISteamUser_SteamUser022_GetAvailableVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAvailableVoice( (uint32 *)params->pcbCompressed, (uint32 *)params->pcbUncompressed_Deprecated, (uint32)params->nUncompressedVoiceDesiredSampleRate_Deprecated ); } -EVoiceResult cppISteamUser_SteamUser022_GetVoice(void *linux_side, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 *nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +void cppISteamUser_SteamUser022_GetVoice( struct cppISteamUser_SteamUser022_GetVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed_Deprecated, (void *)pUncompressedDestBuffer_Deprecated, (uint32)cbUncompressedDestBufferSize_Deprecated, (uint32 *)nUncompressBytesWritten_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoice( (bool)params->bWantCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (bool)params->bWantUncompressed_Deprecated, (void *)params->pUncompressedDestBuffer_Deprecated, (uint32)params->cbUncompressedDestBufferSize_Deprecated, (uint32 *)params->nUncompressBytesWritten_Deprecated, (uint32)params->nUncompressedVoiceDesiredSampleRate_Deprecated ); } -EVoiceResult cppISteamUser_SteamUser022_DecompressVoice(void *linux_side, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) +void cppISteamUser_SteamUser022_DecompressVoice( struct cppISteamUser_SteamUser022_DecompressVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (const void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (uint32)params->nDesiredSampleRate ); } -uint32 cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate(void *linux_side) +void cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate_params *params ) { - uint32 _ret; - _ret = ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoiceOptimalSampleRate( ); } -HAuthTicket cppISteamUser_SteamUser022_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket, const SteamNetworkingIdentity *pSteamNetworkingIdentity) +void cppISteamUser_SteamUser022_GetAuthSessionTicket( struct cppISteamUser_SteamUser022_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket, (const SteamNetworkingIdentity *)pSteamNetworkingIdentity); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket, (const SteamNetworkingIdentity *)params->pSteamNetworkingIdentity ); } -EBeginAuthSessionResult cppISteamUser_SteamUser022_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamUser_SteamUser022_BeginAuthSession( struct cppISteamUser_SteamUser022_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser022_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser022_EndAuthSession( struct cppISteamUser_SteamUser022_EndAuthSession_params *params ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser022_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamUser_SteamUser022_CancelAuthTicket( struct cppISteamUser_SteamUser022_CancelAuthTicket_params *params ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamUser_SteamUser022_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamUser_SteamUser022_UserHasLicenseForApp( struct cppISteamUser_SteamUser022_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamUser_SteamUser022_BIsBehindNAT(void *linux_side) +void cppISteamUser_SteamUser022_BIsBehindNAT( struct cppISteamUser_SteamUser022_BIsBehindNAT_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsBehindNAT(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsBehindNAT( ); } -void cppISteamUser_SteamUser022_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser022_AdvertiseGame( struct cppISteamUser_SteamUser022_AdvertiseGame_params *params ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->AdvertiseGame( (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer ); } -SteamAPICall_t cppISteamUser_SteamUser022_RequestEncryptedAppTicket(void *linux_side, void *pDataToInclude, int cbDataToInclude) +void cppISteamUser_SteamUser022_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser022_RequestEncryptedAppTicket_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestEncryptedAppTicket( (void *)params->pDataToInclude, (int)params->cbDataToInclude ); } -bool cppISteamUser_SteamUser022_GetEncryptedAppTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser022_GetEncryptedAppTicket( struct cppISteamUser_SteamUser022_GetEncryptedAppTicket_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetEncryptedAppTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -int cppISteamUser_SteamUser022_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +void cppISteamUser_SteamUser022_GetGameBadgeLevel( struct cppISteamUser_SteamUser022_GetGameBadgeLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGameBadgeLevel( (int)params->nSeries, (bool)params->bFoil ); } -int cppISteamUser_SteamUser022_GetPlayerSteamLevel(void *linux_side) +void cppISteamUser_SteamUser022_GetPlayerSteamLevel( struct cppISteamUser_SteamUser022_GetPlayerSteamLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetPlayerSteamLevel( ); } -SteamAPICall_t cppISteamUser_SteamUser022_RequestStoreAuthURL(void *linux_side, const char *pchRedirectURL) +void cppISteamUser_SteamUser022_RequestStoreAuthURL( struct cppISteamUser_SteamUser022_RequestStoreAuthURL_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestStoreAuthURL((const char *)pchRedirectURL); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestStoreAuthURL( (const char *)params->pchRedirectURL ); } -bool cppISteamUser_SteamUser022_BIsPhoneVerified(void *linux_side) +void cppISteamUser_SteamUser022_BIsPhoneVerified( struct cppISteamUser_SteamUser022_BIsPhoneVerified_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneVerified(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneVerified( ); } -bool cppISteamUser_SteamUser022_BIsTwoFactorEnabled(void *linux_side) +void cppISteamUser_SteamUser022_BIsTwoFactorEnabled( struct cppISteamUser_SteamUser022_BIsTwoFactorEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsTwoFactorEnabled(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsTwoFactorEnabled( ); } -bool cppISteamUser_SteamUser022_BIsPhoneIdentifying(void *linux_side) +void cppISteamUser_SteamUser022_BIsPhoneIdentifying( struct cppISteamUser_SteamUser022_BIsPhoneIdentifying_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneIdentifying(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneIdentifying( ); } -bool cppISteamUser_SteamUser022_BIsPhoneRequiringVerification(void *linux_side) +void cppISteamUser_SteamUser022_BIsPhoneRequiringVerification( struct cppISteamUser_SteamUser022_BIsPhoneRequiringVerification_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneRequiringVerification(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneRequiringVerification( ); } -SteamAPICall_t cppISteamUser_SteamUser022_GetMarketEligibility(void *linux_side) +void cppISteamUser_SteamUser022_GetMarketEligibility( struct cppISteamUser_SteamUser022_GetMarketEligibility_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->GetMarketEligibility(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetMarketEligibility( ); } -SteamAPICall_t cppISteamUser_SteamUser022_GetDurationControl(void *linux_side) +void cppISteamUser_SteamUser022_GetDurationControl( struct cppISteamUser_SteamUser022_GetDurationControl_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->GetDurationControl(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetDurationControl( ); } -bool cppISteamUser_SteamUser022_BSetDurationControlOnlineState(void *linux_side, EDurationControlOnlineState eNewState) +void cppISteamUser_SteamUser022_BSetDurationControlOnlineState( struct cppISteamUser_SteamUser022_BSetDurationControlOnlineState_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BSetDurationControlOnlineState((EDurationControlOnlineState)eNewState); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BSetDurationControlOnlineState( (EDurationControlOnlineState)params->eNewState ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser022.h b/lsteamclient/cppISteamUser_SteamUser022.h index c11324cd..194ce297 100644 --- a/lsteamclient/cppISteamUser_SteamUser022.h +++ b/lsteamclient/cppISteamUser_SteamUser022.h @@ -1,32 +1,271 @@ -extern HSteamUser cppISteamUser_SteamUser022_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser022_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser022_GetSteamID(void *); -extern int cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED(void *, uint32, uint16); -extern void cppISteamUser_SteamUser022_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser022_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser022_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser022_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser022_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser022_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser022_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser022_GetAuthSessionTicket(void *, void *, int, uint32 *, const SteamNetworkingIdentity *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser022_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser022_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser022_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser022_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser022_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser022_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser022_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser022_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser022_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser022_GetPlayerSteamLevel(void *); -extern SteamAPICall_t cppISteamUser_SteamUser022_RequestStoreAuthURL(void *, const char *); -extern bool cppISteamUser_SteamUser022_BIsPhoneVerified(void *); -extern bool cppISteamUser_SteamUser022_BIsTwoFactorEnabled(void *); -extern bool cppISteamUser_SteamUser022_BIsPhoneIdentifying(void *); -extern bool cppISteamUser_SteamUser022_BIsPhoneRequiringVerification(void *); -extern SteamAPICall_t cppISteamUser_SteamUser022_GetMarketEligibility(void *); -extern SteamAPICall_t cppISteamUser_SteamUser022_GetDurationControl(void *); -extern bool cppISteamUser_SteamUser022_BSetDurationControlOnlineState(void *, EDurationControlOnlineState); +struct cppISteamUser_SteamUser022_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser022_GetHSteamUser( struct cppISteamUser_SteamUser022_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser022_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser022_BLoggedOn( struct cppISteamUser_SteamUser022_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser022_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser022_GetSteamID( struct cppISteamUser_SteamUser022_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED_params *params ); + +struct cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED_params *params ); + +struct cppISteamUser_SteamUser022_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser022_TrackAppUsageEvent( struct cppISteamUser_SteamUser022_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser022_GetUserDataFolder_params +{ + void *linux_side; + bool _ret; + char *pchBuffer; + int cubBuffer; +}; +extern void cppISteamUser_SteamUser022_GetUserDataFolder( struct cppISteamUser_SteamUser022_GetUserDataFolder_params *params ); + +struct cppISteamUser_SteamUser022_StartVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser022_StartVoiceRecording( struct cppISteamUser_SteamUser022_StartVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser022_StopVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser022_StopVoiceRecording( struct cppISteamUser_SteamUser022_StopVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser022_GetAvailableVoice_params +{ + void *linux_side; + EVoiceResult _ret; + uint32 *pcbCompressed; + uint32 *pcbUncompressed_Deprecated; + uint32 nUncompressedVoiceDesiredSampleRate_Deprecated; +}; +extern void cppISteamUser_SteamUser022_GetAvailableVoice( struct cppISteamUser_SteamUser022_GetAvailableVoice_params *params ); + +struct cppISteamUser_SteamUser022_GetVoice_params +{ + void *linux_side; + EVoiceResult _ret; + bool bWantCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + bool bWantUncompressed_Deprecated; + void *pUncompressedDestBuffer_Deprecated; + uint32 cbUncompressedDestBufferSize_Deprecated; + uint32 *nUncompressBytesWritten_Deprecated; + uint32 nUncompressedVoiceDesiredSampleRate_Deprecated; +}; +extern void cppISteamUser_SteamUser022_GetVoice( struct cppISteamUser_SteamUser022_GetVoice_params *params ); + +struct cppISteamUser_SteamUser022_DecompressVoice_params +{ + void *linux_side; + EVoiceResult _ret; + const void *pCompressed; + uint32 cbCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + uint32 nDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser022_DecompressVoice( struct cppISteamUser_SteamUser022_DecompressVoice_params *params ); + +struct cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate_params *params ); + +struct cppISteamUser_SteamUser022_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; + const SteamNetworkingIdentity *pSteamNetworkingIdentity; +}; +extern void cppISteamUser_SteamUser022_GetAuthSessionTicket( struct cppISteamUser_SteamUser022_GetAuthSessionTicket_params *params ); + +struct cppISteamUser_SteamUser022_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser022_BeginAuthSession( struct cppISteamUser_SteamUser022_BeginAuthSession_params *params ); + +struct cppISteamUser_SteamUser022_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser022_EndAuthSession( struct cppISteamUser_SteamUser022_EndAuthSession_params *params ); + +struct cppISteamUser_SteamUser022_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamUser_SteamUser022_CancelAuthTicket( struct cppISteamUser_SteamUser022_CancelAuthTicket_params *params ); + +struct cppISteamUser_SteamUser022_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamUser_SteamUser022_UserHasLicenseForApp( struct cppISteamUser_SteamUser022_UserHasLicenseForApp_params *params ); + +struct cppISteamUser_SteamUser022_BIsBehindNAT_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser022_BIsBehindNAT( struct cppISteamUser_SteamUser022_BIsBehindNAT_params *params ); + +struct cppISteamUser_SteamUser022_AdvertiseGame_params +{ + void *linux_side; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser022_AdvertiseGame( struct cppISteamUser_SteamUser022_AdvertiseGame_params *params ); + +struct cppISteamUser_SteamUser022_RequestEncryptedAppTicket_params +{ + void *linux_side; + SteamAPICall_t _ret; + void *pDataToInclude; + int cbDataToInclude; +}; +extern void cppISteamUser_SteamUser022_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser022_RequestEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser022_GetEncryptedAppTicket_params +{ + void *linux_side; + bool _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser022_GetEncryptedAppTicket( struct cppISteamUser_SteamUser022_GetEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser022_GetGameBadgeLevel_params +{ + void *linux_side; + int _ret; + int nSeries; + bool bFoil; +}; +extern void cppISteamUser_SteamUser022_GetGameBadgeLevel( struct cppISteamUser_SteamUser022_GetGameBadgeLevel_params *params ); + +struct cppISteamUser_SteamUser022_GetPlayerSteamLevel_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamUser_SteamUser022_GetPlayerSteamLevel( struct cppISteamUser_SteamUser022_GetPlayerSteamLevel_params *params ); + +struct cppISteamUser_SteamUser022_RequestStoreAuthURL_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchRedirectURL; +}; +extern void cppISteamUser_SteamUser022_RequestStoreAuthURL( struct cppISteamUser_SteamUser022_RequestStoreAuthURL_params *params ); + +struct cppISteamUser_SteamUser022_BIsPhoneVerified_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser022_BIsPhoneVerified( struct cppISteamUser_SteamUser022_BIsPhoneVerified_params *params ); + +struct cppISteamUser_SteamUser022_BIsTwoFactorEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser022_BIsTwoFactorEnabled( struct cppISteamUser_SteamUser022_BIsTwoFactorEnabled_params *params ); + +struct cppISteamUser_SteamUser022_BIsPhoneIdentifying_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser022_BIsPhoneIdentifying( struct cppISteamUser_SteamUser022_BIsPhoneIdentifying_params *params ); + +struct cppISteamUser_SteamUser022_BIsPhoneRequiringVerification_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser022_BIsPhoneRequiringVerification( struct cppISteamUser_SteamUser022_BIsPhoneRequiringVerification_params *params ); + +struct cppISteamUser_SteamUser022_GetMarketEligibility_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUser_SteamUser022_GetMarketEligibility( struct cppISteamUser_SteamUser022_GetMarketEligibility_params *params ); + +struct cppISteamUser_SteamUser022_GetDurationControl_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUser_SteamUser022_GetDurationControl( struct cppISteamUser_SteamUser022_GetDurationControl_params *params ); + +struct cppISteamUser_SteamUser022_BSetDurationControlOnlineState_params +{ + void *linux_side; + bool _ret; + EDurationControlOnlineState eNewState; +}; +extern void cppISteamUser_SteamUser022_BSetDurationControlOnlineState( struct cppISteamUser_SteamUser022_BSetDurationControlOnlineState_params *params ); + diff --git a/lsteamclient/cppISteamUser_SteamUser023.cpp b/lsteamclient/cppISteamUser_SteamUser023.cpp index 0632d6db..bc75e73f 100644 --- a/lsteamclient/cppISteamUser_SteamUser023.cpp +++ b/lsteamclient/cppISteamUser_SteamUser023.cpp @@ -12,221 +12,169 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamUser_SteamUser023.h" -HSteamUser cppISteamUser_SteamUser023_GetHSteamUser(void *linux_side) +void cppISteamUser_SteamUser023_GetHSteamUser( struct cppISteamUser_SteamUser023_GetHSteamUser_params *params ) { - HSteamUser _ret; - _ret = ((ISteamUser*)linux_side)->GetHSteamUser(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( ); } -bool cppISteamUser_SteamUser023_BLoggedOn(void *linux_side) +void cppISteamUser_SteamUser023_BLoggedOn( struct cppISteamUser_SteamUser023_BLoggedOn_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BLoggedOn(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( ); } -CSteamID cppISteamUser_SteamUser023_GetSteamID(void *linux_side) +void cppISteamUser_SteamUser023_GetSteamID( struct cppISteamUser_SteamUser023_GetSteamID_params *params ) { - CSteamID _ret; - _ret = ((ISteamUser*)linux_side)->GetSteamID(); - return (_ret); + *params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( ); } -int cppISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void cppISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->InitiateGameConnection_DEPRECATED((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection_DEPRECATED( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure ); } -void cppISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED(void *linux_side, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED_params *params ) { - ((ISteamUser*)linux_side)->TerminateGameConnection_DEPRECATED((uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->TerminateGameConnection_DEPRECATED( (uint32)params->unIPServer, (uint16)params->usPortServer ); } -void cppISteamUser_SteamUser023_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) +void cppISteamUser_SteamUser023_TrackAppUsageEvent( struct cppISteamUser_SteamUser023_TrackAppUsageEvent_params *params ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + ((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo ); } -bool cppISteamUser_SteamUser023_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer) +void cppISteamUser_SteamUser023_GetUserDataFolder( struct cppISteamUser_SteamUser023_GetUserDataFolder_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer ); } -void cppISteamUser_SteamUser023_StartVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser023_StartVoiceRecording( struct cppISteamUser_SteamUser023_StartVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + ((ISteamUser*)params->linux_side)->StartVoiceRecording( ); } -void cppISteamUser_SteamUser023_StopVoiceRecording(void *linux_side) +void cppISteamUser_SteamUser023_StopVoiceRecording( struct cppISteamUser_SteamUser023_StopVoiceRecording_params *params ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + ((ISteamUser*)params->linux_side)->StopVoiceRecording( ); } -EVoiceResult cppISteamUser_SteamUser023_GetAvailableVoice(void *linux_side, uint32 *pcbCompressed, uint32 *pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +void cppISteamUser_SteamUser023_GetAvailableVoice( struct cppISteamUser_SteamUser023_GetAvailableVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAvailableVoice( (uint32 *)params->pcbCompressed, (uint32 *)params->pcbUncompressed_Deprecated, (uint32)params->nUncompressedVoiceDesiredSampleRate_Deprecated ); } -EVoiceResult cppISteamUser_SteamUser023_GetVoice(void *linux_side, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 *nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +void cppISteamUser_SteamUser023_GetVoice( struct cppISteamUser_SteamUser023_GetVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed_Deprecated, (void *)pUncompressedDestBuffer_Deprecated, (uint32)cbUncompressedDestBufferSize_Deprecated, (uint32 *)nUncompressBytesWritten_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoice( (bool)params->bWantCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (bool)params->bWantUncompressed_Deprecated, (void *)params->pUncompressedDestBuffer_Deprecated, (uint32)params->cbUncompressedDestBufferSize_Deprecated, (uint32 *)params->nUncompressBytesWritten_Deprecated, (uint32)params->nUncompressedVoiceDesiredSampleRate_Deprecated ); } -EVoiceResult cppISteamUser_SteamUser023_DecompressVoice(void *linux_side, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) +void cppISteamUser_SteamUser023_DecompressVoice( struct cppISteamUser_SteamUser023_DecompressVoice_params *params ) { - EVoiceResult _ret; - _ret = ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (const void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (uint32)params->nDesiredSampleRate ); } -uint32 cppISteamUser_SteamUser023_GetVoiceOptimalSampleRate(void *linux_side) +void cppISteamUser_SteamUser023_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser023_GetVoiceOptimalSampleRate_params *params ) { - uint32 _ret; - _ret = ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetVoiceOptimalSampleRate( ); } -HAuthTicket cppISteamUser_SteamUser023_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket, const SteamNetworkingIdentity *pSteamNetworkingIdentity) +void cppISteamUser_SteamUser023_GetAuthSessionTicket( struct cppISteamUser_SteamUser023_GetAuthSessionTicket_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket, (const SteamNetworkingIdentity *)pSteamNetworkingIdentity); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket, (const SteamNetworkingIdentity *)params->pSteamNetworkingIdentity ); } -HAuthTicket cppISteamUser_SteamUser023_GetAuthTicketForWebApi(void *linux_side, const char *pchIdentity) +void cppISteamUser_SteamUser023_GetAuthTicketForWebApi( struct cppISteamUser_SteamUser023_GetAuthTicketForWebApi_params *params ) { - HAuthTicket _ret; - _ret = ((ISteamUser*)linux_side)->GetAuthTicketForWebApi((const char *)pchIdentity); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetAuthTicketForWebApi( (const char *)params->pchIdentity ); } -EBeginAuthSessionResult cppISteamUser_SteamUser023_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) +void cppISteamUser_SteamUser023_BeginAuthSession( struct cppISteamUser_SteamUser023_BeginAuthSession_params *params ) { - EBeginAuthSessionResult _ret; - _ret = ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser023_EndAuthSession(void *linux_side, CSteamID steamID) +void cppISteamUser_SteamUser023_EndAuthSession( struct cppISteamUser_SteamUser023_EndAuthSession_params *params ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + ((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID ); } -void cppISteamUser_SteamUser023_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +void cppISteamUser_SteamUser023_CancelAuthTicket( struct cppISteamUser_SteamUser023_CancelAuthTicket_params *params ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + ((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket ); } -EUserHasLicenseForAppResult cppISteamUser_SteamUser023_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +void cppISteamUser_SteamUser023_UserHasLicenseForApp( struct cppISteamUser_SteamUser023_UserHasLicenseForApp_params *params ) { - EUserHasLicenseForAppResult _ret; - _ret = ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID ); } -bool cppISteamUser_SteamUser023_BIsBehindNAT(void *linux_side) +void cppISteamUser_SteamUser023_BIsBehindNAT( struct cppISteamUser_SteamUser023_BIsBehindNAT_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsBehindNAT(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsBehindNAT( ); } -void cppISteamUser_SteamUser023_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +void cppISteamUser_SteamUser023_AdvertiseGame( struct cppISteamUser_SteamUser023_AdvertiseGame_params *params ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + ((ISteamUser*)params->linux_side)->AdvertiseGame( (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer ); } -SteamAPICall_t cppISteamUser_SteamUser023_RequestEncryptedAppTicket(void *linux_side, void *pDataToInclude, int cbDataToInclude) +void cppISteamUser_SteamUser023_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser023_RequestEncryptedAppTicket_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestEncryptedAppTicket( (void *)params->pDataToInclude, (int)params->cbDataToInclude ); } -bool cppISteamUser_SteamUser023_GetEncryptedAppTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) +void cppISteamUser_SteamUser023_GetEncryptedAppTicket( struct cppISteamUser_SteamUser023_GetEncryptedAppTicket_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetEncryptedAppTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket ); } -int cppISteamUser_SteamUser023_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +void cppISteamUser_SteamUser023_GetGameBadgeLevel( struct cppISteamUser_SteamUser023_GetGameBadgeLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetGameBadgeLevel( (int)params->nSeries, (bool)params->bFoil ); } -int cppISteamUser_SteamUser023_GetPlayerSteamLevel(void *linux_side) +void cppISteamUser_SteamUser023_GetPlayerSteamLevel( struct cppISteamUser_SteamUser023_GetPlayerSteamLevel_params *params ) { - int _ret; - _ret = ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetPlayerSteamLevel( ); } -SteamAPICall_t cppISteamUser_SteamUser023_RequestStoreAuthURL(void *linux_side, const char *pchRedirectURL) +void cppISteamUser_SteamUser023_RequestStoreAuthURL( struct cppISteamUser_SteamUser023_RequestStoreAuthURL_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->RequestStoreAuthURL((const char *)pchRedirectURL); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->RequestStoreAuthURL( (const char *)params->pchRedirectURL ); } -bool cppISteamUser_SteamUser023_BIsPhoneVerified(void *linux_side) +void cppISteamUser_SteamUser023_BIsPhoneVerified( struct cppISteamUser_SteamUser023_BIsPhoneVerified_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneVerified(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneVerified( ); } -bool cppISteamUser_SteamUser023_BIsTwoFactorEnabled(void *linux_side) +void cppISteamUser_SteamUser023_BIsTwoFactorEnabled( struct cppISteamUser_SteamUser023_BIsTwoFactorEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsTwoFactorEnabled(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsTwoFactorEnabled( ); } -bool cppISteamUser_SteamUser023_BIsPhoneIdentifying(void *linux_side) +void cppISteamUser_SteamUser023_BIsPhoneIdentifying( struct cppISteamUser_SteamUser023_BIsPhoneIdentifying_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneIdentifying(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneIdentifying( ); } -bool cppISteamUser_SteamUser023_BIsPhoneRequiringVerification(void *linux_side) +void cppISteamUser_SteamUser023_BIsPhoneRequiringVerification( struct cppISteamUser_SteamUser023_BIsPhoneRequiringVerification_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BIsPhoneRequiringVerification(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneRequiringVerification( ); } -SteamAPICall_t cppISteamUser_SteamUser023_GetMarketEligibility(void *linux_side) +void cppISteamUser_SteamUser023_GetMarketEligibility( struct cppISteamUser_SteamUser023_GetMarketEligibility_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->GetMarketEligibility(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetMarketEligibility( ); } -SteamAPICall_t cppISteamUser_SteamUser023_GetDurationControl(void *linux_side) +void cppISteamUser_SteamUser023_GetDurationControl( struct cppISteamUser_SteamUser023_GetDurationControl_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUser*)linux_side)->GetDurationControl(); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->GetDurationControl( ); } -bool cppISteamUser_SteamUser023_BSetDurationControlOnlineState(void *linux_side, EDurationControlOnlineState eNewState) +void cppISteamUser_SteamUser023_BSetDurationControlOnlineState( struct cppISteamUser_SteamUser023_BSetDurationControlOnlineState_params *params ) { - bool _ret; - _ret = ((ISteamUser*)linux_side)->BSetDurationControlOnlineState((EDurationControlOnlineState)eNewState); - return (_ret); + params->_ret = ((ISteamUser*)params->linux_side)->BSetDurationControlOnlineState( (EDurationControlOnlineState)params->eNewState ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUser_SteamUser023.h b/lsteamclient/cppISteamUser_SteamUser023.h index 32ba34cf..e0a9786d 100644 --- a/lsteamclient/cppISteamUser_SteamUser023.h +++ b/lsteamclient/cppISteamUser_SteamUser023.h @@ -1,33 +1,279 @@ -extern HSteamUser cppISteamUser_SteamUser023_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser023_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser023_GetSteamID(void *); -extern int cppISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED(void *, uint32, uint16); -extern void cppISteamUser_SteamUser023_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser023_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser023_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser023_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser023_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser023_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser023_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser023_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser023_GetAuthSessionTicket(void *, void *, int, uint32 *, const SteamNetworkingIdentity *); -extern HAuthTicket cppISteamUser_SteamUser023_GetAuthTicketForWebApi(void *, const char *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser023_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser023_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser023_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser023_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser023_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser023_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser023_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser023_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser023_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser023_GetPlayerSteamLevel(void *); -extern SteamAPICall_t cppISteamUser_SteamUser023_RequestStoreAuthURL(void *, const char *); -extern bool cppISteamUser_SteamUser023_BIsPhoneVerified(void *); -extern bool cppISteamUser_SteamUser023_BIsTwoFactorEnabled(void *); -extern bool cppISteamUser_SteamUser023_BIsPhoneIdentifying(void *); -extern bool cppISteamUser_SteamUser023_BIsPhoneRequiringVerification(void *); -extern SteamAPICall_t cppISteamUser_SteamUser023_GetMarketEligibility(void *); -extern SteamAPICall_t cppISteamUser_SteamUser023_GetDurationControl(void *); -extern bool cppISteamUser_SteamUser023_BSetDurationControlOnlineState(void *, EDurationControlOnlineState); +struct cppISteamUser_SteamUser023_GetHSteamUser_params +{ + void *linux_side; + HSteamUser _ret; +}; +extern void cppISteamUser_SteamUser023_GetHSteamUser( struct cppISteamUser_SteamUser023_GetHSteamUser_params *params ); + +struct cppISteamUser_SteamUser023_BLoggedOn_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser023_BLoggedOn( struct cppISteamUser_SteamUser023_BLoggedOn_params *params ); + +struct cppISteamUser_SteamUser023_GetSteamID_params +{ + void *linux_side; + CSteamID *_ret; +}; +extern void cppISteamUser_SteamUser023_GetSteamID( struct cppISteamUser_SteamUser023_GetSteamID_params *params ); + +struct cppISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED_params +{ + void *linux_side; + int _ret; + void *pAuthBlob; + int cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; + bool bSecure; +}; +extern void cppISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED_params *params ); + +struct cppISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED_params +{ + void *linux_side; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED_params *params ); + +struct cppISteamUser_SteamUser023_TrackAppUsageEvent_params +{ + void *linux_side; + CGameID gameID; + int eAppUsageEvent; + const char *pchExtraInfo; +}; +extern void cppISteamUser_SteamUser023_TrackAppUsageEvent( struct cppISteamUser_SteamUser023_TrackAppUsageEvent_params *params ); + +struct cppISteamUser_SteamUser023_GetUserDataFolder_params +{ + void *linux_side; + bool _ret; + char *pchBuffer; + int cubBuffer; +}; +extern void cppISteamUser_SteamUser023_GetUserDataFolder( struct cppISteamUser_SteamUser023_GetUserDataFolder_params *params ); + +struct cppISteamUser_SteamUser023_StartVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser023_StartVoiceRecording( struct cppISteamUser_SteamUser023_StartVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser023_StopVoiceRecording_params +{ + void *linux_side; +}; +extern void cppISteamUser_SteamUser023_StopVoiceRecording( struct cppISteamUser_SteamUser023_StopVoiceRecording_params *params ); + +struct cppISteamUser_SteamUser023_GetAvailableVoice_params +{ + void *linux_side; + EVoiceResult _ret; + uint32 *pcbCompressed; + uint32 *pcbUncompressed_Deprecated; + uint32 nUncompressedVoiceDesiredSampleRate_Deprecated; +}; +extern void cppISteamUser_SteamUser023_GetAvailableVoice( struct cppISteamUser_SteamUser023_GetAvailableVoice_params *params ); + +struct cppISteamUser_SteamUser023_GetVoice_params +{ + void *linux_side; + EVoiceResult _ret; + bool bWantCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + bool bWantUncompressed_Deprecated; + void *pUncompressedDestBuffer_Deprecated; + uint32 cbUncompressedDestBufferSize_Deprecated; + uint32 *nUncompressBytesWritten_Deprecated; + uint32 nUncompressedVoiceDesiredSampleRate_Deprecated; +}; +extern void cppISteamUser_SteamUser023_GetVoice( struct cppISteamUser_SteamUser023_GetVoice_params *params ); + +struct cppISteamUser_SteamUser023_DecompressVoice_params +{ + void *linux_side; + EVoiceResult _ret; + const void *pCompressed; + uint32 cbCompressed; + void *pDestBuffer; + uint32 cbDestBufferSize; + uint32 *nBytesWritten; + uint32 nDesiredSampleRate; +}; +extern void cppISteamUser_SteamUser023_DecompressVoice( struct cppISteamUser_SteamUser023_DecompressVoice_params *params ); + +struct cppISteamUser_SteamUser023_GetVoiceOptimalSampleRate_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUser_SteamUser023_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser023_GetVoiceOptimalSampleRate_params *params ); + +struct cppISteamUser_SteamUser023_GetAuthSessionTicket_params +{ + void *linux_side; + HAuthTicket _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; + const SteamNetworkingIdentity *pSteamNetworkingIdentity; +}; +extern void cppISteamUser_SteamUser023_GetAuthSessionTicket( struct cppISteamUser_SteamUser023_GetAuthSessionTicket_params *params ); + +struct cppISteamUser_SteamUser023_GetAuthTicketForWebApi_params +{ + void *linux_side; + HAuthTicket _ret; + const char *pchIdentity; +}; +extern void cppISteamUser_SteamUser023_GetAuthTicketForWebApi( struct cppISteamUser_SteamUser023_GetAuthTicketForWebApi_params *params ); + +struct cppISteamUser_SteamUser023_BeginAuthSession_params +{ + void *linux_side; + EBeginAuthSessionResult _ret; + const void *pAuthTicket; + int cbAuthTicket; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser023_BeginAuthSession( struct cppISteamUser_SteamUser023_BeginAuthSession_params *params ); + +struct cppISteamUser_SteamUser023_EndAuthSession_params +{ + void *linux_side; + CSteamID steamID; +}; +extern void cppISteamUser_SteamUser023_EndAuthSession( struct cppISteamUser_SteamUser023_EndAuthSession_params *params ); + +struct cppISteamUser_SteamUser023_CancelAuthTicket_params +{ + void *linux_side; + HAuthTicket hAuthTicket; +}; +extern void cppISteamUser_SteamUser023_CancelAuthTicket( struct cppISteamUser_SteamUser023_CancelAuthTicket_params *params ); + +struct cppISteamUser_SteamUser023_UserHasLicenseForApp_params +{ + void *linux_side; + EUserHasLicenseForAppResult _ret; + CSteamID steamID; + AppId_t appID; +}; +extern void cppISteamUser_SteamUser023_UserHasLicenseForApp( struct cppISteamUser_SteamUser023_UserHasLicenseForApp_params *params ); + +struct cppISteamUser_SteamUser023_BIsBehindNAT_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser023_BIsBehindNAT( struct cppISteamUser_SteamUser023_BIsBehindNAT_params *params ); + +struct cppISteamUser_SteamUser023_AdvertiseGame_params +{ + void *linux_side; + CSteamID steamIDGameServer; + uint32 unIPServer; + uint16 usPortServer; +}; +extern void cppISteamUser_SteamUser023_AdvertiseGame( struct cppISteamUser_SteamUser023_AdvertiseGame_params *params ); + +struct cppISteamUser_SteamUser023_RequestEncryptedAppTicket_params +{ + void *linux_side; + SteamAPICall_t _ret; + void *pDataToInclude; + int cbDataToInclude; +}; +extern void cppISteamUser_SteamUser023_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser023_RequestEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser023_GetEncryptedAppTicket_params +{ + void *linux_side; + bool _ret; + void *pTicket; + int cbMaxTicket; + uint32 *pcbTicket; +}; +extern void cppISteamUser_SteamUser023_GetEncryptedAppTicket( struct cppISteamUser_SteamUser023_GetEncryptedAppTicket_params *params ); + +struct cppISteamUser_SteamUser023_GetGameBadgeLevel_params +{ + void *linux_side; + int _ret; + int nSeries; + bool bFoil; +}; +extern void cppISteamUser_SteamUser023_GetGameBadgeLevel( struct cppISteamUser_SteamUser023_GetGameBadgeLevel_params *params ); + +struct cppISteamUser_SteamUser023_GetPlayerSteamLevel_params +{ + void *linux_side; + int _ret; +}; +extern void cppISteamUser_SteamUser023_GetPlayerSteamLevel( struct cppISteamUser_SteamUser023_GetPlayerSteamLevel_params *params ); + +struct cppISteamUser_SteamUser023_RequestStoreAuthURL_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *pchRedirectURL; +}; +extern void cppISteamUser_SteamUser023_RequestStoreAuthURL( struct cppISteamUser_SteamUser023_RequestStoreAuthURL_params *params ); + +struct cppISteamUser_SteamUser023_BIsPhoneVerified_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser023_BIsPhoneVerified( struct cppISteamUser_SteamUser023_BIsPhoneVerified_params *params ); + +struct cppISteamUser_SteamUser023_BIsTwoFactorEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser023_BIsTwoFactorEnabled( struct cppISteamUser_SteamUser023_BIsTwoFactorEnabled_params *params ); + +struct cppISteamUser_SteamUser023_BIsPhoneIdentifying_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser023_BIsPhoneIdentifying( struct cppISteamUser_SteamUser023_BIsPhoneIdentifying_params *params ); + +struct cppISteamUser_SteamUser023_BIsPhoneRequiringVerification_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUser_SteamUser023_BIsPhoneRequiringVerification( struct cppISteamUser_SteamUser023_BIsPhoneRequiringVerification_params *params ); + +struct cppISteamUser_SteamUser023_GetMarketEligibility_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUser_SteamUser023_GetMarketEligibility( struct cppISteamUser_SteamUser023_GetMarketEligibility_params *params ); + +struct cppISteamUser_SteamUser023_GetDurationControl_params +{ + void *linux_side; + SteamAPICall_t _ret; +}; +extern void cppISteamUser_SteamUser023_GetDurationControl( struct cppISteamUser_SteamUser023_GetDurationControl_params *params ); + +struct cppISteamUser_SteamUser023_BSetDurationControlOnlineState_params +{ + void *linux_side; + bool _ret; + EDurationControlOnlineState eNewState; +}; +extern void cppISteamUser_SteamUser023_BSetDurationControlOnlineState( struct cppISteamUser_SteamUser023_BSetDurationControlOnlineState_params *params ); + diff --git a/lsteamclient/cppISteamUtils_SteamUtils002.cpp b/lsteamclient/cppISteamUtils_SteamUtils002.cpp index 1e35404f..57b0d9ed 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils002.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils002.cpp @@ -11,100 +11,74 @@ extern "C" { #define SDKVER_103 #include "struct_converters.h" #include "cppISteamUtils_SteamUtils002.h" -uint32 cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive(void *linux_side) +void cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceAppActive( ); } -uint32 cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive(void *linux_side) +void cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceComputerActive( ); } -EUniverse cppISteamUtils_SteamUtils002_GetConnectedUniverse(void *linux_side) +void cppISteamUtils_SteamUtils002_GetConnectedUniverse( struct cppISteamUtils_SteamUtils002_GetConnectedUniverse_params *params ) { - EUniverse _ret; - _ret = ((ISteamUtils*)linux_side)->GetConnectedUniverse(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetConnectedUniverse( ); } -uint32 cppISteamUtils_SteamUtils002_GetServerRealTime(void *linux_side) +void cppISteamUtils_SteamUtils002_GetServerRealTime( struct cppISteamUtils_SteamUtils002_GetServerRealTime_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetServerRealTime(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetServerRealTime( ); } -const char * cppISteamUtils_SteamUtils002_GetIPCountry(void *linux_side) +void cppISteamUtils_SteamUtils002_GetIPCountry( struct cppISteamUtils_SteamUtils002_GetIPCountry_params *params ) { - const char *_ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCountry(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCountry( ); } -bool cppISteamUtils_SteamUtils002_GetImageSize(void *linux_side, int iImage, uint32 *pnWidth, uint32 *pnHeight) +void cppISteamUtils_SteamUtils002_GetImageSize( struct cppISteamUtils_SteamUtils002_GetImageSize_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageSize( (int)params->iImage, (uint32 *)params->pnWidth, (uint32 *)params->pnHeight ); } -bool cppISteamUtils_SteamUtils002_GetImageRGBA(void *linux_side, int iImage, uint8 *pubDest, int nDestBufferSize) +void cppISteamUtils_SteamUtils002_GetImageRGBA( struct cppISteamUtils_SteamUtils002_GetImageRGBA_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageRGBA( (int)params->iImage, (uint8 *)params->pubDest, (int)params->nDestBufferSize ); } -bool cppISteamUtils_SteamUtils002_GetCSERIPPort(void *linux_side, uint32 *unIP, uint16 *usPort) +void cppISteamUtils_SteamUtils002_GetCSERIPPort( struct cppISteamUtils_SteamUtils002_GetCSERIPPort_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCSERIPPort( (uint32 *)params->unIP, (uint16 *)params->usPort ); } -uint8 cppISteamUtils_SteamUtils002_GetCurrentBatteryPower(void *linux_side) +void cppISteamUtils_SteamUtils002_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils002_GetCurrentBatteryPower_params *params ) { - uint8 _ret; - _ret = ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCurrentBatteryPower( ); } -uint32 cppISteamUtils_SteamUtils002_GetAppID(void *linux_side) +void cppISteamUtils_SteamUtils002_GetAppID( struct cppISteamUtils_SteamUtils002_GetAppID_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetAppID(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAppID( ); } -void cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +void cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition_params *params ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + ((ISteamUtils*)params->linux_side)->SetOverlayNotificationPosition( (ENotificationPosition)params->eNotificationPosition ); } -bool cppISteamUtils_SteamUtils002_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool *pbFailed) +void cppISteamUtils_SteamUtils002_IsAPICallCompleted( struct cppISteamUtils_SteamUtils002_IsAPICallCompleted_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsAPICallCompleted( (SteamAPICall_t)params->hSteamAPICall, (bool *)params->pbFailed ); } -ESteamAPICallFailure cppISteamUtils_SteamUtils002_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +void cppISteamUtils_SteamUtils002_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils002_GetAPICallFailureReason_params *params ) { - ESteamAPICallFailure _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallFailureReason( (SteamAPICall_t)params->hSteamAPICall ); } -bool cppISteamUtils_SteamUtils002_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) +void cppISteamUtils_SteamUtils002_GetAPICallResult( struct cppISteamUtils_SteamUtils002_GetAPICallResult_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallResult( (SteamAPICall_t)params->hSteamAPICall, (void *)params->pCallback, (int)params->cubCallback, (int)params->iCallbackExpected, (bool *)params->pbFailed ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUtils_SteamUtils002.h b/lsteamclient/cppISteamUtils_SteamUtils002.h index 41a839d6..db653b42 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils002.h +++ b/lsteamclient/cppISteamUtils_SteamUtils002.h @@ -1,14 +1,114 @@ -extern uint32 cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils002_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils002_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils002_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils002_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils002_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils002_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils002_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils002_GetAppID(void *); -extern void cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils002_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils002_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils002_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); +struct cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive_params *params ); + +struct cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive_params *params ); + +struct cppISteamUtils_SteamUtils002_GetConnectedUniverse_params +{ + void *linux_side; + EUniverse _ret; +}; +extern void cppISteamUtils_SteamUtils002_GetConnectedUniverse( struct cppISteamUtils_SteamUtils002_GetConnectedUniverse_params *params ); + +struct cppISteamUtils_SteamUtils002_GetServerRealTime_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils002_GetServerRealTime( struct cppISteamUtils_SteamUtils002_GetServerRealTime_params *params ); + +struct cppISteamUtils_SteamUtils002_GetIPCountry_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamUtils_SteamUtils002_GetIPCountry( struct cppISteamUtils_SteamUtils002_GetIPCountry_params *params ); + +struct cppISteamUtils_SteamUtils002_GetImageSize_params +{ + void *linux_side; + bool _ret; + int iImage; + uint32 *pnWidth; + uint32 *pnHeight; +}; +extern void cppISteamUtils_SteamUtils002_GetImageSize( struct cppISteamUtils_SteamUtils002_GetImageSize_params *params ); + +struct cppISteamUtils_SteamUtils002_GetImageRGBA_params +{ + void *linux_side; + bool _ret; + int iImage; + uint8 *pubDest; + int nDestBufferSize; +}; +extern void cppISteamUtils_SteamUtils002_GetImageRGBA( struct cppISteamUtils_SteamUtils002_GetImageRGBA_params *params ); + +struct cppISteamUtils_SteamUtils002_GetCSERIPPort_params +{ + void *linux_side; + bool _ret; + uint32 *unIP; + uint16 *usPort; +}; +extern void cppISteamUtils_SteamUtils002_GetCSERIPPort( struct cppISteamUtils_SteamUtils002_GetCSERIPPort_params *params ); + +struct cppISteamUtils_SteamUtils002_GetCurrentBatteryPower_params +{ + void *linux_side; + uint8 _ret; +}; +extern void cppISteamUtils_SteamUtils002_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils002_GetCurrentBatteryPower_params *params ); + +struct cppISteamUtils_SteamUtils002_GetAppID_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils002_GetAppID( struct cppISteamUtils_SteamUtils002_GetAppID_params *params ); + +struct cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition_params +{ + void *linux_side; + ENotificationPosition eNotificationPosition; +}; +extern void cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition_params *params ); + +struct cppISteamUtils_SteamUtils002_IsAPICallCompleted_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils002_IsAPICallCompleted( struct cppISteamUtils_SteamUtils002_IsAPICallCompleted_params *params ); + +struct cppISteamUtils_SteamUtils002_GetAPICallFailureReason_params +{ + void *linux_side; + ESteamAPICallFailure _ret; + SteamAPICall_t hSteamAPICall; +}; +extern void cppISteamUtils_SteamUtils002_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils002_GetAPICallFailureReason_params *params ); + +struct cppISteamUtils_SteamUtils002_GetAPICallResult_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + void *pCallback; + int cubCallback; + int iCallbackExpected; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils002_GetAPICallResult( struct cppISteamUtils_SteamUtils002_GetAPICallResult_params *params ); + diff --git a/lsteamclient/cppISteamUtils_SteamUtils004.cpp b/lsteamclient/cppISteamUtils_SteamUtils004.cpp index e187f5bb..ef48cfd8 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils004.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils004.cpp @@ -11,125 +11,95 @@ extern "C" { #define SDKVER_106 #include "struct_converters.h" #include "cppISteamUtils_SteamUtils004.h" -uint32 cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive(void *linux_side) +void cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceAppActive( ); } -uint32 cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive(void *linux_side) +void cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceComputerActive( ); } -EUniverse cppISteamUtils_SteamUtils004_GetConnectedUniverse(void *linux_side) +void cppISteamUtils_SteamUtils004_GetConnectedUniverse( struct cppISteamUtils_SteamUtils004_GetConnectedUniverse_params *params ) { - EUniverse _ret; - _ret = ((ISteamUtils*)linux_side)->GetConnectedUniverse(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetConnectedUniverse( ); } -uint32 cppISteamUtils_SteamUtils004_GetServerRealTime(void *linux_side) +void cppISteamUtils_SteamUtils004_GetServerRealTime( struct cppISteamUtils_SteamUtils004_GetServerRealTime_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetServerRealTime(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetServerRealTime( ); } -const char * cppISteamUtils_SteamUtils004_GetIPCountry(void *linux_side) +void cppISteamUtils_SteamUtils004_GetIPCountry( struct cppISteamUtils_SteamUtils004_GetIPCountry_params *params ) { - const char *_ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCountry(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCountry( ); } -bool cppISteamUtils_SteamUtils004_GetImageSize(void *linux_side, int iImage, uint32 *pnWidth, uint32 *pnHeight) +void cppISteamUtils_SteamUtils004_GetImageSize( struct cppISteamUtils_SteamUtils004_GetImageSize_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageSize( (int)params->iImage, (uint32 *)params->pnWidth, (uint32 *)params->pnHeight ); } -bool cppISteamUtils_SteamUtils004_GetImageRGBA(void *linux_side, int iImage, uint8 *pubDest, int nDestBufferSize) +void cppISteamUtils_SteamUtils004_GetImageRGBA( struct cppISteamUtils_SteamUtils004_GetImageRGBA_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageRGBA( (int)params->iImage, (uint8 *)params->pubDest, (int)params->nDestBufferSize ); } -bool cppISteamUtils_SteamUtils004_GetCSERIPPort(void *linux_side, uint32 *unIP, uint16 *usPort) +void cppISteamUtils_SteamUtils004_GetCSERIPPort( struct cppISteamUtils_SteamUtils004_GetCSERIPPort_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCSERIPPort( (uint32 *)params->unIP, (uint16 *)params->usPort ); } -uint8 cppISteamUtils_SteamUtils004_GetCurrentBatteryPower(void *linux_side) +void cppISteamUtils_SteamUtils004_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils004_GetCurrentBatteryPower_params *params ) { - uint8 _ret; - _ret = ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCurrentBatteryPower( ); } -uint32 cppISteamUtils_SteamUtils004_GetAppID(void *linux_side) +void cppISteamUtils_SteamUtils004_GetAppID( struct cppISteamUtils_SteamUtils004_GetAppID_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetAppID(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAppID( ); } -void cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +void cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition_params *params ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + ((ISteamUtils*)params->linux_side)->SetOverlayNotificationPosition( (ENotificationPosition)params->eNotificationPosition ); } -bool cppISteamUtils_SteamUtils004_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool *pbFailed) +void cppISteamUtils_SteamUtils004_IsAPICallCompleted( struct cppISteamUtils_SteamUtils004_IsAPICallCompleted_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsAPICallCompleted( (SteamAPICall_t)params->hSteamAPICall, (bool *)params->pbFailed ); } -ESteamAPICallFailure cppISteamUtils_SteamUtils004_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +void cppISteamUtils_SteamUtils004_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils004_GetAPICallFailureReason_params *params ) { - ESteamAPICallFailure _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallFailureReason( (SteamAPICall_t)params->hSteamAPICall ); } -bool cppISteamUtils_SteamUtils004_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) +void cppISteamUtils_SteamUtils004_GetAPICallResult( struct cppISteamUtils_SteamUtils004_GetAPICallResult_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallResult( (SteamAPICall_t)params->hSteamAPICall, (void *)params->pCallback, (int)params->cubCallback, (int)params->iCallbackExpected, (bool *)params->pbFailed ); } -void cppISteamUtils_SteamUtils004_RunFrame(void *linux_side) +void cppISteamUtils_SteamUtils004_RunFrame( struct cppISteamUtils_SteamUtils004_RunFrame_params *params ) { - ((ISteamUtils*)linux_side)->RunFrame(); + ((ISteamUtils*)params->linux_side)->RunFrame( ); } -uint32 cppISteamUtils_SteamUtils004_GetIPCCallCount(void *linux_side) +void cppISteamUtils_SteamUtils004_GetIPCCallCount( struct cppISteamUtils_SteamUtils004_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamUtils_SteamUtils004_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamUtils_SteamUtils004_SetWarningMessageHook( struct cppISteamUtils_SteamUtils004_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamUtils*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamUtils_SteamUtils004_IsOverlayEnabled(void *linux_side) +void cppISteamUtils_SteamUtils004_IsOverlayEnabled( struct cppISteamUtils_SteamUtils004_IsOverlayEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsOverlayEnabled(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsOverlayEnabled( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUtils_SteamUtils004.h b/lsteamclient/cppISteamUtils_SteamUtils004.h index 95a912ae..0491975e 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils004.h +++ b/lsteamclient/cppISteamUtils_SteamUtils004.h @@ -1,18 +1,141 @@ -extern uint32 cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils004_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils004_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils004_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils004_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils004_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils004_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils004_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils004_GetAppID(void *); -extern void cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils004_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils004_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils004_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils004_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils004_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils004_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils004_IsOverlayEnabled(void *); +struct cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive_params *params ); + +struct cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive_params *params ); + +struct cppISteamUtils_SteamUtils004_GetConnectedUniverse_params +{ + void *linux_side; + EUniverse _ret; +}; +extern void cppISteamUtils_SteamUtils004_GetConnectedUniverse( struct cppISteamUtils_SteamUtils004_GetConnectedUniverse_params *params ); + +struct cppISteamUtils_SteamUtils004_GetServerRealTime_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils004_GetServerRealTime( struct cppISteamUtils_SteamUtils004_GetServerRealTime_params *params ); + +struct cppISteamUtils_SteamUtils004_GetIPCountry_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamUtils_SteamUtils004_GetIPCountry( struct cppISteamUtils_SteamUtils004_GetIPCountry_params *params ); + +struct cppISteamUtils_SteamUtils004_GetImageSize_params +{ + void *linux_side; + bool _ret; + int iImage; + uint32 *pnWidth; + uint32 *pnHeight; +}; +extern void cppISteamUtils_SteamUtils004_GetImageSize( struct cppISteamUtils_SteamUtils004_GetImageSize_params *params ); + +struct cppISteamUtils_SteamUtils004_GetImageRGBA_params +{ + void *linux_side; + bool _ret; + int iImage; + uint8 *pubDest; + int nDestBufferSize; +}; +extern void cppISteamUtils_SteamUtils004_GetImageRGBA( struct cppISteamUtils_SteamUtils004_GetImageRGBA_params *params ); + +struct cppISteamUtils_SteamUtils004_GetCSERIPPort_params +{ + void *linux_side; + bool _ret; + uint32 *unIP; + uint16 *usPort; +}; +extern void cppISteamUtils_SteamUtils004_GetCSERIPPort( struct cppISteamUtils_SteamUtils004_GetCSERIPPort_params *params ); + +struct cppISteamUtils_SteamUtils004_GetCurrentBatteryPower_params +{ + void *linux_side; + uint8 _ret; +}; +extern void cppISteamUtils_SteamUtils004_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils004_GetCurrentBatteryPower_params *params ); + +struct cppISteamUtils_SteamUtils004_GetAppID_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils004_GetAppID( struct cppISteamUtils_SteamUtils004_GetAppID_params *params ); + +struct cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition_params +{ + void *linux_side; + ENotificationPosition eNotificationPosition; +}; +extern void cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition_params *params ); + +struct cppISteamUtils_SteamUtils004_IsAPICallCompleted_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils004_IsAPICallCompleted( struct cppISteamUtils_SteamUtils004_IsAPICallCompleted_params *params ); + +struct cppISteamUtils_SteamUtils004_GetAPICallFailureReason_params +{ + void *linux_side; + ESteamAPICallFailure _ret; + SteamAPICall_t hSteamAPICall; +}; +extern void cppISteamUtils_SteamUtils004_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils004_GetAPICallFailureReason_params *params ); + +struct cppISteamUtils_SteamUtils004_GetAPICallResult_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + void *pCallback; + int cubCallback; + int iCallbackExpected; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils004_GetAPICallResult( struct cppISteamUtils_SteamUtils004_GetAPICallResult_params *params ); + +struct cppISteamUtils_SteamUtils004_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamUtils_SteamUtils004_RunFrame( struct cppISteamUtils_SteamUtils004_RunFrame_params *params ); + +struct cppISteamUtils_SteamUtils004_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils004_GetIPCCallCount( struct cppISteamUtils_SteamUtils004_GetIPCCallCount_params *params ); + +struct cppISteamUtils_SteamUtils004_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamUtils_SteamUtils004_SetWarningMessageHook( struct cppISteamUtils_SteamUtils004_SetWarningMessageHook_params *params ); + +struct cppISteamUtils_SteamUtils004_IsOverlayEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils004_IsOverlayEnabled( struct cppISteamUtils_SteamUtils004_IsOverlayEnabled_params *params ); + diff --git a/lsteamclient/cppISteamUtils_SteamUtils005.cpp b/lsteamclient/cppISteamUtils_SteamUtils005.cpp index 201f22fb..d5ec3567 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils005.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils005.cpp @@ -11,160 +11,120 @@ extern "C" { #define SDKVER_123a #include "struct_converters.h" #include "cppISteamUtils_SteamUtils005.h" -uint32 cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive(void *linux_side) +void cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceAppActive( ); } -uint32 cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive(void *linux_side) +void cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceComputerActive( ); } -EUniverse cppISteamUtils_SteamUtils005_GetConnectedUniverse(void *linux_side) +void cppISteamUtils_SteamUtils005_GetConnectedUniverse( struct cppISteamUtils_SteamUtils005_GetConnectedUniverse_params *params ) { - EUniverse _ret; - _ret = ((ISteamUtils*)linux_side)->GetConnectedUniverse(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetConnectedUniverse( ); } -uint32 cppISteamUtils_SteamUtils005_GetServerRealTime(void *linux_side) +void cppISteamUtils_SteamUtils005_GetServerRealTime( struct cppISteamUtils_SteamUtils005_GetServerRealTime_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetServerRealTime(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetServerRealTime( ); } -const char * cppISteamUtils_SteamUtils005_GetIPCountry(void *linux_side) +void cppISteamUtils_SteamUtils005_GetIPCountry( struct cppISteamUtils_SteamUtils005_GetIPCountry_params *params ) { - const char *_ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCountry(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCountry( ); } -bool cppISteamUtils_SteamUtils005_GetImageSize(void *linux_side, int iImage, uint32 *pnWidth, uint32 *pnHeight) +void cppISteamUtils_SteamUtils005_GetImageSize( struct cppISteamUtils_SteamUtils005_GetImageSize_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageSize( (int)params->iImage, (uint32 *)params->pnWidth, (uint32 *)params->pnHeight ); } -bool cppISteamUtils_SteamUtils005_GetImageRGBA(void *linux_side, int iImage, uint8 *pubDest, int nDestBufferSize) +void cppISteamUtils_SteamUtils005_GetImageRGBA( struct cppISteamUtils_SteamUtils005_GetImageRGBA_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageRGBA( (int)params->iImage, (uint8 *)params->pubDest, (int)params->nDestBufferSize ); } -bool cppISteamUtils_SteamUtils005_GetCSERIPPort(void *linux_side, uint32 *unIP, uint16 *usPort) +void cppISteamUtils_SteamUtils005_GetCSERIPPort( struct cppISteamUtils_SteamUtils005_GetCSERIPPort_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCSERIPPort( (uint32 *)params->unIP, (uint16 *)params->usPort ); } -uint8 cppISteamUtils_SteamUtils005_GetCurrentBatteryPower(void *linux_side) +void cppISteamUtils_SteamUtils005_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils005_GetCurrentBatteryPower_params *params ) { - uint8 _ret; - _ret = ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCurrentBatteryPower( ); } -uint32 cppISteamUtils_SteamUtils005_GetAppID(void *linux_side) +void cppISteamUtils_SteamUtils005_GetAppID( struct cppISteamUtils_SteamUtils005_GetAppID_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetAppID(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAppID( ); } -void cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +void cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition_params *params ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + ((ISteamUtils*)params->linux_side)->SetOverlayNotificationPosition( (ENotificationPosition)params->eNotificationPosition ); } -bool cppISteamUtils_SteamUtils005_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool *pbFailed) +void cppISteamUtils_SteamUtils005_IsAPICallCompleted( struct cppISteamUtils_SteamUtils005_IsAPICallCompleted_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsAPICallCompleted( (SteamAPICall_t)params->hSteamAPICall, (bool *)params->pbFailed ); } -ESteamAPICallFailure cppISteamUtils_SteamUtils005_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +void cppISteamUtils_SteamUtils005_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils005_GetAPICallFailureReason_params *params ) { - ESteamAPICallFailure _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallFailureReason( (SteamAPICall_t)params->hSteamAPICall ); } -bool cppISteamUtils_SteamUtils005_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) +void cppISteamUtils_SteamUtils005_GetAPICallResult( struct cppISteamUtils_SteamUtils005_GetAPICallResult_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallResult( (SteamAPICall_t)params->hSteamAPICall, (void *)params->pCallback, (int)params->cubCallback, (int)params->iCallbackExpected, (bool *)params->pbFailed ); } -void cppISteamUtils_SteamUtils005_RunFrame(void *linux_side) +void cppISteamUtils_SteamUtils005_RunFrame( struct cppISteamUtils_SteamUtils005_RunFrame_params *params ) { - ((ISteamUtils*)linux_side)->RunFrame(); + ((ISteamUtils*)params->linux_side)->RunFrame( ); } -uint32 cppISteamUtils_SteamUtils005_GetIPCCallCount(void *linux_side) +void cppISteamUtils_SteamUtils005_GetIPCCallCount( struct cppISteamUtils_SteamUtils005_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamUtils_SteamUtils005_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamUtils_SteamUtils005_SetWarningMessageHook( struct cppISteamUtils_SteamUtils005_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamUtils*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamUtils_SteamUtils005_IsOverlayEnabled(void *linux_side) +void cppISteamUtils_SteamUtils005_IsOverlayEnabled( struct cppISteamUtils_SteamUtils005_IsOverlayEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsOverlayEnabled(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsOverlayEnabled( ); } -bool cppISteamUtils_SteamUtils005_BOverlayNeedsPresent(void *linux_side) +void cppISteamUtils_SteamUtils005_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils005_BOverlayNeedsPresent_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->BOverlayNeedsPresent(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->BOverlayNeedsPresent( ); } -SteamAPICall_t cppISteamUtils_SteamUtils005_CheckFileSignature(void *linux_side, const char *szFileName) +void cppISteamUtils_SteamUtils005_CheckFileSignature( struct cppISteamUtils_SteamUtils005_CheckFileSignature_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->CheckFileSignature( (const char *)params->szFileName ); } -bool cppISteamUtils_SteamUtils005_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax) +void cppISteamUtils_SteamUtils005_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils005_ShowGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->ShowGamepadTextInput( (EGamepadTextInputMode)params->eInputMode, (EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32)params->unCharMax ); } -uint32 cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength(void *linux_side) +void cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetEnteredGamepadTextLength( ); } -bool cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput(void *linux_side, char *pchText, uint32 cchText) +void cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetEnteredGamepadTextInput( (char *)params->pchText, (uint32)params->cchText ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUtils_SteamUtils005.h b/lsteamclient/cppISteamUtils_SteamUtils005.h index 2c0ac247..6ccb55d3 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils005.h +++ b/lsteamclient/cppISteamUtils_SteamUtils005.h @@ -1,23 +1,183 @@ -extern uint32 cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils005_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils005_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils005_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils005_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils005_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils005_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils005_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils005_GetAppID(void *); -extern void cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils005_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils005_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils005_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils005_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils005_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils005_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils005_IsOverlayEnabled(void *); -extern bool cppISteamUtils_SteamUtils005_BOverlayNeedsPresent(void *); -extern SteamAPICall_t cppISteamUtils_SteamUtils005_CheckFileSignature(void *, const char *); -extern bool cppISteamUtils_SteamUtils005_ShowGamepadTextInput(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32); -extern uint32 cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength(void *); -extern bool cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput(void *, char *, uint32); +struct cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive_params *params ); + +struct cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive_params *params ); + +struct cppISteamUtils_SteamUtils005_GetConnectedUniverse_params +{ + void *linux_side; + EUniverse _ret; +}; +extern void cppISteamUtils_SteamUtils005_GetConnectedUniverse( struct cppISteamUtils_SteamUtils005_GetConnectedUniverse_params *params ); + +struct cppISteamUtils_SteamUtils005_GetServerRealTime_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils005_GetServerRealTime( struct cppISteamUtils_SteamUtils005_GetServerRealTime_params *params ); + +struct cppISteamUtils_SteamUtils005_GetIPCountry_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamUtils_SteamUtils005_GetIPCountry( struct cppISteamUtils_SteamUtils005_GetIPCountry_params *params ); + +struct cppISteamUtils_SteamUtils005_GetImageSize_params +{ + void *linux_side; + bool _ret; + int iImage; + uint32 *pnWidth; + uint32 *pnHeight; +}; +extern void cppISteamUtils_SteamUtils005_GetImageSize( struct cppISteamUtils_SteamUtils005_GetImageSize_params *params ); + +struct cppISteamUtils_SteamUtils005_GetImageRGBA_params +{ + void *linux_side; + bool _ret; + int iImage; + uint8 *pubDest; + int nDestBufferSize; +}; +extern void cppISteamUtils_SteamUtils005_GetImageRGBA( struct cppISteamUtils_SteamUtils005_GetImageRGBA_params *params ); + +struct cppISteamUtils_SteamUtils005_GetCSERIPPort_params +{ + void *linux_side; + bool _ret; + uint32 *unIP; + uint16 *usPort; +}; +extern void cppISteamUtils_SteamUtils005_GetCSERIPPort( struct cppISteamUtils_SteamUtils005_GetCSERIPPort_params *params ); + +struct cppISteamUtils_SteamUtils005_GetCurrentBatteryPower_params +{ + void *linux_side; + uint8 _ret; +}; +extern void cppISteamUtils_SteamUtils005_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils005_GetCurrentBatteryPower_params *params ); + +struct cppISteamUtils_SteamUtils005_GetAppID_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils005_GetAppID( struct cppISteamUtils_SteamUtils005_GetAppID_params *params ); + +struct cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition_params +{ + void *linux_side; + ENotificationPosition eNotificationPosition; +}; +extern void cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition_params *params ); + +struct cppISteamUtils_SteamUtils005_IsAPICallCompleted_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils005_IsAPICallCompleted( struct cppISteamUtils_SteamUtils005_IsAPICallCompleted_params *params ); + +struct cppISteamUtils_SteamUtils005_GetAPICallFailureReason_params +{ + void *linux_side; + ESteamAPICallFailure _ret; + SteamAPICall_t hSteamAPICall; +}; +extern void cppISteamUtils_SteamUtils005_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils005_GetAPICallFailureReason_params *params ); + +struct cppISteamUtils_SteamUtils005_GetAPICallResult_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + void *pCallback; + int cubCallback; + int iCallbackExpected; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils005_GetAPICallResult( struct cppISteamUtils_SteamUtils005_GetAPICallResult_params *params ); + +struct cppISteamUtils_SteamUtils005_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamUtils_SteamUtils005_RunFrame( struct cppISteamUtils_SteamUtils005_RunFrame_params *params ); + +struct cppISteamUtils_SteamUtils005_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils005_GetIPCCallCount( struct cppISteamUtils_SteamUtils005_GetIPCCallCount_params *params ); + +struct cppISteamUtils_SteamUtils005_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamUtils_SteamUtils005_SetWarningMessageHook( struct cppISteamUtils_SteamUtils005_SetWarningMessageHook_params *params ); + +struct cppISteamUtils_SteamUtils005_IsOverlayEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils005_IsOverlayEnabled( struct cppISteamUtils_SteamUtils005_IsOverlayEnabled_params *params ); + +struct cppISteamUtils_SteamUtils005_BOverlayNeedsPresent_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils005_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils005_BOverlayNeedsPresent_params *params ); + +struct cppISteamUtils_SteamUtils005_CheckFileSignature_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *szFileName; +}; +extern void cppISteamUtils_SteamUtils005_CheckFileSignature( struct cppISteamUtils_SteamUtils005_CheckFileSignature_params *params ); + +struct cppISteamUtils_SteamUtils005_ShowGamepadTextInput_params +{ + void *linux_side; + bool _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32 unCharMax; +}; +extern void cppISteamUtils_SteamUtils005_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils005_ShowGamepadTextInput_params *params ); + +struct cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength_params *params ); + +struct cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput_params +{ + void *linux_side; + bool _ret; + char *pchText; + uint32 cchText; +}; +extern void cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput_params *params ); + diff --git a/lsteamclient/cppISteamUtils_SteamUtils006.cpp b/lsteamclient/cppISteamUtils_SteamUtils006.cpp index ea6fd113..e40436a4 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils006.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils006.cpp @@ -11,174 +11,130 @@ extern "C" { #define SDKVER_128 #include "struct_converters.h" #include "cppISteamUtils_SteamUtils006.h" -uint32 cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive(void *linux_side) +void cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceAppActive( ); } -uint32 cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive(void *linux_side) +void cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceComputerActive( ); } -EUniverse cppISteamUtils_SteamUtils006_GetConnectedUniverse(void *linux_side) +void cppISteamUtils_SteamUtils006_GetConnectedUniverse( struct cppISteamUtils_SteamUtils006_GetConnectedUniverse_params *params ) { - EUniverse _ret; - _ret = ((ISteamUtils*)linux_side)->GetConnectedUniverse(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetConnectedUniverse( ); } -uint32 cppISteamUtils_SteamUtils006_GetServerRealTime(void *linux_side) +void cppISteamUtils_SteamUtils006_GetServerRealTime( struct cppISteamUtils_SteamUtils006_GetServerRealTime_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetServerRealTime(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetServerRealTime( ); } -const char * cppISteamUtils_SteamUtils006_GetIPCountry(void *linux_side) +void cppISteamUtils_SteamUtils006_GetIPCountry( struct cppISteamUtils_SteamUtils006_GetIPCountry_params *params ) { - const char *_ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCountry(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCountry( ); } -bool cppISteamUtils_SteamUtils006_GetImageSize(void *linux_side, int iImage, uint32 *pnWidth, uint32 *pnHeight) +void cppISteamUtils_SteamUtils006_GetImageSize( struct cppISteamUtils_SteamUtils006_GetImageSize_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageSize( (int)params->iImage, (uint32 *)params->pnWidth, (uint32 *)params->pnHeight ); } -bool cppISteamUtils_SteamUtils006_GetImageRGBA(void *linux_side, int iImage, uint8 *pubDest, int nDestBufferSize) +void cppISteamUtils_SteamUtils006_GetImageRGBA( struct cppISteamUtils_SteamUtils006_GetImageRGBA_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageRGBA( (int)params->iImage, (uint8 *)params->pubDest, (int)params->nDestBufferSize ); } -bool cppISteamUtils_SteamUtils006_GetCSERIPPort(void *linux_side, uint32 *unIP, uint16 *usPort) +void cppISteamUtils_SteamUtils006_GetCSERIPPort( struct cppISteamUtils_SteamUtils006_GetCSERIPPort_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCSERIPPort( (uint32 *)params->unIP, (uint16 *)params->usPort ); } -uint8 cppISteamUtils_SteamUtils006_GetCurrentBatteryPower(void *linux_side) +void cppISteamUtils_SteamUtils006_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils006_GetCurrentBatteryPower_params *params ) { - uint8 _ret; - _ret = ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCurrentBatteryPower( ); } -uint32 cppISteamUtils_SteamUtils006_GetAppID(void *linux_side) +void cppISteamUtils_SteamUtils006_GetAppID( struct cppISteamUtils_SteamUtils006_GetAppID_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetAppID(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAppID( ); } -void cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +void cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition_params *params ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + ((ISteamUtils*)params->linux_side)->SetOverlayNotificationPosition( (ENotificationPosition)params->eNotificationPosition ); } -bool cppISteamUtils_SteamUtils006_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool *pbFailed) +void cppISteamUtils_SteamUtils006_IsAPICallCompleted( struct cppISteamUtils_SteamUtils006_IsAPICallCompleted_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsAPICallCompleted( (SteamAPICall_t)params->hSteamAPICall, (bool *)params->pbFailed ); } -ESteamAPICallFailure cppISteamUtils_SteamUtils006_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +void cppISteamUtils_SteamUtils006_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils006_GetAPICallFailureReason_params *params ) { - ESteamAPICallFailure _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallFailureReason( (SteamAPICall_t)params->hSteamAPICall ); } -bool cppISteamUtils_SteamUtils006_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) +void cppISteamUtils_SteamUtils006_GetAPICallResult( struct cppISteamUtils_SteamUtils006_GetAPICallResult_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallResult( (SteamAPICall_t)params->hSteamAPICall, (void *)params->pCallback, (int)params->cubCallback, (int)params->iCallbackExpected, (bool *)params->pbFailed ); } -void cppISteamUtils_SteamUtils006_RunFrame(void *linux_side) +void cppISteamUtils_SteamUtils006_RunFrame( struct cppISteamUtils_SteamUtils006_RunFrame_params *params ) { - ((ISteamUtils*)linux_side)->RunFrame(); + ((ISteamUtils*)params->linux_side)->RunFrame( ); } -uint32 cppISteamUtils_SteamUtils006_GetIPCCallCount(void *linux_side) +void cppISteamUtils_SteamUtils006_GetIPCCallCount( struct cppISteamUtils_SteamUtils006_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamUtils_SteamUtils006_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamUtils_SteamUtils006_SetWarningMessageHook( struct cppISteamUtils_SteamUtils006_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamUtils*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamUtils_SteamUtils006_IsOverlayEnabled(void *linux_side) +void cppISteamUtils_SteamUtils006_IsOverlayEnabled( struct cppISteamUtils_SteamUtils006_IsOverlayEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsOverlayEnabled(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsOverlayEnabled( ); } -bool cppISteamUtils_SteamUtils006_BOverlayNeedsPresent(void *linux_side) +void cppISteamUtils_SteamUtils006_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils006_BOverlayNeedsPresent_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->BOverlayNeedsPresent(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->BOverlayNeedsPresent( ); } -SteamAPICall_t cppISteamUtils_SteamUtils006_CheckFileSignature(void *linux_side, const char *szFileName) +void cppISteamUtils_SteamUtils006_CheckFileSignature( struct cppISteamUtils_SteamUtils006_CheckFileSignature_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->CheckFileSignature( (const char *)params->szFileName ); } -bool cppISteamUtils_SteamUtils006_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax) +void cppISteamUtils_SteamUtils006_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils006_ShowGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->ShowGamepadTextInput( (EGamepadTextInputMode)params->eInputMode, (EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32)params->unCharMax ); } -uint32 cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength(void *linux_side) +void cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetEnteredGamepadTextLength( ); } -bool cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput(void *linux_side, char *pchText, uint32 cchText) +void cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetEnteredGamepadTextInput( (char *)params->pchText, (uint32)params->cchText ); } -const char * cppISteamUtils_SteamUtils006_GetSteamUILanguage(void *linux_side) +void cppISteamUtils_SteamUtils006_GetSteamUILanguage( struct cppISteamUtils_SteamUtils006_GetSteamUILanguage_params *params ) { - const char *_ret; - _ret = ((ISteamUtils*)linux_side)->GetSteamUILanguage(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSteamUILanguage( ); } -bool cppISteamUtils_SteamUtils006_IsSteamRunningInVR(void *linux_side) +void cppISteamUtils_SteamUtils006_IsSteamRunningInVR( struct cppISteamUtils_SteamUtils006_IsSteamRunningInVR_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsSteamRunningInVR(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsSteamRunningInVR( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUtils_SteamUtils006.h b/lsteamclient/cppISteamUtils_SteamUtils006.h index a67eafa5..af9b4c6a 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils006.h +++ b/lsteamclient/cppISteamUtils_SteamUtils006.h @@ -1,25 +1,197 @@ -extern uint32 cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils006_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils006_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils006_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils006_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils006_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils006_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils006_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils006_GetAppID(void *); -extern void cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils006_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils006_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils006_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils006_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils006_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils006_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils006_IsOverlayEnabled(void *); -extern bool cppISteamUtils_SteamUtils006_BOverlayNeedsPresent(void *); -extern SteamAPICall_t cppISteamUtils_SteamUtils006_CheckFileSignature(void *, const char *); -extern bool cppISteamUtils_SteamUtils006_ShowGamepadTextInput(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32); -extern uint32 cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength(void *); -extern bool cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput(void *, char *, uint32); -extern const char * cppISteamUtils_SteamUtils006_GetSteamUILanguage(void *); -extern bool cppISteamUtils_SteamUtils006_IsSteamRunningInVR(void *); +struct cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive_params *params ); + +struct cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive_params *params ); + +struct cppISteamUtils_SteamUtils006_GetConnectedUniverse_params +{ + void *linux_side; + EUniverse _ret; +}; +extern void cppISteamUtils_SteamUtils006_GetConnectedUniverse( struct cppISteamUtils_SteamUtils006_GetConnectedUniverse_params *params ); + +struct cppISteamUtils_SteamUtils006_GetServerRealTime_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils006_GetServerRealTime( struct cppISteamUtils_SteamUtils006_GetServerRealTime_params *params ); + +struct cppISteamUtils_SteamUtils006_GetIPCountry_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamUtils_SteamUtils006_GetIPCountry( struct cppISteamUtils_SteamUtils006_GetIPCountry_params *params ); + +struct cppISteamUtils_SteamUtils006_GetImageSize_params +{ + void *linux_side; + bool _ret; + int iImage; + uint32 *pnWidth; + uint32 *pnHeight; +}; +extern void cppISteamUtils_SteamUtils006_GetImageSize( struct cppISteamUtils_SteamUtils006_GetImageSize_params *params ); + +struct cppISteamUtils_SteamUtils006_GetImageRGBA_params +{ + void *linux_side; + bool _ret; + int iImage; + uint8 *pubDest; + int nDestBufferSize; +}; +extern void cppISteamUtils_SteamUtils006_GetImageRGBA( struct cppISteamUtils_SteamUtils006_GetImageRGBA_params *params ); + +struct cppISteamUtils_SteamUtils006_GetCSERIPPort_params +{ + void *linux_side; + bool _ret; + uint32 *unIP; + uint16 *usPort; +}; +extern void cppISteamUtils_SteamUtils006_GetCSERIPPort( struct cppISteamUtils_SteamUtils006_GetCSERIPPort_params *params ); + +struct cppISteamUtils_SteamUtils006_GetCurrentBatteryPower_params +{ + void *linux_side; + uint8 _ret; +}; +extern void cppISteamUtils_SteamUtils006_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils006_GetCurrentBatteryPower_params *params ); + +struct cppISteamUtils_SteamUtils006_GetAppID_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils006_GetAppID( struct cppISteamUtils_SteamUtils006_GetAppID_params *params ); + +struct cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition_params +{ + void *linux_side; + ENotificationPosition eNotificationPosition; +}; +extern void cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition_params *params ); + +struct cppISteamUtils_SteamUtils006_IsAPICallCompleted_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils006_IsAPICallCompleted( struct cppISteamUtils_SteamUtils006_IsAPICallCompleted_params *params ); + +struct cppISteamUtils_SteamUtils006_GetAPICallFailureReason_params +{ + void *linux_side; + ESteamAPICallFailure _ret; + SteamAPICall_t hSteamAPICall; +}; +extern void cppISteamUtils_SteamUtils006_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils006_GetAPICallFailureReason_params *params ); + +struct cppISteamUtils_SteamUtils006_GetAPICallResult_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + void *pCallback; + int cubCallback; + int iCallbackExpected; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils006_GetAPICallResult( struct cppISteamUtils_SteamUtils006_GetAPICallResult_params *params ); + +struct cppISteamUtils_SteamUtils006_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamUtils_SteamUtils006_RunFrame( struct cppISteamUtils_SteamUtils006_RunFrame_params *params ); + +struct cppISteamUtils_SteamUtils006_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils006_GetIPCCallCount( struct cppISteamUtils_SteamUtils006_GetIPCCallCount_params *params ); + +struct cppISteamUtils_SteamUtils006_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamUtils_SteamUtils006_SetWarningMessageHook( struct cppISteamUtils_SteamUtils006_SetWarningMessageHook_params *params ); + +struct cppISteamUtils_SteamUtils006_IsOverlayEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils006_IsOverlayEnabled( struct cppISteamUtils_SteamUtils006_IsOverlayEnabled_params *params ); + +struct cppISteamUtils_SteamUtils006_BOverlayNeedsPresent_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils006_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils006_BOverlayNeedsPresent_params *params ); + +struct cppISteamUtils_SteamUtils006_CheckFileSignature_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *szFileName; +}; +extern void cppISteamUtils_SteamUtils006_CheckFileSignature( struct cppISteamUtils_SteamUtils006_CheckFileSignature_params *params ); + +struct cppISteamUtils_SteamUtils006_ShowGamepadTextInput_params +{ + void *linux_side; + bool _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32 unCharMax; +}; +extern void cppISteamUtils_SteamUtils006_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils006_ShowGamepadTextInput_params *params ); + +struct cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength_params *params ); + +struct cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput_params +{ + void *linux_side; + bool _ret; + char *pchText; + uint32 cchText; +}; +extern void cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput_params *params ); + +struct cppISteamUtils_SteamUtils006_GetSteamUILanguage_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamUtils_SteamUtils006_GetSteamUILanguage( struct cppISteamUtils_SteamUtils006_GetSteamUILanguage_params *params ); + +struct cppISteamUtils_SteamUtils006_IsSteamRunningInVR_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils006_IsSteamRunningInVR( struct cppISteamUtils_SteamUtils006_IsSteamRunningInVR_params *params ); + diff --git a/lsteamclient/cppISteamUtils_SteamUtils007.cpp b/lsteamclient/cppISteamUtils_SteamUtils007.cpp index 7cd2d10c..4035f368 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils007.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils007.cpp @@ -11,179 +11,135 @@ extern "C" { #define SDKVER_136 #include "struct_converters.h" #include "cppISteamUtils_SteamUtils007.h" -uint32 cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive(void *linux_side) +void cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceAppActive( ); } -uint32 cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive(void *linux_side) +void cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceComputerActive( ); } -EUniverse cppISteamUtils_SteamUtils007_GetConnectedUniverse(void *linux_side) +void cppISteamUtils_SteamUtils007_GetConnectedUniverse( struct cppISteamUtils_SteamUtils007_GetConnectedUniverse_params *params ) { - EUniverse _ret; - _ret = ((ISteamUtils*)linux_side)->GetConnectedUniverse(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetConnectedUniverse( ); } -uint32 cppISteamUtils_SteamUtils007_GetServerRealTime(void *linux_side) +void cppISteamUtils_SteamUtils007_GetServerRealTime( struct cppISteamUtils_SteamUtils007_GetServerRealTime_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetServerRealTime(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetServerRealTime( ); } -const char * cppISteamUtils_SteamUtils007_GetIPCountry(void *linux_side) +void cppISteamUtils_SteamUtils007_GetIPCountry( struct cppISteamUtils_SteamUtils007_GetIPCountry_params *params ) { - const char *_ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCountry(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCountry( ); } -bool cppISteamUtils_SteamUtils007_GetImageSize(void *linux_side, int iImage, uint32 *pnWidth, uint32 *pnHeight) +void cppISteamUtils_SteamUtils007_GetImageSize( struct cppISteamUtils_SteamUtils007_GetImageSize_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageSize( (int)params->iImage, (uint32 *)params->pnWidth, (uint32 *)params->pnHeight ); } -bool cppISteamUtils_SteamUtils007_GetImageRGBA(void *linux_side, int iImage, uint8 *pubDest, int nDestBufferSize) +void cppISteamUtils_SteamUtils007_GetImageRGBA( struct cppISteamUtils_SteamUtils007_GetImageRGBA_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageRGBA( (int)params->iImage, (uint8 *)params->pubDest, (int)params->nDestBufferSize ); } -bool cppISteamUtils_SteamUtils007_GetCSERIPPort(void *linux_side, uint32 *unIP, uint16 *usPort) +void cppISteamUtils_SteamUtils007_GetCSERIPPort( struct cppISteamUtils_SteamUtils007_GetCSERIPPort_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCSERIPPort( (uint32 *)params->unIP, (uint16 *)params->usPort ); } -uint8 cppISteamUtils_SteamUtils007_GetCurrentBatteryPower(void *linux_side) +void cppISteamUtils_SteamUtils007_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils007_GetCurrentBatteryPower_params *params ) { - uint8 _ret; - _ret = ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCurrentBatteryPower( ); } -uint32 cppISteamUtils_SteamUtils007_GetAppID(void *linux_side) +void cppISteamUtils_SteamUtils007_GetAppID( struct cppISteamUtils_SteamUtils007_GetAppID_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetAppID(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAppID( ); } -void cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +void cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition_params *params ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + ((ISteamUtils*)params->linux_side)->SetOverlayNotificationPosition( (ENotificationPosition)params->eNotificationPosition ); } -bool cppISteamUtils_SteamUtils007_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool *pbFailed) +void cppISteamUtils_SteamUtils007_IsAPICallCompleted( struct cppISteamUtils_SteamUtils007_IsAPICallCompleted_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsAPICallCompleted( (SteamAPICall_t)params->hSteamAPICall, (bool *)params->pbFailed ); } -ESteamAPICallFailure cppISteamUtils_SteamUtils007_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +void cppISteamUtils_SteamUtils007_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils007_GetAPICallFailureReason_params *params ) { - ESteamAPICallFailure _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallFailureReason( (SteamAPICall_t)params->hSteamAPICall ); } -bool cppISteamUtils_SteamUtils007_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) +void cppISteamUtils_SteamUtils007_GetAPICallResult( struct cppISteamUtils_SteamUtils007_GetAPICallResult_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallResult( (SteamAPICall_t)params->hSteamAPICall, (void *)params->pCallback, (int)params->cubCallback, (int)params->iCallbackExpected, (bool *)params->pbFailed ); } -void cppISteamUtils_SteamUtils007_RunFrame(void *linux_side) +void cppISteamUtils_SteamUtils007_RunFrame( struct cppISteamUtils_SteamUtils007_RunFrame_params *params ) { - ((ISteamUtils*)linux_side)->RunFrame(); + ((ISteamUtils*)params->linux_side)->RunFrame( ); } -uint32 cppISteamUtils_SteamUtils007_GetIPCCallCount(void *linux_side) +void cppISteamUtils_SteamUtils007_GetIPCCallCount( struct cppISteamUtils_SteamUtils007_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamUtils_SteamUtils007_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamUtils_SteamUtils007_SetWarningMessageHook( struct cppISteamUtils_SteamUtils007_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamUtils*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamUtils_SteamUtils007_IsOverlayEnabled(void *linux_side) +void cppISteamUtils_SteamUtils007_IsOverlayEnabled( struct cppISteamUtils_SteamUtils007_IsOverlayEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsOverlayEnabled(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsOverlayEnabled( ); } -bool cppISteamUtils_SteamUtils007_BOverlayNeedsPresent(void *linux_side) +void cppISteamUtils_SteamUtils007_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils007_BOverlayNeedsPresent_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->BOverlayNeedsPresent(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->BOverlayNeedsPresent( ); } -SteamAPICall_t cppISteamUtils_SteamUtils007_CheckFileSignature(void *linux_side, const char *szFileName) +void cppISteamUtils_SteamUtils007_CheckFileSignature( struct cppISteamUtils_SteamUtils007_CheckFileSignature_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->CheckFileSignature( (const char *)params->szFileName ); } -bool cppISteamUtils_SteamUtils007_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax, const char *pchExistingText) +void cppISteamUtils_SteamUtils007_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils007_ShowGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax, (const char *)pchExistingText); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->ShowGamepadTextInput( (EGamepadTextInputMode)params->eInputMode, (EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32)params->unCharMax, (const char *)params->pchExistingText ); } -uint32 cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength(void *linux_side) +void cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetEnteredGamepadTextLength( ); } -bool cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput(void *linux_side, char *pchText, uint32 cchText) +void cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetEnteredGamepadTextInput( (char *)params->pchText, (uint32)params->cchText ); } -const char * cppISteamUtils_SteamUtils007_GetSteamUILanguage(void *linux_side) +void cppISteamUtils_SteamUtils007_GetSteamUILanguage( struct cppISteamUtils_SteamUtils007_GetSteamUILanguage_params *params ) { - const char *_ret; - _ret = ((ISteamUtils*)linux_side)->GetSteamUILanguage(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSteamUILanguage( ); } -bool cppISteamUtils_SteamUtils007_IsSteamRunningInVR(void *linux_side) +void cppISteamUtils_SteamUtils007_IsSteamRunningInVR( struct cppISteamUtils_SteamUtils007_IsSteamRunningInVR_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsSteamRunningInVR(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsSteamRunningInVR( ); } -void cppISteamUtils_SteamUtils007_SetOverlayNotificationInset(void *linux_side, int nHorizontalInset, int nVerticalInset) +void cppISteamUtils_SteamUtils007_SetOverlayNotificationInset( struct cppISteamUtils_SteamUtils007_SetOverlayNotificationInset_params *params ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationInset((int)nHorizontalInset, (int)nVerticalInset); + ((ISteamUtils*)params->linux_side)->SetOverlayNotificationInset( (int)params->nHorizontalInset, (int)params->nVerticalInset ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUtils_SteamUtils007.h b/lsteamclient/cppISteamUtils_SteamUtils007.h index 06748776..d9095fb4 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils007.h +++ b/lsteamclient/cppISteamUtils_SteamUtils007.h @@ -1,26 +1,206 @@ -extern uint32 cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils007_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils007_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils007_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils007_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils007_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils007_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils007_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils007_GetAppID(void *); -extern void cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils007_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils007_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils007_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils007_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils007_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils007_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils007_IsOverlayEnabled(void *); -extern bool cppISteamUtils_SteamUtils007_BOverlayNeedsPresent(void *); -extern SteamAPICall_t cppISteamUtils_SteamUtils007_CheckFileSignature(void *, const char *); -extern bool cppISteamUtils_SteamUtils007_ShowGamepadTextInput(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32, const char *); -extern uint32 cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength(void *); -extern bool cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput(void *, char *, uint32); -extern const char * cppISteamUtils_SteamUtils007_GetSteamUILanguage(void *); -extern bool cppISteamUtils_SteamUtils007_IsSteamRunningInVR(void *); -extern void cppISteamUtils_SteamUtils007_SetOverlayNotificationInset(void *, int, int); +struct cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive_params *params ); + +struct cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive_params *params ); + +struct cppISteamUtils_SteamUtils007_GetConnectedUniverse_params +{ + void *linux_side; + EUniverse _ret; +}; +extern void cppISteamUtils_SteamUtils007_GetConnectedUniverse( struct cppISteamUtils_SteamUtils007_GetConnectedUniverse_params *params ); + +struct cppISteamUtils_SteamUtils007_GetServerRealTime_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils007_GetServerRealTime( struct cppISteamUtils_SteamUtils007_GetServerRealTime_params *params ); + +struct cppISteamUtils_SteamUtils007_GetIPCountry_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamUtils_SteamUtils007_GetIPCountry( struct cppISteamUtils_SteamUtils007_GetIPCountry_params *params ); + +struct cppISteamUtils_SteamUtils007_GetImageSize_params +{ + void *linux_side; + bool _ret; + int iImage; + uint32 *pnWidth; + uint32 *pnHeight; +}; +extern void cppISteamUtils_SteamUtils007_GetImageSize( struct cppISteamUtils_SteamUtils007_GetImageSize_params *params ); + +struct cppISteamUtils_SteamUtils007_GetImageRGBA_params +{ + void *linux_side; + bool _ret; + int iImage; + uint8 *pubDest; + int nDestBufferSize; +}; +extern void cppISteamUtils_SteamUtils007_GetImageRGBA( struct cppISteamUtils_SteamUtils007_GetImageRGBA_params *params ); + +struct cppISteamUtils_SteamUtils007_GetCSERIPPort_params +{ + void *linux_side; + bool _ret; + uint32 *unIP; + uint16 *usPort; +}; +extern void cppISteamUtils_SteamUtils007_GetCSERIPPort( struct cppISteamUtils_SteamUtils007_GetCSERIPPort_params *params ); + +struct cppISteamUtils_SteamUtils007_GetCurrentBatteryPower_params +{ + void *linux_side; + uint8 _ret; +}; +extern void cppISteamUtils_SteamUtils007_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils007_GetCurrentBatteryPower_params *params ); + +struct cppISteamUtils_SteamUtils007_GetAppID_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils007_GetAppID( struct cppISteamUtils_SteamUtils007_GetAppID_params *params ); + +struct cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition_params +{ + void *linux_side; + ENotificationPosition eNotificationPosition; +}; +extern void cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition_params *params ); + +struct cppISteamUtils_SteamUtils007_IsAPICallCompleted_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils007_IsAPICallCompleted( struct cppISteamUtils_SteamUtils007_IsAPICallCompleted_params *params ); + +struct cppISteamUtils_SteamUtils007_GetAPICallFailureReason_params +{ + void *linux_side; + ESteamAPICallFailure _ret; + SteamAPICall_t hSteamAPICall; +}; +extern void cppISteamUtils_SteamUtils007_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils007_GetAPICallFailureReason_params *params ); + +struct cppISteamUtils_SteamUtils007_GetAPICallResult_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + void *pCallback; + int cubCallback; + int iCallbackExpected; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils007_GetAPICallResult( struct cppISteamUtils_SteamUtils007_GetAPICallResult_params *params ); + +struct cppISteamUtils_SteamUtils007_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamUtils_SteamUtils007_RunFrame( struct cppISteamUtils_SteamUtils007_RunFrame_params *params ); + +struct cppISteamUtils_SteamUtils007_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils007_GetIPCCallCount( struct cppISteamUtils_SteamUtils007_GetIPCCallCount_params *params ); + +struct cppISteamUtils_SteamUtils007_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamUtils_SteamUtils007_SetWarningMessageHook( struct cppISteamUtils_SteamUtils007_SetWarningMessageHook_params *params ); + +struct cppISteamUtils_SteamUtils007_IsOverlayEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils007_IsOverlayEnabled( struct cppISteamUtils_SteamUtils007_IsOverlayEnabled_params *params ); + +struct cppISteamUtils_SteamUtils007_BOverlayNeedsPresent_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils007_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils007_BOverlayNeedsPresent_params *params ); + +struct cppISteamUtils_SteamUtils007_CheckFileSignature_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *szFileName; +}; +extern void cppISteamUtils_SteamUtils007_CheckFileSignature( struct cppISteamUtils_SteamUtils007_CheckFileSignature_params *params ); + +struct cppISteamUtils_SteamUtils007_ShowGamepadTextInput_params +{ + void *linux_side; + bool _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32 unCharMax; + const char *pchExistingText; +}; +extern void cppISteamUtils_SteamUtils007_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils007_ShowGamepadTextInput_params *params ); + +struct cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength_params *params ); + +struct cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput_params +{ + void *linux_side; + bool _ret; + char *pchText; + uint32 cchText; +}; +extern void cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput_params *params ); + +struct cppISteamUtils_SteamUtils007_GetSteamUILanguage_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamUtils_SteamUtils007_GetSteamUILanguage( struct cppISteamUtils_SteamUtils007_GetSteamUILanguage_params *params ); + +struct cppISteamUtils_SteamUtils007_IsSteamRunningInVR_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils007_IsSteamRunningInVR( struct cppISteamUtils_SteamUtils007_IsSteamRunningInVR_params *params ); + +struct cppISteamUtils_SteamUtils007_SetOverlayNotificationInset_params +{ + void *linux_side; + int nHorizontalInset; + int nVerticalInset; +}; +extern void cppISteamUtils_SteamUtils007_SetOverlayNotificationInset( struct cppISteamUtils_SteamUtils007_SetOverlayNotificationInset_params *params ); + diff --git a/lsteamclient/cppISteamUtils_SteamUtils008.cpp b/lsteamclient/cppISteamUtils_SteamUtils008.cpp index 65bd595c..5334d836 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils008.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils008.cpp @@ -11,191 +11,145 @@ extern "C" { #define SDKVER_139 #include "struct_converters.h" #include "cppISteamUtils_SteamUtils008.h" -uint32 cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive(void *linux_side) +void cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceAppActive( ); } -uint32 cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive(void *linux_side) +void cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceComputerActive( ); } -EUniverse cppISteamUtils_SteamUtils008_GetConnectedUniverse(void *linux_side) +void cppISteamUtils_SteamUtils008_GetConnectedUniverse( struct cppISteamUtils_SteamUtils008_GetConnectedUniverse_params *params ) { - EUniverse _ret; - _ret = ((ISteamUtils*)linux_side)->GetConnectedUniverse(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetConnectedUniverse( ); } -uint32 cppISteamUtils_SteamUtils008_GetServerRealTime(void *linux_side) +void cppISteamUtils_SteamUtils008_GetServerRealTime( struct cppISteamUtils_SteamUtils008_GetServerRealTime_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetServerRealTime(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetServerRealTime( ); } -const char * cppISteamUtils_SteamUtils008_GetIPCountry(void *linux_side) +void cppISteamUtils_SteamUtils008_GetIPCountry( struct cppISteamUtils_SteamUtils008_GetIPCountry_params *params ) { - const char *_ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCountry(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCountry( ); } -bool cppISteamUtils_SteamUtils008_GetImageSize(void *linux_side, int iImage, uint32 *pnWidth, uint32 *pnHeight) +void cppISteamUtils_SteamUtils008_GetImageSize( struct cppISteamUtils_SteamUtils008_GetImageSize_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageSize( (int)params->iImage, (uint32 *)params->pnWidth, (uint32 *)params->pnHeight ); } -bool cppISteamUtils_SteamUtils008_GetImageRGBA(void *linux_side, int iImage, uint8 *pubDest, int nDestBufferSize) +void cppISteamUtils_SteamUtils008_GetImageRGBA( struct cppISteamUtils_SteamUtils008_GetImageRGBA_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageRGBA( (int)params->iImage, (uint8 *)params->pubDest, (int)params->nDestBufferSize ); } -bool cppISteamUtils_SteamUtils008_GetCSERIPPort(void *linux_side, uint32 *unIP, uint16 *usPort) +void cppISteamUtils_SteamUtils008_GetCSERIPPort( struct cppISteamUtils_SteamUtils008_GetCSERIPPort_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCSERIPPort( (uint32 *)params->unIP, (uint16 *)params->usPort ); } -uint8 cppISteamUtils_SteamUtils008_GetCurrentBatteryPower(void *linux_side) +void cppISteamUtils_SteamUtils008_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils008_GetCurrentBatteryPower_params *params ) { - uint8 _ret; - _ret = ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCurrentBatteryPower( ); } -uint32 cppISteamUtils_SteamUtils008_GetAppID(void *linux_side) +void cppISteamUtils_SteamUtils008_GetAppID( struct cppISteamUtils_SteamUtils008_GetAppID_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetAppID(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAppID( ); } -void cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +void cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition_params *params ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + ((ISteamUtils*)params->linux_side)->SetOverlayNotificationPosition( (ENotificationPosition)params->eNotificationPosition ); } -bool cppISteamUtils_SteamUtils008_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool *pbFailed) +void cppISteamUtils_SteamUtils008_IsAPICallCompleted( struct cppISteamUtils_SteamUtils008_IsAPICallCompleted_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsAPICallCompleted( (SteamAPICall_t)params->hSteamAPICall, (bool *)params->pbFailed ); } -ESteamAPICallFailure cppISteamUtils_SteamUtils008_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +void cppISteamUtils_SteamUtils008_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils008_GetAPICallFailureReason_params *params ) { - ESteamAPICallFailure _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallFailureReason( (SteamAPICall_t)params->hSteamAPICall ); } -bool cppISteamUtils_SteamUtils008_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) +void cppISteamUtils_SteamUtils008_GetAPICallResult( struct cppISteamUtils_SteamUtils008_GetAPICallResult_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallResult( (SteamAPICall_t)params->hSteamAPICall, (void *)params->pCallback, (int)params->cubCallback, (int)params->iCallbackExpected, (bool *)params->pbFailed ); } -void cppISteamUtils_SteamUtils008_RunFrame(void *linux_side) +void cppISteamUtils_SteamUtils008_RunFrame( struct cppISteamUtils_SteamUtils008_RunFrame_params *params ) { - ((ISteamUtils*)linux_side)->RunFrame(); + ((ISteamUtils*)params->linux_side)->RunFrame( ); } -uint32 cppISteamUtils_SteamUtils008_GetIPCCallCount(void *linux_side) +void cppISteamUtils_SteamUtils008_GetIPCCallCount( struct cppISteamUtils_SteamUtils008_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamUtils_SteamUtils008_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamUtils_SteamUtils008_SetWarningMessageHook( struct cppISteamUtils_SteamUtils008_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamUtils*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamUtils_SteamUtils008_IsOverlayEnabled(void *linux_side) +void cppISteamUtils_SteamUtils008_IsOverlayEnabled( struct cppISteamUtils_SteamUtils008_IsOverlayEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsOverlayEnabled(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsOverlayEnabled( ); } -bool cppISteamUtils_SteamUtils008_BOverlayNeedsPresent(void *linux_side) +void cppISteamUtils_SteamUtils008_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils008_BOverlayNeedsPresent_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->BOverlayNeedsPresent(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->BOverlayNeedsPresent( ); } -SteamAPICall_t cppISteamUtils_SteamUtils008_CheckFileSignature(void *linux_side, const char *szFileName) +void cppISteamUtils_SteamUtils008_CheckFileSignature( struct cppISteamUtils_SteamUtils008_CheckFileSignature_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->CheckFileSignature( (const char *)params->szFileName ); } -bool cppISteamUtils_SteamUtils008_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax, const char *pchExistingText) +void cppISteamUtils_SteamUtils008_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils008_ShowGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax, (const char *)pchExistingText); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->ShowGamepadTextInput( (EGamepadTextInputMode)params->eInputMode, (EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32)params->unCharMax, (const char *)params->pchExistingText ); } -uint32 cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength(void *linux_side) +void cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetEnteredGamepadTextLength( ); } -bool cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput(void *linux_side, char *pchText, uint32 cchText) +void cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetEnteredGamepadTextInput( (char *)params->pchText, (uint32)params->cchText ); } -const char * cppISteamUtils_SteamUtils008_GetSteamUILanguage(void *linux_side) +void cppISteamUtils_SteamUtils008_GetSteamUILanguage( struct cppISteamUtils_SteamUtils008_GetSteamUILanguage_params *params ) { - const char *_ret; - _ret = ((ISteamUtils*)linux_side)->GetSteamUILanguage(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSteamUILanguage( ); } -bool cppISteamUtils_SteamUtils008_IsSteamRunningInVR(void *linux_side) +void cppISteamUtils_SteamUtils008_IsSteamRunningInVR( struct cppISteamUtils_SteamUtils008_IsSteamRunningInVR_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsSteamRunningInVR(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsSteamRunningInVR( ); } -void cppISteamUtils_SteamUtils008_SetOverlayNotificationInset(void *linux_side, int nHorizontalInset, int nVerticalInset) +void cppISteamUtils_SteamUtils008_SetOverlayNotificationInset( struct cppISteamUtils_SteamUtils008_SetOverlayNotificationInset_params *params ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationInset((int)nHorizontalInset, (int)nVerticalInset); + ((ISteamUtils*)params->linux_side)->SetOverlayNotificationInset( (int)params->nHorizontalInset, (int)params->nVerticalInset ); } -bool cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode(void *linux_side) +void cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode( struct cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsSteamInBigPictureMode(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsSteamInBigPictureMode( ); } -void cppISteamUtils_SteamUtils008_StartVRDashboard(void *linux_side) +void cppISteamUtils_SteamUtils008_StartVRDashboard( struct cppISteamUtils_SteamUtils008_StartVRDashboard_params *params ) { - ((ISteamUtils*)linux_side)->StartVRDashboard(); + ((ISteamUtils*)params->linux_side)->StartVRDashboard( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUtils_SteamUtils008.h b/lsteamclient/cppISteamUtils_SteamUtils008.h index a62ad09c..6d330ba6 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils008.h +++ b/lsteamclient/cppISteamUtils_SteamUtils008.h @@ -1,28 +1,219 @@ -extern uint32 cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils008_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils008_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils008_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils008_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils008_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils008_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils008_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils008_GetAppID(void *); -extern void cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils008_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils008_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils008_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils008_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils008_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils008_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils008_IsOverlayEnabled(void *); -extern bool cppISteamUtils_SteamUtils008_BOverlayNeedsPresent(void *); -extern SteamAPICall_t cppISteamUtils_SteamUtils008_CheckFileSignature(void *, const char *); -extern bool cppISteamUtils_SteamUtils008_ShowGamepadTextInput(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32, const char *); -extern uint32 cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength(void *); -extern bool cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput(void *, char *, uint32); -extern const char * cppISteamUtils_SteamUtils008_GetSteamUILanguage(void *); -extern bool cppISteamUtils_SteamUtils008_IsSteamRunningInVR(void *); -extern void cppISteamUtils_SteamUtils008_SetOverlayNotificationInset(void *, int, int); -extern bool cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode(void *); -extern void cppISteamUtils_SteamUtils008_StartVRDashboard(void *); +struct cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive_params *params ); + +struct cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive_params *params ); + +struct cppISteamUtils_SteamUtils008_GetConnectedUniverse_params +{ + void *linux_side; + EUniverse _ret; +}; +extern void cppISteamUtils_SteamUtils008_GetConnectedUniverse( struct cppISteamUtils_SteamUtils008_GetConnectedUniverse_params *params ); + +struct cppISteamUtils_SteamUtils008_GetServerRealTime_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils008_GetServerRealTime( struct cppISteamUtils_SteamUtils008_GetServerRealTime_params *params ); + +struct cppISteamUtils_SteamUtils008_GetIPCountry_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamUtils_SteamUtils008_GetIPCountry( struct cppISteamUtils_SteamUtils008_GetIPCountry_params *params ); + +struct cppISteamUtils_SteamUtils008_GetImageSize_params +{ + void *linux_side; + bool _ret; + int iImage; + uint32 *pnWidth; + uint32 *pnHeight; +}; +extern void cppISteamUtils_SteamUtils008_GetImageSize( struct cppISteamUtils_SteamUtils008_GetImageSize_params *params ); + +struct cppISteamUtils_SteamUtils008_GetImageRGBA_params +{ + void *linux_side; + bool _ret; + int iImage; + uint8 *pubDest; + int nDestBufferSize; +}; +extern void cppISteamUtils_SteamUtils008_GetImageRGBA( struct cppISteamUtils_SteamUtils008_GetImageRGBA_params *params ); + +struct cppISteamUtils_SteamUtils008_GetCSERIPPort_params +{ + void *linux_side; + bool _ret; + uint32 *unIP; + uint16 *usPort; +}; +extern void cppISteamUtils_SteamUtils008_GetCSERIPPort( struct cppISteamUtils_SteamUtils008_GetCSERIPPort_params *params ); + +struct cppISteamUtils_SteamUtils008_GetCurrentBatteryPower_params +{ + void *linux_side; + uint8 _ret; +}; +extern void cppISteamUtils_SteamUtils008_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils008_GetCurrentBatteryPower_params *params ); + +struct cppISteamUtils_SteamUtils008_GetAppID_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils008_GetAppID( struct cppISteamUtils_SteamUtils008_GetAppID_params *params ); + +struct cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition_params +{ + void *linux_side; + ENotificationPosition eNotificationPosition; +}; +extern void cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition_params *params ); + +struct cppISteamUtils_SteamUtils008_IsAPICallCompleted_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils008_IsAPICallCompleted( struct cppISteamUtils_SteamUtils008_IsAPICallCompleted_params *params ); + +struct cppISteamUtils_SteamUtils008_GetAPICallFailureReason_params +{ + void *linux_side; + ESteamAPICallFailure _ret; + SteamAPICall_t hSteamAPICall; +}; +extern void cppISteamUtils_SteamUtils008_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils008_GetAPICallFailureReason_params *params ); + +struct cppISteamUtils_SteamUtils008_GetAPICallResult_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + void *pCallback; + int cubCallback; + int iCallbackExpected; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils008_GetAPICallResult( struct cppISteamUtils_SteamUtils008_GetAPICallResult_params *params ); + +struct cppISteamUtils_SteamUtils008_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamUtils_SteamUtils008_RunFrame( struct cppISteamUtils_SteamUtils008_RunFrame_params *params ); + +struct cppISteamUtils_SteamUtils008_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils008_GetIPCCallCount( struct cppISteamUtils_SteamUtils008_GetIPCCallCount_params *params ); + +struct cppISteamUtils_SteamUtils008_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamUtils_SteamUtils008_SetWarningMessageHook( struct cppISteamUtils_SteamUtils008_SetWarningMessageHook_params *params ); + +struct cppISteamUtils_SteamUtils008_IsOverlayEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils008_IsOverlayEnabled( struct cppISteamUtils_SteamUtils008_IsOverlayEnabled_params *params ); + +struct cppISteamUtils_SteamUtils008_BOverlayNeedsPresent_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils008_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils008_BOverlayNeedsPresent_params *params ); + +struct cppISteamUtils_SteamUtils008_CheckFileSignature_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *szFileName; +}; +extern void cppISteamUtils_SteamUtils008_CheckFileSignature( struct cppISteamUtils_SteamUtils008_CheckFileSignature_params *params ); + +struct cppISteamUtils_SteamUtils008_ShowGamepadTextInput_params +{ + void *linux_side; + bool _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32 unCharMax; + const char *pchExistingText; +}; +extern void cppISteamUtils_SteamUtils008_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils008_ShowGamepadTextInput_params *params ); + +struct cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength_params *params ); + +struct cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput_params +{ + void *linux_side; + bool _ret; + char *pchText; + uint32 cchText; +}; +extern void cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput_params *params ); + +struct cppISteamUtils_SteamUtils008_GetSteamUILanguage_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamUtils_SteamUtils008_GetSteamUILanguage( struct cppISteamUtils_SteamUtils008_GetSteamUILanguage_params *params ); + +struct cppISteamUtils_SteamUtils008_IsSteamRunningInVR_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils008_IsSteamRunningInVR( struct cppISteamUtils_SteamUtils008_IsSteamRunningInVR_params *params ); + +struct cppISteamUtils_SteamUtils008_SetOverlayNotificationInset_params +{ + void *linux_side; + int nHorizontalInset; + int nVerticalInset; +}; +extern void cppISteamUtils_SteamUtils008_SetOverlayNotificationInset( struct cppISteamUtils_SteamUtils008_SetOverlayNotificationInset_params *params ); + +struct cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode( struct cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode_params *params ); + +struct cppISteamUtils_SteamUtils008_StartVRDashboard_params +{ + void *linux_side; +}; +extern void cppISteamUtils_SteamUtils008_StartVRDashboard( struct cppISteamUtils_SteamUtils008_StartVRDashboard_params *params ); + diff --git a/lsteamclient/cppISteamUtils_SteamUtils009.cpp b/lsteamclient/cppISteamUtils_SteamUtils009.cpp index c06fb916..7dd54e39 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils009.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils009.cpp @@ -12,231 +12,175 @@ extern "C" { #define SDKVER_149 #include "struct_converters.h" #include "cppISteamUtils_SteamUtils009.h" -uint32 cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive(void *linux_side) +void cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceAppActive( ); } -uint32 cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive(void *linux_side) +void cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceComputerActive( ); } -EUniverse cppISteamUtils_SteamUtils009_GetConnectedUniverse(void *linux_side) +void cppISteamUtils_SteamUtils009_GetConnectedUniverse( struct cppISteamUtils_SteamUtils009_GetConnectedUniverse_params *params ) { - EUniverse _ret; - _ret = ((ISteamUtils*)linux_side)->GetConnectedUniverse(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetConnectedUniverse( ); } -uint32 cppISteamUtils_SteamUtils009_GetServerRealTime(void *linux_side) +void cppISteamUtils_SteamUtils009_GetServerRealTime( struct cppISteamUtils_SteamUtils009_GetServerRealTime_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetServerRealTime(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetServerRealTime( ); } -const char * cppISteamUtils_SteamUtils009_GetIPCountry(void *linux_side) +void cppISteamUtils_SteamUtils009_GetIPCountry( struct cppISteamUtils_SteamUtils009_GetIPCountry_params *params ) { - const char *_ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCountry(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCountry( ); } -bool cppISteamUtils_SteamUtils009_GetImageSize(void *linux_side, int iImage, uint32 *pnWidth, uint32 *pnHeight) +void cppISteamUtils_SteamUtils009_GetImageSize( struct cppISteamUtils_SteamUtils009_GetImageSize_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageSize( (int)params->iImage, (uint32 *)params->pnWidth, (uint32 *)params->pnHeight ); } -bool cppISteamUtils_SteamUtils009_GetImageRGBA(void *linux_side, int iImage, uint8 *pubDest, int nDestBufferSize) +void cppISteamUtils_SteamUtils009_GetImageRGBA( struct cppISteamUtils_SteamUtils009_GetImageRGBA_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageRGBA( (int)params->iImage, (uint8 *)params->pubDest, (int)params->nDestBufferSize ); } -bool cppISteamUtils_SteamUtils009_GetCSERIPPort(void *linux_side, uint32 *unIP, uint16 *usPort) +void cppISteamUtils_SteamUtils009_GetCSERIPPort( struct cppISteamUtils_SteamUtils009_GetCSERIPPort_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCSERIPPort( (uint32 *)params->unIP, (uint16 *)params->usPort ); } -uint8 cppISteamUtils_SteamUtils009_GetCurrentBatteryPower(void *linux_side) +void cppISteamUtils_SteamUtils009_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils009_GetCurrentBatteryPower_params *params ) { - uint8 _ret; - _ret = ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCurrentBatteryPower( ); } -uint32 cppISteamUtils_SteamUtils009_GetAppID(void *linux_side) +void cppISteamUtils_SteamUtils009_GetAppID( struct cppISteamUtils_SteamUtils009_GetAppID_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetAppID(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAppID( ); } -void cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +void cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition_params *params ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + ((ISteamUtils*)params->linux_side)->SetOverlayNotificationPosition( (ENotificationPosition)params->eNotificationPosition ); } -bool cppISteamUtils_SteamUtils009_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool *pbFailed) +void cppISteamUtils_SteamUtils009_IsAPICallCompleted( struct cppISteamUtils_SteamUtils009_IsAPICallCompleted_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsAPICallCompleted( (SteamAPICall_t)params->hSteamAPICall, (bool *)params->pbFailed ); } -ESteamAPICallFailure cppISteamUtils_SteamUtils009_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +void cppISteamUtils_SteamUtils009_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils009_GetAPICallFailureReason_params *params ) { - ESteamAPICallFailure _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallFailureReason( (SteamAPICall_t)params->hSteamAPICall ); } -bool cppISteamUtils_SteamUtils009_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) +void cppISteamUtils_SteamUtils009_GetAPICallResult( struct cppISteamUtils_SteamUtils009_GetAPICallResult_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallResult( (SteamAPICall_t)params->hSteamAPICall, (void *)params->pCallback, (int)params->cubCallback, (int)params->iCallbackExpected, (bool *)params->pbFailed ); } -void cppISteamUtils_SteamUtils009_RunFrame(void *linux_side) +void cppISteamUtils_SteamUtils009_RunFrame( struct cppISteamUtils_SteamUtils009_RunFrame_params *params ) { - ((ISteamUtils*)linux_side)->RunFrame(); + ((ISteamUtils*)params->linux_side)->RunFrame( ); } -uint32 cppISteamUtils_SteamUtils009_GetIPCCallCount(void *linux_side) +void cppISteamUtils_SteamUtils009_GetIPCCallCount( struct cppISteamUtils_SteamUtils009_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamUtils_SteamUtils009_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamUtils_SteamUtils009_SetWarningMessageHook( struct cppISteamUtils_SteamUtils009_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamUtils*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamUtils_SteamUtils009_IsOverlayEnabled(void *linux_side) +void cppISteamUtils_SteamUtils009_IsOverlayEnabled( struct cppISteamUtils_SteamUtils009_IsOverlayEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsOverlayEnabled(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsOverlayEnabled( ); } -bool cppISteamUtils_SteamUtils009_BOverlayNeedsPresent(void *linux_side) +void cppISteamUtils_SteamUtils009_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils009_BOverlayNeedsPresent_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->BOverlayNeedsPresent(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->BOverlayNeedsPresent( ); } -SteamAPICall_t cppISteamUtils_SteamUtils009_CheckFileSignature(void *linux_side, const char *szFileName) +void cppISteamUtils_SteamUtils009_CheckFileSignature( struct cppISteamUtils_SteamUtils009_CheckFileSignature_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->CheckFileSignature( (const char *)params->szFileName ); } -bool cppISteamUtils_SteamUtils009_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax, const char *pchExistingText) +void cppISteamUtils_SteamUtils009_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils009_ShowGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax, (const char *)pchExistingText); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->ShowGamepadTextInput( (EGamepadTextInputMode)params->eInputMode, (EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32)params->unCharMax, (const char *)params->pchExistingText ); } -uint32 cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength(void *linux_side) +void cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetEnteredGamepadTextLength( ); } -bool cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput(void *linux_side, char *pchText, uint32 cchText) +void cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetEnteredGamepadTextInput( (char *)params->pchText, (uint32)params->cchText ); } -const char * cppISteamUtils_SteamUtils009_GetSteamUILanguage(void *linux_side) +void cppISteamUtils_SteamUtils009_GetSteamUILanguage( struct cppISteamUtils_SteamUtils009_GetSteamUILanguage_params *params ) { - const char *_ret; - _ret = ((ISteamUtils*)linux_side)->GetSteamUILanguage(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSteamUILanguage( ); } -bool cppISteamUtils_SteamUtils009_IsSteamRunningInVR(void *linux_side) +void cppISteamUtils_SteamUtils009_IsSteamRunningInVR( struct cppISteamUtils_SteamUtils009_IsSteamRunningInVR_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsSteamRunningInVR(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsSteamRunningInVR( ); } -void cppISteamUtils_SteamUtils009_SetOverlayNotificationInset(void *linux_side, int nHorizontalInset, int nVerticalInset) +void cppISteamUtils_SteamUtils009_SetOverlayNotificationInset( struct cppISteamUtils_SteamUtils009_SetOverlayNotificationInset_params *params ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationInset((int)nHorizontalInset, (int)nVerticalInset); + ((ISteamUtils*)params->linux_side)->SetOverlayNotificationInset( (int)params->nHorizontalInset, (int)params->nVerticalInset ); } -bool cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode(void *linux_side) +void cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode( struct cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsSteamInBigPictureMode(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsSteamInBigPictureMode( ); } -void cppISteamUtils_SteamUtils009_StartVRDashboard(void *linux_side) +void cppISteamUtils_SteamUtils009_StartVRDashboard( struct cppISteamUtils_SteamUtils009_StartVRDashboard_params *params ) { - ((ISteamUtils*)linux_side)->StartVRDashboard(); + ((ISteamUtils*)params->linux_side)->StartVRDashboard( ); } -bool cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled(void *linux_side) +void cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsVRHeadsetStreamingEnabled(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsVRHeadsetStreamingEnabled( ); } -void cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled(void *linux_side, bool bEnabled) +void cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled_params *params ) { - ((ISteamUtils*)linux_side)->SetVRHeadsetStreamingEnabled((bool)bEnabled); + ((ISteamUtils*)params->linux_side)->SetVRHeadsetStreamingEnabled( (bool)params->bEnabled ); } -bool cppISteamUtils_SteamUtils009_IsSteamChinaLauncher(void *linux_side) +void cppISteamUtils_SteamUtils009_IsSteamChinaLauncher( struct cppISteamUtils_SteamUtils009_IsSteamChinaLauncher_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsSteamChinaLauncher(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsSteamChinaLauncher( ); } -bool cppISteamUtils_SteamUtils009_InitFilterText(void *linux_side) +void cppISteamUtils_SteamUtils009_InitFilterText( struct cppISteamUtils_SteamUtils009_InitFilterText_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->InitFilterText(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->InitFilterText( ); } -int cppISteamUtils_SteamUtils009_FilterText(void *linux_side, char *pchOutFilteredText, uint32 nByteSizeOutFilteredText, const char *pchInputMessage, bool bLegalOnly) +void cppISteamUtils_SteamUtils009_FilterText( struct cppISteamUtils_SteamUtils009_FilterText_params *params ) { - int _ret; - _ret = ((ISteamUtils*)linux_side)->FilterText((char *)pchOutFilteredText, (uint32)nByteSizeOutFilteredText, (const char *)pchInputMessage, (bool)bLegalOnly); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->FilterText( (char *)params->pchOutFilteredText, (uint32)params->nByteSizeOutFilteredText, (const char *)params->pchInputMessage, (bool)params->bLegalOnly ); } -ESteamIPv6ConnectivityState cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState(void *linux_side, ESteamIPv6ConnectivityProtocol eProtocol) +void cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState( struct cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState_params *params ) { - ESteamIPv6ConnectivityState _ret; - _ret = ((ISteamUtils*)linux_side)->GetIPv6ConnectivityState((ESteamIPv6ConnectivityProtocol)eProtocol); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPv6ConnectivityState( (ESteamIPv6ConnectivityProtocol)params->eProtocol ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUtils_SteamUtils009.h b/lsteamclient/cppISteamUtils_SteamUtils009.h index b86789d7..f91d64bb 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils009.h +++ b/lsteamclient/cppISteamUtils_SteamUtils009.h @@ -1,34 +1,266 @@ -extern uint32 cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils009_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils009_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils009_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils009_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils009_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils009_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils009_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils009_GetAppID(void *); -extern void cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils009_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils009_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils009_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils009_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils009_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils009_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils009_IsOverlayEnabled(void *); -extern bool cppISteamUtils_SteamUtils009_BOverlayNeedsPresent(void *); -extern SteamAPICall_t cppISteamUtils_SteamUtils009_CheckFileSignature(void *, const char *); -extern bool cppISteamUtils_SteamUtils009_ShowGamepadTextInput(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32, const char *); -extern uint32 cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength(void *); -extern bool cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput(void *, char *, uint32); -extern const char * cppISteamUtils_SteamUtils009_GetSteamUILanguage(void *); -extern bool cppISteamUtils_SteamUtils009_IsSteamRunningInVR(void *); -extern void cppISteamUtils_SteamUtils009_SetOverlayNotificationInset(void *, int, int); -extern bool cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode(void *); -extern void cppISteamUtils_SteamUtils009_StartVRDashboard(void *); -extern bool cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled(void *); -extern void cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled(void *, bool); -extern bool cppISteamUtils_SteamUtils009_IsSteamChinaLauncher(void *); -extern bool cppISteamUtils_SteamUtils009_InitFilterText(void *); -extern int cppISteamUtils_SteamUtils009_FilterText(void *, char *, uint32, const char *, bool); -extern ESteamIPv6ConnectivityState cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState(void *, ESteamIPv6ConnectivityProtocol); +struct cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive_params *params ); + +struct cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive_params *params ); + +struct cppISteamUtils_SteamUtils009_GetConnectedUniverse_params +{ + void *linux_side; + EUniverse _ret; +}; +extern void cppISteamUtils_SteamUtils009_GetConnectedUniverse( struct cppISteamUtils_SteamUtils009_GetConnectedUniverse_params *params ); + +struct cppISteamUtils_SteamUtils009_GetServerRealTime_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils009_GetServerRealTime( struct cppISteamUtils_SteamUtils009_GetServerRealTime_params *params ); + +struct cppISteamUtils_SteamUtils009_GetIPCountry_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamUtils_SteamUtils009_GetIPCountry( struct cppISteamUtils_SteamUtils009_GetIPCountry_params *params ); + +struct cppISteamUtils_SteamUtils009_GetImageSize_params +{ + void *linux_side; + bool _ret; + int iImage; + uint32 *pnWidth; + uint32 *pnHeight; +}; +extern void cppISteamUtils_SteamUtils009_GetImageSize( struct cppISteamUtils_SteamUtils009_GetImageSize_params *params ); + +struct cppISteamUtils_SteamUtils009_GetImageRGBA_params +{ + void *linux_side; + bool _ret; + int iImage; + uint8 *pubDest; + int nDestBufferSize; +}; +extern void cppISteamUtils_SteamUtils009_GetImageRGBA( struct cppISteamUtils_SteamUtils009_GetImageRGBA_params *params ); + +struct cppISteamUtils_SteamUtils009_GetCSERIPPort_params +{ + void *linux_side; + bool _ret; + uint32 *unIP; + uint16 *usPort; +}; +extern void cppISteamUtils_SteamUtils009_GetCSERIPPort( struct cppISteamUtils_SteamUtils009_GetCSERIPPort_params *params ); + +struct cppISteamUtils_SteamUtils009_GetCurrentBatteryPower_params +{ + void *linux_side; + uint8 _ret; +}; +extern void cppISteamUtils_SteamUtils009_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils009_GetCurrentBatteryPower_params *params ); + +struct cppISteamUtils_SteamUtils009_GetAppID_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils009_GetAppID( struct cppISteamUtils_SteamUtils009_GetAppID_params *params ); + +struct cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition_params +{ + void *linux_side; + ENotificationPosition eNotificationPosition; +}; +extern void cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition_params *params ); + +struct cppISteamUtils_SteamUtils009_IsAPICallCompleted_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils009_IsAPICallCompleted( struct cppISteamUtils_SteamUtils009_IsAPICallCompleted_params *params ); + +struct cppISteamUtils_SteamUtils009_GetAPICallFailureReason_params +{ + void *linux_side; + ESteamAPICallFailure _ret; + SteamAPICall_t hSteamAPICall; +}; +extern void cppISteamUtils_SteamUtils009_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils009_GetAPICallFailureReason_params *params ); + +struct cppISteamUtils_SteamUtils009_GetAPICallResult_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + void *pCallback; + int cubCallback; + int iCallbackExpected; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils009_GetAPICallResult( struct cppISteamUtils_SteamUtils009_GetAPICallResult_params *params ); + +struct cppISteamUtils_SteamUtils009_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamUtils_SteamUtils009_RunFrame( struct cppISteamUtils_SteamUtils009_RunFrame_params *params ); + +struct cppISteamUtils_SteamUtils009_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils009_GetIPCCallCount( struct cppISteamUtils_SteamUtils009_GetIPCCallCount_params *params ); + +struct cppISteamUtils_SteamUtils009_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamUtils_SteamUtils009_SetWarningMessageHook( struct cppISteamUtils_SteamUtils009_SetWarningMessageHook_params *params ); + +struct cppISteamUtils_SteamUtils009_IsOverlayEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils009_IsOverlayEnabled( struct cppISteamUtils_SteamUtils009_IsOverlayEnabled_params *params ); + +struct cppISteamUtils_SteamUtils009_BOverlayNeedsPresent_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils009_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils009_BOverlayNeedsPresent_params *params ); + +struct cppISteamUtils_SteamUtils009_CheckFileSignature_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *szFileName; +}; +extern void cppISteamUtils_SteamUtils009_CheckFileSignature( struct cppISteamUtils_SteamUtils009_CheckFileSignature_params *params ); + +struct cppISteamUtils_SteamUtils009_ShowGamepadTextInput_params +{ + void *linux_side; + bool _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32 unCharMax; + const char *pchExistingText; +}; +extern void cppISteamUtils_SteamUtils009_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils009_ShowGamepadTextInput_params *params ); + +struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength_params *params ); + +struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput_params +{ + void *linux_side; + bool _ret; + char *pchText; + uint32 cchText; +}; +extern void cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput_params *params ); + +struct cppISteamUtils_SteamUtils009_GetSteamUILanguage_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamUtils_SteamUtils009_GetSteamUILanguage( struct cppISteamUtils_SteamUtils009_GetSteamUILanguage_params *params ); + +struct cppISteamUtils_SteamUtils009_IsSteamRunningInVR_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils009_IsSteamRunningInVR( struct cppISteamUtils_SteamUtils009_IsSteamRunningInVR_params *params ); + +struct cppISteamUtils_SteamUtils009_SetOverlayNotificationInset_params +{ + void *linux_side; + int nHorizontalInset; + int nVerticalInset; +}; +extern void cppISteamUtils_SteamUtils009_SetOverlayNotificationInset( struct cppISteamUtils_SteamUtils009_SetOverlayNotificationInset_params *params ); + +struct cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode( struct cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode_params *params ); + +struct cppISteamUtils_SteamUtils009_StartVRDashboard_params +{ + void *linux_side; +}; +extern void cppISteamUtils_SteamUtils009_StartVRDashboard( struct cppISteamUtils_SteamUtils009_StartVRDashboard_params *params ); + +struct cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled_params *params ); + +struct cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled_params *params ); + +struct cppISteamUtils_SteamUtils009_IsSteamChinaLauncher_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils009_IsSteamChinaLauncher( struct cppISteamUtils_SteamUtils009_IsSteamChinaLauncher_params *params ); + +struct cppISteamUtils_SteamUtils009_InitFilterText_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils009_InitFilterText( struct cppISteamUtils_SteamUtils009_InitFilterText_params *params ); + +struct cppISteamUtils_SteamUtils009_FilterText_params +{ + void *linux_side; + int _ret; + char *pchOutFilteredText; + uint32 nByteSizeOutFilteredText; + const char *pchInputMessage; + bool bLegalOnly; +}; +extern void cppISteamUtils_SteamUtils009_FilterText( struct cppISteamUtils_SteamUtils009_FilterText_params *params ); + +struct cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState_params +{ + void *linux_side; + ESteamIPv6ConnectivityState _ret; + ESteamIPv6ConnectivityProtocol eProtocol; +}; +extern void cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState( struct cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState_params *params ); + diff --git a/lsteamclient/cppISteamUtils_SteamUtils010.cpp b/lsteamclient/cppISteamUtils_SteamUtils010.cpp index 5acfc2e0..e6510f0d 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils010.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils010.cpp @@ -12,257 +12,195 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamUtils_SteamUtils010.h" -uint32 cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive(void *linux_side) +void cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceAppActive( ); } -uint32 cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive(void *linux_side) +void cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSecondsSinceComputerActive( ); } -EUniverse cppISteamUtils_SteamUtils010_GetConnectedUniverse(void *linux_side) +void cppISteamUtils_SteamUtils010_GetConnectedUniverse( struct cppISteamUtils_SteamUtils010_GetConnectedUniverse_params *params ) { - EUniverse _ret; - _ret = ((ISteamUtils*)linux_side)->GetConnectedUniverse(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetConnectedUniverse( ); } -uint32 cppISteamUtils_SteamUtils010_GetServerRealTime(void *linux_side) +void cppISteamUtils_SteamUtils010_GetServerRealTime( struct cppISteamUtils_SteamUtils010_GetServerRealTime_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetServerRealTime(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetServerRealTime( ); } -const char * cppISteamUtils_SteamUtils010_GetIPCountry(void *linux_side) +void cppISteamUtils_SteamUtils010_GetIPCountry( struct cppISteamUtils_SteamUtils010_GetIPCountry_params *params ) { - const char *_ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCountry(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCountry( ); } -bool cppISteamUtils_SteamUtils010_GetImageSize(void *linux_side, int iImage, uint32 *pnWidth, uint32 *pnHeight) +void cppISteamUtils_SteamUtils010_GetImageSize( struct cppISteamUtils_SteamUtils010_GetImageSize_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageSize( (int)params->iImage, (uint32 *)params->pnWidth, (uint32 *)params->pnHeight ); } -bool cppISteamUtils_SteamUtils010_GetImageRGBA(void *linux_side, int iImage, uint8 *pubDest, int nDestBufferSize) +void cppISteamUtils_SteamUtils010_GetImageRGBA( struct cppISteamUtils_SteamUtils010_GetImageRGBA_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetImageRGBA( (int)params->iImage, (uint8 *)params->pubDest, (int)params->nDestBufferSize ); } -bool cppISteamUtils_SteamUtils010_GetCSERIPPort(void *linux_side, uint32 *unIP, uint16 *usPort) +void cppISteamUtils_SteamUtils010_GetCSERIPPort( struct cppISteamUtils_SteamUtils010_GetCSERIPPort_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCSERIPPort( (uint32 *)params->unIP, (uint16 *)params->usPort ); } -uint8 cppISteamUtils_SteamUtils010_GetCurrentBatteryPower(void *linux_side) +void cppISteamUtils_SteamUtils010_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils010_GetCurrentBatteryPower_params *params ) { - uint8 _ret; - _ret = ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetCurrentBatteryPower( ); } -uint32 cppISteamUtils_SteamUtils010_GetAppID(void *linux_side) +void cppISteamUtils_SteamUtils010_GetAppID( struct cppISteamUtils_SteamUtils010_GetAppID_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetAppID(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAppID( ); } -void cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +void cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition_params *params ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + ((ISteamUtils*)params->linux_side)->SetOverlayNotificationPosition( (ENotificationPosition)params->eNotificationPosition ); } -bool cppISteamUtils_SteamUtils010_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool *pbFailed) +void cppISteamUtils_SteamUtils010_IsAPICallCompleted( struct cppISteamUtils_SteamUtils010_IsAPICallCompleted_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsAPICallCompleted( (SteamAPICall_t)params->hSteamAPICall, (bool *)params->pbFailed ); } -ESteamAPICallFailure cppISteamUtils_SteamUtils010_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +void cppISteamUtils_SteamUtils010_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils010_GetAPICallFailureReason_params *params ) { - ESteamAPICallFailure _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallFailureReason( (SteamAPICall_t)params->hSteamAPICall ); } -bool cppISteamUtils_SteamUtils010_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) +void cppISteamUtils_SteamUtils010_GetAPICallResult( struct cppISteamUtils_SteamUtils010_GetAPICallResult_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetAPICallResult( (SteamAPICall_t)params->hSteamAPICall, (void *)params->pCallback, (int)params->cubCallback, (int)params->iCallbackExpected, (bool *)params->pbFailed ); } -void cppISteamUtils_SteamUtils010_RunFrame(void *linux_side) +void cppISteamUtils_SteamUtils010_RunFrame( struct cppISteamUtils_SteamUtils010_RunFrame_params *params ) { - ((ISteamUtils*)linux_side)->RunFrame(); + ((ISteamUtils*)params->linux_side)->RunFrame( ); } -uint32 cppISteamUtils_SteamUtils010_GetIPCCallCount(void *linux_side) +void cppISteamUtils_SteamUtils010_GetIPCCallCount( struct cppISteamUtils_SteamUtils010_GetIPCCallCount_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetIPCCallCount(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPCCallCount( ); } -void cppISteamUtils_SteamUtils010_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +void cppISteamUtils_SteamUtils010_SetWarningMessageHook( struct cppISteamUtils_SteamUtils010_SetWarningMessageHook_params *params ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + params->pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction ); + ((ISteamUtils*)params->linux_side)->SetWarningMessageHook( (SteamAPIWarningMessageHook_t)params->pFunction ); } -bool cppISteamUtils_SteamUtils010_IsOverlayEnabled(void *linux_side) +void cppISteamUtils_SteamUtils010_IsOverlayEnabled( struct cppISteamUtils_SteamUtils010_IsOverlayEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsOverlayEnabled(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsOverlayEnabled( ); } -bool cppISteamUtils_SteamUtils010_BOverlayNeedsPresent(void *linux_side) +void cppISteamUtils_SteamUtils010_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils010_BOverlayNeedsPresent_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->BOverlayNeedsPresent(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->BOverlayNeedsPresent( ); } -SteamAPICall_t cppISteamUtils_SteamUtils010_CheckFileSignature(void *linux_side, const char *szFileName) +void cppISteamUtils_SteamUtils010_CheckFileSignature( struct cppISteamUtils_SteamUtils010_CheckFileSignature_params *params ) { - SteamAPICall_t _ret; - _ret = ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->CheckFileSignature( (const char *)params->szFileName ); } -bool cppISteamUtils_SteamUtils010_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax, const char *pchExistingText) +void cppISteamUtils_SteamUtils010_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils010_ShowGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax, (const char *)pchExistingText); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->ShowGamepadTextInput( (EGamepadTextInputMode)params->eInputMode, (EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32)params->unCharMax, (const char *)params->pchExistingText ); } -uint32 cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength(void *linux_side) +void cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength_params *params ) { - uint32 _ret; - _ret = ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetEnteredGamepadTextLength( ); } -bool cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput(void *linux_side, char *pchText, uint32 cchText) +void cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetEnteredGamepadTextInput( (char *)params->pchText, (uint32)params->cchText ); } -const char * cppISteamUtils_SteamUtils010_GetSteamUILanguage(void *linux_side) +void cppISteamUtils_SteamUtils010_GetSteamUILanguage( struct cppISteamUtils_SteamUtils010_GetSteamUILanguage_params *params ) { - const char *_ret; - _ret = ((ISteamUtils*)linux_side)->GetSteamUILanguage(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetSteamUILanguage( ); } -bool cppISteamUtils_SteamUtils010_IsSteamRunningInVR(void *linux_side) +void cppISteamUtils_SteamUtils010_IsSteamRunningInVR( struct cppISteamUtils_SteamUtils010_IsSteamRunningInVR_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsSteamRunningInVR(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsSteamRunningInVR( ); } -void cppISteamUtils_SteamUtils010_SetOverlayNotificationInset(void *linux_side, int nHorizontalInset, int nVerticalInset) +void cppISteamUtils_SteamUtils010_SetOverlayNotificationInset( struct cppISteamUtils_SteamUtils010_SetOverlayNotificationInset_params *params ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationInset((int)nHorizontalInset, (int)nVerticalInset); + ((ISteamUtils*)params->linux_side)->SetOverlayNotificationInset( (int)params->nHorizontalInset, (int)params->nVerticalInset ); } -bool cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode(void *linux_side) +void cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode( struct cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsSteamInBigPictureMode(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsSteamInBigPictureMode( ); } -void cppISteamUtils_SteamUtils010_StartVRDashboard(void *linux_side) +void cppISteamUtils_SteamUtils010_StartVRDashboard( struct cppISteamUtils_SteamUtils010_StartVRDashboard_params *params ) { - ((ISteamUtils*)linux_side)->StartVRDashboard(); + ((ISteamUtils*)params->linux_side)->StartVRDashboard( ); } -bool cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled(void *linux_side) +void cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsVRHeadsetStreamingEnabled(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsVRHeadsetStreamingEnabled( ); } -void cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled(void *linux_side, bool bEnabled) +void cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled_params *params ) { - ((ISteamUtils*)linux_side)->SetVRHeadsetStreamingEnabled((bool)bEnabled); + ((ISteamUtils*)params->linux_side)->SetVRHeadsetStreamingEnabled( (bool)params->bEnabled ); } -bool cppISteamUtils_SteamUtils010_IsSteamChinaLauncher(void *linux_side) +void cppISteamUtils_SteamUtils010_IsSteamChinaLauncher( struct cppISteamUtils_SteamUtils010_IsSteamChinaLauncher_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsSteamChinaLauncher(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsSteamChinaLauncher( ); } -bool cppISteamUtils_SteamUtils010_InitFilterText(void *linux_side, uint32 unFilterOptions) +void cppISteamUtils_SteamUtils010_InitFilterText( struct cppISteamUtils_SteamUtils010_InitFilterText_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->InitFilterText((uint32)unFilterOptions); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->InitFilterText( (uint32)params->unFilterOptions ); } -int cppISteamUtils_SteamUtils010_FilterText(void *linux_side, ETextFilteringContext eContext, CSteamID sourceSteamID, const char *pchInputMessage, char *pchOutFilteredText, uint32 nByteSizeOutFilteredText) +void cppISteamUtils_SteamUtils010_FilterText( struct cppISteamUtils_SteamUtils010_FilterText_params *params ) { - int _ret; - _ret = ((ISteamUtils*)linux_side)->FilterText((ETextFilteringContext)eContext, (CSteamID)sourceSteamID, (const char *)pchInputMessage, (char *)pchOutFilteredText, (uint32)nByteSizeOutFilteredText); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->FilterText( (ETextFilteringContext)params->eContext, (CSteamID)params->sourceSteamID, (const char *)params->pchInputMessage, (char *)params->pchOutFilteredText, (uint32)params->nByteSizeOutFilteredText ); } -ESteamIPv6ConnectivityState cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState(void *linux_side, ESteamIPv6ConnectivityProtocol eProtocol) +void cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState( struct cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState_params *params ) { - ESteamIPv6ConnectivityState _ret; - _ret = ((ISteamUtils*)linux_side)->GetIPv6ConnectivityState((ESteamIPv6ConnectivityProtocol)eProtocol); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->GetIPv6ConnectivityState( (ESteamIPv6ConnectivityProtocol)params->eProtocol ); } -bool cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(void *linux_side) +void cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck( struct cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->IsSteamRunningOnSteamDeck(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->IsSteamRunningOnSteamDeck( ); } -bool cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(void *linux_side, EFloatingGamepadTextInputMode eKeyboardMode, int nTextFieldXPosition, int nTextFieldYPosition, int nTextFieldWidth, int nTextFieldHeight) +void cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput( struct cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->ShowFloatingGamepadTextInput((EFloatingGamepadTextInputMode)eKeyboardMode, (int)nTextFieldXPosition, (int)nTextFieldYPosition, (int)nTextFieldWidth, (int)nTextFieldHeight); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->ShowFloatingGamepadTextInput( (EFloatingGamepadTextInputMode)params->eKeyboardMode, (int)params->nTextFieldXPosition, (int)params->nTextFieldYPosition, (int)params->nTextFieldWidth, (int)params->nTextFieldHeight ); } -void cppISteamUtils_SteamUtils010_SetGameLauncherMode(void *linux_side, bool bLauncherMode) +void cppISteamUtils_SteamUtils010_SetGameLauncherMode( struct cppISteamUtils_SteamUtils010_SetGameLauncherMode_params *params ) { - ((ISteamUtils*)linux_side)->SetGameLauncherMode((bool)bLauncherMode); + ((ISteamUtils*)params->linux_side)->SetGameLauncherMode( (bool)params->bLauncherMode ); } -bool cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput(void *linux_side) +void cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput( struct cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params *params ) { - bool _ret; - _ret = ((ISteamUtils*)linux_side)->DismissFloatingGamepadTextInput(); - return (_ret); + params->_ret = ((ISteamUtils*)params->linux_side)->DismissFloatingGamepadTextInput( ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamUtils_SteamUtils010.h b/lsteamclient/cppISteamUtils_SteamUtils010.h index db9e2d25..0b9a897f 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils010.h +++ b/lsteamclient/cppISteamUtils_SteamUtils010.h @@ -1,38 +1,301 @@ -extern uint32 cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils010_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils010_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils010_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils010_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils010_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils010_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils010_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils010_GetAppID(void *); -extern void cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils010_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils010_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils010_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils010_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils010_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils010_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils010_IsOverlayEnabled(void *); -extern bool cppISteamUtils_SteamUtils010_BOverlayNeedsPresent(void *); -extern SteamAPICall_t cppISteamUtils_SteamUtils010_CheckFileSignature(void *, const char *); -extern bool cppISteamUtils_SteamUtils010_ShowGamepadTextInput(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32, const char *); -extern uint32 cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength(void *); -extern bool cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput(void *, char *, uint32); -extern const char * cppISteamUtils_SteamUtils010_GetSteamUILanguage(void *); -extern bool cppISteamUtils_SteamUtils010_IsSteamRunningInVR(void *); -extern void cppISteamUtils_SteamUtils010_SetOverlayNotificationInset(void *, int, int); -extern bool cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode(void *); -extern void cppISteamUtils_SteamUtils010_StartVRDashboard(void *); -extern bool cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled(void *); -extern void cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled(void *, bool); -extern bool cppISteamUtils_SteamUtils010_IsSteamChinaLauncher(void *); -extern bool cppISteamUtils_SteamUtils010_InitFilterText(void *, uint32); -extern int cppISteamUtils_SteamUtils010_FilterText(void *, ETextFilteringContext, CSteamID, const char *, char *, uint32); -extern ESteamIPv6ConnectivityState cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState(void *, ESteamIPv6ConnectivityProtocol); -extern bool cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(void *); -extern bool cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(void *, EFloatingGamepadTextInputMode, int, int, int, int); -extern void cppISteamUtils_SteamUtils010_SetGameLauncherMode(void *, bool); -extern bool cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput(void *); +struct cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive_params *params ); + +struct cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive_params *params ); + +struct cppISteamUtils_SteamUtils010_GetConnectedUniverse_params +{ + void *linux_side; + EUniverse _ret; +}; +extern void cppISteamUtils_SteamUtils010_GetConnectedUniverse( struct cppISteamUtils_SteamUtils010_GetConnectedUniverse_params *params ); + +struct cppISteamUtils_SteamUtils010_GetServerRealTime_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils010_GetServerRealTime( struct cppISteamUtils_SteamUtils010_GetServerRealTime_params *params ); + +struct cppISteamUtils_SteamUtils010_GetIPCountry_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamUtils_SteamUtils010_GetIPCountry( struct cppISteamUtils_SteamUtils010_GetIPCountry_params *params ); + +struct cppISteamUtils_SteamUtils010_GetImageSize_params +{ + void *linux_side; + bool _ret; + int iImage; + uint32 *pnWidth; + uint32 *pnHeight; +}; +extern void cppISteamUtils_SteamUtils010_GetImageSize( struct cppISteamUtils_SteamUtils010_GetImageSize_params *params ); + +struct cppISteamUtils_SteamUtils010_GetImageRGBA_params +{ + void *linux_side; + bool _ret; + int iImage; + uint8 *pubDest; + int nDestBufferSize; +}; +extern void cppISteamUtils_SteamUtils010_GetImageRGBA( struct cppISteamUtils_SteamUtils010_GetImageRGBA_params *params ); + +struct cppISteamUtils_SteamUtils010_GetCSERIPPort_params +{ + void *linux_side; + bool _ret; + uint32 *unIP; + uint16 *usPort; +}; +extern void cppISteamUtils_SteamUtils010_GetCSERIPPort( struct cppISteamUtils_SteamUtils010_GetCSERIPPort_params *params ); + +struct cppISteamUtils_SteamUtils010_GetCurrentBatteryPower_params +{ + void *linux_side; + uint8 _ret; +}; +extern void cppISteamUtils_SteamUtils010_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils010_GetCurrentBatteryPower_params *params ); + +struct cppISteamUtils_SteamUtils010_GetAppID_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils010_GetAppID( struct cppISteamUtils_SteamUtils010_GetAppID_params *params ); + +struct cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition_params +{ + void *linux_side; + ENotificationPosition eNotificationPosition; +}; +extern void cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition_params *params ); + +struct cppISteamUtils_SteamUtils010_IsAPICallCompleted_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils010_IsAPICallCompleted( struct cppISteamUtils_SteamUtils010_IsAPICallCompleted_params *params ); + +struct cppISteamUtils_SteamUtils010_GetAPICallFailureReason_params +{ + void *linux_side; + ESteamAPICallFailure _ret; + SteamAPICall_t hSteamAPICall; +}; +extern void cppISteamUtils_SteamUtils010_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils010_GetAPICallFailureReason_params *params ); + +struct cppISteamUtils_SteamUtils010_GetAPICallResult_params +{ + void *linux_side; + bool _ret; + SteamAPICall_t hSteamAPICall; + void *pCallback; + int cubCallback; + int iCallbackExpected; + bool *pbFailed; +}; +extern void cppISteamUtils_SteamUtils010_GetAPICallResult( struct cppISteamUtils_SteamUtils010_GetAPICallResult_params *params ); + +struct cppISteamUtils_SteamUtils010_RunFrame_params +{ + void *linux_side; +}; +extern void cppISteamUtils_SteamUtils010_RunFrame( struct cppISteamUtils_SteamUtils010_RunFrame_params *params ); + +struct cppISteamUtils_SteamUtils010_GetIPCCallCount_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils010_GetIPCCallCount( struct cppISteamUtils_SteamUtils010_GetIPCCallCount_params *params ); + +struct cppISteamUtils_SteamUtils010_SetWarningMessageHook_params +{ + void *linux_side; + SteamAPIWarningMessageHook_t pFunction; +}; +extern void cppISteamUtils_SteamUtils010_SetWarningMessageHook( struct cppISteamUtils_SteamUtils010_SetWarningMessageHook_params *params ); + +struct cppISteamUtils_SteamUtils010_IsOverlayEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils010_IsOverlayEnabled( struct cppISteamUtils_SteamUtils010_IsOverlayEnabled_params *params ); + +struct cppISteamUtils_SteamUtils010_BOverlayNeedsPresent_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils010_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils010_BOverlayNeedsPresent_params *params ); + +struct cppISteamUtils_SteamUtils010_CheckFileSignature_params +{ + void *linux_side; + SteamAPICall_t _ret; + const char *szFileName; +}; +extern void cppISteamUtils_SteamUtils010_CheckFileSignature( struct cppISteamUtils_SteamUtils010_CheckFileSignature_params *params ); + +struct cppISteamUtils_SteamUtils010_ShowGamepadTextInput_params +{ + void *linux_side; + bool _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32 unCharMax; + const char *pchExistingText; +}; +extern void cppISteamUtils_SteamUtils010_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils010_ShowGamepadTextInput_params *params ); + +struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength_params +{ + void *linux_side; + uint32 _ret; +}; +extern void cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength_params *params ); + +struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput_params +{ + void *linux_side; + bool _ret; + char *pchText; + uint32 cchText; +}; +extern void cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput_params *params ); + +struct cppISteamUtils_SteamUtils010_GetSteamUILanguage_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppISteamUtils_SteamUtils010_GetSteamUILanguage( struct cppISteamUtils_SteamUtils010_GetSteamUILanguage_params *params ); + +struct cppISteamUtils_SteamUtils010_IsSteamRunningInVR_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils010_IsSteamRunningInVR( struct cppISteamUtils_SteamUtils010_IsSteamRunningInVR_params *params ); + +struct cppISteamUtils_SteamUtils010_SetOverlayNotificationInset_params +{ + void *linux_side; + int nHorizontalInset; + int nVerticalInset; +}; +extern void cppISteamUtils_SteamUtils010_SetOverlayNotificationInset( struct cppISteamUtils_SteamUtils010_SetOverlayNotificationInset_params *params ); + +struct cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode( struct cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode_params *params ); + +struct cppISteamUtils_SteamUtils010_StartVRDashboard_params +{ + void *linux_side; +}; +extern void cppISteamUtils_SteamUtils010_StartVRDashboard( struct cppISteamUtils_SteamUtils010_StartVRDashboard_params *params ); + +struct cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled_params *params ); + +struct cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled_params +{ + void *linux_side; + bool bEnabled; +}; +extern void cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled_params *params ); + +struct cppISteamUtils_SteamUtils010_IsSteamChinaLauncher_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils010_IsSteamChinaLauncher( struct cppISteamUtils_SteamUtils010_IsSteamChinaLauncher_params *params ); + +struct cppISteamUtils_SteamUtils010_InitFilterText_params +{ + void *linux_side; + bool _ret; + uint32 unFilterOptions; +}; +extern void cppISteamUtils_SteamUtils010_InitFilterText( struct cppISteamUtils_SteamUtils010_InitFilterText_params *params ); + +struct cppISteamUtils_SteamUtils010_FilterText_params +{ + void *linux_side; + int _ret; + ETextFilteringContext eContext; + CSteamID sourceSteamID; + const char *pchInputMessage; + char *pchOutFilteredText; + uint32 nByteSizeOutFilteredText; +}; +extern void cppISteamUtils_SteamUtils010_FilterText( struct cppISteamUtils_SteamUtils010_FilterText_params *params ); + +struct cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState_params +{ + void *linux_side; + ESteamIPv6ConnectivityState _ret; + ESteamIPv6ConnectivityProtocol eProtocol; +}; +extern void cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState( struct cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState_params *params ); + +struct cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck( struct cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck_params *params ); + +struct cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput_params +{ + void *linux_side; + bool _ret; + EFloatingGamepadTextInputMode eKeyboardMode; + int nTextFieldXPosition; + int nTextFieldYPosition; + int nTextFieldWidth; + int nTextFieldHeight; +}; +extern void cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput( struct cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput_params *params ); + +struct cppISteamUtils_SteamUtils010_SetGameLauncherMode_params +{ + void *linux_side; + bool bLauncherMode; +}; +extern void cppISteamUtils_SteamUtils010_SetGameLauncherMode( struct cppISteamUtils_SteamUtils010_SetGameLauncherMode_params *params ); + +struct cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params +{ + void *linux_side; + bool _ret; +}; +extern void cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput( struct cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params *params ); + diff --git a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp index 082b0724..9a50abc5 100644 --- a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp +++ b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp @@ -11,16 +11,14 @@ extern "C" { #define SDKVER_139 #include "struct_converters.h" #include "cppISteamVideo_STEAMVIDEO_INTERFACE_V001.h" -void cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL(void *linux_side, AppId_t unVideoAppID) +void cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL_params *params ) { - ((ISteamVideo*)linux_side)->GetVideoURL((AppId_t)unVideoAppID); + ((ISteamVideo*)params->linux_side)->GetVideoURL( (AppId_t)params->unVideoAppID ); } -bool cppISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting(void *linux_side, int *pnNumViewers) +void cppISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting_params *params ) { - bool _ret; - _ret = ((ISteamVideo*)linux_side)->IsBroadcasting((int *)pnNumViewers); - return (_ret); + params->_ret = ((ISteamVideo*)params->linux_side)->IsBroadcasting( (int *)params->pnNumViewers ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.h b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.h index 1a49fa67..6496d134 100644 --- a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.h +++ b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.h @@ -1,2 +1,15 @@ -extern void cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL(void *, AppId_t); -extern bool cppISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting(void *, int *); +struct cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL_params +{ + void *linux_side; + AppId_t unVideoAppID; +}; +extern void cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL_params *params ); + +struct cppISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting_params +{ + void *linux_side; + bool _ret; + int *pnNumViewers; +}; +extern void cppISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting_params *params ); + diff --git a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp index 281a157e..630472c7 100644 --- a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp +++ b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp @@ -12,28 +12,24 @@ extern "C" { #define SDKVER_158 #include "struct_converters.h" #include "cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h" -void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(void *linux_side, AppId_t unVideoAppID) +void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL_params *params ) { - ((ISteamVideo*)linux_side)->GetVideoURL((AppId_t)unVideoAppID); + ((ISteamVideo*)params->linux_side)->GetVideoURL( (AppId_t)params->unVideoAppID ); } -bool cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting(void *linux_side, int *pnNumViewers) +void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting_params *params ) { - bool _ret; - _ret = ((ISteamVideo*)linux_side)->IsBroadcasting((int *)pnNumViewers); - return (_ret); + params->_ret = ((ISteamVideo*)params->linux_side)->IsBroadcasting( (int *)params->pnNumViewers ); } -void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings(void *linux_side, AppId_t unVideoAppID) +void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings_params *params ) { - ((ISteamVideo*)linux_side)->GetOPFSettings((AppId_t)unVideoAppID); + ((ISteamVideo*)params->linux_side)->GetOPFSettings( (AppId_t)params->unVideoAppID ); } -bool cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp(void *linux_side, AppId_t unVideoAppID, char *pchBuffer, int32 *pnBufferSize) +void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp_params *params ) { - bool _ret; - _ret = ((ISteamVideo*)linux_side)->GetOPFStringForApp((AppId_t)unVideoAppID, (char *)pchBuffer, (int32 *)pnBufferSize); - return (_ret); + params->_ret = ((ISteamVideo*)params->linux_side)->GetOPFStringForApp( (AppId_t)params->unVideoAppID, (char *)params->pchBuffer, (int32 *)params->pnBufferSize ); } #ifdef __cplusplus diff --git a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h index bae688fd..1b25a2d9 100644 --- a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h +++ b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h @@ -1,4 +1,32 @@ -extern void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(void *, AppId_t); -extern bool cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting(void *, int *); -extern void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings(void *, AppId_t); -extern bool cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp(void *, AppId_t, char *, int32 *); +struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL_params +{ + void *linux_side; + AppId_t unVideoAppID; +}; +extern void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL_params *params ); + +struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting_params +{ + void *linux_side; + bool _ret; + int *pnNumViewers; +}; +extern void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting_params *params ); + +struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings_params +{ + void *linux_side; + AppId_t unVideoAppID; +}; +extern void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings_params *params ); + +struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp_params +{ + void *linux_side; + bool _ret; + AppId_t unVideoAppID; + char *pchBuffer; + int32 *pnBufferSize; +}; +extern void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp_params *params ); + diff --git a/lsteamclient/gen_wrapper.py b/lsteamclient/gen_wrapper.py index 0ab4c699..e2b84bc3 100755 --- a/lsteamclient/gen_wrapper.py +++ b/lsteamclient/gen_wrapper.py @@ -259,7 +259,7 @@ def method_needs_manual_handling(interface_with_version, method_name): return method and method.version_func(version) def post_execution_function(classname, method_name): - return POST_EXEC_FUNCS.get(classname + "_" + method_name, '') + return POST_EXEC_FUNCS.get(classname + "_" + method_name, None) # manual converters for simple types (function pointers) MANUAL_TYPES = [ @@ -593,23 +593,34 @@ def declspec(decl, name): def handle_method_hpp(method, cppname, out): - ret = f'{declspec(method.result_type, "")} ' + returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD - params = [declspec(p, "") for p in method.get_arguments()] - params = ['void *'] + params - - out(f'extern {ret}{cppname}_{method.name}({", ".join(params)});\n') - - -def handle_method_cpp(method, classname, cppname, out): - returns_void = method.result_type.kind == TypeKind.VOID - - ret = f'{declspec(method.result_type, "")} ' + ret = "*_ret" if returns_record else "_ret" + ret = f'{declspec(method.result_type, ret)}' names = [p.spelling if p.spelling != "" else f'_{chr(0x61 + i)}' for i, p in enumerate(method.get_arguments())] params = [declspec(p, names[i]) for i, p in enumerate(method.get_arguments())] + if method.result_type.kind != TypeKind.VOID: + params = [ret] + params + params = ['void *linux_side'] + params + + out(f'struct {cppname}_{method.name}_params\n') + out(u'{\n') + for param in params: + out(f' {param};\n') + out(u'};\n') + out(f'extern void {cppname}_{method.name}( struct {cppname}_{method.name}_params *params );\n\n') + + +def handle_method_cpp(method, classname, cppname, out): + returns_void = method.result_type.kind == TypeKind.VOID + returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD + + names = [p.spelling if p.spelling != "" else f'_{chr(0x61 + i)}' + for i, p in enumerate(method.get_arguments())] + need_convert = {n: p for n, p in zip(names, method.get_arguments()) if param_needs_conversion(p)} manual_convert = {n: p for n, p in zip(names, method.get_arguments()) @@ -617,14 +628,10 @@ def handle_method_cpp(method, classname, cppname, out): or p.spelling in MANUAL_PARAMS} names = ['linux_side'] + names - params = ['void *linux_side'] + params - out(f'{ret}{cppname}_{method.name}({", ".join(params)})\n') + out(f'void {cppname}_{method.name}( struct {cppname}_{method.name}_params *params )\n') out(u'{\n') - if not returns_void: - out(f' {declspec(method.result_type, "_ret")};\n') - need_output = {} for name, param in sorted(need_convert.items()): @@ -632,7 +639,7 @@ def handle_method_cpp(method, classname, cppname, out): if param.type.kind != TypeKind.POINTER: out(f' {type_name} lin_{name};\n') - out(f' win_to_lin_struct_{type_name}_{sdkver}(&{name}, &lin_{name});\n') + out(f' win_to_lin_struct_{type_name}_{sdkver}( ¶ms->{name}, &lin_{name} );\n') continue pointee = param.type.get_pointee() @@ -645,35 +652,37 @@ def handle_method_cpp(method, classname, cppname, out): need_output[name] = param out(f' {type_name} lin_{name};\n') - out(f' win_to_lin_struct_{type_name}_{sdkver}({name}, &lin_{name});\n') + out(f' win_to_lin_struct_{type_name}_{sdkver}( params->{name}, &lin_{name} );\n') for name, param in sorted(manual_convert.items()): if name in MANUAL_PARAMS: - out(f' {name} = manual_convert_{name}({name});\n') + out(f' params->{name} = manual_convert_{name}( params->{name} );\n') else: - out(f' {name} = ({param.type.spelling})manual_convert_{param.type.spelling}((void*){name});\n') + out(f' params->{name} = ({param.type.spelling})manual_convert_{param.type.spelling}( (void *)params->{name} );\n') if returns_void: out(u' ') + elif returns_record: + out(u' *params->_ret = ') else: - out(u' _ret = ') + out(u' params->_ret = ') def param_call(name, param): pfx = '&' if param.type.kind == TypeKind.POINTER else '' if name in need_convert: return f"{pfx}lin_{name}" - if param.type.kind == TypeKind.LVALUEREFERENCE: return f'*{name}' - return f"({param.type.spelling}){name}" + if param.type.kind == TypeKind.LVALUEREFERENCE: return f'*params->{name}' + return f"({param.type.spelling})params->{name}" params = [param_call(n, p) for n, p in zip(names[1:], method.get_arguments())] - out(f'(({classname}*)linux_side)->{method.spelling}({", ".join(params)});\n') + out(f'(({classname}*)params->linux_side)->{method.spelling}( {", ".join(params)} );\n') for name, param in sorted(need_output.items()): type_name = underlying_typename(param) - out(f' lin_to_win_struct_{type_name}_{sdkver}(&lin_{name}, {name});\n') + out(f' lin_to_win_struct_{type_name}_{sdkver}( &lin_{name}, params->{name} );\n') if method.result_type.kind != TypeKind.VOID: post_exec = post_execution_function(classname, method.spelling) - out(f' return {post_exec}(_ret);\n') + if post_exec: out(f' params->_ret = {post_exec}( params->_ret );\n') out(u'}\n\n') @@ -698,98 +707,81 @@ def handle_method_c(method, winclassname, cppname, out): ret = "*" if returns_record else "" ret = f'{declspec(method.result_type, ret)} ' + types = [p.type for p in method.get_arguments()] names = [p.spelling if p.spelling != "" else f'_{chr(0x61 + i)}' for i, p in enumerate(method.get_arguments())] params = [declspec(p, names[i]) for i, p in enumerate(method.get_arguments())] if returns_record: params = [f'{declspec(method.result_type, "*_ret")}'] + params + types = [method.result_type] + types names = ['_ret'] + names params = ['struct w_steam_iface *_this'] + params + types = [None] + types names = ['_this'] + names out(f'{ret}__thiscall {winclassname}_{method.name}({", ".join(params)})\n') out(u'{\n') - if returns_record: - del params[1] - del names[1] - - if not returns_record and not returns_void: - out(f' {ret}_ret;\n') + out(f' struct {cppname}_{method.name}_params params =\n') + out(u' {\n') + out(u' .linux_side = _this->u_iface,\n') + for type, name in zip(types[1:], names[1:]): + iface = type.get_pointee().spelling if type.kind == TypeKind.POINTER else None + out(f' .{name} = ') + if iface not in WRAPPED_CLASSES: out(f'{name},\n') + else: out(f'create_Linux{iface}({name}, "{winclassname}"),\n') + out(u' };\n') should_gen_callback = "GetAPICallResult" in method.name if should_gen_callback: - out(u' int u_callback_len = cubCallback, w_callback_len = cubCallback;\n') - out(u' void *u_callback, *w_callback = pCallback;\n') + out(u' int w_callback_len = cubCallback;\n') + out(u' void *w_callback = pCallback;\n') path_conv_utow = PATH_CONV_METHODS_UTOW.get(f'{klass.spelling}_{method.spelling}', {}) path_conv_wtou = PATH_CONV_METHODS_WTOU.get(f'{klass.spelling}_{method.spelling}', {}) for name, conv in filter(lambda x: x[0] in names, path_conv_wtou.items()): if conv['array']: - out(f' const char **u_{name} = steamclient_dos_to_unix_path_array( {name} );\n') + out(f' params.{name} = steamclient_dos_to_unix_path_array( {name} );\n') else: - out(f' const char *u_{name} = steamclient_dos_to_unix_path( {name}, {int(conv["url"])} );\n') + out(f' params.{name} = steamclient_dos_to_unix_path( {name}, {int(conv["url"])} );\n') out(u' TRACE("%p\\n", _this);\n') if should_gen_callback: - out(u' if (!(u_callback = alloc_callback_wtou(iCallbackExpected, w_callback, &u_callback_len))) return FALSE;\n') - out(u' cubCallback = u_callback_len;\n') - out(u' pCallback = u_callback;\n\n') + out(u' if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE;\n') - if returns_record: - out(u' *_ret = ') - elif not returns_void: - out(u' _ret = ') - else: - out(u' ') + out(f' {cppname}_{method.name}( ¶ms );\n') should_gen_wrapper = not method_needs_manual_handling(cppname, method.name) and \ (method.result_type.spelling.startswith("ISteam") or \ method.name.startswith("GetISteamGenericInterface")) if should_gen_wrapper: - out(u'create_win_interface(pchVersion,\n ') - out(f'{cppname}_{method.name}(') - - def param_call(param, name): - if name == '_this': return '_this->u_iface' - iface = param.type.get_pointee().spelling if param.type.kind == TypeKind.POINTER else None - if iface in WRAPPED_CLASSES: return f'create_Linux{iface}({name}, "{winclassname}")' - if name in path_conv_wtou: return f'{name} ? u_{name} : NULL' - return name - - params = ['_this'] + list(method.get_arguments()) - out(", ".join([param_call(p, n) for p, n in zip(params, names)])) - - if should_gen_wrapper: - out(u')') - - out(u');\n') + out(u' params._ret = create_win_interface( pchVersion, params._ret );\n') if should_gen_callback: - out(u' if (_ret && u_callback != w_callback)\n') + out(u' if (params._ret && params.pCallback != w_callback)\n') out(u' {\n') - out(u' convert_callback_utow(iCallbackExpected, u_callback, u_callback_len, w_callback, w_callback_len);\n') - out(u' HeapFree(GetProcessHeap(), 0, u_callback);\n') + out(u' convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len);\n') + out(u' HeapFree(GetProcessHeap(), 0, params.pCallback);\n') out(u' }\n\n') for name, conv in filter(lambda x: x[0] in names, path_conv_utow.items()): out(u' ') if "ret_size" in path_conv_utow: - out(u'_ret = ') - out(f'steamclient_unix_path_to_dos_path(_ret, {name}, {name}, {conv["len"]}, {int(conv["url"])});\n') + out(u'params._ret = ') + out(f'steamclient_unix_path_to_dos_path( params._ret, {name}, {name}, {conv["len"]}, {int(conv["url"])} );\n') for name, conv in filter(lambda x: x[0] in names, path_conv_wtou.items()): if conv["array"]: - out(f' steamclient_free_path_array( u_{name} );\n') + out(f' steamclient_free_path_array( params.{name} );\n') else: - out(f' steamclient_free_path( u_{name} );\n') + out(f' steamclient_free_path( params.{name} );\n') if not returns_void: - out(u' return _ret;\n') + out(u' return params._ret;\n') out(u'}\n\n') diff --git a/lsteamclient/steamclient_manual_099y.cpp b/lsteamclient/steamclient_manual_099y.cpp index 4275c266..594b7616 100644 --- a/lsteamclient/steamclient_manual_099y.cpp +++ b/lsteamclient/steamclient_manual_099y.cpp @@ -21,6 +21,11 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); #define SDK_VERSION 992 #include "steamclient_manual_common.h" +extern "C" +{ +#include "cppISteamUser_SteamUser008.h" +} + class ISteamUser_linux { public: @@ -38,12 +43,12 @@ public: virtual void RefreshSteam2Login() = 0; }; -extern "C" { - int cppISteamUser_SteamUser008_InitiateGameConnection(void *linux_side, void * pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, - bool bSecure, void * pvSteam2GetEncryptionKey, int cbSteam2GetEncryptionKey) - { - WARN("Manual call fixup.\n"); - return ((ISteamUser_linux *)linux_side)->InitiateGameConnection(pBlob, cbMaxBlob, steamID, gameID, unIPServer, usPortServer, - bSecure, pvSteam2GetEncryptionKey, cbSteam2GetEncryptionKey); - } +void cppISteamUser_SteamUser008_InitiateGameConnection( struct cppISteamUser_SteamUser008_InitiateGameConnection_params *params ) +{ + ISteamUser_linux *iface = (ISteamUser_linux *)params->linux_side; + WARN( "Manual call fixup.\n" ); + params->_ret = iface->InitiateGameConnection( params->pBlob, params->cbMaxBlob, params->steamID, + params->gameID, params->unIPServer, params->usPortServer, + params->bSecure, params->pvSteam2GetEncryptionKey, + params->cbSteam2GetEncryptionKey ); } diff --git a/lsteamclient/steamclient_manual_141.cpp b/lsteamclient/steamclient_manual_141.cpp index e7290c6c..b1dd9664 100644 --- a/lsteamclient/steamclient_manual_141.cpp +++ b/lsteamclient/steamclient_manual_141.cpp @@ -22,12 +22,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); #include "steamclient_manual_common.h" extern "C" { +#include "cppISteamController_SteamController005.h" +} -const char * cppISteamController_SteamController005_GetGlyphForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) +void cppISteamController_SteamController005_GetGlyphForActionOrigin( struct cppISteamController_SteamController005_GetGlyphForActionOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamController*)linux_side)->GetGlyphForActionOrigin((EControllerActionOrigin)eOrigin); - return steamclient_isteamcontroller_getglyph(eOrigin, path_result); -} - + ISteamController *iface = (ISteamController *)params->linux_side; + params->_ret = iface->GetGlyphForActionOrigin( (EControllerActionOrigin)params->eOrigin ); + params->_ret = steamclient_isteamcontroller_getglyph( params->eOrigin, params->_ret ); } diff --git a/lsteamclient/steamclient_manual_142.cpp b/lsteamclient/steamclient_manual_142.cpp index bc6a971a..56d2f847 100644 --- a/lsteamclient/steamclient_manual_142.cpp +++ b/lsteamclient/steamclient_manual_142.cpp @@ -22,12 +22,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); #include "steamclient_manual_common.h" extern "C" { +#include "cppISteamController_SteamController006.h" +} -const char * cppISteamController_SteamController006_GetGlyphForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) +void cppISteamController_SteamController006_GetGlyphForActionOrigin( struct cppISteamController_SteamController006_GetGlyphForActionOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamController*)linux_side)->GetGlyphForActionOrigin((EControllerActionOrigin)eOrigin); - return steamclient_isteamcontroller_getglyph(eOrigin, path_result); -} - + ISteamController *iface = (ISteamController *)params->linux_side; + params->_ret = iface->GetGlyphForActionOrigin( (EControllerActionOrigin)params->eOrigin ); + params->_ret = steamclient_isteamcontroller_getglyph( params->eOrigin, params->_ret ); } diff --git a/lsteamclient/steamclient_manual_144.cpp b/lsteamclient/steamclient_manual_144.cpp index 1fd5ee03..079d295a 100644 --- a/lsteamclient/steamclient_manual_144.cpp +++ b/lsteamclient/steamclient_manual_144.cpp @@ -27,24 +27,23 @@ extern "C" { #define SDK_VERSION 1440 #include "steamclient_manual_common.h" -int cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection( - void *linux_side, HSteamNetConnection hConn, - winSteamNetworkingMessage_t_144 **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnConnection(hConn, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; +#include "cppISteamNetworkingSockets_SteamNetworkingSockets002.h" } -int cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket( - void *linux_side, HSteamListenSocket hSocket, - winSteamNetworkingMessage_t_144 **ppOutMessages, int nMaxMessages) +void cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection_params *params ) { - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnListenSocket(hSocket, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnConnection( params->hConn, lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); } +void cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket_params *params ) +{ + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnListenSocket( params->hSocket, lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); } diff --git a/lsteamclient/steamclient_manual_146.cpp b/lsteamclient/steamclient_manual_146.cpp index 08ac2f1e..a044a8d9 100644 --- a/lsteamclient/steamclient_manual_146.cpp +++ b/lsteamclient/steamclient_manual_146.cpp @@ -28,24 +28,23 @@ extern "C" { #define SDK_VERSION 1460 #include "steamclient_manual_common.h" -int cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection( - void *linux_side, HSteamNetConnection hConn, - winSteamNetworkingMessage_t_146 **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnConnection(hConn, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; +#include "cppISteamNetworkingSockets_SteamNetworkingSockets004.h" } -int cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket( - void *linux_side, HSteamListenSocket hSocket, - winSteamNetworkingMessage_t_146 **ppOutMessages, int nMaxMessages) +void cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection_params *params ) { - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnListenSocket(hSocket, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnConnection( params->hConn, lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); } +void cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket_params *params ) +{ + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnListenSocket( params->hSocket, lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); } diff --git a/lsteamclient/steamclient_manual_147.cpp b/lsteamclient/steamclient_manual_147.cpp index 3304f29c..d413ed07 100644 --- a/lsteamclient/steamclient_manual_147.cpp +++ b/lsteamclient/steamclient_manual_147.cpp @@ -28,53 +28,51 @@ extern "C" { #define SDK_VERSION 1470 #include "steamclient_manual_common.h" -int cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection( - void *linux_side, HSteamNetConnection hConn, - winSteamNetworkingMessage_t_147 **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnConnection(hConn, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; +#include "cppISteamNetworkingSockets_SteamNetworkingSockets006.h" } -int cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket( - void *linux_side, HSteamListenSocket hSocket, - winSteamNetworkingMessage_t_147 **ppOutMessages, int nMaxMessages) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection_params *params ) { - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnListenSocket(hSocket, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnConnection( params->hConn, lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages( - void *linux_side, int nMessages, winSteamNetworkingMessage_t_147 **pMessages, - int64 *pOutMessageNumberOrResult) +void cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket_params *params ) +{ + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnListenSocket( params->hSocket, lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); +} + +void cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages( struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages_params *params ) { #define MAX_SEND_MESSAGES 64 + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; /* use the stack to avoid heap allocation */ struct SteamNetworkingMessage_t *lin_msgs[MAX_SEND_MESSAGES]; int i; - if (nMessages > MAX_SEND_MESSAGES) + if (params->nMessages > MAX_SEND_MESSAGES) { /* if we ever hit this, increase MAX_SEND_MESSAGES appropriately */ - FIXME("Trying to send %u messages, which is more than %u! Will break up into pieces.\n", nMessages, MAX_SEND_MESSAGES); + FIXME( "Trying to send %u messages, which is more than %u! Will break up into pieces.\n", + params->nMessages, MAX_SEND_MESSAGES ); } - while(nMessages) + while (params->nMessages) { - for(i = 0; i < nMessages && i < MAX_SEND_MESSAGES; ++i) - lin_msgs[i] = (SteamNetworkingMessage_t *)network_message_win_to_lin(pMessages[i]); + for (i = 0; i < params->nMessages && i < MAX_SEND_MESSAGES; ++i) + lin_msgs[i] = (SteamNetworkingMessage_t *)network_message_win_to_lin( params->pMessages[i] ); - ((ISteamNetworkingSockets*)linux_side)->SendMessages(i, lin_msgs, pOutMessageNumberOrResult); + iface->SendMessages( i, lin_msgs, params->pOutMessageNumberOrResult ); - nMessages -= i; - pMessages += i; - if(pOutMessageNumberOrResult) - pOutMessageNumberOrResult += i; + params->nMessages -= i; + params->pMessages += i; + if (params->pOutMessageNumberOrResult) params->pOutMessageNumberOrResult += i; } } - -} diff --git a/lsteamclient/steamclient_manual_148a.cpp b/lsteamclient/steamclient_manual_148a.cpp index a1752301..05acb316 100644 --- a/lsteamclient/steamclient_manual_148a.cpp +++ b/lsteamclient/steamclient_manual_148a.cpp @@ -28,61 +28,61 @@ extern "C" { #define SDK_VERSION 1481 #include "steamclient_manual_common.h" -int cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection( - void *linux_side, HSteamNetConnection hConn, - winSteamNetworkingMessage_t_148a **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnConnection(hConn, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; +typedef winSteamNetworkingMessage_t_148a winSteamNetworkingMessage_t_149; +typedef winSteamNetworkingMessage_t_148a winSteamNetworkingMessage_t_152; +#include "cppISteamNetworkingSockets_SteamNetworkingSockets008.h" +#include "cppISteamNetworkingUtils_SteamNetworkingUtils003.h" } -int cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup( - void *linux_side, HSteamNetPollGroup hPollGroup, - winSteamNetworkingMessage_t_148a **ppOutMessages, int nMaxMessages) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection_params *params ) { - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnPollGroup(hPollGroup, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnConnection( params->hConn, lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages( - void *linux_side, int nMessages, winSteamNetworkingMessage_t_148a **pMessages, - int64 *pOutMessageNumberOrResult) +void cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup_params *params ) +{ + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnPollGroup( params->hPollGroup, lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); +} + +void cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages( struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages_params *params ) { #define MAX_SEND_MESSAGES 64 + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; /* use the stack to avoid heap allocation */ struct SteamNetworkingMessage_t *lin_msgs[MAX_SEND_MESSAGES]; int i; - if (nMessages > MAX_SEND_MESSAGES) + if (params->nMessages > MAX_SEND_MESSAGES) { /* if we ever hit this, increase MAX_SEND_MESSAGES appropriately */ - FIXME("Trying to send %u messages, which is more than %u! Will break up into pieces.\n", nMessages, MAX_SEND_MESSAGES); + FIXME( "Trying to send %u messages, which is more than %u! Will break up into pieces.\n", + params->nMessages, MAX_SEND_MESSAGES ); } - while(nMessages) + while (params->nMessages) { - for(i = 0; i < nMessages && i < MAX_SEND_MESSAGES; ++i) - lin_msgs[i] = (SteamNetworkingMessage_t *)network_message_win_to_lin(pMessages[i]); + for (i = 0; i < params->nMessages && i < MAX_SEND_MESSAGES; ++i) + lin_msgs[i] = (SteamNetworkingMessage_t *)network_message_win_to_lin( params->pMessages[i] ); - ((ISteamNetworkingSockets*)linux_side)->SendMessages(i, lin_msgs, pOutMessageNumberOrResult); + iface->SendMessages( i, lin_msgs, params->pOutMessageNumberOrResult ); - nMessages -= i; - pMessages += i; - if(pOutMessageNumberOrResult) - pOutMessageNumberOrResult += i; + params->nMessages -= i; + params->pMessages += i; + if (params->pOutMessageNumberOrResult) params->pOutMessageNumberOrResult += i; } } -SteamNetworkingMessage_t *cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage( - void *linux_side, int cbAllocateBuffer) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage_params *params ) { - SteamNetworkingMessage_t *retval = ((ISteamNetworkingUtils*)linux_side)->AllocateMessage(cbAllocateBuffer); - - return (SteamNetworkingMessage_t *)network_message_lin_to_win(retval); -} - + ISteamNetworkingUtils *iface = (ISteamNetworkingUtils *)params->linux_side; + params->_ret = (winSteamNetworkingMessage_t_148a *)iface->AllocateMessage( params->cbAllocateBuffer ); + params->_ret = (winSteamNetworkingMessage_t_148a *)network_message_lin_to_win( params->_ret ); } diff --git a/lsteamclient/steamclient_manual_150.cpp b/lsteamclient/steamclient_manual_150.cpp index 17535528..030121eb 100644 --- a/lsteamclient/steamclient_manual_150.cpp +++ b/lsteamclient/steamclient_manual_150.cpp @@ -29,63 +29,69 @@ extern "C" { #define SDK_VERSION 1500 #include "steamclient_manual_common.h" -int cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection( - void *linux_side, HSteamNetConnection hConn, - winSteamNetworkingMessage_t_150 **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnConnection(hConn, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; +typedef winSteamNetworkingMessage_t_150 winSteamNetworkingMessage_t_152; +typedef winSteamNetworkingMessage_t_150 winSteamNetworkingMessage_t_158; +typedef struct SteamNetConnectionRealTimeStatus_t SteamNetConnectionRealTimeStatus_t; +#include "cppISteamNetworkingSockets_SteamNetworkingSockets009.h" +#include "cppISteamNetworkingMessages_SteamNetworkingMessages002.h" +#include "cppISteamNetworkingUtils_SteamNetworkingUtils003.h" +#include "cppISteamInput_SteamInput001.h" +#include "cppISteamController_SteamController007.h" } -int cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup( - void *linux_side, HSteamNetPollGroup hPollGroup, - winSteamNetworkingMessage_t_150 **ppOutMessages, int nMaxMessages) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection_params *params ) { - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnPollGroup(hPollGroup, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnConnection( params->hConn, lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages( - void *linux_side, int nMessages, winSteamNetworkingMessage_t_150 **pMessages, - int64 *pOutMessageNumberOrResult) +void cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup_params *params ) +{ + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnPollGroup( params->hPollGroup, lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); +} + +void cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages( struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages_params *params ) { #define MAX_SEND_MESSAGES 64 + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; /* use the stack to avoid heap allocation */ struct SteamNetworkingMessage_t *lin_msgs[MAX_SEND_MESSAGES]; int i; - if (nMessages > MAX_SEND_MESSAGES) + if (params->nMessages > MAX_SEND_MESSAGES) { /* if we ever hit this, increase MAX_SEND_MESSAGES appropriately */ - FIXME("Trying to send %u messages, which is more than %u! Will break up into pieces.\n", nMessages, MAX_SEND_MESSAGES); + FIXME( "Trying to send %u messages, which is more than %u! Will break up into pieces.\n", + params->nMessages, MAX_SEND_MESSAGES ); } - while(nMessages) + while (params->nMessages) { - for(i = 0; i < nMessages && i < MAX_SEND_MESSAGES; ++i) - lin_msgs[i] = (SteamNetworkingMessage_t *)network_message_win_to_lin(pMessages[i]); + for (i = 0; i < params->nMessages && i < MAX_SEND_MESSAGES; ++i) + lin_msgs[i] = (SteamNetworkingMessage_t *)network_message_win_to_lin( params->pMessages[i] ); - ((ISteamNetworkingSockets*)linux_side)->SendMessages(i, lin_msgs, pOutMessageNumberOrResult); + iface->SendMessages( i, lin_msgs, params->pOutMessageNumberOrResult ); - nMessages -= i; - pMessages += i; - if(pOutMessageNumberOrResult) - pOutMessageNumberOrResult += i; + params->nMessages -= i; + params->pMessages += i; + if (params->pOutMessageNumberOrResult) params->pOutMessageNumberOrResult += i; } } -int cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel( - void *linux_side, int nLocalChannel, - winSteamNetworkingMessage_t_150 ** ppOutMessages, int nMaxMessages) +void cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel( struct cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel_params *params ) { - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingMessages*)linux_side)->ReceiveMessagesOnChannel(nLocalChannel, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; + ISteamNetworkingMessages *iface = (ISteamNetworkingMessages *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnChannel( params->nLocalChannel, lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); } #pragma pack( push, 8 ) @@ -149,69 +155,74 @@ void lin_SteamNetworkingMessagesSessionFailed(SteamNetworkingMessagesSessionFail fn(dat); } -bool cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue(void *linux_side, - ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, - intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void *pArg) +void cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue_params *params ) { - bool ret; + ISteamNetworkingUtils *iface = (ISteamNetworkingUtils *)params->linux_side; void *lin_fn; /* api requires passing pointer-to-pointer */ - switch(eValue){ + switch (params->eValue) + { -#define CASE(x, y) \ - case k_ESteamNetworkingConfig_Callback_##x: \ - if(!pArg){ \ - ret = ((ISteamNetworkingUtils*)linux_side)->SetConfigValue(eValue, eScopeType, scopeObj, eDataType, NULL); \ - }else{ \ - if(*(void **)pArg == NULL) \ - lin_fn = NULL; \ - else \ - lin_fn = (void *)&lin_##y; \ - ret = ((ISteamNetworkingUtils*)linux_side)->SetConfigValue(eValue, eScopeType, scopeObj, eDataType, &lin_fn); \ - if(ret) \ - win_##y = *(win_Fn##y*)pArg; \ - } \ - return ret; +#define CASE( x, y ) \ + case k_ESteamNetworkingConfig_Callback_##x: \ + if (!params->pArg) \ + { \ + params->_ret = iface->SetConfigValue( (ESteamNetworkingConfigValue)params->eValue, \ + (ESteamNetworkingConfigScope)params->eScopeType, \ + params->scopeObj, \ + (ESteamNetworkingConfigDataType)params->eDataType, NULL ); \ + } \ + else \ + { \ + if (*(void **)params->pArg == NULL) lin_fn = NULL; \ + else lin_fn = (void *)&lin_##y; \ + params->_ret = iface->SetConfigValue( (ESteamNetworkingConfigValue)params->eValue, \ + (ESteamNetworkingConfigScope)params->eScopeType, \ + params->scopeObj, \ + (ESteamNetworkingConfigDataType)params->eDataType, &lin_fn ); \ + if (params->_ret) win_##y = *(win_Fn##y *)params->pArg; \ + } - CASE(ConnectionStatusChanged, SteamNetConnectionStatusChanged) - CASE(AuthStatusChanged, SteamNetAuthenticationStatusChanged) - CASE(RelayNetworkStatusChanged, SteamRelayNetworkStatusChanged) - CASE(MessagesSessionRequest, SteamNetworkingMessagesSessionRequest) - CASE(MessagesSessionFailed, SteamNetworkingMessagesSessionFailed) + CASE( ConnectionStatusChanged, SteamNetConnectionStatusChanged ) + CASE( AuthStatusChanged, SteamNetAuthenticationStatusChanged ) + CASE( RelayNetworkStatusChanged, SteamRelayNetworkStatusChanged ) + CASE( MessagesSessionRequest, SteamNetworkingMessagesSessionRequest ) + CASE( MessagesSessionFailed, SteamNetworkingMessagesSessionFailed ) #undef CASE default: - return ((ISteamNetworkingUtils*)linux_side)->SetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType)eDataType, (const void *)pArg); + params->_ret = iface->SetConfigValue( (ESteamNetworkingConfigValue)params->eValue, + (ESteamNetworkingConfigScope)params->eScopeType, params->scopeObj, + (ESteamNetworkingConfigDataType)params->eDataType, + params->pArg ); } } -const char * cppISteamInput_SteamInput001_GetGlyphForActionOrigin(void *linux_side, EInputActionOrigin eOrigin) +void cppISteamInput_SteamInput001_GetGlyphForActionOrigin( struct cppISteamInput_SteamInput001_GetGlyphForActionOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForActionOrigin((EInputActionOrigin)eOrigin); - return steamclient_isteaminput_getglyph(eOrigin, path_result); + ISteamInput *iface = (ISteamInput *)params->linux_side; + params->_ret = iface->GetGlyphForActionOrigin( (EInputActionOrigin)params->eOrigin ); + params->_ret = steamclient_isteaminput_getglyph( params->eOrigin, params->_ret ); } -const char * cppISteamInput_SteamInput001_GetGlyphForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +void cppISteamInput_SteamInput001_GetGlyphForXboxOrigin( struct cppISteamInput_SteamInput001_GetGlyphForXboxOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForXboxOrigin((EXboxOrigin)eOrigin); - return steamclient_isteaminput_getglyph_xbox(eOrigin, path_result); + ISteamInput *iface = (ISteamInput *)params->linux_side; + params->_ret = iface->GetGlyphForXboxOrigin( (EXboxOrigin)params->eOrigin ); + params->_ret = steamclient_isteaminput_getglyph_xbox( params->eOrigin, params->_ret ); } -const char * cppISteamController_SteamController007_GetGlyphForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) +void cppISteamController_SteamController007_GetGlyphForActionOrigin( struct cppISteamController_SteamController007_GetGlyphForActionOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamController*)linux_side)->GetGlyphForActionOrigin((EControllerActionOrigin)eOrigin); - return steamclient_isteamcontroller_getglyph(eOrigin, path_result); + ISteamController *iface = (ISteamController *)params->linux_side; + params->_ret = iface->GetGlyphForActionOrigin( (EControllerActionOrigin)params->eOrigin ); + params->_ret = steamclient_isteamcontroller_getglyph( params->eOrigin, params->_ret ); } -const char * cppISteamController_SteamController007_GetGlyphForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +void cppISteamController_SteamController007_GetGlyphForXboxOrigin( struct cppISteamController_SteamController007_GetGlyphForXboxOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamController*)linux_side)->GetGlyphForXboxOrigin((EXboxOrigin)eOrigin); - return steamclient_isteaminput_getglyph_xbox(eOrigin, path_result); -} - + ISteamController *iface = (ISteamController *)params->linux_side; + params->_ret = iface->GetGlyphForXboxOrigin( (EXboxOrigin)params->eOrigin ); + params->_ret = steamclient_isteaminput_getglyph_xbox( params->eOrigin, params->_ret ); } diff --git a/lsteamclient/steamclient_manual_151.cpp b/lsteamclient/steamclient_manual_151.cpp index 788eba54..ff6f08aa 100644 --- a/lsteamclient/steamclient_manual_151.cpp +++ b/lsteamclient/steamclient_manual_151.cpp @@ -26,18 +26,19 @@ extern "C" { #define SDK_VERSION 1510 #include "steamclient_manual_common.h" -const char * cppISteamInput_SteamInput002_GetGlyphForActionOrigin(void *linux_side, EInputActionOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForActionOrigin((EInputActionOrigin)eOrigin); - return steamclient_isteaminput_getglyph(eOrigin, path_result); +#include "cppISteamInput_SteamInput002.h" } -const char * cppISteamInput_SteamInput002_GetGlyphForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +void cppISteamInput_SteamInput002_GetGlyphForActionOrigin( struct cppISteamInput_SteamInput002_GetGlyphForActionOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForXboxOrigin((EXboxOrigin)eOrigin); - return steamclient_isteaminput_getglyph_xbox(eOrigin, path_result); + ISteamInput *iface = (ISteamInput *)params->linux_side; + params->_ret = iface->GetGlyphForActionOrigin( (EInputActionOrigin)params->eOrigin ); + params->_ret = steamclient_isteaminput_getglyph( params->eOrigin, params->_ret ); } +void cppISteamInput_SteamInput002_GetGlyphForXboxOrigin( struct cppISteamInput_SteamInput002_GetGlyphForXboxOrigin_params *params ) +{ + ISteamInput *iface = (ISteamInput *)params->linux_side; + params->_ret = iface->GetGlyphForXboxOrigin( (EXboxOrigin)params->eOrigin ); + params->_ret = steamclient_isteaminput_getglyph_xbox( params->eOrigin, params->_ret ); } diff --git a/lsteamclient/steamclient_manual_152.cpp b/lsteamclient/steamclient_manual_152.cpp index d99c315b..8a8b3145 100644 --- a/lsteamclient/steamclient_manual_152.cpp +++ b/lsteamclient/steamclient_manual_152.cpp @@ -29,6 +29,10 @@ extern "C" { #define SDK_VERSION 1520 #include "steamclient_manual_common.h" +#include "cppISteamInput_SteamInput005.h" +#include "cppISteamController_SteamController008.h" +} + /***** manual fn wrapper for ISteamInput::EnableActionEventCallbacks *****/ win_SteamInputActionEventCallbackPointer win_EnableActionEventCallbacks; @@ -39,10 +43,11 @@ void lin_SteamInputActionEventCallbackPointer(SteamInputActionEvent_t *dat) fn(dat); } -void cppISteamInput_SteamInput005_EnableActionEventCallbacks(void *linux_side, win_SteamInputActionEventCallbackPointer pCallback) +void cppISteamInput_SteamInput005_EnableActionEventCallbacks( struct cppISteamInput_SteamInput005_EnableActionEventCallbacks_params *params ) { - win_EnableActionEventCallbacks = pCallback; - ((ISteamInput*)linux_side)->EnableActionEventCallbacks(pCallback ? &lin_SteamInputActionEventCallbackPointer : NULL); + ISteamInput *iface = (ISteamInput *)params->linux_side; + win_EnableActionEventCallbacks = (win_SteamInputActionEventCallbackPointer)params->pCallback; + iface->EnableActionEventCallbacks( params->pCallback ? &lin_SteamInputActionEventCallbackPointer : NULL ); } /***** convert and cache ISteamInput glyph paths *****/ @@ -121,32 +126,34 @@ const char *steamclient_isteaminput_getglyph_xbox(int origin, const char *lin_pa return cached_input_glyphs_xbox[origin]; } -const char * cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin(void *linux_side, EInputActionOrigin eOrigin, ESteamInputGlyphSize eSize, uint32 unFlags) +void cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin( struct cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphPNGForActionOrigin((EInputActionOrigin)eOrigin, eSize, unFlags); - return steamclient_isteaminput_getglyph_png(eOrigin, eSize, unFlags, path_result); + ISteamInput *iface = (ISteamInput *)params->linux_side; + params->_ret = iface->GetGlyphPNGForActionOrigin( (EInputActionOrigin)params->eOrigin, + (ESteamInputGlyphSize)params->eSize, params->unFlags ); + params->_ret = steamclient_isteaminput_getglyph_png( params->eOrigin, params->eSize, + params->unFlags, params->_ret ); } -const char * cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin(void *linux_side, EInputActionOrigin eOrigin, uint32 unFlags) +void cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin( struct cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphSVGForActionOrigin((EInputActionOrigin)eOrigin, unFlags); - return steamclient_isteaminput_getglyph_svg(eOrigin, unFlags, path_result); + ISteamInput *iface = (ISteamInput *)params->linux_side; + params->_ret = iface->GetGlyphSVGForActionOrigin( (EInputActionOrigin)params->eOrigin, params->unFlags ); + params->_ret = steamclient_isteaminput_getglyph_svg( params->eOrigin, params->unFlags, params->_ret ); } -const char * cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy(void *linux_side, EInputActionOrigin eOrigin) +void cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy( struct cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy_params *params ) { - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForActionOrigin_Legacy((EInputActionOrigin)eOrigin); - return steamclient_isteaminput_getglyph(eOrigin, path_result); + ISteamInput *iface = (ISteamInput *)params->linux_side; + params->_ret = iface->GetGlyphForActionOrigin_Legacy( (EInputActionOrigin)params->eOrigin ); + params->_ret = steamclient_isteaminput_getglyph( params->eOrigin, params->_ret ); } -const char * cppISteamInput_SteamInput005_GetGlyphForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +void cppISteamInput_SteamInput005_GetGlyphForXboxOrigin( struct cppISteamInput_SteamInput005_GetGlyphForXboxOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForXboxOrigin((EXboxOrigin)eOrigin); - return steamclient_isteaminput_getglyph_xbox(eOrigin, path_result); + ISteamInput *iface = (ISteamInput *)params->linux_side; + params->_ret = iface->GetGlyphForXboxOrigin( (EXboxOrigin)params->eOrigin ); + params->_ret = steamclient_isteaminput_getglyph_xbox( params->eOrigin, params->_ret ); } /***** convert and cache ISteamController glyph paths *****/ @@ -168,18 +175,16 @@ const char *steamclient_isteamcontroller_getglyph(int origin, const char *lin_pa return cached_controller_glyphs[origin]; } -const char * cppISteamController_SteamController008_GetGlyphForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) +void cppISteamController_SteamController008_GetGlyphForActionOrigin( struct cppISteamController_SteamController008_GetGlyphForActionOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamController*)linux_side)->GetGlyphForActionOrigin((EControllerActionOrigin)eOrigin); - return steamclient_isteamcontroller_getglyph(eOrigin, path_result); + ISteamController *iface = (ISteamController *)params->linux_side; + params->_ret = iface->GetGlyphForActionOrigin( (EControllerActionOrigin)params->eOrigin ); + params->_ret = steamclient_isteamcontroller_getglyph( params->eOrigin, params->_ret ); } -const char * cppISteamController_SteamController008_GetGlyphForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +void cppISteamController_SteamController008_GetGlyphForXboxOrigin( struct cppISteamController_SteamController008_GetGlyphForXboxOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamController*)linux_side)->GetGlyphForXboxOrigin((EXboxOrigin)eOrigin); - return steamclient_isteaminput_getglyph_xbox(eOrigin, path_result); -} - + ISteamController *iface = (ISteamController *)params->linux_side; + params->_ret = iface->GetGlyphForXboxOrigin( (EXboxOrigin)params->eOrigin ); + params->_ret = steamclient_isteaminput_getglyph_xbox( params->eOrigin, params->_ret ); } diff --git a/lsteamclient/steamclient_manual_153a.cpp b/lsteamclient/steamclient_manual_153a.cpp index 7db7c94e..853406b5 100644 --- a/lsteamclient/steamclient_manual_153a.cpp +++ b/lsteamclient/steamclient_manual_153a.cpp @@ -31,61 +31,67 @@ extern "C" { #define SDK_VERSION 1531 #include "steamclient_manual_common.h" +typedef winSteamNetworkingMessage_t_153a winSteamNetworkingMessage_t_158; +#include "cppISteamNetworkingUtils_SteamNetworkingUtils004.h" +#include "cppISteamNetworkingSockets_SteamNetworkingSockets012.h" +#include "cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h" +typedef struct ScePadTriggerEffectParam { uint8 m_data[120]; } ScePadTriggerEffectParam; +#include "cppISteamInput_SteamInput006.h" +} + /***** manual fn wrapper for ISteamInput::EnableActionEventCallbacks *****/ extern win_SteamInputActionEventCallbackPointer win_EnableActionEventCallbacks; -void cppISteamInput_SteamInput006_EnableActionEventCallbacks(void *linux_side, win_SteamInputActionEventCallbackPointer pCallback) +void cppISteamInput_SteamInput006_EnableActionEventCallbacks( struct cppISteamInput_SteamInput006_EnableActionEventCallbacks_params *params ) { - win_EnableActionEventCallbacks = pCallback; - ((ISteamInput*)linux_side)->EnableActionEventCallbacks(pCallback ? &lin_SteamInputActionEventCallbackPointer : NULL); + ISteamInput *iface = (ISteamInput *)params->linux_side; + win_EnableActionEventCallbacks = (win_SteamInputActionEventCallbackPointer)params->pCallback; + iface->EnableActionEventCallbacks( params->pCallback ? &lin_SteamInputActionEventCallbackPointer : NULL ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection( - void *linux_side, HSteamNetConnection hConn, - winSteamNetworkingMessage_t_153a **ppOutMessages, int nMaxMessages) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection_params *params ) { - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnConnection(hConn, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnConnection( params->hConn, lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); } -int cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup( - void *linux_side, HSteamNetPollGroup hPollGroup, - winSteamNetworkingMessage_t_153a **ppOutMessages, int nMaxMessages) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup_params *params ) { - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnPollGroup(hPollGroup, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnPollGroup( params->hPollGroup, lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); } -void cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages( - void *linux_side, int nMessages, winSteamNetworkingMessage_t_153a **pMessages, - int64 *pOutMessageNumberOrResult) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages_params *params ) { #define MAX_SEND_MESSAGES 64 + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; /* use the stack to avoid heap allocation */ struct SteamNetworkingMessage_t *lin_msgs[MAX_SEND_MESSAGES]; int i; - if (nMessages > MAX_SEND_MESSAGES) + if (params->nMessages > MAX_SEND_MESSAGES) { /* if we ever hit this, increase MAX_SEND_MESSAGES appropriately */ - FIXME("Trying to send %u messages, which is more than %u! Will break up into pieces.\n", nMessages, MAX_SEND_MESSAGES); + FIXME( "Trying to send %u messages, which is more than %u! Will break up into pieces.\n", + params->nMessages, MAX_SEND_MESSAGES ); } - while(nMessages) + while (params->nMessages) { - for(i = 0; i < nMessages && i < MAX_SEND_MESSAGES; ++i) - lin_msgs[i] = (SteamNetworkingMessage_t *)network_message_win_to_lin(pMessages[i]); + for (i = 0; i < params->nMessages && i < MAX_SEND_MESSAGES; ++i) + lin_msgs[i] = (SteamNetworkingMessage_t *)network_message_win_to_lin( params->pMessages[i] ); - ((ISteamNetworkingSockets*)linux_side)->SendMessages(i, lin_msgs, pOutMessageNumberOrResult); + iface->SendMessages( i, lin_msgs, params->pOutMessageNumberOrResult ); - nMessages -= i; - pMessages += i; - if(pOutMessageNumberOrResult) - pOutMessageNumberOrResult += i; + params->nMessages -= i; + params->pMessages += i; + if (params->pOutMessageNumberOrResult) params->pOutMessageNumberOrResult += i; } } @@ -95,28 +101,30 @@ typedef struct __winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 { void *linux_side; } winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001; -void *cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort(void *linux_side, int idxFakeServerPort) +void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort_params *params ) { - ISteamNetworkingFakeUDPPort *lin_iface = ((ISteamNetworkingSockets*)linux_side)->CreateFakeUDPPort(idxFakeServerPort); - if(!lin_iface) - return NULL; - return create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001(lin_iface); + ISteamNetworkingSockets *iface = (ISteamNetworkingSockets *)params->linux_side; + ISteamNetworkingFakeUDPPort *lin_iface = iface->CreateFakeUDPPort( params->idxFakeServerPort ); + if (!lin_iface) params->_ret = NULL; + else params->_ret = create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001( lin_iface ); } -int cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages(void *linux_side, winSteamNetworkingMessage_t_153a ** ppOutMessages, int nMaxMessages) +void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages( struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages_params *params ) { - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingFakeUDPPort*)linux_side)->ReceiveMessages(lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; + ISteamNetworkingFakeUDPPort *iface = (ISteamNetworkingFakeUDPPort *)params->linux_side; + SteamNetworkingMessage_t *lin_ppOutMessages[params->nMaxMessages]; + params->_ret = iface->ReceiveMessages( lin_ppOutMessages, params->nMaxMessages ); + lin_to_win_struct_SteamNetworkingMessage_t( params->_ret, lin_ppOutMessages, + params->ppOutMessages, params->nMaxMessages ); } -void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort(void *linux_side) +void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort( struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort_params *params ) { - winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *win_side = - (winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *) - (char *)linux_side - offsetof(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001, linux_side); - ((ISteamNetworkingFakeUDPPort*)linux_side)->DestroyFakeUDPPort(); + ISteamNetworkingFakeUDPPort *iface = (ISteamNetworkingFakeUDPPort *)params->linux_side; + winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 + *win_side = (winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *)( char *)params->linux_side - + offsetof( winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001, linux_side ); + iface->DestroyFakeUDPPort(); HeapFree(GetProcessHeap(), 0, win_side); } @@ -158,77 +166,84 @@ extern void lin_SteamNetworkingMessagesSessionFailed(SteamNetworkingMessagesSess extern void lin_SteamRelayNetworkStatusChanged(SteamRelayNetworkStatus_t *dat); extern void lin_SteamNetAuthenticationStatusChanged(SteamNetAuthenticationStatus_t *dat); -bool cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue(void *linux_side, - ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, - intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void *pArg) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue_params *params ) { + ISteamNetworkingUtils *iface = (ISteamNetworkingUtils *)params->linux_side; bool ret; void *lin_fn; /* api requires passing pointer-to-pointer */ - switch(eValue){ + switch (params->eValue) + { -#define CASE(x, y) \ - case k_ESteamNetworkingConfig_Callback_##x: \ - if(!pArg){ \ - ret = ((ISteamNetworkingUtils*)linux_side)->SetConfigValue(eValue, eScopeType, scopeObj, eDataType, NULL); \ - }else{ \ - if(*(void **)pArg == NULL) \ - lin_fn = NULL; \ - else \ - lin_fn = (void *)&lin_##y; \ - ret = ((ISteamNetworkingUtils*)linux_side)->SetConfigValue(eValue, eScopeType, scopeObj, eDataType, &lin_fn); \ - if(ret) \ - win_##y = *(win_Fn##y*)pArg; \ - } \ - return ret; +#define CASE( x, y ) \ + case k_ESteamNetworkingConfig_Callback_##x: \ + if (!params->pArg) \ + { \ + params->_ret = iface->SetConfigValue( (ESteamNetworkingConfigValue)params->eValue, \ + (ESteamNetworkingConfigScope)params->eScopeType, \ + params->scopeObj, \ + (ESteamNetworkingConfigDataType)params->eDataType, NULL ); \ + } \ + else \ + { \ + if (*(void **)params->pArg == NULL) lin_fn = NULL; \ + else lin_fn = (void *)&lin_##y; \ + params->_ret = iface->SetConfigValue( (ESteamNetworkingConfigValue)params->eValue, \ + (ESteamNetworkingConfigScope)params->eScopeType, \ + params->scopeObj, \ + (ESteamNetworkingConfigDataType)params->eDataType, &lin_fn ); \ + if (params->_ret) win_##y = *(win_Fn##y *)params->pArg; \ + } - CASE(ConnectionStatusChanged, SteamNetConnectionStatusChanged) - CASE(AuthStatusChanged, SteamNetAuthenticationStatusChanged) - CASE(RelayNetworkStatusChanged, SteamRelayNetworkStatusChanged) - CASE(MessagesSessionRequest, SteamNetworkingMessagesSessionRequest) - CASE(MessagesSessionFailed, SteamNetworkingMessagesSessionFailed) + CASE( ConnectionStatusChanged, SteamNetConnectionStatusChanged ) + CASE( AuthStatusChanged, SteamNetAuthenticationStatusChanged ) + CASE( RelayNetworkStatusChanged, SteamRelayNetworkStatusChanged ) + CASE( MessagesSessionRequest, SteamNetworkingMessagesSessionRequest ) + CASE( MessagesSessionFailed, SteamNetworkingMessagesSessionFailed ) #undef CASE default: - return ((ISteamNetworkingUtils*)linux_side)->SetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType)eDataType, (const void *)pArg); + params->_ret = iface->SetConfigValue( (ESteamNetworkingConfigValue)params->eValue, + (ESteamNetworkingConfigScope)params->eScopeType, params->scopeObj, + (ESteamNetworkingConfigDataType)params->eDataType, + params->pArg ); } } -SteamNetworkingMessage_t *cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage( - void *linux_side, int cbAllocateBuffer) +void cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage_params *params ) { - SteamNetworkingMessage_t *retval = ((ISteamNetworkingUtils*)linux_side)->AllocateMessage(cbAllocateBuffer); - - return (SteamNetworkingMessage_t *)network_message_lin_to_win(retval); + ISteamNetworkingUtils *iface = (ISteamNetworkingUtils *)params->linux_side; + params->_ret = (winSteamNetworkingMessage_t_153a *)iface->AllocateMessage( params->cbAllocateBuffer ); + params->_ret = (winSteamNetworkingMessage_t_153a *)network_message_lin_to_win( params->_ret ); } -const char * cppISteamInput_SteamInput006_GetGlyphPNGForActionOrigin(void *linux_side, EInputActionOrigin eOrigin, ESteamInputGlyphSize eSize, uint32 unFlags) +void cppISteamInput_SteamInput006_GetGlyphPNGForActionOrigin( struct cppISteamInput_SteamInput006_GetGlyphPNGForActionOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphPNGForActionOrigin((EInputActionOrigin)eOrigin, eSize, unFlags); - return steamclient_isteaminput_getglyph_png(eOrigin, eSize, unFlags, path_result); + ISteamInput *iface = (ISteamInput *)params->linux_side; + params->_ret = iface->GetGlyphPNGForActionOrigin( (EInputActionOrigin)params->eOrigin, + (ESteamInputGlyphSize)params->eSize, params->unFlags ); + params->_ret = steamclient_isteaminput_getglyph_png( params->eOrigin, params->eSize, + params->unFlags, params->_ret ); } -const char * cppISteamInput_SteamInput006_GetGlyphSVGForActionOrigin(void *linux_side, EInputActionOrigin eOrigin, uint32 unFlags) +void cppISteamInput_SteamInput006_GetGlyphSVGForActionOrigin( struct cppISteamInput_SteamInput006_GetGlyphSVGForActionOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphSVGForActionOrigin((EInputActionOrigin)eOrigin, unFlags); - return steamclient_isteaminput_getglyph_svg(eOrigin, unFlags, path_result); + ISteamInput *iface = (ISteamInput *)params->linux_side; + params->_ret = iface->GetGlyphSVGForActionOrigin( (EInputActionOrigin)params->eOrigin, params->unFlags ); + params->_ret = steamclient_isteaminput_getglyph_svg( params->eOrigin, params->unFlags, params->_ret ); } -const char * cppISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy(void *linux_side, EInputActionOrigin eOrigin) +void cppISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy( struct cppISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy_params *params ) { - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForActionOrigin_Legacy((EInputActionOrigin)eOrigin); - return steamclient_isteaminput_getglyph(eOrigin, path_result); + ISteamInput *iface = (ISteamInput *)params->linux_side; + params->_ret = iface->GetGlyphForActionOrigin_Legacy( (EInputActionOrigin)params->eOrigin ); + params->_ret = steamclient_isteaminput_getglyph( params->eOrigin, params->_ret ); } -const char * cppISteamInput_SteamInput006_GetGlyphForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +void cppISteamInput_SteamInput006_GetGlyphForXboxOrigin( struct cppISteamInput_SteamInput006_GetGlyphForXboxOrigin_params *params ) { - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForXboxOrigin((EXboxOrigin)eOrigin); - return steamclient_isteaminput_getglyph_xbox(eOrigin, path_result); -} - + ISteamInput *iface = (ISteamInput *)params->linux_side; + params->_ret = iface->GetGlyphForXboxOrigin( (EXboxOrigin)params->eOrigin ); + params->_ret = steamclient_isteaminput_getglyph_xbox( params->eOrigin, params->_ret ); } diff --git a/lsteamclient/winISteamAppList.c b/lsteamclient/winISteamAppList.c index d92c4527..b58e892a 100644 --- a/lsteamclient/winISteamAppList.c +++ b/lsteamclient/winISteamAppList.c @@ -23,43 +23,67 @@ DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAp uint32 __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(_this->u_iface); - return _ret; + cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps( ¶ms ); + return params._ret; } uint32 __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps(struct w_steam_iface *_this, AppId_t *pvecAppID, uint32 unMaxAppIDs) { - uint32 _ret; + struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps_params params = + { + .linux_side = _this->u_iface, + .pvecAppID = pvecAppID, + .unMaxAppIDs = unMaxAppIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps(_this->u_iface, pvecAppID, unMaxAppIDs); - return _ret; + cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps( ¶ms ); + return params._ret; } int __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName(struct w_steam_iface *_this, AppId_t nAppID, char *pchName, int cchNameMax) { - int _ret; + struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .pchName = pchName, + .cchNameMax = cchNameMax, + }; TRACE("%p\n", _this); - _ret = cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName(_this->u_iface, nAppID, pchName, cchNameMax); - return _ret; + cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName( ¶ms ); + return params._ret; } int __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir(struct w_steam_iface *_this, AppId_t nAppID, char *pchDirectory, int cchNameMax) { - int _ret; + struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .pchDirectory = pchDirectory, + .cchNameMax = cchNameMax, + }; TRACE("%p\n", _this); - _ret = cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir(_this->u_iface, nAppID, pchDirectory, cchNameMax); - _ret = steamclient_unix_path_to_dos_path(_ret, pchDirectory, pchDirectory, cchNameMax, 0); - return _ret; + cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir( ¶ms ); + params._ret = steamclient_unix_path_to_dos_path( params._ret, pchDirectory, pchDirectory, cchNameMax, 0 ); + return params._ret; } int __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId(struct w_steam_iface *_this, AppId_t nAppID) { - int _ret; + struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId(_this->u_iface, nAppID); - return _ret; + cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId( ¶ms ); + return params._ret; } extern vtable_ptr winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_vtable; diff --git a/lsteamclient/winISteamAppTicket.c b/lsteamclient/winISteamAppTicket.c index f32cd5e0..c323f748 100644 --- a/lsteamclient/winISteamAppTicket.c +++ b/lsteamclient/winISteamAppTicket.c @@ -19,10 +19,20 @@ DEFINE_THISCALL_WRAPPER(winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_G uint32 __thiscall winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData(struct w_steam_iface *_this, uint32 nAppID, void *pvBuffer, uint32 cbBufferLength, uint32 *piAppId, uint32 *piSteamId, uint32 *piSignature, uint32 *pcbSignature) { - uint32 _ret; + struct cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .pvBuffer = pvBuffer, + .cbBufferLength = cbBufferLength, + .piAppId = piAppId, + .piSteamId = piSteamId, + .piSignature = piSignature, + .pcbSignature = pcbSignature, + }; TRACE("%p\n", _this); - _ret = cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData(_this->u_iface, nAppID, pvBuffer, cbBufferLength, piAppId, piSteamId, piSignature, pcbSignature); - return _ret; + cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData( ¶ms ); + return params._ret; } extern vtable_ptr winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_vtable; diff --git a/lsteamclient/winISteamApps.c b/lsteamclient/winISteamApps.c index 5a47fc08..ec5b5b82 100644 --- a/lsteamclient/winISteamApps.c +++ b/lsteamclient/winISteamApps.c @@ -19,10 +19,17 @@ DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData, int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData(struct w_steam_iface *_this, AppId_t nAppID, const char *pchKey, char *pchValue, int cchValueMax) { - int _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueMax = cchValueMax, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData(_this->u_iface, nAppID, pchKey, pchValue, cchValueMax); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData( ¶ms ); + return params._ret; } extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION001_vtable; @@ -58,58 +65,80 @@ DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscrib bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp( ¶ms ); + return params._ret; } extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION002_vtable; @@ -152,66 +181,92 @@ DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInsta bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled( ¶ms ); + return params._ret; } extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION003_vtable; @@ -261,110 +316,164 @@ DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDL bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled( ¶ms ); + return params._ret; } uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime(struct w_steam_iface *_this, AppId_t nAppID) { - uint32 _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime(_this->u_iface, nAppID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend( ¶ms ); + return params._ret; } int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex(struct w_steam_iface *_this, int iDLC, AppId_t *pAppID, bool *pbAvailable, char *pchName, int cchNameBufferSize) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex_params params = + { + .linux_side = _this->u_iface, + .iDLC = iDLC, + .pAppID = pAppID, + .pbAvailable = pbAvailable, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex(_this->u_iface, iDLC, pAppID, pbAvailable, pchName, cchNameBufferSize); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC( ¶ms ); } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC( ¶ms ); } extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION004_vtable; @@ -426,157 +535,240 @@ DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInsta bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled( ¶ms ); + return params._ret; } uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime(struct w_steam_iface *_this, AppId_t nAppID) { - uint32 _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime(_this->u_iface, nAppID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend( ¶ms ); + return params._ret; } int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex(struct w_steam_iface *_this, int iDLC, AppId_t *pAppID, bool *pbAvailable, char *pchName, int cchNameBufferSize) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex_params params = + { + .linux_side = _this->u_iface, + .iDLC = iDLC, + .pAppID = pAppID, + .pbAvailable = pbAvailable, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex(_this->u_iface, iDLC, pAppID, pbAvailable, pchName, cchNameBufferSize); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC( ¶ms ); } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC( ¶ms ); } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey( ¶ms ); } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName(struct w_steam_iface *_this, char *pchName, int cchNameBufferSize) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName(_this->u_iface, pchName, cchNameBufferSize); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt(struct w_steam_iface *_this, bool bMissingFilesOnly) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt_params params = + { + .linux_side = _this->u_iface, + .bMissingFilesOnly = bMissingFilesOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt(_this->u_iface, bMissingFilesOnly); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt( ¶ms ); + return params._ret; } uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots(struct w_steam_iface *_this, DepotId_t *pvecDepots, uint32 cMaxDepots) { - uint32 _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots_params params = + { + .linux_side = _this->u_iface, + .pvecDepots = pvecDepots, + .cMaxDepots = cMaxDepots, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots(_this->u_iface, pvecDepots, cMaxDepots); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots( ¶ms ); + return params._ret; } uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir(struct w_steam_iface *_this, AppId_t appID, char *pchFolder, uint32 cchFolderBufferSize) { - uint32 _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pchFolder = pchFolder, + .cchFolderBufferSize = cchFolderBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir(_this->u_iface, appID, pchFolder, cchFolderBufferSize); - _ret = steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderBufferSize, 0); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir( ¶ms ); + params._ret = steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderBufferSize, 0 ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled( ¶ms ); + return params._ret; } extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION005_vtable; @@ -646,172 +838,265 @@ DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQu bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled( ¶ms ); + return params._ret; } uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime(struct w_steam_iface *_this, AppId_t nAppID) { - uint32 _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime(_this->u_iface, nAppID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend( ¶ms ); + return params._ret; } int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex(struct w_steam_iface *_this, int iDLC, AppId_t *pAppID, bool *pbAvailable, char *pchName, int cchNameBufferSize) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex_params params = + { + .linux_side = _this->u_iface, + .iDLC = iDLC, + .pAppID = pAppID, + .pbAvailable = pbAvailable, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex(_this->u_iface, iDLC, pAppID, pbAvailable, pchName, cchNameBufferSize); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC( ¶ms ); } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC( ¶ms ); } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey( ¶ms ); } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName(struct w_steam_iface *_this, char *pchName, int cchNameBufferSize) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName(_this->u_iface, pchName, cchNameBufferSize); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt(struct w_steam_iface *_this, bool bMissingFilesOnly) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt_params params = + { + .linux_side = _this->u_iface, + .bMissingFilesOnly = bMissingFilesOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt(_this->u_iface, bMissingFilesOnly); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt( ¶ms ); + return params._ret; } uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots(struct w_steam_iface *_this, AppId_t appID, DepotId_t *pvecDepots, uint32 cMaxDepots) { - uint32 _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pvecDepots = pvecDepots, + .cMaxDepots = cMaxDepots, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots(_this->u_iface, appID, pvecDepots, cMaxDepots); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots( ¶ms ); + return params._ret; } uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir(struct w_steam_iface *_this, AppId_t appID, char *pchFolder, uint32 cchFolderBufferSize) { - uint32 _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pchFolder = pchFolder, + .cchFolderBufferSize = cchFolderBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir(_this->u_iface, appID, pchFolder, cchFolderBufferSize); - _ret = steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderBufferSize, 0); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir( ¶ms ); + params._ret = steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderBufferSize, 0 ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam(struct w_steam_iface *_this, const char *pchKey) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam(_this->u_iface, pchKey); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam( ¶ms ); + return params._ret; } extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION006_vtable; @@ -885,188 +1170,290 @@ DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuild bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled( ¶ms ); + return params._ret; } uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime(struct w_steam_iface *_this, AppId_t nAppID) { - uint32 _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime(_this->u_iface, nAppID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend( ¶ms ); + return params._ret; } int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex(struct w_steam_iface *_this, int iDLC, AppId_t *pAppID, bool *pbAvailable, char *pchName, int cchNameBufferSize) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex_params params = + { + .linux_side = _this->u_iface, + .iDLC = iDLC, + .pAppID = pAppID, + .pbAvailable = pbAvailable, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex(_this->u_iface, iDLC, pAppID, pbAvailable, pchName, cchNameBufferSize); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC( ¶ms ); } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC( ¶ms ); } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey( ¶ms ); } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName(struct w_steam_iface *_this, char *pchName, int cchNameBufferSize) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName(_this->u_iface, pchName, cchNameBufferSize); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt(struct w_steam_iface *_this, bool bMissingFilesOnly) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt_params params = + { + .linux_side = _this->u_iface, + .bMissingFilesOnly = bMissingFilesOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt(_this->u_iface, bMissingFilesOnly); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt( ¶ms ); + return params._ret; } uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots(struct w_steam_iface *_this, AppId_t appID, DepotId_t *pvecDepots, uint32 cMaxDepots) { - uint32 _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pvecDepots = pvecDepots, + .cMaxDepots = cMaxDepots, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots(_this->u_iface, appID, pvecDepots, cMaxDepots); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots( ¶ms ); + return params._ret; } uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir(struct w_steam_iface *_this, AppId_t appID, char *pchFolder, uint32 cchFolderBufferSize) { - uint32 _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pchFolder = pchFolder, + .cchFolderBufferSize = cchFolderBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir(_this->u_iface, appID, pchFolder, cchFolderBufferSize); - _ret = steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderBufferSize, 0); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir( ¶ms ); + params._ret = steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderBufferSize, 0 ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam(struct w_steam_iface *_this, const char *pchKey) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam(_this->u_iface, pchKey); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress(struct w_steam_iface *_this, AppId_t nAppID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress(_this->u_iface, nAppID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress( ¶ms ); + return params._ret; } int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId(struct w_steam_iface *_this) { - int _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId( ¶ms ); + return params._ret; } extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION007_vtable; @@ -1148,236 +1535,363 @@ DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcConte bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled( ¶ms ); + return params._ret; } uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime(struct w_steam_iface *_this, AppId_t nAppID) { - uint32 _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime(_this->u_iface, nAppID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend( ¶ms ); + return params._ret; } int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex(struct w_steam_iface *_this, int iDLC, AppId_t *pAppID, bool *pbAvailable, char *pchName, int cchNameBufferSize) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex_params params = + { + .linux_side = _this->u_iface, + .iDLC = iDLC, + .pAppID = pAppID, + .pbAvailable = pbAvailable, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex(_this->u_iface, iDLC, pAppID, pbAvailable, pchName, cchNameBufferSize); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC( ¶ms ); } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC( ¶ms ); } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey(_this->u_iface, nAppID); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey( ¶ms ); } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName(struct w_steam_iface *_this, char *pchName, int cchNameBufferSize) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName(_this->u_iface, pchName, cchNameBufferSize); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt(struct w_steam_iface *_this, bool bMissingFilesOnly) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt_params params = + { + .linux_side = _this->u_iface, + .bMissingFilesOnly = bMissingFilesOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt(_this->u_iface, bMissingFilesOnly); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt( ¶ms ); + return params._ret; } uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots(struct w_steam_iface *_this, AppId_t appID, DepotId_t *pvecDepots, uint32 cMaxDepots) { - uint32 _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pvecDepots = pvecDepots, + .cMaxDepots = cMaxDepots, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots(_this->u_iface, appID, pvecDepots, cMaxDepots); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots( ¶ms ); + return params._ret; } uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir(struct w_steam_iface *_this, AppId_t appID, char *pchFolder, uint32 cchFolderBufferSize) { - uint32 _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pchFolder = pchFolder, + .cchFolderBufferSize = cchFolderBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir(_this->u_iface, appID, pchFolder, cchFolderBufferSize); - _ret = steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderBufferSize, 0); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir( ¶ms ); + params._ret = steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderBufferSize, 0 ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled(struct w_steam_iface *_this, AppId_t appID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled(_this->u_iface, appID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner( ¶ms ); + return params._ret; } const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam(struct w_steam_iface *_this, const char *pchKey) { - const char * _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam(_this->u_iface, pchKey); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress(struct w_steam_iface *_this, AppId_t nAppID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress(_this->u_iface, nAppID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress( ¶ms ); + return params._ret; } int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId(struct w_steam_iface *_this) { - int _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId( ¶ms ); + return params._ret; } void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys(struct w_steam_iface *_this) { + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys(_this->u_iface); + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys( ¶ms ); } SteamAPICall_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails(struct w_steam_iface *_this, const char *pszFileName) { - SteamAPICall_t _ret; - const char *u_pszFileName = steamclient_dos_to_unix_path( pszFileName, 0 ); + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails_params params = + { + .linux_side = _this->u_iface, + .pszFileName = pszFileName, + }; + params.pszFileName = steamclient_dos_to_unix_path( pszFileName, 0 ); TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails(_this->u_iface, pszFileName ? u_pszFileName : NULL); - steamclient_free_path( u_pszFileName ); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails( ¶ms ); + steamclient_free_path( params.pszFileName ); + return params._ret; } int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine(struct w_steam_iface *_this, char *pszCommandLine, int cubCommandLine) { - int _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine_params params = + { + .linux_side = _this->u_iface, + .pszCommandLine = pszCommandLine, + .cubCommandLine = cubCommandLine, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine(_this->u_iface, pszCommandLine, cubCommandLine); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing(_this->u_iface); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial(struct w_steam_iface *_this, uint32 *punSecondsAllowed, uint32 *punSecondsPlayed) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial_params params = + { + .linux_side = _this->u_iface, + .punSecondsAllowed = punSecondsAllowed, + .punSecondsPlayed = punSecondsPlayed, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial(_this->u_iface, punSecondsAllowed, punSecondsPlayed); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial( ¶ms ); + return params._ret; } bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext(struct w_steam_iface *_this, AppId_t nAppID) { - bool _ret; + struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext(_this->u_iface, nAppID); - return _ret; + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext( ¶ms ); + return params._ret; } extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION008_vtable; diff --git a/lsteamclient/winISteamClient.c b/lsteamclient/winISteamClient.c index 5ae7bf03..6f82178a 100644 --- a/lsteamclient/winISteamClient.c +++ b/lsteamclient/winISteamClient.c @@ -39,173 +39,278 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetIPCCallCount, 4) HSteamPipe __thiscall winISteamClient_SteamClient006_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient006_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient006_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient006_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient006_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient006_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient006_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient006_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient006_CreateGlobalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient006_CreateGlobalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient006_CreateGlobalUser(_this->u_iface, phSteamPipe); - return _ret; + cppISteamClient_SteamClient006_CreateGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient006_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient006_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient006_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient006_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient006_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient006_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient006_CreateLocalUser(_this->u_iface, phSteamPipe); - return _ret; + cppISteamClient_SteamClient006_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient006_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient006_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient006_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient006_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient006_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient006_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient006_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient006_GetIVAC(struct w_steam_iface *_this, HSteamUser hSteamUser) { - void * _ret; + struct cppISteamClient_SteamClient006_GetIVAC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient006_GetIVAC(_this->u_iface, hSteamUser); - return _ret; + cppISteamClient_SteamClient006_GetIVAC( ¶ms ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient006_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient006_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient006_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient006_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient006_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient006_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient006_SetLocalIPBinding( ¶ms ); } const char * __thiscall winISteamClient_SteamClient006_GetUniverseName(struct w_steam_iface *_this, EUniverse eUniverse) { - const char * _ret; + struct cppISteamClient_SteamClient006_GetUniverseName_params params = + { + .linux_side = _this->u_iface, + .eUniverse = eUniverse, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient006_GetUniverseName(_this->u_iface, eUniverse); - return _ret; + cppISteamClient_SteamClient006_GetUniverseName( ¶ms ); + return params._ret; } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient006_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient006_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient006_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient006_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient006_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient006_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient006_GetISteamBilling(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient006_GetISteamBilling_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient006_GetISteamBilling(_this->u_iface, hSteamUser, hSteamPipe, pchVersion); - return _ret; + cppISteamClient_SteamClient006_GetISteamBilling( ¶ms ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient006_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient006_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient006_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient006_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient006_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient006_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamContentServer*/ * __thiscall winISteamClient_SteamClient006_GetISteamContentServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamContentServer*/ * _ret; + struct cppISteamClient_SteamClient006_GetISteamContentServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamContentServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient006_GetISteamContentServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMasterServerUpdater*/ * __thiscall winISteamClient_SteamClient006_GetISteamMasterServerUpdater(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMasterServerUpdater*/ * _ret; + struct cppISteamClient_SteamClient006_GetISteamMasterServerUpdater_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamMasterServerUpdater(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient006_GetISteamMasterServerUpdater( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient006_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient006_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient006_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient006_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient006_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient006_RunFrame(_this->u_iface); + cppISteamClient_SteamClient006_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient006_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient006_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient006_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient006_GetIPCCallCount( ¶ms ); + return params._ret; } extern vtable_ptr winISteamClient_SteamClient006_vtable; @@ -276,183 +381,299 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamRemoteStorage, 1 HSteamPipe __thiscall winISteamClient_SteamClient007_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient007_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient007_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient007_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient007_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient007_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient007_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient007_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient007_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient007_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient007_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient007_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient007_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient007_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient007_CreateLocalUser(_this->u_iface, phSteamPipe); - return _ret; + cppISteamClient_SteamClient007_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient007_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient007_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient007_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient007_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient007_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient007_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient007_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient007_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient007_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient007_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient007_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient007_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient007_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient007_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient007_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient007_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient007_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient007_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient007_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient007_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient007_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient007_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient007_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamContentServer*/ * __thiscall winISteamClient_SteamClient007_GetISteamContentServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamContentServer*/ * _ret; + struct cppISteamClient_SteamClient007_GetISteamContentServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamContentServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient007_GetISteamContentServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMasterServerUpdater*/ * __thiscall winISteamClient_SteamClient007_GetISteamMasterServerUpdater(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMasterServerUpdater*/ * _ret; + struct cppISteamClient_SteamClient007_GetISteamMasterServerUpdater_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamMasterServerUpdater(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient007_GetISteamMasterServerUpdater( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient007_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient007_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient007_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient007_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient007_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient007_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient007_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient007_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient007_RunFrame(_this->u_iface); + cppISteamClient_SteamClient007_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient007_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient007_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient007_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient007_GetIPCCallCount( ¶ms ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient007_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient007_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient007_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient007_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient007_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient007_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient007_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient007_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient007_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient007_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient007_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient007_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient007_SetWarningMessageHook( ¶ms ); } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient007_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient007_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient007_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } extern vtable_ptr winISteamClient_SteamClient007_vtable; @@ -523,174 +744,285 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_SetWarningMessageHook, 8) HSteamPipe __thiscall winISteamClient_SteamClient008_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient008_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient008_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient008_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient008_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient008_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient008_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient008_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient008_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient008_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient008_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient008_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient008_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe, EAccountType eAccountType) { - HSteamUser _ret; + struct cppISteamClient_SteamClient008_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient008_CreateLocalUser(_this->u_iface, phSteamPipe, eAccountType); - return _ret; + cppISteamClient_SteamClient008_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient008_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient008_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient008_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient008_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient008_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient008_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient008_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient008_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient008_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient008_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient008_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient008_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient008_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient008_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient008_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient008_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient008_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient008_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient008_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient008_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient008_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient008_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient008_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMasterServerUpdater*/ * __thiscall winISteamClient_SteamClient008_GetISteamMasterServerUpdater(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMasterServerUpdater*/ * _ret; + struct cppISteamClient_SteamClient008_GetISteamMasterServerUpdater_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamMasterServerUpdater(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient008_GetISteamMasterServerUpdater( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient008_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient008_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient008_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient008_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient008_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient008_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient008_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient008_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient008_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient008_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient008_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient008_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient008_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient008_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient008_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient008_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient008_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient008_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient008_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient008_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient008_RunFrame(_this->u_iface); + cppISteamClient_SteamClient008_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient008_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient008_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient008_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient008_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient008_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient008_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient008_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient008_SetWarningMessageHook( ¶ms ); } extern vtable_ptr winISteamClient_SteamClient008_vtable; @@ -761,183 +1093,300 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_SetWarningMessageHook, 8) HSteamPipe __thiscall winISteamClient_SteamClient009_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient009_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient009_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient009_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient009_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient009_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient009_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient009_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient009_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient009_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient009_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient009_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient009_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe, EAccountType eAccountType) { - HSteamUser _ret; + struct cppISteamClient_SteamClient009_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient009_CreateLocalUser(_this->u_iface, phSteamPipe, eAccountType); - return _ret; + cppISteamClient_SteamClient009_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient009_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient009_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient009_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient009_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient009_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient009_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient009_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient009_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient009_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient009_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient009_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient009_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient009_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient009_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient009_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient009_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient009_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient009_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient009_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient009_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient009_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient009_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient009_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMasterServerUpdater*/ * __thiscall winISteamClient_SteamClient009_GetISteamMasterServerUpdater(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMasterServerUpdater*/ * _ret; + struct cppISteamClient_SteamClient009_GetISteamMasterServerUpdater_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamMasterServerUpdater(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient009_GetISteamMasterServerUpdater( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient009_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient009_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient009_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient009_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient009_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient009_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient009_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient009_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient009_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient009_GetISteamGameServerStats(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServerStats*/ * _ret; + struct cppISteamClient_SteamClient009_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamGameServerStats(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient009_GetISteamGameServerStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient009_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient009_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient009_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient009_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient009_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient009_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient009_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient009_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient009_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient009_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient009_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient009_RunFrame(_this->u_iface); + cppISteamClient_SteamClient009_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient009_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient009_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient009_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient009_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient009_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient009_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient009_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient009_SetWarningMessageHook( ¶ms ); } extern vtable_ptr winISteamClient_SteamClient009_vtable; @@ -1011,200 +1460,326 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamHTTP, 16) HSteamPipe __thiscall winISteamClient_SteamClient010_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient010_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient010_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient010_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient010_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient010_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient010_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient010_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient010_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient010_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient010_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient010_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient010_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe, EAccountType eAccountType) { - HSteamUser _ret; + struct cppISteamClient_SteamClient010_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient010_CreateLocalUser(_this->u_iface, phSteamPipe, eAccountType); - return _ret; + cppISteamClient_SteamClient010_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient010_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient010_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient010_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient010_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient010_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient010_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient010_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient010_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient010_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient010_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient010_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient010_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient010_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient010_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient010_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient010_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient010_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient010_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMasterServerUpdater*/ * __thiscall winISteamClient_SteamClient010_GetISteamMasterServerUpdater(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMasterServerUpdater*/ * _ret; + struct cppISteamClient_SteamClient010_GetISteamMasterServerUpdater_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamMasterServerUpdater(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamMasterServerUpdater( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient010_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient010_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient010_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient010_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient010_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient010_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient010_GetISteamGameServerStats(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServerStats*/ * _ret; + struct cppISteamClient_SteamClient010_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamGameServerStats(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamGameServerStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient010_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient010_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient010_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient010_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient010_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient010_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient010_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient010_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient010_RunFrame(_this->u_iface); + cppISteamClient_SteamClient010_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient010_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient010_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient010_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient010_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient010_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient010_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient010_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient010_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamClient_SteamClient010_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed(_this->u_iface); - return _ret; + cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed( ¶ms ); + return params._ret; } void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient010_GetISteamHTTP(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTTP*/ * _ret; + struct cppISteamClient_SteamClient010_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamHTTP(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient010_GetISteamHTTP( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } extern vtable_ptr winISteamClient_SteamClient010_vtable; @@ -1281,209 +1856,341 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamHTTP, 16) HSteamPipe __thiscall winISteamClient_SteamClient011_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient011_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient011_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient011_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient011_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient011_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient011_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient011_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient011_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient011_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient011_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient011_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient011_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe, EAccountType eAccountType) { - HSteamUser _ret; + struct cppISteamClient_SteamClient011_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient011_CreateLocalUser(_this->u_iface, phSteamPipe, eAccountType); - return _ret; + cppISteamClient_SteamClient011_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient011_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient011_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient011_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient011_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient011_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient011_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient011_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient011_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient011_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient011_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient011_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient011_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient011_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMasterServerUpdater*/ * __thiscall winISteamClient_SteamClient011_GetISteamMasterServerUpdater(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMasterServerUpdater*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamMasterServerUpdater_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamMasterServerUpdater(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamMasterServerUpdater( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient011_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient011_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient011_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient011_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient011_GetISteamGameServerStats(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServerStats*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamGameServerStats(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamGameServerStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient011_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient011_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient011_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient011_GetISteamScreenshots(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamScreenshots*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamScreenshots(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamScreenshots( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient011_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient011_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient011_RunFrame(_this->u_iface); + cppISteamClient_SteamClient011_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient011_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient011_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient011_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient011_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient011_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient011_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient011_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient011_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamClient_SteamClient011_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamClient_SteamClient011_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient011_BShutdownIfAllPipesClosed(_this->u_iface); - return _ret; + cppISteamClient_SteamClient011_BShutdownIfAllPipesClosed( ¶ms ); + return params._ret; } void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient011_GetISteamHTTP(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTTP*/ * _ret; + struct cppISteamClient_SteamClient011_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamHTTP(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient011_GetISteamHTTP( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } extern vtable_ptr winISteamClient_SteamClient011_vtable; @@ -1563,227 +2270,371 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamUGC, 16) HSteamPipe __thiscall winISteamClient_SteamClient012_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient012_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient012_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient012_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient012_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient012_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient012_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient012_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient012_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient012_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient012_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient012_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient012_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe, EAccountType eAccountType) { - HSteamUser _ret; + struct cppISteamClient_SteamClient012_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient012_CreateLocalUser(_this->u_iface, phSteamPipe, eAccountType); - return _ret; + cppISteamClient_SteamClient012_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient012_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient012_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient012_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient012_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient012_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient012_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient012_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient012_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient012_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient012_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient012_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient012_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient012_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient012_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient012_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient012_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient012_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient012_GetISteamGameServerStats(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServerStats*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamGameServerStats(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamGameServerStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient012_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient012_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient012_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient012_GetISteamScreenshots(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamScreenshots*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamScreenshots(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamScreenshots( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient012_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient012_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient012_RunFrame(_this->u_iface); + cppISteamClient_SteamClient012_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient012_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient012_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient012_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient012_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient012_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient012_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient012_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient012_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamClient_SteamClient012_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamClient_SteamClient012_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient012_BShutdownIfAllPipesClosed(_this->u_iface); - return _ret; + cppISteamClient_SteamClient012_BShutdownIfAllPipesClosed( ¶ms ); + return params._ret; } void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient012_GetISteamHTTP(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTTP*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamHTTP(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamHTTP( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUnifiedMessages*/ * __thiscall winISteamClient_SteamClient012_GetISteamUnifiedMessages(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUnifiedMessages*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamUnifiedMessages(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamUnifiedMessages( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamController*/ * __thiscall winISteamClient_SteamClient012_GetISteamController(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamController*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamController(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamController( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient012_GetISteamUGC(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUGC*/ * _ret; + struct cppISteamClient_SteamClient012_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamUGC(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient012_GetISteamUGC( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } extern vtable_ptr winISteamClient_SteamClient012_vtable; @@ -1868,252 +2719,414 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamAppList, 16) HSteamPipe __thiscall winISteamClient_SteamClient013_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient013_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient013_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient013_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient013_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient013_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient013_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient013_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient013_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient013_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient013_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient013_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient013_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe, EAccountType eAccountType) { - HSteamUser _ret; + struct cppISteamClient_SteamClient013_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient013_CreateLocalUser(_this->u_iface, phSteamPipe, eAccountType); - return _ret; + cppISteamClient_SteamClient013_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient013_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient013_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient013_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient013_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient013_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient013_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient013_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient013_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient013_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient013_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient013_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient013_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient013_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient013_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient013_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient013_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient013_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient013_GetISteamGameServerStats(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServerStats*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamGameServerStats(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamGameServerStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient013_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient013_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient013_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient013_GetISteamScreenshots(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamScreenshots*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamScreenshots(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamScreenshots( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient013_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient013_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient013_RunFrame(_this->u_iface); + cppISteamClient_SteamClient013_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient013_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient013_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient013_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient013_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient013_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient013_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient013_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient013_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamClient_SteamClient013_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed(_this->u_iface); - return _ret; + cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed( ¶ms ); + return params._ret; } void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient013_GetISteamHTTP(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTTP*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamHTTP(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamHTTP( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUnifiedMessages*/ * __thiscall winISteamClient_SteamClient013_GetISteamUnifiedMessages(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUnifiedMessages*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamUnifiedMessages(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamUnifiedMessages( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamController*/ * __thiscall winISteamClient_SteamClient013_GetISteamController(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamController*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamController(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamController( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient013_GetISteamUGC(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUGC*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamUGC(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamUGC( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient013_GetISteamInventory(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient013_GetISteamInventory_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient013_GetISteamInventory(_this->u_iface, hSteamUser, hSteamPipe, pchVersion); - return _ret; + cppISteamClient_SteamClient013_GetISteamInventory( ¶ms ); + return params._ret; } void * __thiscall winISteamClient_SteamClient013_GetISteamVideo(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient013_GetISteamVideo_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient013_GetISteamVideo(_this->u_iface, hSteamUser, hSteamPipe, pchVersion); - return _ret; + cppISteamClient_SteamClient013_GetISteamVideo( ¶ms ); + return params._ret; } void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient013_GetISteamAppList(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamAppList*/ * _ret; + struct cppISteamClient_SteamClient013_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamAppList(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient013_GetISteamAppList( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } extern vtable_ptr winISteamClient_SteamClient013_vtable; @@ -2200,245 +3213,401 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamMusic, 16) HSteamPipe __thiscall winISteamClient_SteamClient014_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient014_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient014_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient014_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient014_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient014_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient014_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient014_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient014_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient014_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient014_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient014_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient014_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe, EAccountType eAccountType) { - HSteamUser _ret; + struct cppISteamClient_SteamClient014_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient014_CreateLocalUser(_this->u_iface, phSteamPipe, eAccountType); - return _ret; + cppISteamClient_SteamClient014_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient014_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient014_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient014_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient014_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient014_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient014_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient014_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient014_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient014_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient014_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient014_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient014_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient014_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient014_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient014_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient014_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient014_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient014_GetISteamGameServerStats(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServerStats*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamGameServerStats(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamGameServerStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient014_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient014_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient014_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient014_GetISteamScreenshots(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamScreenshots*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamScreenshots(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamScreenshots( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient014_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient014_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient014_RunFrame(_this->u_iface); + cppISteamClient_SteamClient014_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient014_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient014_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient014_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient014_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient014_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient014_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient014_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient014_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamClient_SteamClient014_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamClient_SteamClient014_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient014_BShutdownIfAllPipesClosed(_this->u_iface); - return _ret; + cppISteamClient_SteamClient014_BShutdownIfAllPipesClosed( ¶ms ); + return params._ret; } void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient014_GetISteamHTTP(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTTP*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamHTTP(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamHTTP( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUnifiedMessages*/ * __thiscall winISteamClient_SteamClient014_GetISteamUnifiedMessages(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUnifiedMessages*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamUnifiedMessages(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamUnifiedMessages( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamController*/ * __thiscall winISteamClient_SteamClient014_GetISteamController(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamController*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamController(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamController( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient014_GetISteamUGC(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUGC*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamUGC(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamUGC( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient014_GetISteamAppList(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamAppList*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamAppList(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamAppList( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient014_GetISteamMusic(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMusic*/ * _ret; + struct cppISteamClient_SteamClient014_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamMusic(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient014_GetISteamMusic( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } extern vtable_ptr winISteamClient_SteamClient014_vtable; @@ -2525,254 +3694,416 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamMusicRemote, 16) HSteamPipe __thiscall winISteamClient_SteamClient015_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient015_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient015_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient015_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient015_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient015_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient015_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient015_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient015_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient015_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient015_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient015_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient015_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe, EAccountType eAccountType) { - HSteamUser _ret; + struct cppISteamClient_SteamClient015_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient015_CreateLocalUser(_this->u_iface, phSteamPipe, eAccountType); - return _ret; + cppISteamClient_SteamClient015_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient015_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient015_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient015_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient015_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient015_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient015_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient015_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient015_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient015_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient015_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient015_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient015_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient015_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient015_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient015_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient015_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient015_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient015_GetISteamGameServerStats(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServerStats*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamGameServerStats(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamGameServerStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient015_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient015_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient015_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient015_GetISteamScreenshots(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamScreenshots*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamScreenshots(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamScreenshots( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient015_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient015_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient015_RunFrame(_this->u_iface); + cppISteamClient_SteamClient015_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient015_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient015_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient015_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient015_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient015_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient015_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient015_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient015_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamClient_SteamClient015_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamClient_SteamClient015_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient015_BShutdownIfAllPipesClosed(_this->u_iface); - return _ret; + cppISteamClient_SteamClient015_BShutdownIfAllPipesClosed( ¶ms ); + return params._ret; } void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient015_GetISteamHTTP(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTTP*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamHTTP(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamHTTP( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUnifiedMessages*/ * __thiscall winISteamClient_SteamClient015_GetISteamUnifiedMessages(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUnifiedMessages*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamUnifiedMessages(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamUnifiedMessages( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamController*/ * __thiscall winISteamClient_SteamClient015_GetISteamController(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamController*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamController(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamController( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient015_GetISteamUGC(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUGC*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamUGC(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamUGC( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient015_GetISteamAppList(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamAppList*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamAppList(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamAppList( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient015_GetISteamMusic(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMusic*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamMusic(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamMusic( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMusicRemote*/ * __thiscall winISteamClient_SteamClient015_GetISteamMusicRemote(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMusicRemote*/ * _ret; + struct cppISteamClient_SteamClient015_GetISteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamMusicRemote(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient015_GetISteamMusicRemote( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } extern vtable_ptr winISteamClient_SteamClient015_vtable; @@ -2864,281 +4195,464 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_Set_SteamAPI_CCheckCallba HSteamPipe __thiscall winISteamClient_SteamClient016_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient016_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient016_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient016_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient016_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient016_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient016_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient016_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient016_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient016_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient016_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient016_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient016_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe, EAccountType eAccountType) { - HSteamUser _ret; + struct cppISteamClient_SteamClient016_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient016_CreateLocalUser(_this->u_iface, phSteamPipe, eAccountType); - return _ret; + cppISteamClient_SteamClient016_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient016_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient016_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient016_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient016_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient016_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient016_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient016_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient016_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient016_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient016_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient016_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient016_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient016_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient016_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient016_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient016_GetISteamGameServerStats(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServerStats*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamGameServerStats(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamGameServerStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient016_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient016_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient016_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient016_GetISteamScreenshots(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamScreenshots*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamScreenshots(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamScreenshots( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient016_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient016_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_RunFrame(_this->u_iface); + cppISteamClient_SteamClient016_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient016_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient016_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient016_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient016_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient016_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient016_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient016_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamClient_SteamClient016_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamClient_SteamClient016_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient016_BShutdownIfAllPipesClosed(_this->u_iface); - return _ret; + cppISteamClient_SteamClient016_BShutdownIfAllPipesClosed( ¶ms ); + return params._ret; } void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient016_GetISteamHTTP(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTTP*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamHTTP(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamHTTP( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUnifiedMessages*/ * __thiscall winISteamClient_SteamClient016_GetISteamUnifiedMessages(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUnifiedMessages*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamUnifiedMessages(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamUnifiedMessages( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamController*/ * __thiscall winISteamClient_SteamClient016_GetISteamController(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamController*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamController(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamController( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient016_GetISteamUGC(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUGC*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamUGC(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamUGC( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient016_GetISteamAppList(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamAppList*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamAppList(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamAppList( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient016_GetISteamMusic(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMusic*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamMusic(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamMusic( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMusicRemote*/ * __thiscall winISteamClient_SteamClient016_GetISteamMusicRemote(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMusicRemote*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamMusicRemote(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamMusicRemote( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamHTMLSurface*/ * __thiscall winISteamClient_SteamClient016_GetISteamHTMLSurface(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTMLSurface*/ * _ret; + struct cppISteamClient_SteamClient016_GetISteamHTMLSurface_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamHTMLSurface(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient016_GetISteamHTMLSurface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, SteamAPI_PostAPIResultInProcess_t func) { + struct cppISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess(_this->u_iface, func); + cppISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess( ¶ms ); } void __thiscall winISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, SteamAPI_PostAPIResultInProcess_t func) { + struct cppISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess(_this->u_iface, func); + cppISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess( ¶ms ); } void __thiscall winISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess(struct w_steam_iface *_this, SteamAPI_CheckCallbackRegistered_t func) { + struct cppISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess(_this->u_iface, func); + cppISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess( ¶ms ); } extern vtable_ptr winISteamClient_SteamClient016_vtable; @@ -3237,307 +4751,508 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamParentalSettings HSteamPipe __thiscall winISteamClient_SteamClient017_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient017_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient017_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient017_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient017_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient017_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient017_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient017_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient017_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient017_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient017_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient017_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient017_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe, EAccountType eAccountType) { - HSteamUser _ret; + struct cppISteamClient_SteamClient017_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient017_CreateLocalUser(_this->u_iface, phSteamPipe, eAccountType); - return _ret; + cppISteamClient_SteamClient017_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient017_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient017_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient017_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient017_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient017_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient017_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient017_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient017_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient017_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient017_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient017_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient017_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient017_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient017_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient017_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient017_GetISteamGameServerStats(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServerStats*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamGameServerStats(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamGameServerStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient017_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient017_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient017_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient017_GetISteamScreenshots(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamScreenshots*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamScreenshots(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamScreenshots( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient017_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient017_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_RunFrame(_this->u_iface); + cppISteamClient_SteamClient017_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient017_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient017_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient017_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient017_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient017_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient017_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient017_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamClient_SteamClient017_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamClient_SteamClient017_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient017_BShutdownIfAllPipesClosed(_this->u_iface); - return _ret; + cppISteamClient_SteamClient017_BShutdownIfAllPipesClosed( ¶ms ); + return params._ret; } void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient017_GetISteamHTTP(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTTP*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamHTTP(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamHTTP( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages(_this->u_iface, hSteamuser, hSteamPipe, pchVersion); - return _ret; + cppISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages( ¶ms ); + return params._ret; } void /*ISteamController*/ * __thiscall winISteamClient_SteamClient017_GetISteamController(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamController*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamController(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamController( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient017_GetISteamUGC(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUGC*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamUGC(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamUGC( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient017_GetISteamAppList(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamAppList*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamAppList(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamAppList( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient017_GetISteamMusic(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMusic*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamMusic(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamMusic( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMusicRemote*/ * __thiscall winISteamClient_SteamClient017_GetISteamMusicRemote(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMusicRemote*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamMusicRemote(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamMusicRemote( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamHTMLSurface*/ * __thiscall winISteamClient_SteamClient017_GetISteamHTMLSurface(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTMLSurface*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamHTMLSurface_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamHTMLSurface(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamHTMLSurface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void *_a) { + struct cppISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(_this->u_iface, _a); + cppISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( ¶ms ); } void __thiscall winISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void *_a) { + struct cppISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(_this->u_iface, _a); + cppISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( ¶ms ); } void __thiscall winISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess(struct w_steam_iface *_this, SteamAPI_CheckCallbackRegistered_t func) { + struct cppISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess(_this->u_iface, func); + cppISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess( ¶ms ); } void /*ISteamInventory*/ * __thiscall winISteamClient_SteamClient017_GetISteamInventory(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamInventory*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamInventory_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamInventory(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamInventory( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamVideo*/ * __thiscall winISteamClient_SteamClient017_GetISteamVideo(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamVideo*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamVideo_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamVideo(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamVideo( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamParentalSettings*/ * __thiscall winISteamClient_SteamClient017_GetISteamParentalSettings(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamParentalSettings*/ * _ret; + struct cppISteamClient_SteamClient017_GetISteamParentalSettings_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamParentalSettings(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient017_GetISteamParentalSettings( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } extern vtable_ptr winISteamClient_SteamClient017_vtable; @@ -3642,334 +5357,553 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamParties, 16) HSteamPipe __thiscall winISteamClient_SteamClient018_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient018_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient018_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient018_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient018_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient018_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient018_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient018_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient018_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient018_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient018_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient018_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient018_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe, EAccountType eAccountType) { - HSteamUser _ret; + struct cppISteamClient_SteamClient018_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient018_CreateLocalUser(_this->u_iface, phSteamPipe, eAccountType); - return _ret; + cppISteamClient_SteamClient018_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient018_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient018_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient018_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient018_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient018_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient018_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient018_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient018_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient018_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient018_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient018_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient018_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient018_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient018_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient018_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient018_GetISteamGameServerStats(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServerStats*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamGameServerStats(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamGameServerStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient018_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient018_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient018_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient018_GetISteamScreenshots(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamScreenshots*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamScreenshots(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamScreenshots( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameSearch*/ * __thiscall winISteamClient_SteamClient018_GetISteamGameSearch(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameSearch*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamGameSearch_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamGameSearch(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamGameSearch( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient018_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient018_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_RunFrame(_this->u_iface); + cppISteamClient_SteamClient018_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient018_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient018_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient018_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient018_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient018_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient018_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient018_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamClient_SteamClient018_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed(_this->u_iface); - return _ret; + cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed( ¶ms ); + return params._ret; } void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient018_GetISteamHTTP(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTTP*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamHTTP(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamHTTP( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages(_this->u_iface, hSteamuser, hSteamPipe, pchVersion); - return _ret; + cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages( ¶ms ); + return params._ret; } void /*ISteamController*/ * __thiscall winISteamClient_SteamClient018_GetISteamController(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamController*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamController(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamController( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient018_GetISteamUGC(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUGC*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamUGC(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamUGC( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient018_GetISteamAppList(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamAppList*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamAppList(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamAppList( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient018_GetISteamMusic(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMusic*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamMusic(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamMusic( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMusicRemote*/ * __thiscall winISteamClient_SteamClient018_GetISteamMusicRemote(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMusicRemote*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamMusicRemote(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamMusicRemote( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamHTMLSurface*/ * __thiscall winISteamClient_SteamClient018_GetISteamHTMLSurface(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTMLSurface*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamHTMLSurface_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamHTMLSurface(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamHTMLSurface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void *_a) { + struct cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(_this->u_iface, _a); + cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( ¶ms ); } void __thiscall winISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void *_a) { + struct cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(_this->u_iface, _a); + cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( ¶ms ); } void __thiscall winISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess(struct w_steam_iface *_this, SteamAPI_CheckCallbackRegistered_t func) { + struct cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess(_this->u_iface, func); + cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess( ¶ms ); } void /*ISteamInventory*/ * __thiscall winISteamClient_SteamClient018_GetISteamInventory(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamInventory*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamInventory_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamInventory(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamInventory( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamVideo*/ * __thiscall winISteamClient_SteamClient018_GetISteamVideo(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamVideo*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamVideo_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamVideo(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamVideo( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamParentalSettings*/ * __thiscall winISteamClient_SteamClient018_GetISteamParentalSettings(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamParentalSettings*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamParentalSettings_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamParentalSettings(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamParentalSettings( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamInput*/ * __thiscall winISteamClient_SteamClient018_GetISteamInput(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamInput*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamInput_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamInput(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamInput( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamParties*/ * __thiscall winISteamClient_SteamClient018_GetISteamParties(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamParties*/ * _ret; + struct cppISteamClient_SteamClient018_GetISteamParties_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamParties(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient018_GetISteamParties( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } extern vtable_ptr winISteamClient_SteamClient018_vtable; @@ -4078,343 +6012,568 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamRemotePlay, 16) HSteamPipe __thiscall winISteamClient_SteamClient019_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient019_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient019_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient019_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient019_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient019_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient019_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient019_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient019_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient019_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient019_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient019_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient019_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe, EAccountType eAccountType) { - HSteamUser _ret; + struct cppISteamClient_SteamClient019_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient019_CreateLocalUser(_this->u_iface, phSteamPipe, eAccountType); - return _ret; + cppISteamClient_SteamClient019_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient019_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient019_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient019_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient019_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient019_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient019_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient019_SetLocalIPBinding(struct w_steam_iface *_this, uint32 unIP, uint16 usPort) { + struct cppISteamClient_SteamClient019_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient019_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient019_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient019_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient019_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient019_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient019_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient019_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient019_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient019_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient019_GetISteamGameServerStats(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServerStats*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamGameServerStats(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamGameServerStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient019_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient019_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient019_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient019_GetISteamScreenshots(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamScreenshots*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamScreenshots(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamScreenshots( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameSearch*/ * __thiscall winISteamClient_SteamClient019_GetISteamGameSearch(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameSearch*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamGameSearch_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamGameSearch(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamGameSearch( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient019_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient019_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient019_RunFrame(_this->u_iface); + cppISteamClient_SteamClient019_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient019_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient019_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient019_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient019_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient019_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient019_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient019_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient019_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamClient_SteamClient019_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamClient_SteamClient019_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient019_BShutdownIfAllPipesClosed(_this->u_iface); - return _ret; + cppISteamClient_SteamClient019_BShutdownIfAllPipesClosed( ¶ms ); + return params._ret; } void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient019_GetISteamHTTP(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTTP*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamHTTP(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamHTTP( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages(_this->u_iface, hSteamuser, hSteamPipe, pchVersion); - return _ret; + cppISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages( ¶ms ); + return params._ret; } void /*ISteamController*/ * __thiscall winISteamClient_SteamClient019_GetISteamController(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamController*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamController(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamController( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient019_GetISteamUGC(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUGC*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamUGC(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamUGC( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient019_GetISteamAppList(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamAppList*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamAppList(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamAppList( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient019_GetISteamMusic(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMusic*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamMusic(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamMusic( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMusicRemote*/ * __thiscall winISteamClient_SteamClient019_GetISteamMusicRemote(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMusicRemote*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamMusicRemote(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamMusicRemote( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamHTMLSurface*/ * __thiscall winISteamClient_SteamClient019_GetISteamHTMLSurface(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTMLSurface*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamHTMLSurface_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamHTMLSurface(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamHTMLSurface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void *_a) { + struct cppISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(_this->u_iface, _a); + cppISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( ¶ms ); } void __thiscall winISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void *_a) { + struct cppISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(_this->u_iface, _a); + cppISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( ¶ms ); } void __thiscall winISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess(struct w_steam_iface *_this, SteamAPI_CheckCallbackRegistered_t func) { + struct cppISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess(_this->u_iface, func); + cppISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess( ¶ms ); } void /*ISteamInventory*/ * __thiscall winISteamClient_SteamClient019_GetISteamInventory(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamInventory*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamInventory_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamInventory(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamInventory( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamVideo*/ * __thiscall winISteamClient_SteamClient019_GetISteamVideo(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamVideo*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamVideo_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamVideo(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamVideo( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamParentalSettings*/ * __thiscall winISteamClient_SteamClient019_GetISteamParentalSettings(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamParentalSettings*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamParentalSettings_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamParentalSettings(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamParentalSettings( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamInput*/ * __thiscall winISteamClient_SteamClient019_GetISteamInput(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamInput*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamInput_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamInput(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamInput( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamParties*/ * __thiscall winISteamClient_SteamClient019_GetISteamParties(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamParties*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamParties_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamParties(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamParties( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemotePlay*/ * __thiscall winISteamClient_SteamClient019_GetISteamRemotePlay(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemotePlay*/ * _ret; + struct cppISteamClient_SteamClient019_GetISteamRemotePlay_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamRemotePlay(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient019_GetISteamRemotePlay( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } extern vtable_ptr winISteamClient_SteamClient019_vtable; @@ -4525,349 +6684,578 @@ DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_DestroyAllInterfaces, 4) HSteamPipe __thiscall winISteamClient_SteamClient020_CreateSteamPipe(struct w_steam_iface *_this) { - HSteamPipe _ret; + struct cppISteamClient_SteamClient020_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient020_CreateSteamPipe(_this->u_iface); - return _ret; + cppISteamClient_SteamClient020_CreateSteamPipe( ¶ms ); + return params._ret; } bool __thiscall winISteamClient_SteamClient020_BReleaseSteamPipe(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - bool _ret; + struct cppISteamClient_SteamClient020_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient020_BReleaseSteamPipe(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient020_BReleaseSteamPipe( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient020_ConnectToGlobalUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe) { - HSteamUser _ret; + struct cppISteamClient_SteamClient020_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient020_ConnectToGlobalUser(_this->u_iface, hSteamPipe); - return _ret; + cppISteamClient_SteamClient020_ConnectToGlobalUser( ¶ms ); + return params._ret; } HSteamUser __thiscall winISteamClient_SteamClient020_CreateLocalUser(struct w_steam_iface *_this, HSteamPipe *phSteamPipe, EAccountType eAccountType) { - HSteamUser _ret; + struct cppISteamClient_SteamClient020_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient020_CreateLocalUser(_this->u_iface, phSteamPipe, eAccountType); - return _ret; + cppISteamClient_SteamClient020_CreateLocalUser( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient020_ReleaseUser(struct w_steam_iface *_this, HSteamPipe hSteamPipe, HSteamUser hUser) { + struct cppISteamClient_SteamClient020_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_ReleaseUser(_this->u_iface, hSteamPipe, hUser); + cppISteamClient_SteamClient020_ReleaseUser( ¶ms ); } void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient020_GetISteamUser(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUser*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamUser(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamUser( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient020_GetISteamGameServer(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServer*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamGameServer(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamGameServer( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient020_SetLocalIPBinding(struct w_steam_iface *_this, const SteamIPAddress_t *unIP, uint16 usPort) { + struct cppISteamClient_SteamClient020_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_SetLocalIPBinding(_this->u_iface, unIP, usPort); + cppISteamClient_SteamClient020_SetLocalIPBinding( ¶ms ); } void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient020_GetISteamFriends(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamFriends*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamFriends(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamFriends( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient020_GetISteamUtils(struct w_steam_iface *_this, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUtils*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamUtils(_this->u_iface, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamUtils( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient020_GetISteamMatchmaking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmaking*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamMatchmaking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamMatchmaking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient020_GetISteamMatchmakingServers(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMatchmakingServers*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamMatchmakingServers(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamMatchmakingServers( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient020_GetISteamGenericInterface(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient020_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamGenericInterface(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamGenericInterface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient020_GetISteamUserStats(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUserStats*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamUserStats(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamUserStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient020_GetISteamGameServerStats(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameServerStats*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamGameServerStats(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamGameServerStats( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient020_GetISteamApps(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamApps*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamApps(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamApps( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient020_GetISteamNetworking(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamNetworking*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamNetworking(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamNetworking( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient020_GetISteamRemoteStorage(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemoteStorage*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamRemoteStorage(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamRemoteStorage( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient020_GetISteamScreenshots(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamScreenshots*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamScreenshots(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamScreenshots( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamGameSearch*/ * __thiscall winISteamClient_SteamClient020_GetISteamGameSearch(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamGameSearch*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamGameSearch_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamGameSearch(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamGameSearch( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient020_RunFrame(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient020_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_RunFrame(_this->u_iface); + cppISteamClient_SteamClient020_RunFrame( ¶ms ); } uint32 __thiscall winISteamClient_SteamClient020_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamClient_SteamClient020_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient020_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamClient_SteamClient020_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamClient_SteamClient020_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamClient_SteamClient020_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamClient_SteamClient020_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamClient_SteamClient020_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed(_this->u_iface); - return _ret; + cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed( ¶ms ); + return params._ret; } void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient020_GetISteamHTTP(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTTP*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamHTTP(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamHTTP( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void * __thiscall winISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void * _ret; + struct cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages(_this->u_iface, hSteamuser, hSteamPipe, pchVersion); - return _ret; + cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages( ¶ms ); + return params._ret; } void /*ISteamController*/ * __thiscall winISteamClient_SteamClient020_GetISteamController(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamController*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamController(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamController( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient020_GetISteamUGC(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamUGC*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamUGC(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamUGC( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient020_GetISteamAppList(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamAppList*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamAppList(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamAppList( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient020_GetISteamMusic(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMusic*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamMusic(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamMusic( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamMusicRemote*/ * __thiscall winISteamClient_SteamClient020_GetISteamMusicRemote(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamMusicRemote*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamMusicRemote(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamMusicRemote( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamHTMLSurface*/ * __thiscall winISteamClient_SteamClient020_GetISteamHTMLSurface(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamHTMLSurface*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamHTMLSurface_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamHTMLSurface(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamHTMLSurface( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void *_a) { + struct cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(_this->u_iface, _a); + cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( ¶ms ); } void __thiscall winISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void *_a) { + struct cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(_this->u_iface, _a); + cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( ¶ms ); } void __thiscall winISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess(struct w_steam_iface *_this, SteamAPI_CheckCallbackRegistered_t func) { + struct cppISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess(_this->u_iface, func); + cppISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess( ¶ms ); } void /*ISteamInventory*/ * __thiscall winISteamClient_SteamClient020_GetISteamInventory(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamInventory*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamInventory_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamInventory(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamInventory( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamVideo*/ * __thiscall winISteamClient_SteamClient020_GetISteamVideo(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamVideo*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamVideo_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamVideo(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamVideo( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamParentalSettings*/ * __thiscall winISteamClient_SteamClient020_GetISteamParentalSettings(struct w_steam_iface *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamParentalSettings*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamParentalSettings_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamParentalSettings(_this->u_iface, hSteamuser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamParentalSettings( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamInput*/ * __thiscall winISteamClient_SteamClient020_GetISteamInput(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamInput*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamInput_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamInput(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamInput( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamParties*/ * __thiscall winISteamClient_SteamClient020_GetISteamParties(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamParties*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamParties_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamParties(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamParties( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void /*ISteamRemotePlay*/ * __thiscall winISteamClient_SteamClient020_GetISteamRemotePlay(struct w_steam_iface *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion) { - void /*ISteamRemotePlay*/ * _ret; + struct cppISteamClient_SteamClient020_GetISteamRemotePlay_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamRemotePlay(_this->u_iface, hSteamUser, hSteamPipe, pchVersion)); - return _ret; + cppISteamClient_SteamClient020_GetISteamRemotePlay( ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } void __thiscall winISteamClient_SteamClient020_DestroyAllInterfaces(struct w_steam_iface *_this) { + struct cppISteamClient_SteamClient020_DestroyAllInterfaces_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_DestroyAllInterfaces(_this->u_iface); + cppISteamClient_SteamClient020_DestroyAllInterfaces( ¶ms ); } extern vtable_ptr winISteamClient_SteamClient020_vtable; diff --git a/lsteamclient/winISteamController.c b/lsteamclient/winISteamController.c index 136033de..e1a4d5b5 100644 --- a/lsteamclient/winISteamController.c +++ b/lsteamclient/winISteamController.c @@ -24,46 +24,74 @@ DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Se bool __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init(struct w_steam_iface *_this, const char *pchAbsolutePathToControllerConfigVDF) { - bool _ret; - const char *u_pchAbsolutePathToControllerConfigVDF = steamclient_dos_to_unix_path( pchAbsolutePathToControllerConfigVDF, 0 ); + struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init_params params = + { + .linux_side = _this->u_iface, + .pchAbsolutePathToControllerConfigVDF = pchAbsolutePathToControllerConfigVDF, + }; + params.pchAbsolutePathToControllerConfigVDF = steamclient_dos_to_unix_path( pchAbsolutePathToControllerConfigVDF, 0 ); TRACE("%p\n", _this); - _ret = cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init(_this->u_iface, pchAbsolutePathToControllerConfigVDF ? u_pchAbsolutePathToControllerConfigVDF : NULL); - steamclient_free_path( u_pchAbsolutePathToControllerConfigVDF ); - return _ret; + cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init( ¶ms ); + steamclient_free_path( params.pchAbsolutePathToControllerConfigVDF ); + return params._ret; } bool __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown(_this->u_iface); - return _ret; + cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown( ¶ms ); + return params._ret; } void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame(struct w_steam_iface *_this) { + struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame(_this->u_iface); + cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame( ¶ms ); } bool __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState(struct w_steam_iface *_this, uint32 unControllerIndex, SteamControllerState001_t *pState) { - bool _ret; + struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerIndex = unControllerIndex, + .pState = pState, + }; TRACE("%p\n", _this); - _ret = cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState(_this->u_iface, unControllerIndex, pState); - return _ret; + cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState( ¶ms ); + return params._ret; } void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse(struct w_steam_iface *_this, uint32 unControllerIndex, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) { + struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerIndex = unControllerIndex, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse(_this->u_iface, unControllerIndex, eTargetPad, usDurationMicroSec); + cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse( ¶ms ); } void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode(struct w_steam_iface *_this, const char *pchMode) { + struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode_params params = + { + .linux_side = _this->u_iface, + .pchMode = pchMode, + }; TRACE("%p\n", _this); - cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode(_this->u_iface, pchMode); + cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode( ¶ms ); } extern vtable_ptr winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_vtable; @@ -114,126 +142,217 @@ DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_TriggerRepeatedHa bool __thiscall winISteamController_SteamController003_Init(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamController_SteamController003_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController003_Init(_this->u_iface); - return _ret; + cppISteamController_SteamController003_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController003_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamController_SteamController003_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController003_Shutdown(_this->u_iface); - return _ret; + cppISteamController_SteamController003_Shutdown( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController003_RunFrame(struct w_steam_iface *_this) { + struct cppISteamController_SteamController003_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_SteamController003_RunFrame(_this->u_iface); + cppISteamController_SteamController003_RunFrame( ¶ms ); } int __thiscall winISteamController_SteamController003_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut) { - int _ret; + struct cppISteamController_SteamController003_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController003_GetConnectedControllers(_this->u_iface, handlesOut); - return _ret; + cppISteamController_SteamController003_GetConnectedControllers( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController003_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - bool _ret; + struct cppISteamController_SteamController003_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController003_ShowBindingPanel(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController003_ShowBindingPanel( ¶ms ); + return params._ret; } ControllerActionSetHandle_t __thiscall winISteamController_SteamController003_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { - ControllerActionSetHandle_t _ret; + struct cppISteamController_SteamController003_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController003_GetActionSetHandle(_this->u_iface, pszActionSetName); - return _ret; + cppISteamController_SteamController003_GetActionSetHandle( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController003_ActivateActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) { + struct cppISteamController_SteamController003_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController003_ActivateActionSet(_this->u_iface, controllerHandle, actionSetHandle); + cppISteamController_SteamController003_ActivateActionSet( ¶ms ); } ControllerActionSetHandle_t __thiscall winISteamController_SteamController003_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - ControllerActionSetHandle_t _ret; + struct cppISteamController_SteamController003_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController003_GetCurrentActionSet(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController003_GetCurrentActionSet( ¶ms ); + return params._ret; } ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController003_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - ControllerDigitalActionHandle_t _ret; + struct cppISteamController_SteamController003_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController003_GetDigitalActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamController_SteamController003_GetDigitalActionHandle( ¶ms ); + return params._ret; } ControllerDigitalActionData_t * __thiscall winISteamController_SteamController003_GetDigitalActionData(struct w_steam_iface *_this, ControllerDigitalActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) { + struct cppISteamController_SteamController003_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController003_GetDigitalActionData(_this->u_iface, controllerHandle, digitalActionHandle); - return _ret; + cppISteamController_SteamController003_GetDigitalActionData( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController003_GetDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin *originsOut) { - int _ret; + struct cppISteamController_SteamController003_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController003_GetDigitalActionOrigins(_this->u_iface, controllerHandle, actionSetHandle, digitalActionHandle, originsOut); - return _ret; + cppISteamController_SteamController003_GetDigitalActionOrigins( ¶ms ); + return params._ret; } ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController003_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - ControllerAnalogActionHandle_t _ret; + struct cppISteamController_SteamController003_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController003_GetAnalogActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamController_SteamController003_GetAnalogActionHandle( ¶ms ); + return params._ret; } ControllerAnalogActionData_t * __thiscall winISteamController_SteamController003_GetAnalogActionData(struct w_steam_iface *_this, ControllerAnalogActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) { + struct cppISteamController_SteamController003_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController003_GetAnalogActionData(_this->u_iface, controllerHandle, analogActionHandle); - return _ret; + cppISteamController_SteamController003_GetAnalogActionData( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController003_GetAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin *originsOut) { - int _ret; + struct cppISteamController_SteamController003_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController003_GetAnalogActionOrigins(_this->u_iface, controllerHandle, actionSetHandle, analogActionHandle, originsOut); - return _ret; + cppISteamController_SteamController003_GetAnalogActionOrigins( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController003_StopAnalogActionMomentum(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) { + struct cppISteamController_SteamController003_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - cppISteamController_SteamController003_StopAnalogActionMomentum(_this->u_iface, controllerHandle, eAction); + cppISteamController_SteamController003_StopAnalogActionMomentum( ¶ms ); } void __thiscall winISteamController_SteamController003_TriggerHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) { + struct cppISteamController_SteamController003_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamController_SteamController003_TriggerHapticPulse(_this->u_iface, controllerHandle, eTargetPad, usDurationMicroSec); + cppISteamController_SteamController003_TriggerHapticPulse( ¶ms ); } void __thiscall winISteamController_SteamController003_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) { + struct cppISteamController_SteamController003_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamController_SteamController003_TriggerRepeatedHapticPulse(_this->u_iface, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + cppISteamController_SteamController003_TriggerRepeatedHapticPulse( ¶ms ); } extern vtable_ptr winISteamController_SteamController003_vtable; @@ -300,165 +419,286 @@ DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_ShowAnalogActionO bool __thiscall winISteamController_SteamController004_Init(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamController_SteamController004_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_Init(_this->u_iface); - return _ret; + cppISteamController_SteamController004_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController004_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamController_SteamController004_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_Shutdown(_this->u_iface); - return _ret; + cppISteamController_SteamController004_Shutdown( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController004_RunFrame(struct w_steam_iface *_this) { + struct cppISteamController_SteamController004_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_SteamController004_RunFrame(_this->u_iface); + cppISteamController_SteamController004_RunFrame( ¶ms ); } int __thiscall winISteamController_SteamController004_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut) { - int _ret; + struct cppISteamController_SteamController004_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_GetConnectedControllers(_this->u_iface, handlesOut); - return _ret; + cppISteamController_SteamController004_GetConnectedControllers( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController004_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - bool _ret; + struct cppISteamController_SteamController004_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_ShowBindingPanel(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController004_ShowBindingPanel( ¶ms ); + return params._ret; } ControllerActionSetHandle_t __thiscall winISteamController_SteamController004_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { - ControllerActionSetHandle_t _ret; + struct cppISteamController_SteamController004_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_GetActionSetHandle(_this->u_iface, pszActionSetName); - return _ret; + cppISteamController_SteamController004_GetActionSetHandle( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController004_ActivateActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) { + struct cppISteamController_SteamController004_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController004_ActivateActionSet(_this->u_iface, controllerHandle, actionSetHandle); + cppISteamController_SteamController004_ActivateActionSet( ¶ms ); } ControllerActionSetHandle_t __thiscall winISteamController_SteamController004_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - ControllerActionSetHandle_t _ret; + struct cppISteamController_SteamController004_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_GetCurrentActionSet(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController004_GetCurrentActionSet( ¶ms ); + return params._ret; } ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController004_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - ControllerDigitalActionHandle_t _ret; + struct cppISteamController_SteamController004_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_GetDigitalActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamController_SteamController004_GetDigitalActionHandle( ¶ms ); + return params._ret; } ControllerDigitalActionData_t * __thiscall winISteamController_SteamController004_GetDigitalActionData(struct w_steam_iface *_this, ControllerDigitalActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) { + struct cppISteamController_SteamController004_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController004_GetDigitalActionData(_this->u_iface, controllerHandle, digitalActionHandle); - return _ret; + cppISteamController_SteamController004_GetDigitalActionData( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController004_GetDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin *originsOut) { - int _ret; + struct cppISteamController_SteamController004_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_GetDigitalActionOrigins(_this->u_iface, controllerHandle, actionSetHandle, digitalActionHandle, originsOut); - return _ret; + cppISteamController_SteamController004_GetDigitalActionOrigins( ¶ms ); + return params._ret; } ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController004_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - ControllerAnalogActionHandle_t _ret; + struct cppISteamController_SteamController004_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_GetAnalogActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamController_SteamController004_GetAnalogActionHandle( ¶ms ); + return params._ret; } ControllerAnalogActionData_t * __thiscall winISteamController_SteamController004_GetAnalogActionData(struct w_steam_iface *_this, ControllerAnalogActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) { + struct cppISteamController_SteamController004_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController004_GetAnalogActionData(_this->u_iface, controllerHandle, analogActionHandle); - return _ret; + cppISteamController_SteamController004_GetAnalogActionData( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController004_GetAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin *originsOut) { - int _ret; + struct cppISteamController_SteamController004_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_GetAnalogActionOrigins(_this->u_iface, controllerHandle, actionSetHandle, analogActionHandle, originsOut); - return _ret; + cppISteamController_SteamController004_GetAnalogActionOrigins( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController004_StopAnalogActionMomentum(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) { + struct cppISteamController_SteamController004_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - cppISteamController_SteamController004_StopAnalogActionMomentum(_this->u_iface, controllerHandle, eAction); + cppISteamController_SteamController004_StopAnalogActionMomentum( ¶ms ); } void __thiscall winISteamController_SteamController004_TriggerHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) { + struct cppISteamController_SteamController004_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamController_SteamController004_TriggerHapticPulse(_this->u_iface, controllerHandle, eTargetPad, usDurationMicroSec); + cppISteamController_SteamController004_TriggerHapticPulse( ¶ms ); } void __thiscall winISteamController_SteamController004_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) { + struct cppISteamController_SteamController004_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamController_SteamController004_TriggerRepeatedHapticPulse(_this->u_iface, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + cppISteamController_SteamController004_TriggerRepeatedHapticPulse( ¶ms ); } int __thiscall winISteamController_SteamController004_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle) { - int _ret; + struct cppISteamController_SteamController004_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulControllerHandle = ulControllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_GetGamepadIndexForController(_this->u_iface, ulControllerHandle); - return _ret; + cppISteamController_SteamController004_GetGamepadIndexForController( ¶ms ); + return params._ret; } ControllerHandle_t __thiscall winISteamController_SteamController004_GetControllerForGamepadIndex(struct w_steam_iface *_this, int nIndex) { - ControllerHandle_t _ret; + struct cppISteamController_SteamController004_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_GetControllerForGamepadIndex(_this->u_iface, nIndex); - return _ret; + cppISteamController_SteamController004_GetControllerForGamepadIndex( ¶ms ); + return params._ret; } ControllerMotionData_t * __thiscall winISteamController_SteamController004_GetMotionData(struct w_steam_iface *_this, ControllerMotionData_t *_ret, ControllerHandle_t controllerHandle) { + struct cppISteamController_SteamController004_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController004_GetMotionData(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController004_GetMotionData( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController004_ShowDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) { - bool _ret; + struct cppISteamController_SteamController004_ShowDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + .flScale = flScale, + .flXPosition = flXPosition, + .flYPosition = flYPosition, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_ShowDigitalActionOrigins(_this->u_iface, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); - return _ret; + cppISteamController_SteamController004_ShowDigitalActionOrigins( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController004_ShowAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition) { - bool _ret; + struct cppISteamController_SteamController004_ShowAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + .flScale = flScale, + .flXPosition = flXPosition, + .flYPosition = flYPosition, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController004_ShowAnalogActionOrigins(_this->u_iface, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); - return _ret; + cppISteamController_SteamController004_ShowAnalogActionOrigins( ¶ms ); + return params._ret; } extern vtable_ptr winISteamController_SteamController004_vtable; @@ -534,193 +774,338 @@ DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetGlyphForAction bool __thiscall winISteamController_SteamController005_Init(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamController_SteamController005_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_Init(_this->u_iface); - return _ret; + cppISteamController_SteamController005_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController005_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamController_SteamController005_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_Shutdown(_this->u_iface); - return _ret; + cppISteamController_SteamController005_Shutdown( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController005_RunFrame(struct w_steam_iface *_this) { + struct cppISteamController_SteamController005_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_RunFrame(_this->u_iface); + cppISteamController_SteamController005_RunFrame( ¶ms ); } int __thiscall winISteamController_SteamController005_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut) { - int _ret; + struct cppISteamController_SteamController005_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_GetConnectedControllers(_this->u_iface, handlesOut); - return _ret; + cppISteamController_SteamController005_GetConnectedControllers( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController005_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - bool _ret; + struct cppISteamController_SteamController005_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_ShowBindingPanel(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController005_ShowBindingPanel( ¶ms ); + return params._ret; } ControllerActionSetHandle_t __thiscall winISteamController_SteamController005_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { - ControllerActionSetHandle_t _ret; + struct cppISteamController_SteamController005_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_GetActionSetHandle(_this->u_iface, pszActionSetName); - return _ret; + cppISteamController_SteamController005_GetActionSetHandle( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController005_ActivateActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) { + struct cppISteamController_SteamController005_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_ActivateActionSet(_this->u_iface, controllerHandle, actionSetHandle); + cppISteamController_SteamController005_ActivateActionSet( ¶ms ); } ControllerActionSetHandle_t __thiscall winISteamController_SteamController005_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - ControllerActionSetHandle_t _ret; + struct cppISteamController_SteamController005_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_GetCurrentActionSet(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController005_GetCurrentActionSet( ¶ms ); + return params._ret; } ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController005_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - ControllerDigitalActionHandle_t _ret; + struct cppISteamController_SteamController005_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_GetDigitalActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamController_SteamController005_GetDigitalActionHandle( ¶ms ); + return params._ret; } ControllerDigitalActionData_t * __thiscall winISteamController_SteamController005_GetDigitalActionData(struct w_steam_iface *_this, ControllerDigitalActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) { + struct cppISteamController_SteamController005_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController005_GetDigitalActionData(_this->u_iface, controllerHandle, digitalActionHandle); - return _ret; + cppISteamController_SteamController005_GetDigitalActionData( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController005_GetDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin *originsOut) { - int _ret; + struct cppISteamController_SteamController005_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_GetDigitalActionOrigins(_this->u_iface, controllerHandle, actionSetHandle, digitalActionHandle, originsOut); - return _ret; + cppISteamController_SteamController005_GetDigitalActionOrigins( ¶ms ); + return params._ret; } ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController005_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - ControllerAnalogActionHandle_t _ret; + struct cppISteamController_SteamController005_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_GetAnalogActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamController_SteamController005_GetAnalogActionHandle( ¶ms ); + return params._ret; } ControllerAnalogActionData_t * __thiscall winISteamController_SteamController005_GetAnalogActionData(struct w_steam_iface *_this, ControllerAnalogActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) { + struct cppISteamController_SteamController005_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController005_GetAnalogActionData(_this->u_iface, controllerHandle, analogActionHandle); - return _ret; + cppISteamController_SteamController005_GetAnalogActionData( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController005_GetAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin *originsOut) { - int _ret; + struct cppISteamController_SteamController005_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_GetAnalogActionOrigins(_this->u_iface, controllerHandle, actionSetHandle, analogActionHandle, originsOut); - return _ret; + cppISteamController_SteamController005_GetAnalogActionOrigins( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController005_StopAnalogActionMomentum(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) { + struct cppISteamController_SteamController005_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_StopAnalogActionMomentum(_this->u_iface, controllerHandle, eAction); + cppISteamController_SteamController005_StopAnalogActionMomentum( ¶ms ); } void __thiscall winISteamController_SteamController005_TriggerHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) { + struct cppISteamController_SteamController005_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_TriggerHapticPulse(_this->u_iface, controllerHandle, eTargetPad, usDurationMicroSec); + cppISteamController_SteamController005_TriggerHapticPulse( ¶ms ); } void __thiscall winISteamController_SteamController005_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) { + struct cppISteamController_SteamController005_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_TriggerRepeatedHapticPulse(_this->u_iface, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + cppISteamController_SteamController005_TriggerRepeatedHapticPulse( ¶ms ); } void __thiscall winISteamController_SteamController005_TriggerVibration(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) { + struct cppISteamController_SteamController005_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_TriggerVibration(_this->u_iface, controllerHandle, usLeftSpeed, usRightSpeed); + cppISteamController_SteamController005_TriggerVibration( ¶ms ); } void __thiscall winISteamController_SteamController005_SetLEDColor(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) { + struct cppISteamController_SteamController005_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_SetLEDColor(_this->u_iface, controllerHandle, nColorR, nColorG, nColorB, nFlags); + cppISteamController_SteamController005_SetLEDColor( ¶ms ); } int __thiscall winISteamController_SteamController005_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle) { - int _ret; + struct cppISteamController_SteamController005_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulControllerHandle = ulControllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_GetGamepadIndexForController(_this->u_iface, ulControllerHandle); - return _ret; + cppISteamController_SteamController005_GetGamepadIndexForController( ¶ms ); + return params._ret; } ControllerHandle_t __thiscall winISteamController_SteamController005_GetControllerForGamepadIndex(struct w_steam_iface *_this, int nIndex) { - ControllerHandle_t _ret; + struct cppISteamController_SteamController005_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_GetControllerForGamepadIndex(_this->u_iface, nIndex); - return _ret; + cppISteamController_SteamController005_GetControllerForGamepadIndex( ¶ms ); + return params._ret; } ControllerMotionData_t * __thiscall winISteamController_SteamController005_GetMotionData(struct w_steam_iface *_this, ControllerMotionData_t *_ret, ControllerHandle_t controllerHandle) { + struct cppISteamController_SteamController005_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController005_GetMotionData(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController005_GetMotionData( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController005_ShowDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) { - bool _ret; + struct cppISteamController_SteamController005_ShowDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + .flScale = flScale, + .flXPosition = flXPosition, + .flYPosition = flYPosition, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_ShowDigitalActionOrigins(_this->u_iface, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); - return _ret; + cppISteamController_SteamController005_ShowDigitalActionOrigins( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController005_ShowAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition) { - bool _ret; + struct cppISteamController_SteamController005_ShowAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + .flScale = flScale, + .flXPosition = flXPosition, + .flYPosition = flYPosition, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_ShowAnalogActionOrigins(_this->u_iface, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); - return _ret; + cppISteamController_SteamController005_ShowAnalogActionOrigins( ¶ms ); + return params._ret; } const char * __thiscall winISteamController_SteamController005_GetStringForActionOrigin(struct w_steam_iface *_this, EControllerActionOrigin eOrigin) { - const char * _ret; + struct cppISteamController_SteamController005_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_GetStringForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamController_SteamController005_GetStringForActionOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamController_SteamController005_GetGlyphForActionOrigin(struct w_steam_iface *_this, EControllerActionOrigin eOrigin) { - const char * _ret; + struct cppISteamController_SteamController005_GetGlyphForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController005_GetGlyphForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamController_SteamController005_GetGlyphForActionOrigin( ¶ms ); + return params._ret; } extern vtable_ptr winISteamController_SteamController005_vtable; @@ -805,227 +1190,398 @@ DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetInputTypeForHa bool __thiscall winISteamController_SteamController006_Init(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamController_SteamController006_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_Init(_this->u_iface); - return _ret; + cppISteamController_SteamController006_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController006_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamController_SteamController006_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_Shutdown(_this->u_iface); - return _ret; + cppISteamController_SteamController006_Shutdown( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController006_RunFrame(struct w_steam_iface *_this) { + struct cppISteamController_SteamController006_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_RunFrame(_this->u_iface); + cppISteamController_SteamController006_RunFrame( ¶ms ); } int __thiscall winISteamController_SteamController006_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut) { - int _ret; + struct cppISteamController_SteamController006_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_GetConnectedControllers(_this->u_iface, handlesOut); - return _ret; + cppISteamController_SteamController006_GetConnectedControllers( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController006_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - bool _ret; + struct cppISteamController_SteamController006_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_ShowBindingPanel(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController006_ShowBindingPanel( ¶ms ); + return params._ret; } ControllerActionSetHandle_t __thiscall winISteamController_SteamController006_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { - ControllerActionSetHandle_t _ret; + struct cppISteamController_SteamController006_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_GetActionSetHandle(_this->u_iface, pszActionSetName); - return _ret; + cppISteamController_SteamController006_GetActionSetHandle( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController006_ActivateActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) { + struct cppISteamController_SteamController006_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_ActivateActionSet(_this->u_iface, controllerHandle, actionSetHandle); + cppISteamController_SteamController006_ActivateActionSet( ¶ms ); } ControllerActionSetHandle_t __thiscall winISteamController_SteamController006_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - ControllerActionSetHandle_t _ret; + struct cppISteamController_SteamController006_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_GetCurrentActionSet(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController006_GetCurrentActionSet( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController006_ActivateActionSetLayer(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) { + struct cppISteamController_SteamController006_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_ActivateActionSetLayer(_this->u_iface, controllerHandle, actionSetLayerHandle); + cppISteamController_SteamController006_ActivateActionSetLayer( ¶ms ); } void __thiscall winISteamController_SteamController006_DeactivateActionSetLayer(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) { + struct cppISteamController_SteamController006_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_DeactivateActionSetLayer(_this->u_iface, controllerHandle, actionSetLayerHandle); + cppISteamController_SteamController006_DeactivateActionSetLayer( ¶ms ); } void __thiscall winISteamController_SteamController006_DeactivateAllActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { + struct cppISteamController_SteamController006_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_DeactivateAllActionSetLayers(_this->u_iface, controllerHandle); + cppISteamController_SteamController006_DeactivateAllActionSetLayers( ¶ms ); } int __thiscall winISteamController_SteamController006_GetActiveActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t *handlesOut) { - int _ret; + struct cppISteamController_SteamController006_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_GetActiveActionSetLayers(_this->u_iface, controllerHandle, handlesOut); - return _ret; + cppISteamController_SteamController006_GetActiveActionSetLayers( ¶ms ); + return params._ret; } ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController006_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - ControllerDigitalActionHandle_t _ret; + struct cppISteamController_SteamController006_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_GetDigitalActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamController_SteamController006_GetDigitalActionHandle( ¶ms ); + return params._ret; } ControllerDigitalActionData_t * __thiscall winISteamController_SteamController006_GetDigitalActionData(struct w_steam_iface *_this, ControllerDigitalActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) { + struct cppISteamController_SteamController006_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController006_GetDigitalActionData(_this->u_iface, controllerHandle, digitalActionHandle); - return _ret; + cppISteamController_SteamController006_GetDigitalActionData( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController006_GetDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin *originsOut) { - int _ret; + struct cppISteamController_SteamController006_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_GetDigitalActionOrigins(_this->u_iface, controllerHandle, actionSetHandle, digitalActionHandle, originsOut); - return _ret; + cppISteamController_SteamController006_GetDigitalActionOrigins( ¶ms ); + return params._ret; } ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController006_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - ControllerAnalogActionHandle_t _ret; + struct cppISteamController_SteamController006_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_GetAnalogActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamController_SteamController006_GetAnalogActionHandle( ¶ms ); + return params._ret; } ControllerAnalogActionData_t * __thiscall winISteamController_SteamController006_GetAnalogActionData(struct w_steam_iface *_this, ControllerAnalogActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) { + struct cppISteamController_SteamController006_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController006_GetAnalogActionData(_this->u_iface, controllerHandle, analogActionHandle); - return _ret; + cppISteamController_SteamController006_GetAnalogActionData( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController006_GetAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin *originsOut) { - int _ret; + struct cppISteamController_SteamController006_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_GetAnalogActionOrigins(_this->u_iface, controllerHandle, actionSetHandle, analogActionHandle, originsOut); - return _ret; + cppISteamController_SteamController006_GetAnalogActionOrigins( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController006_StopAnalogActionMomentum(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) { + struct cppISteamController_SteamController006_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_StopAnalogActionMomentum(_this->u_iface, controllerHandle, eAction); + cppISteamController_SteamController006_StopAnalogActionMomentum( ¶ms ); } void __thiscall winISteamController_SteamController006_TriggerHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) { + struct cppISteamController_SteamController006_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_TriggerHapticPulse(_this->u_iface, controllerHandle, eTargetPad, usDurationMicroSec); + cppISteamController_SteamController006_TriggerHapticPulse( ¶ms ); } void __thiscall winISteamController_SteamController006_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) { + struct cppISteamController_SteamController006_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_TriggerRepeatedHapticPulse(_this->u_iface, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + cppISteamController_SteamController006_TriggerRepeatedHapticPulse( ¶ms ); } void __thiscall winISteamController_SteamController006_TriggerVibration(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) { + struct cppISteamController_SteamController006_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_TriggerVibration(_this->u_iface, controllerHandle, usLeftSpeed, usRightSpeed); + cppISteamController_SteamController006_TriggerVibration( ¶ms ); } void __thiscall winISteamController_SteamController006_SetLEDColor(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) { + struct cppISteamController_SteamController006_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_SetLEDColor(_this->u_iface, controllerHandle, nColorR, nColorG, nColorB, nFlags); + cppISteamController_SteamController006_SetLEDColor( ¶ms ); } int __thiscall winISteamController_SteamController006_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle) { - int _ret; + struct cppISteamController_SteamController006_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulControllerHandle = ulControllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_GetGamepadIndexForController(_this->u_iface, ulControllerHandle); - return _ret; + cppISteamController_SteamController006_GetGamepadIndexForController( ¶ms ); + return params._ret; } ControllerHandle_t __thiscall winISteamController_SteamController006_GetControllerForGamepadIndex(struct w_steam_iface *_this, int nIndex) { - ControllerHandle_t _ret; + struct cppISteamController_SteamController006_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_GetControllerForGamepadIndex(_this->u_iface, nIndex); - return _ret; + cppISteamController_SteamController006_GetControllerForGamepadIndex( ¶ms ); + return params._ret; } ControllerMotionData_t * __thiscall winISteamController_SteamController006_GetMotionData(struct w_steam_iface *_this, ControllerMotionData_t *_ret, ControllerHandle_t controllerHandle) { + struct cppISteamController_SteamController006_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController006_GetMotionData(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController006_GetMotionData( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController006_ShowDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) { - bool _ret; + struct cppISteamController_SteamController006_ShowDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + .flScale = flScale, + .flXPosition = flXPosition, + .flYPosition = flYPosition, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_ShowDigitalActionOrigins(_this->u_iface, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); - return _ret; + cppISteamController_SteamController006_ShowDigitalActionOrigins( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController006_ShowAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition) { - bool _ret; + struct cppISteamController_SteamController006_ShowAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + .flScale = flScale, + .flXPosition = flXPosition, + .flYPosition = flYPosition, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_ShowAnalogActionOrigins(_this->u_iface, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); - return _ret; + cppISteamController_SteamController006_ShowAnalogActionOrigins( ¶ms ); + return params._ret; } const char * __thiscall winISteamController_SteamController006_GetStringForActionOrigin(struct w_steam_iface *_this, EControllerActionOrigin eOrigin) { - const char * _ret; + struct cppISteamController_SteamController006_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_GetStringForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamController_SteamController006_GetStringForActionOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamController_SteamController006_GetGlyphForActionOrigin(struct w_steam_iface *_this, EControllerActionOrigin eOrigin) { - const char * _ret; + struct cppISteamController_SteamController006_GetGlyphForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_GetGlyphForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamController_SteamController006_GetGlyphForActionOrigin( ¶ms ); + return params._ret; } ESteamInputType __thiscall winISteamController_SteamController006_GetInputTypeForHandle(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - ESteamInputType _ret; + struct cppISteamController_SteamController006_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController006_GetInputTypeForHandle(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController006_GetInputTypeForHandle( ¶ms ); + return params._ret; } extern vtable_ptr winISteamController_SteamController006_vtable; @@ -1118,251 +1674,430 @@ DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetControllerBind bool __thiscall winISteamController_SteamController007_Init(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamController_SteamController007_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_Init(_this->u_iface); - return _ret; + cppISteamController_SteamController007_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController007_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamController_SteamController007_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_Shutdown(_this->u_iface); - return _ret; + cppISteamController_SteamController007_Shutdown( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController007_RunFrame(struct w_steam_iface *_this) { + struct cppISteamController_SteamController007_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_RunFrame(_this->u_iface); + cppISteamController_SteamController007_RunFrame( ¶ms ); } int __thiscall winISteamController_SteamController007_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut) { - int _ret; + struct cppISteamController_SteamController007_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetConnectedControllers(_this->u_iface, handlesOut); - return _ret; + cppISteamController_SteamController007_GetConnectedControllers( ¶ms ); + return params._ret; } ControllerActionSetHandle_t __thiscall winISteamController_SteamController007_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { - ControllerActionSetHandle_t _ret; + struct cppISteamController_SteamController007_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetActionSetHandle(_this->u_iface, pszActionSetName); - return _ret; + cppISteamController_SteamController007_GetActionSetHandle( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController007_ActivateActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) { + struct cppISteamController_SteamController007_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_ActivateActionSet(_this->u_iface, controllerHandle, actionSetHandle); + cppISteamController_SteamController007_ActivateActionSet( ¶ms ); } ControllerActionSetHandle_t __thiscall winISteamController_SteamController007_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - ControllerActionSetHandle_t _ret; + struct cppISteamController_SteamController007_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetCurrentActionSet(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController007_GetCurrentActionSet( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController007_ActivateActionSetLayer(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) { + struct cppISteamController_SteamController007_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_ActivateActionSetLayer(_this->u_iface, controllerHandle, actionSetLayerHandle); + cppISteamController_SteamController007_ActivateActionSetLayer( ¶ms ); } void __thiscall winISteamController_SteamController007_DeactivateActionSetLayer(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) { + struct cppISteamController_SteamController007_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_DeactivateActionSetLayer(_this->u_iface, controllerHandle, actionSetLayerHandle); + cppISteamController_SteamController007_DeactivateActionSetLayer( ¶ms ); } void __thiscall winISteamController_SteamController007_DeactivateAllActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { + struct cppISteamController_SteamController007_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_DeactivateAllActionSetLayers(_this->u_iface, controllerHandle); + cppISteamController_SteamController007_DeactivateAllActionSetLayers( ¶ms ); } int __thiscall winISteamController_SteamController007_GetActiveActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t *handlesOut) { - int _ret; + struct cppISteamController_SteamController007_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetActiveActionSetLayers(_this->u_iface, controllerHandle, handlesOut); - return _ret; + cppISteamController_SteamController007_GetActiveActionSetLayers( ¶ms ); + return params._ret; } ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController007_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - ControllerDigitalActionHandle_t _ret; + struct cppISteamController_SteamController007_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetDigitalActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamController_SteamController007_GetDigitalActionHandle( ¶ms ); + return params._ret; } InputDigitalActionData_t * __thiscall winISteamController_SteamController007_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) { + struct cppISteamController_SteamController007_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController007_GetDigitalActionData(_this->u_iface, controllerHandle, digitalActionHandle); - return _ret; + cppISteamController_SteamController007_GetDigitalActionData( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController007_GetDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin *originsOut) { - int _ret; + struct cppISteamController_SteamController007_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetDigitalActionOrigins(_this->u_iface, controllerHandle, actionSetHandle, digitalActionHandle, originsOut); - return _ret; + cppISteamController_SteamController007_GetDigitalActionOrigins( ¶ms ); + return params._ret; } ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController007_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - ControllerAnalogActionHandle_t _ret; + struct cppISteamController_SteamController007_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetAnalogActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamController_SteamController007_GetAnalogActionHandle( ¶ms ); + return params._ret; } InputAnalogActionData_t * __thiscall winISteamController_SteamController007_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) { + struct cppISteamController_SteamController007_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController007_GetAnalogActionData(_this->u_iface, controllerHandle, analogActionHandle); - return _ret; + cppISteamController_SteamController007_GetAnalogActionData( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController007_GetAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin *originsOut) { - int _ret; + struct cppISteamController_SteamController007_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetAnalogActionOrigins(_this->u_iface, controllerHandle, actionSetHandle, analogActionHandle, originsOut); - return _ret; + cppISteamController_SteamController007_GetAnalogActionOrigins( ¶ms ); + return params._ret; } const char * __thiscall winISteamController_SteamController007_GetGlyphForActionOrigin(struct w_steam_iface *_this, EControllerActionOrigin eOrigin) { - const char * _ret; + struct cppISteamController_SteamController007_GetGlyphForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetGlyphForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamController_SteamController007_GetGlyphForActionOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamController_SteamController007_GetStringForActionOrigin(struct w_steam_iface *_this, EControllerActionOrigin eOrigin) { - const char * _ret; + struct cppISteamController_SteamController007_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetStringForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamController_SteamController007_GetStringForActionOrigin( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController007_StopAnalogActionMomentum(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) { + struct cppISteamController_SteamController007_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_StopAnalogActionMomentum(_this->u_iface, controllerHandle, eAction); + cppISteamController_SteamController007_StopAnalogActionMomentum( ¶ms ); } InputMotionData_t * __thiscall winISteamController_SteamController007_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, ControllerHandle_t controllerHandle) { + struct cppISteamController_SteamController007_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController007_GetMotionData(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController007_GetMotionData( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController007_TriggerHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) { + struct cppISteamController_SteamController007_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_TriggerHapticPulse(_this->u_iface, controllerHandle, eTargetPad, usDurationMicroSec); + cppISteamController_SteamController007_TriggerHapticPulse( ¶ms ); } void __thiscall winISteamController_SteamController007_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) { + struct cppISteamController_SteamController007_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_TriggerRepeatedHapticPulse(_this->u_iface, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + cppISteamController_SteamController007_TriggerRepeatedHapticPulse( ¶ms ); } void __thiscall winISteamController_SteamController007_TriggerVibration(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) { + struct cppISteamController_SteamController007_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_TriggerVibration(_this->u_iface, controllerHandle, usLeftSpeed, usRightSpeed); + cppISteamController_SteamController007_TriggerVibration( ¶ms ); } void __thiscall winISteamController_SteamController007_SetLEDColor(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) { + struct cppISteamController_SteamController007_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_SetLEDColor(_this->u_iface, controllerHandle, nColorR, nColorG, nColorB, nFlags); + cppISteamController_SteamController007_SetLEDColor( ¶ms ); } bool __thiscall winISteamController_SteamController007_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - bool _ret; + struct cppISteamController_SteamController007_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_ShowBindingPanel(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController007_ShowBindingPanel( ¶ms ); + return params._ret; } ESteamInputType __thiscall winISteamController_SteamController007_GetInputTypeForHandle(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - ESteamInputType _ret; + struct cppISteamController_SteamController007_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetInputTypeForHandle(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController007_GetInputTypeForHandle( ¶ms ); + return params._ret; } ControllerHandle_t __thiscall winISteamController_SteamController007_GetControllerForGamepadIndex(struct w_steam_iface *_this, int nIndex) { - ControllerHandle_t _ret; + struct cppISteamController_SteamController007_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetControllerForGamepadIndex(_this->u_iface, nIndex); - return _ret; + cppISteamController_SteamController007_GetControllerForGamepadIndex( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController007_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle) { - int _ret; + struct cppISteamController_SteamController007_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulControllerHandle = ulControllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetGamepadIndexForController(_this->u_iface, ulControllerHandle); - return _ret; + cppISteamController_SteamController007_GetGamepadIndexForController( ¶ms ); + return params._ret; } const char * __thiscall winISteamController_SteamController007_GetStringForXboxOrigin(struct w_steam_iface *_this, EXboxOrigin eOrigin) { - const char * _ret; + struct cppISteamController_SteamController007_GetStringForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetStringForXboxOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamController_SteamController007_GetStringForXboxOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamController_SteamController007_GetGlyphForXboxOrigin(struct w_steam_iface *_this, EXboxOrigin eOrigin) { - const char * _ret; + struct cppISteamController_SteamController007_GetGlyphForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetGlyphForXboxOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamController_SteamController007_GetGlyphForXboxOrigin( ¶ms ); + return params._ret; } EControllerActionOrigin __thiscall winISteamController_SteamController007_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, EXboxOrigin eOrigin) { - EControllerActionOrigin _ret; + struct cppISteamController_SteamController007_GetActionOriginFromXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetActionOriginFromXboxOrigin(_this->u_iface, controllerHandle, eOrigin); - return _ret; + cppISteamController_SteamController007_GetActionOriginFromXboxOrigin( ¶ms ); + return params._ret; } EControllerActionOrigin __thiscall winISteamController_SteamController007_TranslateActionOrigin(struct w_steam_iface *_this, ESteamInputType eDestinationInputType, EControllerActionOrigin eSourceOrigin) { - EControllerActionOrigin _ret; + struct cppISteamController_SteamController007_TranslateActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eDestinationInputType = eDestinationInputType, + .eSourceOrigin = eSourceOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_TranslateActionOrigin(_this->u_iface, eDestinationInputType, eSourceOrigin); - return _ret; + cppISteamController_SteamController007_TranslateActionOrigin( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController007_GetControllerBindingRevision(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, int *pMajor, int *pMinor) { - bool _ret; + struct cppISteamController_SteamController007_GetControllerBindingRevision_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .pMajor = pMajor, + .pMinor = pMinor, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController007_GetControllerBindingRevision(_this->u_iface, controllerHandle, pMajor, pMinor); - return _ret; + cppISteamController_SteamController007_GetControllerBindingRevision( ¶ms ); + return params._ret; } extern vtable_ptr winISteamController_SteamController007_vtable; @@ -1458,251 +2193,430 @@ DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetControllerBind bool __thiscall winISteamController_SteamController008_Init(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamController_SteamController008_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_Init(_this->u_iface); - return _ret; + cppISteamController_SteamController008_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController008_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamController_SteamController008_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_Shutdown(_this->u_iface); - return _ret; + cppISteamController_SteamController008_Shutdown( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController008_RunFrame(struct w_steam_iface *_this) { + struct cppISteamController_SteamController008_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_RunFrame(_this->u_iface); + cppISteamController_SteamController008_RunFrame( ¶ms ); } int __thiscall winISteamController_SteamController008_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut) { - int _ret; + struct cppISteamController_SteamController008_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetConnectedControllers(_this->u_iface, handlesOut); - return _ret; + cppISteamController_SteamController008_GetConnectedControllers( ¶ms ); + return params._ret; } ControllerActionSetHandle_t __thiscall winISteamController_SteamController008_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { - ControllerActionSetHandle_t _ret; + struct cppISteamController_SteamController008_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetActionSetHandle(_this->u_iface, pszActionSetName); - return _ret; + cppISteamController_SteamController008_GetActionSetHandle( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController008_ActivateActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) { + struct cppISteamController_SteamController008_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_ActivateActionSet(_this->u_iface, controllerHandle, actionSetHandle); + cppISteamController_SteamController008_ActivateActionSet( ¶ms ); } ControllerActionSetHandle_t __thiscall winISteamController_SteamController008_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - ControllerActionSetHandle_t _ret; + struct cppISteamController_SteamController008_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetCurrentActionSet(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController008_GetCurrentActionSet( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController008_ActivateActionSetLayer(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) { + struct cppISteamController_SteamController008_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_ActivateActionSetLayer(_this->u_iface, controllerHandle, actionSetLayerHandle); + cppISteamController_SteamController008_ActivateActionSetLayer( ¶ms ); } void __thiscall winISteamController_SteamController008_DeactivateActionSetLayer(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) { + struct cppISteamController_SteamController008_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_DeactivateActionSetLayer(_this->u_iface, controllerHandle, actionSetLayerHandle); + cppISteamController_SteamController008_DeactivateActionSetLayer( ¶ms ); } void __thiscall winISteamController_SteamController008_DeactivateAllActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { + struct cppISteamController_SteamController008_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_DeactivateAllActionSetLayers(_this->u_iface, controllerHandle); + cppISteamController_SteamController008_DeactivateAllActionSetLayers( ¶ms ); } int __thiscall winISteamController_SteamController008_GetActiveActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t *handlesOut) { - int _ret; + struct cppISteamController_SteamController008_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetActiveActionSetLayers(_this->u_iface, controllerHandle, handlesOut); - return _ret; + cppISteamController_SteamController008_GetActiveActionSetLayers( ¶ms ); + return params._ret; } ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController008_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - ControllerDigitalActionHandle_t _ret; + struct cppISteamController_SteamController008_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetDigitalActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamController_SteamController008_GetDigitalActionHandle( ¶ms ); + return params._ret; } InputDigitalActionData_t * __thiscall winISteamController_SteamController008_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) { + struct cppISteamController_SteamController008_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController008_GetDigitalActionData(_this->u_iface, controllerHandle, digitalActionHandle); - return _ret; + cppISteamController_SteamController008_GetDigitalActionData( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController008_GetDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin *originsOut) { - int _ret; + struct cppISteamController_SteamController008_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetDigitalActionOrigins(_this->u_iface, controllerHandle, actionSetHandle, digitalActionHandle, originsOut); - return _ret; + cppISteamController_SteamController008_GetDigitalActionOrigins( ¶ms ); + return params._ret; } ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController008_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - ControllerAnalogActionHandle_t _ret; + struct cppISteamController_SteamController008_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetAnalogActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamController_SteamController008_GetAnalogActionHandle( ¶ms ); + return params._ret; } InputAnalogActionData_t * __thiscall winISteamController_SteamController008_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) { + struct cppISteamController_SteamController008_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController008_GetAnalogActionData(_this->u_iface, controllerHandle, analogActionHandle); - return _ret; + cppISteamController_SteamController008_GetAnalogActionData( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController008_GetAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin *originsOut) { - int _ret; + struct cppISteamController_SteamController008_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetAnalogActionOrigins(_this->u_iface, controllerHandle, actionSetHandle, analogActionHandle, originsOut); - return _ret; + cppISteamController_SteamController008_GetAnalogActionOrigins( ¶ms ); + return params._ret; } const char * __thiscall winISteamController_SteamController008_GetGlyphForActionOrigin(struct w_steam_iface *_this, EControllerActionOrigin eOrigin) { - const char * _ret; + struct cppISteamController_SteamController008_GetGlyphForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetGlyphForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamController_SteamController008_GetGlyphForActionOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamController_SteamController008_GetStringForActionOrigin(struct w_steam_iface *_this, EControllerActionOrigin eOrigin) { - const char * _ret; + struct cppISteamController_SteamController008_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetStringForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamController_SteamController008_GetStringForActionOrigin( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController008_StopAnalogActionMomentum(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) { + struct cppISteamController_SteamController008_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_StopAnalogActionMomentum(_this->u_iface, controllerHandle, eAction); + cppISteamController_SteamController008_StopAnalogActionMomentum( ¶ms ); } InputMotionData_t * __thiscall winISteamController_SteamController008_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, ControllerHandle_t controllerHandle) { + struct cppISteamController_SteamController008_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamController_SteamController008_GetMotionData(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController008_GetMotionData( ¶ms ); + return params._ret; } void __thiscall winISteamController_SteamController008_TriggerHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) { + struct cppISteamController_SteamController008_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_TriggerHapticPulse(_this->u_iface, controllerHandle, eTargetPad, usDurationMicroSec); + cppISteamController_SteamController008_TriggerHapticPulse( ¶ms ); } void __thiscall winISteamController_SteamController008_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) { + struct cppISteamController_SteamController008_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_TriggerRepeatedHapticPulse(_this->u_iface, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + cppISteamController_SteamController008_TriggerRepeatedHapticPulse( ¶ms ); } void __thiscall winISteamController_SteamController008_TriggerVibration(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) { + struct cppISteamController_SteamController008_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_TriggerVibration(_this->u_iface, controllerHandle, usLeftSpeed, usRightSpeed); + cppISteamController_SteamController008_TriggerVibration( ¶ms ); } void __thiscall winISteamController_SteamController008_SetLEDColor(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) { + struct cppISteamController_SteamController008_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_SetLEDColor(_this->u_iface, controllerHandle, nColorR, nColorG, nColorB, nFlags); + cppISteamController_SteamController008_SetLEDColor( ¶ms ); } bool __thiscall winISteamController_SteamController008_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - bool _ret; + struct cppISteamController_SteamController008_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_ShowBindingPanel(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController008_ShowBindingPanel( ¶ms ); + return params._ret; } ESteamInputType __thiscall winISteamController_SteamController008_GetInputTypeForHandle(struct w_steam_iface *_this, ControllerHandle_t controllerHandle) { - ESteamInputType _ret; + struct cppISteamController_SteamController008_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetInputTypeForHandle(_this->u_iface, controllerHandle); - return _ret; + cppISteamController_SteamController008_GetInputTypeForHandle( ¶ms ); + return params._ret; } ControllerHandle_t __thiscall winISteamController_SteamController008_GetControllerForGamepadIndex(struct w_steam_iface *_this, int nIndex) { - ControllerHandle_t _ret; + struct cppISteamController_SteamController008_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetControllerForGamepadIndex(_this->u_iface, nIndex); - return _ret; + cppISteamController_SteamController008_GetControllerForGamepadIndex( ¶ms ); + return params._ret; } int __thiscall winISteamController_SteamController008_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle) { - int _ret; + struct cppISteamController_SteamController008_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulControllerHandle = ulControllerHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetGamepadIndexForController(_this->u_iface, ulControllerHandle); - return _ret; + cppISteamController_SteamController008_GetGamepadIndexForController( ¶ms ); + return params._ret; } const char * __thiscall winISteamController_SteamController008_GetStringForXboxOrigin(struct w_steam_iface *_this, EXboxOrigin eOrigin) { - const char * _ret; + struct cppISteamController_SteamController008_GetStringForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetStringForXboxOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamController_SteamController008_GetStringForXboxOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamController_SteamController008_GetGlyphForXboxOrigin(struct w_steam_iface *_this, EXboxOrigin eOrigin) { - const char * _ret; + struct cppISteamController_SteamController008_GetGlyphForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetGlyphForXboxOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamController_SteamController008_GetGlyphForXboxOrigin( ¶ms ); + return params._ret; } EControllerActionOrigin __thiscall winISteamController_SteamController008_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, EXboxOrigin eOrigin) { - EControllerActionOrigin _ret; + struct cppISteamController_SteamController008_GetActionOriginFromXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetActionOriginFromXboxOrigin(_this->u_iface, controllerHandle, eOrigin); - return _ret; + cppISteamController_SteamController008_GetActionOriginFromXboxOrigin( ¶ms ); + return params._ret; } EControllerActionOrigin __thiscall winISteamController_SteamController008_TranslateActionOrigin(struct w_steam_iface *_this, ESteamInputType eDestinationInputType, EControllerActionOrigin eSourceOrigin) { - EControllerActionOrigin _ret; + struct cppISteamController_SteamController008_TranslateActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eDestinationInputType = eDestinationInputType, + .eSourceOrigin = eSourceOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_TranslateActionOrigin(_this->u_iface, eDestinationInputType, eSourceOrigin); - return _ret; + cppISteamController_SteamController008_TranslateActionOrigin( ¶ms ); + return params._ret; } bool __thiscall winISteamController_SteamController008_GetControllerBindingRevision(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, int *pMajor, int *pMinor) { - bool _ret; + struct cppISteamController_SteamController008_GetControllerBindingRevision_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .pMajor = pMajor, + .pMinor = pMinor, + }; TRACE("%p\n", _this); - _ret = cppISteamController_SteamController008_GetControllerBindingRevision(_this->u_iface, controllerHandle, pMajor, pMinor); - return _ret; + cppISteamController_SteamController008_GetControllerBindingRevision( ¶ms ); + return params._ret; } extern vtable_ptr winISteamController_SteamController008_vtable; diff --git a/lsteamclient/winISteamFriends.c b/lsteamclient/winISteamFriends.c index 5b2593c2..4eaaaed2 100644 --- a/lsteamclient/winISteamFriends.c +++ b/lsteamclient/winISteamFriends.c @@ -45,205 +45,341 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendGamePlayed2, 2 const char * __thiscall winISteamFriends_SteamFriends001_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends001_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends001_GetPersonaName( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends001_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct cppISteamFriends_SteamFriends001_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends001_SetPersonaName(_this->u_iface, pchPersonaName); + cppISteamFriends_SteamFriends001_SetPersonaName( ¶ms ); } EPersonaState __thiscall winISteamFriends_SteamFriends001_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends001_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends001_GetPersonaState( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends001_SetPersonaState(struct w_steam_iface *_this, EPersonaState ePersonaState) { + struct cppISteamFriends_SteamFriends001_SetPersonaState_params params = + { + .linux_side = _this->u_iface, + .ePersonaState = ePersonaState, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends001_SetPersonaState(_this->u_iface, ePersonaState); + cppISteamFriends_SteamFriends001_SetPersonaState( ¶ms ); } bool __thiscall winISteamFriends_SteamFriends001_AddFriend(struct w_steam_iface *_this, CSteamID steamIDFriend) { - bool _ret; + struct cppISteamFriends_SteamFriends001_AddFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_AddFriend(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends001_AddFriend( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends001_RemoveFriend(struct w_steam_iface *_this, CSteamID steamIDFriend) { - bool _ret; + struct cppISteamFriends_SteamFriends001_RemoveFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_RemoveFriend(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends001_RemoveFriend( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends001_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend) { - bool _ret; + struct cppISteamFriends_SteamFriends001_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_HasFriend(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends001_HasFriend( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends001_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends001_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends001_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends001_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends001_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends001_GetFriendPersonaState( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, int32 *pnGameID, uint32 *punGameIP, uint16 *pusGamePort) { - bool _ret; + struct cppISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pnGameID = pnGameID, + .punGameIP = punGameIP, + .pusGamePort = pusGamePort, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pnGameID, punGameIP, pusGamePort); - return _ret; + cppISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends001_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends001_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends001_GetFriendPersonaName( ¶ms ); + return params._ret; } int32 __thiscall winISteamFriends_SteamFriends001_AddFriendByName(struct w_steam_iface *_this, const char *pchEmailOrAccountName) { - int32 _ret; + struct cppISteamFriends_SteamFriends001_AddFriendByName_params params = + { + .linux_side = _this->u_iface, + .pchEmailOrAccountName = pchEmailOrAccountName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_AddFriendByName(_this->u_iface, pchEmailOrAccountName); - return _ret; + cppISteamFriends_SteamFriends001_AddFriendByName( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends001_GetFriendCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends001_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_GetFriendCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends001_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends001_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend) { + struct cppISteamFriends_SteamFriends001_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends001_GetFriendByIndex(_this->u_iface, iFriend); - return _ret; + cppISteamFriends_SteamFriends001_GetFriendByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends001_SendMsgToFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, EChatEntryType eChatEntryType, const char *pchMsgBody) { + struct cppISteamFriends_SteamFriends001_SendMsgToFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .eChatEntryType = eChatEntryType, + .pchMsgBody = pchMsgBody, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends001_SendMsgToFriend(_this->u_iface, steamIDFriend, eChatEntryType, pchMsgBody); + cppISteamFriends_SteamFriends001_SendMsgToFriend( ¶ms ); } void __thiscall winISteamFriends_SteamFriends001_SetFriendRegValue(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey, const char *pchValue) { + struct cppISteamFriends_SteamFriends001_SetFriendRegValue_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends001_SetFriendRegValue(_this->u_iface, steamIDFriend, pchKey, pchValue); + cppISteamFriends_SteamFriends001_SetFriendRegValue( ¶ms ); } const char * __thiscall winISteamFriends_SteamFriends001_GetFriendRegValue(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends001_GetFriendRegValue_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_GetFriendRegValue(_this->u_iface, steamIDFriend, pchKey); - return _ret; + cppISteamFriends_SteamFriends001_GetFriendRegValue( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends001_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends001_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends001_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends001_GetChatMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int iChatID, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamFriends_SteamFriends001_GetChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iChatID = iChatID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_GetChatMessage(_this->u_iface, steamIDFriend, iChatID, pvData, cubData, peChatEntryType); - return _ret; + cppISteamFriends_SteamFriends001_GetChatMessage( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends001_SendMsgToFriend_2(struct w_steam_iface *_this, CSteamID steamIDFriend, EChatEntryType eChatEntryType, const void *pvMsgBody, int cubMsgBody) { - bool _ret; + struct cppISteamFriends_SteamFriends001_SendMsgToFriend_2_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .eChatEntryType = eChatEntryType, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_SendMsgToFriend_2(_this->u_iface, steamIDFriend, eChatEntryType, pvMsgBody, cubMsgBody); - return _ret; + cppISteamFriends_SteamFriends001_SendMsgToFriend_2( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends001_SetChatHistoryStart(struct w_steam_iface *_this, CSteamID steamIDFriend, int iChatID) { + struct cppISteamFriends_SteamFriends001_SetChatHistoryStart_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iChatID = iChatID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends001_SetChatHistoryStart(_this->u_iface, steamIDFriend, iChatID); + cppISteamFriends_SteamFriends001_SetChatHistoryStart( ¶ms ); } void __thiscall winISteamFriends_SteamFriends001_ClearChatHistory(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct cppISteamFriends_SteamFriends001_ClearChatHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends001_ClearChatHistory(_this->u_iface, steamIDFriend); + cppISteamFriends_SteamFriends001_ClearChatHistory( ¶ms ); } bool __thiscall winISteamFriends_SteamFriends001_InviteFriendByEmail(struct w_steam_iface *_this, const char *pchEmailAccount) { - bool _ret; + struct cppISteamFriends_SteamFriends001_InviteFriendByEmail_params params = + { + .linux_side = _this->u_iface, + .pchEmailAccount = pchEmailAccount, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_InviteFriendByEmail(_this->u_iface, pchEmailAccount); - return _ret; + cppISteamFriends_SteamFriends001_InviteFriendByEmail( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends001_GetBlockedFriendCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends001_GetBlockedFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_GetBlockedFriendCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends001_GetBlockedFriendCount( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends001_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, uint64 *pulGameID, uint32 *punGameIP, uint16 *pusGamePort) { - bool _ret; + struct cppISteamFriends_SteamFriends001_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pulGameID = pulGameID, + .punGameIP = punGameIP, + .pusGamePort = pusGamePort, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pulGameID, punGameIP, pusGamePort); - return _ret; + cppISteamFriends_SteamFriends001_GetFriendGamePlayed( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends001_GetFriendGamePlayed2(struct w_steam_iface *_this, CSteamID steamIDFriend, uint64 *pulGameID, uint32 *punGameIP, uint16 *pusGamePort, uint16 *pusQueryPort) { - bool _ret; + struct cppISteamFriends_SteamFriends001_GetFriendGamePlayed2_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pulGameID = pulGameID, + .punGameIP = punGameIP, + .pusGamePort = pusGamePort, + .pusQueryPort = pusQueryPort, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends001_GetFriendGamePlayed2(_this->u_iface, steamIDFriend, pulGameID, punGameIP, pusGamePort, pusQueryPort); - return _ret; + cppISteamFriends_SteamFriends001_GetFriendGamePlayed2( ¶ms ); + return params._ret; } extern vtable_ptr winISteamFriends_SteamFriends001_vtable; @@ -328,229 +464,378 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendFromSourceByIn const char * __thiscall winISteamFriends_SteamFriends002_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends002_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends002_GetPersonaName( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends002_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct cppISteamFriends_SteamFriends002_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends002_SetPersonaName(_this->u_iface, pchPersonaName); + cppISteamFriends_SteamFriends002_SetPersonaName( ¶ms ); } EPersonaState __thiscall winISteamFriends_SteamFriends002_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends002_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends002_GetPersonaState( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends002_SetPersonaState(struct w_steam_iface *_this, EPersonaState ePersonaState) { + struct cppISteamFriends_SteamFriends002_SetPersonaState_params params = + { + .linux_side = _this->u_iface, + .ePersonaState = ePersonaState, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends002_SetPersonaState(_this->u_iface, ePersonaState); + cppISteamFriends_SteamFriends002_SetPersonaState( ¶ms ); } int __thiscall winISteamFriends_SteamFriends002_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends002_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends002_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends002_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends002_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends002_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends002_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends002_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends002_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends002_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends002_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends002_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends002_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends002_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends002_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends002_GetFriendPersonaName( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends002_SetFriendRegValue(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey, const char *pchValue) { + struct cppISteamFriends_SteamFriends002_SetFriendRegValue_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends002_SetFriendRegValue(_this->u_iface, steamIDFriend, pchKey, pchValue); + cppISteamFriends_SteamFriends002_SetFriendRegValue( ¶ms ); } const char * __thiscall winISteamFriends_SteamFriends002_GetFriendRegValue(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends002_GetFriendRegValue_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetFriendRegValue(_this->u_iface, steamIDFriend, pchKey); - return _ret; + cppISteamFriends_SteamFriends002_GetFriendRegValue( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends002_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, uint64 *pulGameID, uint32 *punGameIP, uint16 *pusGamePort, uint16 *pusQueryPort) { - bool _ret; + struct cppISteamFriends_SteamFriends002_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pulGameID = pulGameID, + .punGameIP = punGameIP, + .pusGamePort = pusGamePort, + .pusQueryPort = pusQueryPort, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pulGameID, punGameIP, pusGamePort, pusQueryPort); - return _ret; + cppISteamFriends_SteamFriends002_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends002_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends002_AddFriend(struct w_steam_iface *_this, CSteamID steamIDFriend) { - bool _ret; + struct cppISteamFriends_SteamFriends002_AddFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_AddFriend(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends002_AddFriend( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends002_RemoveFriend(struct w_steam_iface *_this, CSteamID steamIDFriend) { - bool _ret; + struct cppISteamFriends_SteamFriends002_RemoveFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_RemoveFriend(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends002_RemoveFriend( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends002_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends002_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends002_HasFriend( ¶ms ); + return params._ret; } int32 __thiscall winISteamFriends_SteamFriends002_AddFriendByName(struct w_steam_iface *_this, const char *pchEmailOrAccountName) { - int32 _ret; + struct cppISteamFriends_SteamFriends002_AddFriendByName_params params = + { + .linux_side = _this->u_iface, + .pchEmailOrAccountName = pchEmailOrAccountName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_AddFriendByName(_this->u_iface, pchEmailOrAccountName); - return _ret; + cppISteamFriends_SteamFriends002_AddFriendByName( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends002_InviteFriendByEmail(struct w_steam_iface *_this, const char *pchEmailAccount) { - bool _ret; + struct cppISteamFriends_SteamFriends002_InviteFriendByEmail_params params = + { + .linux_side = _this->u_iface, + .pchEmailAccount = pchEmailAccount, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_InviteFriendByEmail(_this->u_iface, pchEmailAccount); - return _ret; + cppISteamFriends_SteamFriends002_InviteFriendByEmail( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends002_GetChatMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int iChatID, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamFriends_SteamFriends002_GetChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iChatID = iChatID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetChatMessage(_this->u_iface, steamIDFriend, iChatID, pvData, cubData, peChatEntryType); - return _ret; + cppISteamFriends_SteamFriends002_GetChatMessage( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends002_SendMsgToFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, EChatEntryType eChatEntryType, const void *pvMsgBody, int cubMsgBody) { - bool _ret; + struct cppISteamFriends_SteamFriends002_SendMsgToFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .eChatEntryType = eChatEntryType, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_SendMsgToFriend(_this->u_iface, steamIDFriend, eChatEntryType, pvMsgBody, cubMsgBody); - return _ret; + cppISteamFriends_SteamFriends002_SendMsgToFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends002_SetChatHistoryStart(struct w_steam_iface *_this, CSteamID steamIDFriend, int iChatID) { + struct cppISteamFriends_SteamFriends002_SetChatHistoryStart_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iChatID = iChatID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends002_SetChatHistoryStart(_this->u_iface, steamIDFriend, iChatID); + cppISteamFriends_SteamFriends002_SetChatHistoryStart( ¶ms ); } void __thiscall winISteamFriends_SteamFriends002_ClearChatHistory(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct cppISteamFriends_SteamFriends002_ClearChatHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends002_ClearChatHistory(_this->u_iface, steamIDFriend); + cppISteamFriends_SteamFriends002_ClearChatHistory( ¶ms ); } int __thiscall winISteamFriends_SteamFriends002_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends002_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends002_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends002_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends002_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends002_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends002_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends002_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends002_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends002_GetClanName( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends002_InviteFriendToClan(struct w_steam_iface *_this, CSteamID steamIDFriend, CSteamID steamIDClan) { - bool _ret; + struct cppISteamFriends_SteamFriends002_InviteFriendToClan_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_InviteFriendToClan(_this->u_iface, steamIDFriend, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends002_InviteFriendToClan( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends002_AcknowledgeInviteToClan(struct w_steam_iface *_this, CSteamID steamIDClan, bool bAcceptOrDenyClanInvite) { - bool _ret; + struct cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .bAcceptOrDenyClanInvite = bAcceptOrDenyClanInvite, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan(_this->u_iface, steamIDClan, bAcceptOrDenyClanInvite); - return _ret; + cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends002_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends002_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends002_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends002_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends002_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } extern vtable_ptr winISteamFriends_SteamFriends002_vtable; @@ -628,153 +913,249 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_ActivateGameOverlay, 8) const char * __thiscall winISteamFriends_SteamFriends003_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends003_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends003_GetPersonaName( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends003_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct cppISteamFriends_SteamFriends003_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends003_SetPersonaName(_this->u_iface, pchPersonaName); + cppISteamFriends_SteamFriends003_SetPersonaName( ¶ms ); } EPersonaState __thiscall winISteamFriends_SteamFriends003_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends003_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends003_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends003_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends003_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends003_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends003_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends003_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends003_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends003_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends003_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends003_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends003_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends003_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends003_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends003_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends003_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends003_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends003_GetFriendPersonaName( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends003_GetFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends003_GetFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_GetFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends003_GetFriendAvatar( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends003_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, uint64 *pulGameID, uint32 *punGameIP, uint16 *pusGamePort, uint16 *pusQueryPort) { - bool _ret; + struct cppISteamFriends_SteamFriends003_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pulGameID = pulGameID, + .punGameIP = punGameIP, + .pusGamePort = pusGamePort, + .pusQueryPort = pusQueryPort, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pulGameID, punGameIP, pusGamePort, pusQueryPort); - return _ret; + cppISteamFriends_SteamFriends003_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends003_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends003_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends003_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends003_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends003_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends003_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends003_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends003_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends003_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends003_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends003_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends003_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends003_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends003_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends003_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends003_GetClanName( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends003_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends003_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends003_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends003_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends003_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends003_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends003_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends003_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends003_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends003_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends003_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends003_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends003_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends003_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends003_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends003_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends003_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends003_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends003_ActivateGameOverlay( ¶ms ); } extern vtable_ptr winISteamFriends_SteamFriends003_vtable; @@ -842,153 +1223,250 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_ActivateGameOverlay, 8) const char * __thiscall winISteamFriends_SteamFriends004_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends004_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends004_GetPersonaName( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends004_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct cppISteamFriends_SteamFriends004_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends004_SetPersonaName(_this->u_iface, pchPersonaName); + cppISteamFriends_SteamFriends004_SetPersonaName( ¶ms ); } EPersonaState __thiscall winISteamFriends_SteamFriends004_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends004_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends004_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends004_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends004_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends004_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends004_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends004_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends004_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends004_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends004_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends004_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends004_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends004_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends004_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends004_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends004_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends004_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends004_GetFriendPersonaName( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends004_GetFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend, int eAvatarSize) { - int _ret; + struct cppISteamFriends_SteamFriends004_GetFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .eAvatarSize = eAvatarSize, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_GetFriendAvatar(_this->u_iface, steamIDFriend, eAvatarSize); - return _ret; + cppISteamFriends_SteamFriends004_GetFriendAvatar( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends004_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, uint64 *pulGameID, uint32 *punGameIP, uint16 *pusGamePort, uint16 *pusQueryPort) { - bool _ret; + struct cppISteamFriends_SteamFriends004_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pulGameID = pulGameID, + .punGameIP = punGameIP, + .pusGamePort = pusGamePort, + .pusQueryPort = pusQueryPort, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pulGameID, punGameIP, pusGamePort, pusQueryPort); - return _ret; + cppISteamFriends_SteamFriends004_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends004_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends004_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends004_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends004_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends004_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends004_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends004_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends004_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends004_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends004_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends004_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends004_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends004_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends004_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends004_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends004_GetClanName( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends004_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends004_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends004_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends004_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends004_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends004_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends004_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends004_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends004_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends004_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends004_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends004_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends004_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends004_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends004_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends004_ActivateGameOverlay( ¶ms ); } extern vtable_ptr winISteamFriends_SteamFriends004_vtable; @@ -1060,177 +1538,292 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_SetPlayedWith, 12) const char * __thiscall winISteamFriends_SteamFriends005_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends005_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends005_GetPersonaName( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends005_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct cppISteamFriends_SteamFriends005_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_SetPersonaName(_this->u_iface, pchPersonaName); + cppISteamFriends_SteamFriends005_SetPersonaName( ¶ms ); } EPersonaState __thiscall winISteamFriends_SteamFriends005_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends005_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends005_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends005_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends005_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends005_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends005_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends005_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends005_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends005_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends005_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends005_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends005_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends005_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends005_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends005_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends005_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends005_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends005_GetFriendPersonaName( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends005_GetFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend, int eAvatarSize) { - int _ret; + struct cppISteamFriends_SteamFriends005_GetFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .eAvatarSize = eAvatarSize, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_GetFriendAvatar(_this->u_iface, steamIDFriend, eAvatarSize); - return _ret; + cppISteamFriends_SteamFriends005_GetFriendAvatar( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends005_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { - bool _ret; + struct cppISteamFriends_SteamFriends005_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pFriendGameInfo); - return _ret; + cppISteamFriends_SteamFriends005_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends005_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends005_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends005_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends005_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends005_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends005_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends005_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends005_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends005_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends005_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends005_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends005_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends005_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends005_GetClanName( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends005_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends005_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends005_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends005_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends005_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends005_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends005_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends005_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends005_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends005_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends005_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends005_ActivateGameOverlay( ¶ms ); } void __thiscall winISteamFriends_SteamFriends005_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser(_this->u_iface, pchDialog, steamID); + cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser( ¶ms ); } void __thiscall winISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage(_this->u_iface, pchURL); + cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage( ¶ms ); } void __thiscall winISteamFriends_SteamFriends005_ActivateGameOverlayToStore(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore(_this->u_iface, nAppID); + cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore( ¶ms ); } void __thiscall winISteamFriends_SteamFriends005_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct cppISteamFriends_SteamFriends005_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_SetPlayedWith(_this->u_iface, steamIDUserPlayedWith); + cppISteamFriends_SteamFriends005_SetPlayedWith( ¶ms ); } extern vtable_ptr winISteamFriends_SteamFriends005_vtable; @@ -1308,191 +1901,315 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_ActivateGameOverlayInvi const char * __thiscall winISteamFriends_SteamFriends006_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends006_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends006_GetPersonaName( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends006_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct cppISteamFriends_SteamFriends006_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_SetPersonaName(_this->u_iface, pchPersonaName); + cppISteamFriends_SteamFriends006_SetPersonaName( ¶ms ); } EPersonaState __thiscall winISteamFriends_SteamFriends006_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends006_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends006_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends006_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends006_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends006_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends006_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends006_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends006_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends006_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends006_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends006_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends006_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends006_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends006_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends006_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends006_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends006_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends006_GetFriendPersonaName( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends006_GetFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend, int eAvatarSize) { - int _ret; + struct cppISteamFriends_SteamFriends006_GetFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .eAvatarSize = eAvatarSize, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_GetFriendAvatar(_this->u_iface, steamIDFriend, eAvatarSize); - return _ret; + cppISteamFriends_SteamFriends006_GetFriendAvatar( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends006_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { - bool _ret; + struct cppISteamFriends_SteamFriends006_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pFriendGameInfo); - return _ret; + cppISteamFriends_SteamFriends006_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends006_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends006_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends006_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends006_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends006_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends006_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends006_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends006_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends006_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends006_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends006_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends006_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends006_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends006_GetClanName( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends006_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends006_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_GetClanTag(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends006_GetClanTag( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends006_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends006_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends006_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends006_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends006_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends006_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends006_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends006_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends006_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends006_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends006_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends006_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends006_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends006_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends006_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends006_ActivateGameOverlay( ¶ms ); } void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct cppISteamFriends_SteamFriends006_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_ActivateGameOverlayToUser(_this->u_iface, pchDialog, steamID); + cppISteamFriends_SteamFriends006_ActivateGameOverlayToUser( ¶ms ); } void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct cppISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage(_this->u_iface, pchURL); + cppISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage( ¶ms ); } void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlayToStore(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamFriends_SteamFriends006_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_ActivateGameOverlayToStore(_this->u_iface, nAppID); + cppISteamFriends_SteamFriends006_ActivateGameOverlayToStore( ¶ms ); } void __thiscall winISteamFriends_SteamFriends006_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct cppISteamFriends_SteamFriends006_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_SetPlayedWith(_this->u_iface, steamIDUserPlayedWith); + cppISteamFriends_SteamFriends006_SetPlayedWith( ¶ms ); } void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog(_this->u_iface, steamIDLobby); + cppISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog( ¶ms ); } extern vtable_ptr winISteamFriends_SteamFriends006_vtable; @@ -1574,207 +2291,338 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetLargeFriendAvatar, 1 const char * __thiscall winISteamFriends_SteamFriends007_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends007_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends007_GetPersonaName( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends007_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct cppISteamFriends_SteamFriends007_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_SetPersonaName(_this->u_iface, pchPersonaName); + cppISteamFriends_SteamFriends007_SetPersonaName( ¶ms ); } EPersonaState __thiscall winISteamFriends_SteamFriends007_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends007_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends007_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends007_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends007_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends007_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends007_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends007_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends007_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends007_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends007_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends007_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends007_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends007_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends007_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends007_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends007_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends007_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends007_GetFriendPersonaName( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends007_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { - bool _ret; + struct cppISteamFriends_SteamFriends007_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pFriendGameInfo); - return _ret; + cppISteamFriends_SteamFriends007_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends007_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends007_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends007_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends007_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends007_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends007_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends007_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends007_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends007_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends007_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends007_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends007_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends007_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends007_GetClanName( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends007_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends007_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetClanTag(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends007_GetClanTag( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends007_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends007_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends007_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends007_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends007_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends007_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends007_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends007_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends007_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends007_ActivateGameOverlay( ¶ms ); } void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser(_this->u_iface, pchDialog, steamID); + cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser( ¶ms ); } void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage(_this->u_iface, pchURL); + cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage( ¶ms ); } void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlayToStore(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore(_this->u_iface, nAppID); + cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore( ¶ms ); } void __thiscall winISteamFriends_SteamFriends007_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct cppISteamFriends_SteamFriends007_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_SetPlayedWith(_this->u_iface, steamIDUserPlayedWith); + cppISteamFriends_SteamFriends007_SetPlayedWith( ¶ms ); } void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog(_this->u_iface, steamIDLobby); + cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog( ¶ms ); } int __thiscall winISteamFriends_SteamFriends007_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends007_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetSmallFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends007_GetSmallFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends007_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends007_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetMediumFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends007_GetMediumFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends007_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends007_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends007_GetLargeFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends007_GetLargeFriendAvatar( ¶ms ); + return params._ret; } extern vtable_ptr winISteamFriends_SteamFriends007_vtable; @@ -1864,253 +2712,413 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetUserRestrictions, 4) const char * __thiscall winISteamFriends_SteamFriends008_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends008_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends008_GetPersonaName( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends008_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct cppISteamFriends_SteamFriends008_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_SetPersonaName(_this->u_iface, pchPersonaName); + cppISteamFriends_SteamFriends008_SetPersonaName( ¶ms ); } EPersonaState __thiscall winISteamFriends_SteamFriends008_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends008_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends008_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends008_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends008_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends008_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends008_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends008_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends008_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends008_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends008_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends008_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends008_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends008_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends008_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends008_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends008_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends008_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends008_GetFriendPersonaName( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends008_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { - bool _ret; + struct cppISteamFriends_SteamFriends008_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pFriendGameInfo); - return _ret; + cppISteamFriends_SteamFriends008_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends008_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends008_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends008_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends008_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends008_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends008_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends008_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends008_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends008_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends008_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends008_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends008_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends008_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends008_GetClanName( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends008_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends008_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetClanTag(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends008_GetClanTag( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends008_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends008_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends008_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends008_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends008_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends008_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends008_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends008_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends008_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends008_ActivateGameOverlay( ¶ms ); } void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser(_this->u_iface, pchDialog, steamID); + cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser( ¶ms ); } void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage(_this->u_iface, pchURL); + cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage( ¶ms ); } void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlayToStore(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore(_this->u_iface, nAppID); + cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore( ¶ms ); } void __thiscall winISteamFriends_SteamFriends008_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct cppISteamFriends_SteamFriends008_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_SetPlayedWith(_this->u_iface, steamIDUserPlayedWith); + cppISteamFriends_SteamFriends008_SetPlayedWith( ¶ms ); } void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog(_this->u_iface, steamIDLobby); + cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog( ¶ms ); } int __thiscall winISteamFriends_SteamFriends008_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends008_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetSmallFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends008_GetSmallFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends008_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends008_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetMediumFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends008_GetMediumFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends008_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends008_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetLargeFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends008_GetLargeFriendAvatar( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends008_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, bool bRequireNameOnly) { - bool _ret; + struct cppISteamFriends_SteamFriends008_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_RequestUserInformation(_this->u_iface, steamIDUser, bRequireNameOnly); - return _ret; + cppISteamFriends_SteamFriends008_RequestUserInformation( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends008_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends008_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_RequestClanOfficerList(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends008_RequestClanOfficerList( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends008_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct cppISteamFriends_SteamFriends008_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends008_GetClanOwner(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends008_GetClanOwner( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends008_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends008_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetClanOfficerCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends008_GetClanOfficerCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends008_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iOfficer) { + struct cppISteamFriends_SteamFriends008_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends008_GetClanOfficerByIndex(_this->u_iface, steamIDClan, iOfficer); - return _ret; + cppISteamFriends_SteamFriends008_GetClanOfficerByIndex( ¶ms ); + return params._ret; } uint32 __thiscall winISteamFriends_SteamFriends008_GetUserRestrictions(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamFriends_SteamFriends008_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends008_GetUserRestrictions(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends008_GetUserRestrictions( ¶ms ); + return params._ret; } extern vtable_ptr winISteamFriends_SteamFriends008_vtable; @@ -2216,330 +3224,535 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendCoplayGame, 12 const char * __thiscall winISteamFriends_SteamFriends009_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends009_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends009_GetPersonaName( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends009_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct cppISteamFriends_SteamFriends009_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_SetPersonaName(_this->u_iface, pchPersonaName); + cppISteamFriends_SteamFriends009_SetPersonaName( ¶ms ); } EPersonaState __thiscall winISteamFriends_SteamFriends009_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends009_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends009_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends009_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends009_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends009_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends009_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends009_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends009_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends009_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends009_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends009_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends009_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends009_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendPersonaName( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends009_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { - bool _ret; + struct cppISteamFriends_SteamFriends009_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pFriendGameInfo); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends009_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends009_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends009_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends009_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends009_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends009_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends009_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends009_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends009_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends009_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends009_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends009_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends009_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends009_GetClanName( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends009_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends009_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetClanTag(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends009_GetClanTag( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends009_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends009_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends009_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends009_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends009_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends009_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends009_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends009_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends009_ActivateGameOverlay( ¶ms ); } void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser(_this->u_iface, pchDialog, steamID); + cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser( ¶ms ); } void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage(_this->u_iface, pchURL); + cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage( ¶ms ); } void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlayToStore(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore(_this->u_iface, nAppID); + cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore( ¶ms ); } void __thiscall winISteamFriends_SteamFriends009_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct cppISteamFriends_SteamFriends009_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_SetPlayedWith(_this->u_iface, steamIDUserPlayedWith); + cppISteamFriends_SteamFriends009_SetPlayedWith( ¶ms ); } void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog(_this->u_iface, steamIDLobby); + cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog( ¶ms ); } int __thiscall winISteamFriends_SteamFriends009_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends009_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetSmallFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends009_GetSmallFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends009_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends009_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetMediumFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends009_GetMediumFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends009_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends009_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetLargeFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends009_GetLargeFriendAvatar( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends009_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, bool bRequireNameOnly) { - bool _ret; + struct cppISteamFriends_SteamFriends009_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_RequestUserInformation(_this->u_iface, steamIDUser, bRequireNameOnly); - return _ret; + cppISteamFriends_SteamFriends009_RequestUserInformation( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends009_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends009_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_RequestClanOfficerList(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends009_RequestClanOfficerList( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends009_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct cppISteamFriends_SteamFriends009_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends009_GetClanOwner(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends009_GetClanOwner( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends009_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends009_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetClanOfficerCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends009_GetClanOfficerCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends009_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iOfficer) { + struct cppISteamFriends_SteamFriends009_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends009_GetClanOfficerByIndex(_this->u_iface, steamIDClan, iOfficer); - return _ret; + cppISteamFriends_SteamFriends009_GetClanOfficerByIndex( ¶ms ); + return params._ret; } uint32 __thiscall winISteamFriends_SteamFriends009_GetUserRestrictions(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamFriends_SteamFriends009_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetUserRestrictions(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends009_GetUserRestrictions( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends009_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamFriends_SteamFriends009_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_SetRichPresence(_this->u_iface, pchKey, pchValue); - return _ret; + cppISteamFriends_SteamFriends009_SetRichPresence( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends009_ClearRichPresence(struct w_steam_iface *_this) { + struct cppISteamFriends_SteamFriends009_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_ClearRichPresence(_this->u_iface); + cppISteamFriends_SteamFriends009_ClearRichPresence( ¶ms ); } const char * __thiscall winISteamFriends_SteamFriends009_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends009_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetFriendRichPresence(_this->u_iface, steamIDFriend, pchKey); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendRichPresence( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int iKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex(_this->u_iface, steamIDFriend, iKey); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends009_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { - bool _ret; + struct cppISteamFriends_SteamFriends009_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_InviteUserToGame(_this->u_iface, steamIDFriend, pchConnectString); - return _ret; + cppISteamFriends_SteamFriends009_InviteUserToGame( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends009_GetCoplayFriendCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends009_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetCoplayFriendCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends009_GetCoplayFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends009_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int iCoplayFriend) { + struct cppISteamFriends_SteamFriends009_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends009_GetCoplayFriend(_this->u_iface, iCoplayFriend); - return _ret; + cppISteamFriends_SteamFriends009_GetCoplayFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends009_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends009_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetFriendCoplayTime(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendCoplayTime( ¶ms ); + return params._ret; } AppId_t __thiscall winISteamFriends_SteamFriends009_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { - AppId_t _ret; + struct cppISteamFriends_SteamFriends009_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends009_GetFriendCoplayGame(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends009_GetFriendCoplayGame( ¶ms ); + return params._ret; } extern vtable_ptr winISteamFriends_SteamFriends009_vtable; @@ -2670,449 +3883,733 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendMessage, 28) const char * __thiscall winISteamFriends_SteamFriends010_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends010_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends010_GetPersonaName( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends010_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct cppISteamFriends_SteamFriends010_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_SetPersonaName(_this->u_iface, pchPersonaName); + cppISteamFriends_SteamFriends010_SetPersonaName( ¶ms ); } EPersonaState __thiscall winISteamFriends_SteamFriends010_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends010_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends010_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends010_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends010_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends010_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends010_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends010_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends010_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends010_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends010_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends010_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends010_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends010_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendPersonaName( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { - bool _ret; + struct cppISteamFriends_SteamFriends010_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pFriendGameInfo); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends010_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends010_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends010_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends010_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends010_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends010_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends010_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends010_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends010_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends010_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends010_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends010_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends010_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends010_GetClanName( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends010_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends010_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetClanTag(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends010_GetClanTag( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) { - bool _ret; + struct cppISteamFriends_SteamFriends010_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetClanActivityCounts(_this->u_iface, steamIDClan, pnOnline, pnInGame, pnChatting); - return _ret; + cppISteamFriends_SteamFriends010_GetClanActivityCounts( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends010_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int cClansToRequest) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends010_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_DownloadClanActivityCounts(_this->u_iface, psteamIDClans, cClansToRequest); - return _ret; + cppISteamFriends_SteamFriends010_DownloadClanActivityCounts( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends010_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends010_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends010_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends010_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends010_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends010_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends010_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends010_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends010_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends010_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends010_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends010_ActivateGameOverlay( ¶ms ); } void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct cppISteamFriends_SteamFriends010_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_ActivateGameOverlayToUser(_this->u_iface, pchDialog, steamID); + cppISteamFriends_SteamFriends010_ActivateGameOverlayToUser( ¶ms ); } void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct cppISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage(_this->u_iface, pchURL); + cppISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage( ¶ms ); } void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlayToStore(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamFriends_SteamFriends010_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_ActivateGameOverlayToStore(_this->u_iface, nAppID); + cppISteamFriends_SteamFriends010_ActivateGameOverlayToStore( ¶ms ); } void __thiscall winISteamFriends_SteamFriends010_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct cppISteamFriends_SteamFriends010_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_SetPlayedWith(_this->u_iface, steamIDUserPlayedWith); + cppISteamFriends_SteamFriends010_SetPlayedWith( ¶ms ); } void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog(_this->u_iface, steamIDLobby); + cppISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog( ¶ms ); } int __thiscall winISteamFriends_SteamFriends010_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends010_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetSmallFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends010_GetSmallFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends010_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends010_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetMediumFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends010_GetMediumFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends010_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends010_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetLargeFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends010_GetLargeFriendAvatar( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, bool bRequireNameOnly) { - bool _ret; + struct cppISteamFriends_SteamFriends010_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_RequestUserInformation(_this->u_iface, steamIDUser, bRequireNameOnly); - return _ret; + cppISteamFriends_SteamFriends010_RequestUserInformation( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends010_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends010_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_RequestClanOfficerList(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends010_RequestClanOfficerList( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends010_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct cppISteamFriends_SteamFriends010_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends010_GetClanOwner(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends010_GetClanOwner( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends010_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends010_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetClanOfficerCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends010_GetClanOfficerCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends010_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iOfficer) { + struct cppISteamFriends_SteamFriends010_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends010_GetClanOfficerByIndex(_this->u_iface, steamIDClan, iOfficer); - return _ret; + cppISteamFriends_SteamFriends010_GetClanOfficerByIndex( ¶ms ); + return params._ret; } uint32 __thiscall winISteamFriends_SteamFriends010_GetUserRestrictions(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamFriends_SteamFriends010_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetUserRestrictions(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends010_GetUserRestrictions( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamFriends_SteamFriends010_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_SetRichPresence(_this->u_iface, pchKey, pchValue); - return _ret; + cppISteamFriends_SteamFriends010_SetRichPresence( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends010_ClearRichPresence(struct w_steam_iface *_this) { + struct cppISteamFriends_SteamFriends010_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_ClearRichPresence(_this->u_iface); + cppISteamFriends_SteamFriends010_ClearRichPresence( ¶ms ); } const char * __thiscall winISteamFriends_SteamFriends010_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends010_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetFriendRichPresence(_this->u_iface, steamIDFriend, pchKey); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendRichPresence( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int iKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex(_this->u_iface, steamIDFriend, iKey); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { - bool _ret; + struct cppISteamFriends_SteamFriends010_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_InviteUserToGame(_this->u_iface, steamIDFriend, pchConnectString); - return _ret; + cppISteamFriends_SteamFriends010_InviteUserToGame( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends010_GetCoplayFriendCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends010_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetCoplayFriendCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends010_GetCoplayFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends010_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int iCoplayFriend) { + struct cppISteamFriends_SteamFriends010_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends010_GetCoplayFriend(_this->u_iface, iCoplayFriend); - return _ret; + cppISteamFriends_SteamFriends010_GetCoplayFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends010_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends010_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetFriendCoplayTime(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendCoplayTime( ¶ms ); + return params._ret; } AppId_t __thiscall winISteamFriends_SteamFriends010_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { - AppId_t _ret; + struct cppISteamFriends_SteamFriends010_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetFriendCoplayGame(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendCoplayGame( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends010_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends010_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_JoinClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends010_JoinClanChatRoom( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - bool _ret; + struct cppISteamFriends_SteamFriends010_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_LeaveClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends010_LeaveClanChatRoom( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends010_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends010_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetClanChatMemberCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends010_GetClanChatMemberCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends010_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iUser) { + struct cppISteamFriends_SteamFriends010_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends010_GetChatMemberByIndex(_this->u_iface, steamIDClan, iUser); - return _ret; + cppISteamFriends_SteamFriends010_GetChatMemberByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { - bool _ret; + struct cppISteamFriends_SteamFriends010_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_SendClanChatMessage(_this->u_iface, steamIDClanChat, pchText); - return _ret; + cppISteamFriends_SteamFriends010_SendClanChatMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends010_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *_e, CSteamID *_f) { - int _ret; + struct cppISteamFriends_SteamFriends010_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + ._e = _e, + ._f = _f, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetClanChatMessage(_this->u_iface, steamIDClanChat, iMessage, prgchText, cchTextMax, _e, _f); - return _ret; + cppISteamFriends_SteamFriends010_GetClanChatMessage( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { - bool _ret; + struct cppISteamFriends_SteamFriends010_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_IsClanChatAdmin(_this->u_iface, steamIDClanChat, steamIDUser); - return _ret; + cppISteamFriends_SteamFriends010_IsClanChatAdmin( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends010_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_OpenClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends010_OpenClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends010_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_CloseClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends010_CloseClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_SetListenForFriendsMessages(struct w_steam_iface *_this, bool bInterceptEnabled) { - bool _ret; + struct cppISteamFriends_SteamFriends010_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_SetListenForFriendsMessages(_this->u_iface, bInterceptEnabled); - return _ret; + cppISteamFriends_SteamFriends010_SetListenForFriendsMessages( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends010_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { - bool _ret; + struct cppISteamFriends_SteamFriends010_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_ReplyToFriendMessage(_this->u_iface, steamIDFriend, pchMsgToSend); - return _ret; + cppISteamFriends_SteamFriends010_ReplyToFriendMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends010_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamFriends_SteamFriends010_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends010_GetFriendMessage(_this->u_iface, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); - return _ret; + cppISteamFriends_SteamFriends010_GetFriendMessage( ¶ms ); + return params._ret; } extern vtable_ptr winISteamFriends_SteamFriends010_vtable; @@ -3262,479 +4759,780 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_EnumerateFollowingList, const char * __thiscall winISteamFriends_SteamFriends011_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends011_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends011_GetPersonaName( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends011_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct cppISteamFriends_SteamFriends011_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_SetPersonaName(_this->u_iface, pchPersonaName); + cppISteamFriends_SteamFriends011_SetPersonaName( ¶ms ); } EPersonaState __thiscall winISteamFriends_SteamFriends011_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends011_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends011_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends011_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends011_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends011_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends011_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends011_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends011_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends011_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends011_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends011_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends011_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends011_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendPersonaName( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { - bool _ret; + struct cppISteamFriends_SteamFriends011_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pFriendGameInfo); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends011_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends011_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends011_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends011_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends011_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends011_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends011_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends011_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends011_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends011_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends011_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends011_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends011_GetClanName( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends011_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends011_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetClanTag(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends011_GetClanTag( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) { - bool _ret; + struct cppISteamFriends_SteamFriends011_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetClanActivityCounts(_this->u_iface, steamIDClan, pnOnline, pnInGame, pnChatting); - return _ret; + cppISteamFriends_SteamFriends011_GetClanActivityCounts( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends011_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int cClansToRequest) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends011_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_DownloadClanActivityCounts(_this->u_iface, psteamIDClans, cClansToRequest); - return _ret; + cppISteamFriends_SteamFriends011_DownloadClanActivityCounts( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends011_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends011_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends011_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends011_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends011_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends011_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends011_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends011_ActivateGameOverlay( ¶ms ); } void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser(_this->u_iface, pchDialog, steamID); + cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser( ¶ms ); } void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage(_this->u_iface, pchURL); + cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage( ¶ms ); } void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlayToStore(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore(_this->u_iface, nAppID); + cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore( ¶ms ); } void __thiscall winISteamFriends_SteamFriends011_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct cppISteamFriends_SteamFriends011_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_SetPlayedWith(_this->u_iface, steamIDUserPlayedWith); + cppISteamFriends_SteamFriends011_SetPlayedWith( ¶ms ); } void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog(_this->u_iface, steamIDLobby); + cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog( ¶ms ); } int __thiscall winISteamFriends_SteamFriends011_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends011_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetSmallFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends011_GetSmallFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends011_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends011_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetMediumFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends011_GetMediumFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends011_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends011_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetLargeFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends011_GetLargeFriendAvatar( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, bool bRequireNameOnly) { - bool _ret; + struct cppISteamFriends_SteamFriends011_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_RequestUserInformation(_this->u_iface, steamIDUser, bRequireNameOnly); - return _ret; + cppISteamFriends_SteamFriends011_RequestUserInformation( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends011_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends011_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_RequestClanOfficerList(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends011_RequestClanOfficerList( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends011_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct cppISteamFriends_SteamFriends011_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends011_GetClanOwner(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends011_GetClanOwner( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends011_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends011_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetClanOfficerCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends011_GetClanOfficerCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends011_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iOfficer) { + struct cppISteamFriends_SteamFriends011_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends011_GetClanOfficerByIndex(_this->u_iface, steamIDClan, iOfficer); - return _ret; + cppISteamFriends_SteamFriends011_GetClanOfficerByIndex( ¶ms ); + return params._ret; } uint32 __thiscall winISteamFriends_SteamFriends011_GetUserRestrictions(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamFriends_SteamFriends011_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetUserRestrictions(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends011_GetUserRestrictions( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamFriends_SteamFriends011_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_SetRichPresence(_this->u_iface, pchKey, pchValue); - return _ret; + cppISteamFriends_SteamFriends011_SetRichPresence( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends011_ClearRichPresence(struct w_steam_iface *_this) { + struct cppISteamFriends_SteamFriends011_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_ClearRichPresence(_this->u_iface); + cppISteamFriends_SteamFriends011_ClearRichPresence( ¶ms ); } const char * __thiscall winISteamFriends_SteamFriends011_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends011_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFriendRichPresence(_this->u_iface, steamIDFriend, pchKey); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendRichPresence( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int iKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex(_this->u_iface, steamIDFriend, iKey); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends011_RequestFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct cppISteamFriends_SteamFriends011_RequestFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_RequestFriendRichPresence(_this->u_iface, steamIDFriend); + cppISteamFriends_SteamFriends011_RequestFriendRichPresence( ¶ms ); } bool __thiscall winISteamFriends_SteamFriends011_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { - bool _ret; + struct cppISteamFriends_SteamFriends011_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_InviteUserToGame(_this->u_iface, steamIDFriend, pchConnectString); - return _ret; + cppISteamFriends_SteamFriends011_InviteUserToGame( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends011_GetCoplayFriendCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends011_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetCoplayFriendCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends011_GetCoplayFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends011_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int iCoplayFriend) { + struct cppISteamFriends_SteamFriends011_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends011_GetCoplayFriend(_this->u_iface, iCoplayFriend); - return _ret; + cppISteamFriends_SteamFriends011_GetCoplayFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends011_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends011_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFriendCoplayTime(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendCoplayTime( ¶ms ); + return params._ret; } AppId_t __thiscall winISteamFriends_SteamFriends011_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { - AppId_t _ret; + struct cppISteamFriends_SteamFriends011_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFriendCoplayGame(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendCoplayGame( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends011_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends011_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_JoinClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends011_JoinClanChatRoom( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - bool _ret; + struct cppISteamFriends_SteamFriends011_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_LeaveClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends011_LeaveClanChatRoom( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends011_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends011_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetClanChatMemberCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends011_GetClanChatMemberCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends011_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iUser) { + struct cppISteamFriends_SteamFriends011_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends011_GetChatMemberByIndex(_this->u_iface, steamIDClan, iUser); - return _ret; + cppISteamFriends_SteamFriends011_GetChatMemberByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { - bool _ret; + struct cppISteamFriends_SteamFriends011_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_SendClanChatMessage(_this->u_iface, steamIDClanChat, pchText); - return _ret; + cppISteamFriends_SteamFriends011_SendClanChatMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends011_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *_e, CSteamID *_f) { - int _ret; + struct cppISteamFriends_SteamFriends011_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + ._e = _e, + ._f = _f, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetClanChatMessage(_this->u_iface, steamIDClanChat, iMessage, prgchText, cchTextMax, _e, _f); - return _ret; + cppISteamFriends_SteamFriends011_GetClanChatMessage( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { - bool _ret; + struct cppISteamFriends_SteamFriends011_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_IsClanChatAdmin(_this->u_iface, steamIDClanChat, steamIDUser); - return _ret; + cppISteamFriends_SteamFriends011_IsClanChatAdmin( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_SetListenForFriendsMessages(struct w_steam_iface *_this, bool bInterceptEnabled) { - bool _ret; + struct cppISteamFriends_SteamFriends011_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_SetListenForFriendsMessages(_this->u_iface, bInterceptEnabled); - return _ret; + cppISteamFriends_SteamFriends011_SetListenForFriendsMessages( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends011_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { - bool _ret; + struct cppISteamFriends_SteamFriends011_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_ReplyToFriendMessage(_this->u_iface, steamIDFriend, pchMsgToSend); - return _ret; + cppISteamFriends_SteamFriends011_ReplyToFriendMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends011_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamFriends_SteamFriends011_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFriendMessage(_this->u_iface, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); - return _ret; + cppISteamFriends_SteamFriends011_GetFriendMessage( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends011_GetFollowerCount(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends011_GetFollowerCount_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_GetFollowerCount(_this->u_iface, steamID); - return _ret; + cppISteamFriends_SteamFriends011_GetFollowerCount( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends011_IsFollowing(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends011_IsFollowing_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_IsFollowing(_this->u_iface, steamID); - return _ret; + cppISteamFriends_SteamFriends011_IsFollowing( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends011_EnumerateFollowingList(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends011_EnumerateFollowingList_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends011_EnumerateFollowingList(_this->u_iface, unStartIndex); - return _ret; + cppISteamFriends_SteamFriends011_EnumerateFollowingList( ¶ms ); + return params._ret; } extern vtable_ptr winISteamFriends_SteamFriends011_vtable; @@ -3888,481 +5686,781 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_EnumerateFollowingList, const char * __thiscall winISteamFriends_SteamFriends012_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends012_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends012_GetPersonaName( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends012_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_SetPersonaName(_this->u_iface, pchPersonaName); - return _ret; + cppISteamFriends_SteamFriends012_SetPersonaName( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends012_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends012_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends012_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends012_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends012_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends012_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends012_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends012_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends012_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends012_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends012_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends012_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends012_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends012_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendPersonaName( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { - bool _ret; + struct cppISteamFriends_SteamFriends012_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pFriendGameInfo); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends012_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends012_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends012_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends012_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends012_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends012_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends012_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends012_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends012_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends012_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends012_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends012_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends012_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends012_GetClanName( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends012_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends012_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetClanTag(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends012_GetClanTag( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) { - bool _ret; + struct cppISteamFriends_SteamFriends012_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetClanActivityCounts(_this->u_iface, steamIDClan, pnOnline, pnInGame, pnChatting); - return _ret; + cppISteamFriends_SteamFriends012_GetClanActivityCounts( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int cClansToRequest) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends012_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_DownloadClanActivityCounts(_this->u_iface, psteamIDClans, cClansToRequest); - return _ret; + cppISteamFriends_SteamFriends012_DownloadClanActivityCounts( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends012_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends012_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends012_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends012_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends012_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends012_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends012_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends012_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends012_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends012_ActivateGameOverlay( ¶ms ); } void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser(_this->u_iface, pchDialog, steamID); + cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser( ¶ms ); } void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage(_this->u_iface, pchURL); + cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage( ¶ms ); } void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlayToStore(struct w_steam_iface *_this, AppId_t nAppID) { + struct cppISteamFriends_SteamFriends012_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_ActivateGameOverlayToStore(_this->u_iface, nAppID); + cppISteamFriends_SteamFriends012_ActivateGameOverlayToStore( ¶ms ); } void __thiscall winISteamFriends_SteamFriends012_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct cppISteamFriends_SteamFriends012_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_SetPlayedWith(_this->u_iface, steamIDUserPlayedWith); + cppISteamFriends_SteamFriends012_SetPlayedWith( ¶ms ); } void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog(_this->u_iface, steamIDLobby); + cppISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog( ¶ms ); } int __thiscall winISteamFriends_SteamFriends012_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends012_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetSmallFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends012_GetSmallFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends012_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends012_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetMediumFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends012_GetMediumFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends012_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends012_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetLargeFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends012_GetLargeFriendAvatar( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, bool bRequireNameOnly) { - bool _ret; + struct cppISteamFriends_SteamFriends012_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_RequestUserInformation(_this->u_iface, steamIDUser, bRequireNameOnly); - return _ret; + cppISteamFriends_SteamFriends012_RequestUserInformation( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends012_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_RequestClanOfficerList(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends012_RequestClanOfficerList( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends012_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct cppISteamFriends_SteamFriends012_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends012_GetClanOwner(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends012_GetClanOwner( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends012_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends012_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetClanOfficerCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends012_GetClanOfficerCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends012_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iOfficer) { + struct cppISteamFriends_SteamFriends012_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends012_GetClanOfficerByIndex(_this->u_iface, steamIDClan, iOfficer); - return _ret; + cppISteamFriends_SteamFriends012_GetClanOfficerByIndex( ¶ms ); + return params._ret; } uint32 __thiscall winISteamFriends_SteamFriends012_GetUserRestrictions(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamFriends_SteamFriends012_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetUserRestrictions(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends012_GetUserRestrictions( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamFriends_SteamFriends012_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_SetRichPresence(_this->u_iface, pchKey, pchValue); - return _ret; + cppISteamFriends_SteamFriends012_SetRichPresence( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends012_ClearRichPresence(struct w_steam_iface *_this) { + struct cppISteamFriends_SteamFriends012_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_ClearRichPresence(_this->u_iface); + cppISteamFriends_SteamFriends012_ClearRichPresence( ¶ms ); } const char * __thiscall winISteamFriends_SteamFriends012_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends012_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFriendRichPresence(_this->u_iface, steamIDFriend, pchKey); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendRichPresence( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int iKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex(_this->u_iface, steamIDFriend, iKey); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends012_RequestFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct cppISteamFriends_SteamFriends012_RequestFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_RequestFriendRichPresence(_this->u_iface, steamIDFriend); + cppISteamFriends_SteamFriends012_RequestFriendRichPresence( ¶ms ); } bool __thiscall winISteamFriends_SteamFriends012_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { - bool _ret; + struct cppISteamFriends_SteamFriends012_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_InviteUserToGame(_this->u_iface, steamIDFriend, pchConnectString); - return _ret; + cppISteamFriends_SteamFriends012_InviteUserToGame( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends012_GetCoplayFriendCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends012_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetCoplayFriendCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends012_GetCoplayFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends012_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int iCoplayFriend) { + struct cppISteamFriends_SteamFriends012_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends012_GetCoplayFriend(_this->u_iface, iCoplayFriend); - return _ret; + cppISteamFriends_SteamFriends012_GetCoplayFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends012_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends012_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFriendCoplayTime(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendCoplayTime( ¶ms ); + return params._ret; } AppId_t __thiscall winISteamFriends_SteamFriends012_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { - AppId_t _ret; + struct cppISteamFriends_SteamFriends012_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFriendCoplayGame(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendCoplayGame( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends012_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_JoinClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends012_JoinClanChatRoom( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - bool _ret; + struct cppISteamFriends_SteamFriends012_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_LeaveClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends012_LeaveClanChatRoom( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends012_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends012_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetClanChatMemberCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends012_GetClanChatMemberCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends012_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iUser) { + struct cppISteamFriends_SteamFriends012_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends012_GetChatMemberByIndex(_this->u_iface, steamIDClan, iUser); - return _ret; + cppISteamFriends_SteamFriends012_GetChatMemberByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { - bool _ret; + struct cppISteamFriends_SteamFriends012_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_SendClanChatMessage(_this->u_iface, steamIDClanChat, pchText); - return _ret; + cppISteamFriends_SteamFriends012_SendClanChatMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends012_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *_e, CSteamID *_f) { - int _ret; + struct cppISteamFriends_SteamFriends012_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + ._e = _e, + ._f = _f, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetClanChatMessage(_this->u_iface, steamIDClanChat, iMessage, prgchText, cchTextMax, _e, _f); - return _ret; + cppISteamFriends_SteamFriends012_GetClanChatMessage( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { - bool _ret; + struct cppISteamFriends_SteamFriends012_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_IsClanChatAdmin(_this->u_iface, steamIDClanChat, steamIDUser); - return _ret; + cppISteamFriends_SteamFriends012_IsClanChatAdmin( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends012_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_OpenClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends012_OpenClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends012_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_CloseClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends012_CloseClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_SetListenForFriendsMessages(struct w_steam_iface *_this, bool bInterceptEnabled) { - bool _ret; + struct cppISteamFriends_SteamFriends012_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_SetListenForFriendsMessages(_this->u_iface, bInterceptEnabled); - return _ret; + cppISteamFriends_SteamFriends012_SetListenForFriendsMessages( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends012_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { - bool _ret; + struct cppISteamFriends_SteamFriends012_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_ReplyToFriendMessage(_this->u_iface, steamIDFriend, pchMsgToSend); - return _ret; + cppISteamFriends_SteamFriends012_ReplyToFriendMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends012_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamFriends_SteamFriends012_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFriendMessage(_this->u_iface, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); - return _ret; + cppISteamFriends_SteamFriends012_GetFriendMessage( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_GetFollowerCount(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends012_GetFollowerCount_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_GetFollowerCount(_this->u_iface, steamID); - return _ret; + cppISteamFriends_SteamFriends012_GetFollowerCount( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_IsFollowing(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends012_IsFollowing_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_IsFollowing(_this->u_iface, steamID); - return _ret; + cppISteamFriends_SteamFriends012_IsFollowing( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_EnumerateFollowingList(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends012_EnumerateFollowingList_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends012_EnumerateFollowingList(_this->u_iface, unStartIndex); - return _ret; + cppISteamFriends_SteamFriends012_EnumerateFollowingList( ¶ms ); + return params._ret; } extern vtable_ptr winISteamFriends_SteamFriends012_vtable; @@ -4516,481 +6614,782 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_EnumerateFollowingList, const char * __thiscall winISteamFriends_SteamFriends013_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends013_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends013_GetPersonaName( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends013_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_SetPersonaName(_this->u_iface, pchPersonaName); - return _ret; + cppISteamFriends_SteamFriends013_SetPersonaName( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends013_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends013_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends013_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends013_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends013_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends013_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends013_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends013_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends013_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends013_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends013_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends013_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends013_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends013_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendPersonaName( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { - bool _ret; + struct cppISteamFriends_SteamFriends013_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pFriendGameInfo); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends013_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends013_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends013_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends013_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends013_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends013_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends013_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends013_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends013_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends013_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends013_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends013_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends013_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends013_GetClanName( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends013_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends013_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetClanTag(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends013_GetClanTag( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) { - bool _ret; + struct cppISteamFriends_SteamFriends013_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetClanActivityCounts(_this->u_iface, steamIDClan, pnOnline, pnInGame, pnChatting); - return _ret; + cppISteamFriends_SteamFriends013_GetClanActivityCounts( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int cClansToRequest) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends013_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_DownloadClanActivityCounts(_this->u_iface, psteamIDClans, cClansToRequest); - return _ret; + cppISteamFriends_SteamFriends013_DownloadClanActivityCounts( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends013_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends013_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends013_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends013_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends013_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends013_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends013_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends013_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends013_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends013_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends013_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends013_ActivateGameOverlay( ¶ms ); } void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct cppISteamFriends_SteamFriends013_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_ActivateGameOverlayToUser(_this->u_iface, pchDialog, steamID); + cppISteamFriends_SteamFriends013_ActivateGameOverlayToUser( ¶ms ); } void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct cppISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage(_this->u_iface, pchURL); + cppISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage( ¶ms ); } void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlayToStore(struct w_steam_iface *_this, AppId_t nAppID, EOverlayToStoreFlag eFlag) { + struct cppISteamFriends_SteamFriends013_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .eFlag = eFlag, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_ActivateGameOverlayToStore(_this->u_iface, nAppID, eFlag); + cppISteamFriends_SteamFriends013_ActivateGameOverlayToStore( ¶ms ); } void __thiscall winISteamFriends_SteamFriends013_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct cppISteamFriends_SteamFriends013_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_SetPlayedWith(_this->u_iface, steamIDUserPlayedWith); + cppISteamFriends_SteamFriends013_SetPlayedWith( ¶ms ); } void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog(_this->u_iface, steamIDLobby); + cppISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog( ¶ms ); } int __thiscall winISteamFriends_SteamFriends013_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends013_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetSmallFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends013_GetSmallFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends013_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends013_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetMediumFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends013_GetMediumFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends013_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends013_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetLargeFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends013_GetLargeFriendAvatar( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, bool bRequireNameOnly) { - bool _ret; + struct cppISteamFriends_SteamFriends013_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_RequestUserInformation(_this->u_iface, steamIDUser, bRequireNameOnly); - return _ret; + cppISteamFriends_SteamFriends013_RequestUserInformation( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends013_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_RequestClanOfficerList(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends013_RequestClanOfficerList( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends013_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct cppISteamFriends_SteamFriends013_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends013_GetClanOwner(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends013_GetClanOwner( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends013_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends013_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetClanOfficerCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends013_GetClanOfficerCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends013_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iOfficer) { + struct cppISteamFriends_SteamFriends013_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends013_GetClanOfficerByIndex(_this->u_iface, steamIDClan, iOfficer); - return _ret; + cppISteamFriends_SteamFriends013_GetClanOfficerByIndex( ¶ms ); + return params._ret; } uint32 __thiscall winISteamFriends_SteamFriends013_GetUserRestrictions(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamFriends_SteamFriends013_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetUserRestrictions(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends013_GetUserRestrictions( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamFriends_SteamFriends013_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_SetRichPresence(_this->u_iface, pchKey, pchValue); - return _ret; + cppISteamFriends_SteamFriends013_SetRichPresence( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends013_ClearRichPresence(struct w_steam_iface *_this) { + struct cppISteamFriends_SteamFriends013_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_ClearRichPresence(_this->u_iface); + cppISteamFriends_SteamFriends013_ClearRichPresence( ¶ms ); } const char * __thiscall winISteamFriends_SteamFriends013_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends013_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFriendRichPresence(_this->u_iface, steamIDFriend, pchKey); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendRichPresence( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int iKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex(_this->u_iface, steamIDFriend, iKey); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends013_RequestFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct cppISteamFriends_SteamFriends013_RequestFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_RequestFriendRichPresence(_this->u_iface, steamIDFriend); + cppISteamFriends_SteamFriends013_RequestFriendRichPresence( ¶ms ); } bool __thiscall winISteamFriends_SteamFriends013_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { - bool _ret; + struct cppISteamFriends_SteamFriends013_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_InviteUserToGame(_this->u_iface, steamIDFriend, pchConnectString); - return _ret; + cppISteamFriends_SteamFriends013_InviteUserToGame( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends013_GetCoplayFriendCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends013_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetCoplayFriendCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends013_GetCoplayFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends013_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int iCoplayFriend) { + struct cppISteamFriends_SteamFriends013_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends013_GetCoplayFriend(_this->u_iface, iCoplayFriend); - return _ret; + cppISteamFriends_SteamFriends013_GetCoplayFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends013_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends013_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFriendCoplayTime(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendCoplayTime( ¶ms ); + return params._ret; } AppId_t __thiscall winISteamFriends_SteamFriends013_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { - AppId_t _ret; + struct cppISteamFriends_SteamFriends013_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFriendCoplayGame(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendCoplayGame( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends013_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_JoinClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends013_JoinClanChatRoom( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - bool _ret; + struct cppISteamFriends_SteamFriends013_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_LeaveClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends013_LeaveClanChatRoom( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends013_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends013_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetClanChatMemberCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends013_GetClanChatMemberCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends013_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iUser) { + struct cppISteamFriends_SteamFriends013_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends013_GetChatMemberByIndex(_this->u_iface, steamIDClan, iUser); - return _ret; + cppISteamFriends_SteamFriends013_GetChatMemberByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { - bool _ret; + struct cppISteamFriends_SteamFriends013_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_SendClanChatMessage(_this->u_iface, steamIDClanChat, pchText); - return _ret; + cppISteamFriends_SteamFriends013_SendClanChatMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends013_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *_e, CSteamID *_f) { - int _ret; + struct cppISteamFriends_SteamFriends013_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + ._e = _e, + ._f = _f, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetClanChatMessage(_this->u_iface, steamIDClanChat, iMessage, prgchText, cchTextMax, _e, _f); - return _ret; + cppISteamFriends_SteamFriends013_GetClanChatMessage( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { - bool _ret; + struct cppISteamFriends_SteamFriends013_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_IsClanChatAdmin(_this->u_iface, steamIDClanChat, steamIDUser); - return _ret; + cppISteamFriends_SteamFriends013_IsClanChatAdmin( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends013_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_OpenClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends013_OpenClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends013_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_CloseClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends013_CloseClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_SetListenForFriendsMessages(struct w_steam_iface *_this, bool bInterceptEnabled) { - bool _ret; + struct cppISteamFriends_SteamFriends013_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_SetListenForFriendsMessages(_this->u_iface, bInterceptEnabled); - return _ret; + cppISteamFriends_SteamFriends013_SetListenForFriendsMessages( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends013_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { - bool _ret; + struct cppISteamFriends_SteamFriends013_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_ReplyToFriendMessage(_this->u_iface, steamIDFriend, pchMsgToSend); - return _ret; + cppISteamFriends_SteamFriends013_ReplyToFriendMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends013_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamFriends_SteamFriends013_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFriendMessage(_this->u_iface, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); - return _ret; + cppISteamFriends_SteamFriends013_GetFriendMessage( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_GetFollowerCount(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends013_GetFollowerCount_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_GetFollowerCount(_this->u_iface, steamID); - return _ret; + cppISteamFriends_SteamFriends013_GetFollowerCount( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_IsFollowing(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends013_IsFollowing_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_IsFollowing(_this->u_iface, steamID); - return _ret; + cppISteamFriends_SteamFriends013_IsFollowing( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_EnumerateFollowingList(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends013_EnumerateFollowingList_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends013_EnumerateFollowingList(_this->u_iface, unStartIndex); - return _ret; + cppISteamFriends_SteamFriends013_EnumerateFollowingList( ¶ms ); + return params._ret; } extern vtable_ptr winISteamFriends_SteamFriends013_vtable; @@ -5145,489 +7544,794 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_EnumerateFollowingList, const char * __thiscall winISteamFriends_SteamFriends014_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends014_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends014_GetPersonaName( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends014_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_SetPersonaName(_this->u_iface, pchPersonaName); - return _ret; + cppISteamFriends_SteamFriends014_SetPersonaName( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends014_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends014_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends014_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends014_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends014_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends014_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends014_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends014_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends014_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends014_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends014_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends014_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends014_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends014_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendPersonaName( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { - bool _ret; + struct cppISteamFriends_SteamFriends014_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pFriendGameInfo); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends014_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends014_GetPlayerNickname(struct w_steam_iface *_this, CSteamID steamIDPlayer) { - const char * _ret; + struct cppISteamFriends_SteamFriends014_GetPlayerNickname_params params = + { + .linux_side = _this->u_iface, + .steamIDPlayer = steamIDPlayer, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetPlayerNickname(_this->u_iface, steamIDPlayer); - return _ret; + cppISteamFriends_SteamFriends014_GetPlayerNickname( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends014_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends014_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends014_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends014_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends014_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends014_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends014_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends014_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends014_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends014_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends014_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends014_GetClanName( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends014_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends014_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetClanTag(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends014_GetClanTag( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) { - bool _ret; + struct cppISteamFriends_SteamFriends014_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetClanActivityCounts(_this->u_iface, steamIDClan, pnOnline, pnInGame, pnChatting); - return _ret; + cppISteamFriends_SteamFriends014_GetClanActivityCounts( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int cClansToRequest) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends014_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_DownloadClanActivityCounts(_this->u_iface, psteamIDClans, cClansToRequest); - return _ret; + cppISteamFriends_SteamFriends014_DownloadClanActivityCounts( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends014_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends014_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends014_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends014_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends014_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends014_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends014_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends014_ActivateGameOverlay( ¶ms ); } void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser(_this->u_iface, pchDialog, steamID); + cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser( ¶ms ); } void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage(_this->u_iface, pchURL); + cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage( ¶ms ); } void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlayToStore(struct w_steam_iface *_this, AppId_t nAppID, EOverlayToStoreFlag eFlag) { + struct cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .eFlag = eFlag, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore(_this->u_iface, nAppID, eFlag); + cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore( ¶ms ); } void __thiscall winISteamFriends_SteamFriends014_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct cppISteamFriends_SteamFriends014_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_SetPlayedWith(_this->u_iface, steamIDUserPlayedWith); + cppISteamFriends_SteamFriends014_SetPlayedWith( ¶ms ); } void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog(_this->u_iface, steamIDLobby); + cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog( ¶ms ); } int __thiscall winISteamFriends_SteamFriends014_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends014_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetSmallFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends014_GetSmallFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends014_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends014_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetMediumFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends014_GetMediumFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends014_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends014_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetLargeFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends014_GetLargeFriendAvatar( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, bool bRequireNameOnly) { - bool _ret; + struct cppISteamFriends_SteamFriends014_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_RequestUserInformation(_this->u_iface, steamIDUser, bRequireNameOnly); - return _ret; + cppISteamFriends_SteamFriends014_RequestUserInformation( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends014_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_RequestClanOfficerList(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends014_RequestClanOfficerList( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends014_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct cppISteamFriends_SteamFriends014_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends014_GetClanOwner(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends014_GetClanOwner( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends014_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends014_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetClanOfficerCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends014_GetClanOfficerCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends014_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iOfficer) { + struct cppISteamFriends_SteamFriends014_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends014_GetClanOfficerByIndex(_this->u_iface, steamIDClan, iOfficer); - return _ret; + cppISteamFriends_SteamFriends014_GetClanOfficerByIndex( ¶ms ); + return params._ret; } uint32 __thiscall winISteamFriends_SteamFriends014_GetUserRestrictions(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamFriends_SteamFriends014_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetUserRestrictions(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends014_GetUserRestrictions( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamFriends_SteamFriends014_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_SetRichPresence(_this->u_iface, pchKey, pchValue); - return _ret; + cppISteamFriends_SteamFriends014_SetRichPresence( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends014_ClearRichPresence(struct w_steam_iface *_this) { + struct cppISteamFriends_SteamFriends014_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_ClearRichPresence(_this->u_iface); + cppISteamFriends_SteamFriends014_ClearRichPresence( ¶ms ); } const char * __thiscall winISteamFriends_SteamFriends014_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends014_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFriendRichPresence(_this->u_iface, steamIDFriend, pchKey); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendRichPresence( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int iKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex(_this->u_iface, steamIDFriend, iKey); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends014_RequestFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct cppISteamFriends_SteamFriends014_RequestFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_RequestFriendRichPresence(_this->u_iface, steamIDFriend); + cppISteamFriends_SteamFriends014_RequestFriendRichPresence( ¶ms ); } bool __thiscall winISteamFriends_SteamFriends014_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { - bool _ret; + struct cppISteamFriends_SteamFriends014_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_InviteUserToGame(_this->u_iface, steamIDFriend, pchConnectString); - return _ret; + cppISteamFriends_SteamFriends014_InviteUserToGame( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends014_GetCoplayFriendCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends014_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetCoplayFriendCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends014_GetCoplayFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends014_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int iCoplayFriend) { + struct cppISteamFriends_SteamFriends014_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends014_GetCoplayFriend(_this->u_iface, iCoplayFriend); - return _ret; + cppISteamFriends_SteamFriends014_GetCoplayFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends014_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends014_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFriendCoplayTime(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendCoplayTime( ¶ms ); + return params._ret; } AppId_t __thiscall winISteamFriends_SteamFriends014_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { - AppId_t _ret; + struct cppISteamFriends_SteamFriends014_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFriendCoplayGame(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendCoplayGame( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends014_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_JoinClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends014_JoinClanChatRoom( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - bool _ret; + struct cppISteamFriends_SteamFriends014_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_LeaveClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends014_LeaveClanChatRoom( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends014_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends014_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetClanChatMemberCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends014_GetClanChatMemberCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends014_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iUser) { + struct cppISteamFriends_SteamFriends014_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends014_GetChatMemberByIndex(_this->u_iface, steamIDClan, iUser); - return _ret; + cppISteamFriends_SteamFriends014_GetChatMemberByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { - bool _ret; + struct cppISteamFriends_SteamFriends014_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_SendClanChatMessage(_this->u_iface, steamIDClanChat, pchText); - return _ret; + cppISteamFriends_SteamFriends014_SendClanChatMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends014_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *peChatEntryType, CSteamID *psteamidChatter) { - int _ret; + struct cppISteamFriends_SteamFriends014_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + .peChatEntryType = peChatEntryType, + .psteamidChatter = psteamidChatter, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetClanChatMessage(_this->u_iface, steamIDClanChat, iMessage, prgchText, cchTextMax, peChatEntryType, psteamidChatter); - return _ret; + cppISteamFriends_SteamFriends014_GetClanChatMessage( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { - bool _ret; + struct cppISteamFriends_SteamFriends014_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_IsClanChatAdmin(_this->u_iface, steamIDClanChat, steamIDUser); - return _ret; + cppISteamFriends_SteamFriends014_IsClanChatAdmin( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_SetListenForFriendsMessages(struct w_steam_iface *_this, bool bInterceptEnabled) { - bool _ret; + struct cppISteamFriends_SteamFriends014_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_SetListenForFriendsMessages(_this->u_iface, bInterceptEnabled); - return _ret; + cppISteamFriends_SteamFriends014_SetListenForFriendsMessages( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends014_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { - bool _ret; + struct cppISteamFriends_SteamFriends014_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_ReplyToFriendMessage(_this->u_iface, steamIDFriend, pchMsgToSend); - return _ret; + cppISteamFriends_SteamFriends014_ReplyToFriendMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends014_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamFriends_SteamFriends014_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFriendMessage(_this->u_iface, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); - return _ret; + cppISteamFriends_SteamFriends014_GetFriendMessage( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_GetFollowerCount(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends014_GetFollowerCount_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_GetFollowerCount(_this->u_iface, steamID); - return _ret; + cppISteamFriends_SteamFriends014_GetFollowerCount( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_IsFollowing(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends014_IsFollowing_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_IsFollowing(_this->u_iface, steamID); - return _ret; + cppISteamFriends_SteamFriends014_IsFollowing( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_EnumerateFollowingList(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends014_EnumerateFollowingList_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends014_EnumerateFollowingList(_this->u_iface, unStartIndex); - return _ret; + cppISteamFriends_SteamFriends014_EnumerateFollowingList( ¶ms ); + return params._ret; } extern vtable_ptr winISteamFriends_SteamFriends014_vtable; @@ -5791,551 +8495,890 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_IsClanOfficialGameGroup const char * __thiscall winISteamFriends_SteamFriends015_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends015_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends015_GetPersonaName( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends015_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_SetPersonaName(_this->u_iface, pchPersonaName); - return _ret; + cppISteamFriends_SteamFriends015_SetPersonaName( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends015_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends015_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends015_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends015_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends015_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends015_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends015_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends015_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends015_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends015_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends015_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends015_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendPersonaName( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { - bool _ret; + struct cppISteamFriends_SteamFriends015_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pFriendGameInfo); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends015_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetFriendSteamLevel(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetFriendSteamLevel_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendSteamLevel(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendSteamLevel( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends015_GetPlayerNickname(struct w_steam_iface *_this, CSteamID steamIDPlayer) { - const char * _ret; + struct cppISteamFriends_SteamFriends015_GetPlayerNickname_params params = + { + .linux_side = _this->u_iface, + .steamIDPlayer = steamIDPlayer, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetPlayerNickname(_this->u_iface, steamIDPlayer); - return _ret; + cppISteamFriends_SteamFriends015_GetPlayerNickname( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetFriendsGroupCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendsGroupCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendsGroupCount( ¶ms ); + return params._ret; } FriendsGroupID_t __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex(struct w_steam_iface *_this, int iFG) { - FriendsGroupID_t _ret; + struct cppISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex_params params = + { + .linux_side = _this->u_iface, + .iFG = iFG, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex(_this->u_iface, iFG); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupName(struct w_steam_iface *_this, FriendsGroupID_t friendsGroupID) { - const char * _ret; + struct cppISteamFriends_SteamFriends015_GetFriendsGroupName_params params = + { + .linux_side = _this->u_iface, + .friendsGroupID = friendsGroupID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendsGroupName(_this->u_iface, friendsGroupID); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendsGroupName( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupMembersCount(struct w_steam_iface *_this, FriendsGroupID_t friendsGroupID) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetFriendsGroupMembersCount_params params = + { + .linux_side = _this->u_iface, + .friendsGroupID = friendsGroupID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendsGroupMembersCount(_this->u_iface, friendsGroupID); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendsGroupMembersCount( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupMembersList(struct w_steam_iface *_this, FriendsGroupID_t friendsGroupID, CSteamID *pOutSteamIDMembers, int nMembersCount) { + struct cppISteamFriends_SteamFriends015_GetFriendsGroupMembersList_params params = + { + .linux_side = _this->u_iface, + .friendsGroupID = friendsGroupID, + .pOutSteamIDMembers = pOutSteamIDMembers, + .nMembersCount = nMembersCount, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_GetFriendsGroupMembersList(_this->u_iface, friendsGroupID, pOutSteamIDMembers, nMembersCount); + cppISteamFriends_SteamFriends015_GetFriendsGroupMembersList( ¶ms ); } bool __thiscall winISteamFriends_SteamFriends015_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends015_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends015_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends015_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends015_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends015_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends015_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends015_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends015_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends015_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends015_GetClanName( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends015_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends015_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetClanTag(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends015_GetClanTag( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) { - bool _ret; + struct cppISteamFriends_SteamFriends015_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetClanActivityCounts(_this->u_iface, steamIDClan, pnOnline, pnInGame, pnChatting); - return _ret; + cppISteamFriends_SteamFriends015_GetClanActivityCounts( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int cClansToRequest) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends015_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_DownloadClanActivityCounts(_this->u_iface, psteamIDClans, cClansToRequest); - return _ret; + cppISteamFriends_SteamFriends015_DownloadClanActivityCounts( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends015_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends015_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends015_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends015_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends015_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends015_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends015_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends015_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends015_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends015_ActivateGameOverlay( ¶ms ); } void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct cppISteamFriends_SteamFriends015_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_ActivateGameOverlayToUser(_this->u_iface, pchDialog, steamID); + cppISteamFriends_SteamFriends015_ActivateGameOverlayToUser( ¶ms ); } void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct cppISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage(_this->u_iface, pchURL); + cppISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage( ¶ms ); } void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlayToStore(struct w_steam_iface *_this, AppId_t nAppID, EOverlayToStoreFlag eFlag) { + struct cppISteamFriends_SteamFriends015_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .eFlag = eFlag, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_ActivateGameOverlayToStore(_this->u_iface, nAppID, eFlag); + cppISteamFriends_SteamFriends015_ActivateGameOverlayToStore( ¶ms ); } void __thiscall winISteamFriends_SteamFriends015_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct cppISteamFriends_SteamFriends015_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_SetPlayedWith(_this->u_iface, steamIDUserPlayedWith); + cppISteamFriends_SteamFriends015_SetPlayedWith( ¶ms ); } void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog(_this->u_iface, steamIDLobby); + cppISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog( ¶ms ); } int __thiscall winISteamFriends_SteamFriends015_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetSmallFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends015_GetSmallFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetMediumFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends015_GetMediumFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetLargeFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends015_GetLargeFriendAvatar( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, bool bRequireNameOnly) { - bool _ret; + struct cppISteamFriends_SteamFriends015_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_RequestUserInformation(_this->u_iface, steamIDUser, bRequireNameOnly); - return _ret; + cppISteamFriends_SteamFriends015_RequestUserInformation( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends015_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_RequestClanOfficerList(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends015_RequestClanOfficerList( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends015_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct cppISteamFriends_SteamFriends015_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends015_GetClanOwner(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends015_GetClanOwner( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetClanOfficerCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends015_GetClanOfficerCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends015_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iOfficer) { + struct cppISteamFriends_SteamFriends015_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends015_GetClanOfficerByIndex(_this->u_iface, steamIDClan, iOfficer); - return _ret; + cppISteamFriends_SteamFriends015_GetClanOfficerByIndex( ¶ms ); + return params._ret; } uint32 __thiscall winISteamFriends_SteamFriends015_GetUserRestrictions(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamFriends_SteamFriends015_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetUserRestrictions(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends015_GetUserRestrictions( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamFriends_SteamFriends015_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_SetRichPresence(_this->u_iface, pchKey, pchValue); - return _ret; + cppISteamFriends_SteamFriends015_SetRichPresence( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends015_ClearRichPresence(struct w_steam_iface *_this) { + struct cppISteamFriends_SteamFriends015_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_ClearRichPresence(_this->u_iface); + cppISteamFriends_SteamFriends015_ClearRichPresence( ¶ms ); } const char * __thiscall winISteamFriends_SteamFriends015_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends015_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendRichPresence(_this->u_iface, steamIDFriend, pchKey); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendRichPresence( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int iKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex(_this->u_iface, steamIDFriend, iKey); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends015_RequestFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct cppISteamFriends_SteamFriends015_RequestFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_RequestFriendRichPresence(_this->u_iface, steamIDFriend); + cppISteamFriends_SteamFriends015_RequestFriendRichPresence( ¶ms ); } bool __thiscall winISteamFriends_SteamFriends015_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { - bool _ret; + struct cppISteamFriends_SteamFriends015_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_InviteUserToGame(_this->u_iface, steamIDFriend, pchConnectString); - return _ret; + cppISteamFriends_SteamFriends015_InviteUserToGame( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetCoplayFriendCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetCoplayFriendCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends015_GetCoplayFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends015_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int iCoplayFriend) { + struct cppISteamFriends_SteamFriends015_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends015_GetCoplayFriend(_this->u_iface, iCoplayFriend); - return _ret; + cppISteamFriends_SteamFriends015_GetCoplayFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendCoplayTime(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendCoplayTime( ¶ms ); + return params._ret; } AppId_t __thiscall winISteamFriends_SteamFriends015_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { - AppId_t _ret; + struct cppISteamFriends_SteamFriends015_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendCoplayGame(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendCoplayGame( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends015_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_JoinClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends015_JoinClanChatRoom( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - bool _ret; + struct cppISteamFriends_SteamFriends015_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_LeaveClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends015_LeaveClanChatRoom( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetClanChatMemberCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends015_GetClanChatMemberCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends015_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iUser) { + struct cppISteamFriends_SteamFriends015_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends015_GetChatMemberByIndex(_this->u_iface, steamIDClan, iUser); - return _ret; + cppISteamFriends_SteamFriends015_GetChatMemberByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { - bool _ret; + struct cppISteamFriends_SteamFriends015_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_SendClanChatMessage(_this->u_iface, steamIDClanChat, pchText); - return _ret; + cppISteamFriends_SteamFriends015_SendClanChatMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *peChatEntryType, CSteamID *psteamidChatter) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + .peChatEntryType = peChatEntryType, + .psteamidChatter = psteamidChatter, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetClanChatMessage(_this->u_iface, steamIDClanChat, iMessage, prgchText, cchTextMax, peChatEntryType, psteamidChatter); - return _ret; + cppISteamFriends_SteamFriends015_GetClanChatMessage( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { - bool _ret; + struct cppISteamFriends_SteamFriends015_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_IsClanChatAdmin(_this->u_iface, steamIDClanChat, steamIDUser); - return _ret; + cppISteamFriends_SteamFriends015_IsClanChatAdmin( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends015_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_OpenClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends015_OpenClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends015_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_CloseClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends015_CloseClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_SetListenForFriendsMessages(struct w_steam_iface *_this, bool bInterceptEnabled) { - bool _ret; + struct cppISteamFriends_SteamFriends015_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_SetListenForFriendsMessages(_this->u_iface, bInterceptEnabled); - return _ret; + cppISteamFriends_SteamFriends015_SetListenForFriendsMessages( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { - bool _ret; + struct cppISteamFriends_SteamFriends015_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_ReplyToFriendMessage(_this->u_iface, steamIDFriend, pchMsgToSend); - return _ret; + cppISteamFriends_SteamFriends015_ReplyToFriendMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends015_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamFriends_SteamFriends015_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFriendMessage(_this->u_iface, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); - return _ret; + cppISteamFriends_SteamFriends015_GetFriendMessage( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_GetFollowerCount(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends015_GetFollowerCount_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_GetFollowerCount(_this->u_iface, steamID); - return _ret; + cppISteamFriends_SteamFriends015_GetFollowerCount( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_IsFollowing(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends015_IsFollowing_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_IsFollowing(_this->u_iface, steamID); - return _ret; + cppISteamFriends_SteamFriends015_IsFollowing( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_EnumerateFollowingList(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends015_EnumerateFollowingList_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_EnumerateFollowingList(_this->u_iface, unStartIndex); - return _ret; + cppISteamFriends_SteamFriends015_EnumerateFollowingList( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_IsClanPublic(struct w_steam_iface *_this, CSteamID steamIDClan) { - bool _ret; + struct cppISteamFriends_SteamFriends015_IsClanPublic_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_IsClanPublic(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends015_IsClanPublic( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends015_IsClanOfficialGameGroup(struct w_steam_iface *_this, CSteamID steamIDClan) { - bool _ret; + struct cppISteamFriends_SteamFriends015_IsClanOfficialGameGroup_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends015_IsClanOfficialGameGroup(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends015_IsClanOfficialGameGroup( ¶ms ); + return params._ret; } extern vtable_ptr winISteamFriends_SteamFriends015_vtable; @@ -6515,611 +9558,989 @@ DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetProfileItemPropertyU const char * __thiscall winISteamFriends_SteamFriends017_GetPersonaName(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamFriends_SteamFriends017_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetPersonaName(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends017_GetPersonaName( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends017_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_SetPersonaName(_this->u_iface, pchPersonaName); - return _ret; + cppISteamFriends_SteamFriends017_SetPersonaName( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends017_GetPersonaState(struct w_steam_iface *_this) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends017_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetPersonaState(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends017_GetPersonaState( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetFriendCount(struct w_steam_iface *_this, int iFriendFlags) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendCount(_this->u_iface, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends017_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iFriend, int iFriendFlags) { + struct cppISteamFriends_SteamFriends017_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends017_GetFriendByIndex(_this->u_iface, iFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendByIndex( ¶ms ); + return params._ret; } EFriendRelationship __thiscall winISteamFriends_SteamFriends017_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EFriendRelationship _ret; + struct cppISteamFriends_SteamFriends017_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendRelationship(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendRelationship( ¶ms ); + return params._ret; } EPersonaState __thiscall winISteamFriends_SteamFriends017_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - EPersonaState _ret; + struct cppISteamFriends_SteamFriends017_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendPersonaState(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendPersonaState( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends017_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { - const char * _ret; + struct cppISteamFriends_SteamFriends017_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendPersonaName(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendPersonaName( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { - bool _ret; + struct cppISteamFriends_SteamFriends017_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendGamePlayed(_this->u_iface, steamIDFriend, pFriendGameInfo); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendGamePlayed( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends017_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int iPersonaName) { - const char * _ret; + struct cppISteamFriends_SteamFriends017_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendPersonaNameHistory(_this->u_iface, steamIDFriend, iPersonaName); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendPersonaNameHistory( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetFriendSteamLevel(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetFriendSteamLevel_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendSteamLevel(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendSteamLevel( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends017_GetPlayerNickname(struct w_steam_iface *_this, CSteamID steamIDPlayer) { - const char * _ret; + struct cppISteamFriends_SteamFriends017_GetPlayerNickname_params params = + { + .linux_side = _this->u_iface, + .steamIDPlayer = steamIDPlayer, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetPlayerNickname(_this->u_iface, steamIDPlayer); - return _ret; + cppISteamFriends_SteamFriends017_GetPlayerNickname( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetFriendsGroupCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendsGroupCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendsGroupCount( ¶ms ); + return params._ret; } FriendsGroupID_t __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex(struct w_steam_iface *_this, int iFG) { - FriendsGroupID_t _ret; + struct cppISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex_params params = + { + .linux_side = _this->u_iface, + .iFG = iFG, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex(_this->u_iface, iFG); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupName(struct w_steam_iface *_this, FriendsGroupID_t friendsGroupID) { - const char * _ret; + struct cppISteamFriends_SteamFriends017_GetFriendsGroupName_params params = + { + .linux_side = _this->u_iface, + .friendsGroupID = friendsGroupID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendsGroupName(_this->u_iface, friendsGroupID); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendsGroupName( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupMembersCount(struct w_steam_iface *_this, FriendsGroupID_t friendsGroupID) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetFriendsGroupMembersCount_params params = + { + .linux_side = _this->u_iface, + .friendsGroupID = friendsGroupID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendsGroupMembersCount(_this->u_iface, friendsGroupID); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendsGroupMembersCount( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupMembersList(struct w_steam_iface *_this, FriendsGroupID_t friendsGroupID, CSteamID *pOutSteamIDMembers, int nMembersCount) { + struct cppISteamFriends_SteamFriends017_GetFriendsGroupMembersList_params params = + { + .linux_side = _this->u_iface, + .friendsGroupID = friendsGroupID, + .pOutSteamIDMembers = pOutSteamIDMembers, + .nMembersCount = nMembersCount, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_GetFriendsGroupMembersList(_this->u_iface, friendsGroupID, pOutSteamIDMembers, nMembersCount); + cppISteamFriends_SteamFriends017_GetFriendsGroupMembersList( ¶ms ); } bool __thiscall winISteamFriends_SteamFriends017_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int iFriendFlags) { - bool _ret; + struct cppISteamFriends_SteamFriends017_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_HasFriend(_this->u_iface, steamIDFriend, iFriendFlags); - return _ret; + cppISteamFriends_SteamFriends017_HasFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetClanCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetClanCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends017_GetClanCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends017_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iClan) { + struct cppISteamFriends_SteamFriends017_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends017_GetClanByIndex(_this->u_iface, iClan); - return _ret; + cppISteamFriends_SteamFriends017_GetClanByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends017_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends017_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetClanName(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends017_GetClanName( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends017_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { - const char * _ret; + struct cppISteamFriends_SteamFriends017_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetClanTag(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends017_GetClanTag( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting) { - bool _ret; + struct cppISteamFriends_SteamFriends017_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetClanActivityCounts(_this->u_iface, steamIDClan, pnOnline, pnInGame, pnChatting); - return _ret; + cppISteamFriends_SteamFriends017_GetClanActivityCounts( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int cClansToRequest) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends017_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_DownloadClanActivityCounts(_this->u_iface, psteamIDClans, cClansToRequest); - return _ret; + cppISteamFriends_SteamFriends017_DownloadClanActivityCounts( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendCountFromSource(_this->u_iface, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendCountFromSource( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends017_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int iFriend) { + struct cppISteamFriends_SteamFriends017_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends017_GetFriendFromSourceByIndex(_this->u_iface, steamIDSource, iFriend); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendFromSourceByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - bool _ret; + struct cppISteamFriends_SteamFriends017_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_IsUserInSource(_this->u_iface, steamIDUser, steamIDSource); - return _ret; + cppISteamFriends_SteamFriends017_IsUserInSource( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends017_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, bool bSpeaking) { + struct cppISteamFriends_SteamFriends017_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_SetInGameVoiceSpeaking(_this->u_iface, steamIDUser, bSpeaking); + cppISteamFriends_SteamFriends017_SetInGameVoiceSpeaking( ¶ms ); } void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct cppISteamFriends_SteamFriends017_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlay(_this->u_iface, pchDialog); + cppISteamFriends_SteamFriends017_ActivateGameOverlay( ¶ms ); } void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct cppISteamFriends_SteamFriends017_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlayToUser(_this->u_iface, pchDialog, steamID); + cppISteamFriends_SteamFriends017_ActivateGameOverlayToUser( ¶ms ); } void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL, EActivateGameOverlayToWebPageMode eMode) { + struct cppISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + .eMode = eMode, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage(_this->u_iface, pchURL, eMode); + cppISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage( ¶ms ); } void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayToStore(struct w_steam_iface *_this, AppId_t nAppID, EOverlayToStoreFlag eFlag) { + struct cppISteamFriends_SteamFriends017_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .eFlag = eFlag, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlayToStore(_this->u_iface, nAppID, eFlag); + cppISteamFriends_SteamFriends017_ActivateGameOverlayToStore( ¶ms ); } void __thiscall winISteamFriends_SteamFriends017_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct cppISteamFriends_SteamFriends017_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_SetPlayedWith(_this->u_iface, steamIDUserPlayedWith); + cppISteamFriends_SteamFriends017_SetPlayedWith( ¶ms ); } void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog(_this->u_iface, steamIDLobby); + cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog( ¶ms ); } int __thiscall winISteamFriends_SteamFriends017_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetSmallFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends017_GetSmallFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetMediumFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends017_GetMediumFriendAvatar( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetLargeFriendAvatar(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends017_GetLargeFriendAvatar( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, bool bRequireNameOnly) { - bool _ret; + struct cppISteamFriends_SteamFriends017_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_RequestUserInformation(_this->u_iface, steamIDUser, bRequireNameOnly); - return _ret; + cppISteamFriends_SteamFriends017_RequestUserInformation( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends017_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_RequestClanOfficerList(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends017_RequestClanOfficerList( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends017_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct cppISteamFriends_SteamFriends017_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends017_GetClanOwner(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends017_GetClanOwner( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetClanOfficerCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends017_GetClanOfficerCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends017_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iOfficer) { + struct cppISteamFriends_SteamFriends017_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends017_GetClanOfficerByIndex(_this->u_iface, steamIDClan, iOfficer); - return _ret; + cppISteamFriends_SteamFriends017_GetClanOfficerByIndex( ¶ms ); + return params._ret; } uint32 __thiscall winISteamFriends_SteamFriends017_GetUserRestrictions(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamFriends_SteamFriends017_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetUserRestrictions(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends017_GetUserRestrictions( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamFriends_SteamFriends017_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_SetRichPresence(_this->u_iface, pchKey, pchValue); - return _ret; + cppISteamFriends_SteamFriends017_SetRichPresence( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends017_ClearRichPresence(struct w_steam_iface *_this) { + struct cppISteamFriends_SteamFriends017_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ClearRichPresence(_this->u_iface); + cppISteamFriends_SteamFriends017_ClearRichPresence( ¶ms ); } const char * __thiscall winISteamFriends_SteamFriends017_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends017_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendRichPresence(_this->u_iface, steamIDFriend, pchKey); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendRichPresence( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int iKey) { - const char * _ret; + struct cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex(_this->u_iface, steamIDFriend, iKey); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends017_RequestFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct cppISteamFriends_SteamFriends017_RequestFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_RequestFriendRichPresence(_this->u_iface, steamIDFriend); + cppISteamFriends_SteamFriends017_RequestFriendRichPresence( ¶ms ); } bool __thiscall winISteamFriends_SteamFriends017_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { - bool _ret; + struct cppISteamFriends_SteamFriends017_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_InviteUserToGame(_this->u_iface, steamIDFriend, pchConnectString); - return _ret; + cppISteamFriends_SteamFriends017_InviteUserToGame( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetCoplayFriendCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetCoplayFriendCount(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends017_GetCoplayFriendCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends017_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int iCoplayFriend) { + struct cppISteamFriends_SteamFriends017_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends017_GetCoplayFriend(_this->u_iface, iCoplayFriend); - return _ret; + cppISteamFriends_SteamFriends017_GetCoplayFriend( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendCoplayTime(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendCoplayTime( ¶ms ); + return params._ret; } AppId_t __thiscall winISteamFriends_SteamFriends017_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { - AppId_t _ret; + struct cppISteamFriends_SteamFriends017_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendCoplayGame(_this->u_iface, steamIDFriend); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendCoplayGame( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends017_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_JoinClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends017_JoinClanChatRoom( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - bool _ret; + struct cppISteamFriends_SteamFriends017_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_LeaveClanChatRoom(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends017_LeaveClanChatRoom( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetClanChatMemberCount(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends017_GetClanChatMemberCount( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamFriends_SteamFriends017_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int iUser) { + struct cppISteamFriends_SteamFriends017_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; TRACE("%p\n", _this); - *_ret = cppISteamFriends_SteamFriends017_GetChatMemberByIndex(_this->u_iface, steamIDClan, iUser); - return _ret; + cppISteamFriends_SteamFriends017_GetChatMemberByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { - bool _ret; + struct cppISteamFriends_SteamFriends017_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_SendClanChatMessage(_this->u_iface, steamIDClanChat, pchText); - return _ret; + cppISteamFriends_SteamFriends017_SendClanChatMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *peChatEntryType, CSteamID *psteamidChatter) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + .peChatEntryType = peChatEntryType, + .psteamidChatter = psteamidChatter, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetClanChatMessage(_this->u_iface, steamIDClanChat, iMessage, prgchText, cchTextMax, peChatEntryType, psteamidChatter); - return _ret; + cppISteamFriends_SteamFriends017_GetClanChatMessage( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { - bool _ret; + struct cppISteamFriends_SteamFriends017_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_IsClanChatAdmin(_this->u_iface, steamIDClanChat, steamIDUser); - return _ret; + cppISteamFriends_SteamFriends017_IsClanChatAdmin( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends017_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_OpenClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends017_OpenClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { - bool _ret; + struct cppISteamFriends_SteamFriends017_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_CloseClanChatWindowInSteam(_this->u_iface, steamIDClanChat); - return _ret; + cppISteamFriends_SteamFriends017_CloseClanChatWindowInSteam( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_SetListenForFriendsMessages(struct w_steam_iface *_this, bool bInterceptEnabled) { - bool _ret; + struct cppISteamFriends_SteamFriends017_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_SetListenForFriendsMessages(_this->u_iface, bInterceptEnabled); - return _ret; + cppISteamFriends_SteamFriends017_SetListenForFriendsMessages( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { - bool _ret; + struct cppISteamFriends_SteamFriends017_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_ReplyToFriendMessage(_this->u_iface, steamIDFriend, pchMsgToSend); - return _ret; + cppISteamFriends_SteamFriends017_ReplyToFriendMessage( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFriendMessage(_this->u_iface, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); - return _ret; + cppISteamFriends_SteamFriends017_GetFriendMessage( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_GetFollowerCount(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends017_GetFollowerCount_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetFollowerCount(_this->u_iface, steamID); - return _ret; + cppISteamFriends_SteamFriends017_GetFollowerCount( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_IsFollowing(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends017_IsFollowing_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_IsFollowing(_this->u_iface, steamID); - return _ret; + cppISteamFriends_SteamFriends017_IsFollowing( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_EnumerateFollowingList(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends017_EnumerateFollowingList_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_EnumerateFollowingList(_this->u_iface, unStartIndex); - return _ret; + cppISteamFriends_SteamFriends017_EnumerateFollowingList( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_IsClanPublic(struct w_steam_iface *_this, CSteamID steamIDClan) { - bool _ret; + struct cppISteamFriends_SteamFriends017_IsClanPublic_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_IsClanPublic(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends017_IsClanPublic( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_IsClanOfficialGameGroup(struct w_steam_iface *_this, CSteamID steamIDClan) { - bool _ret; + struct cppISteamFriends_SteamFriends017_IsClanOfficialGameGroup_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_IsClanOfficialGameGroup(_this->u_iface, steamIDClan); - return _ret; + cppISteamFriends_SteamFriends017_IsClanOfficialGameGroup( ¶ms ); + return params._ret; } int __thiscall winISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages(struct w_steam_iface *_this) { - int _ret; + struct cppISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages(_this->u_iface); - return _ret; + cppISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog(_this->u_iface, steamIDLobby); + cppISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog( ¶ms ); } bool __thiscall winISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser(struct w_steam_iface *_this, const char *pchProtocol) { - bool _ret; + struct cppISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser_params params = + { + .linux_side = _this->u_iface, + .pchProtocol = pchProtocol, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser(_this->u_iface, pchProtocol); - return _ret; + cppISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser( ¶ms ); + return params._ret; } void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString(struct w_steam_iface *_this, const char *pchConnectString) { + struct cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString_params params = + { + .linux_side = _this->u_iface, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString(_this->u_iface, pchConnectString); + cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString( ¶ms ); } SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_RequestEquippedProfileItems(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamFriends_SteamFriends017_RequestEquippedProfileItems_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_RequestEquippedProfileItems(_this->u_iface, steamID); - return _ret; + cppISteamFriends_SteamFriends017_RequestEquippedProfileItems( ¶ms ); + return params._ret; } bool __thiscall winISteamFriends_SteamFriends017_BHasEquippedProfileItem(struct w_steam_iface *_this, CSteamID steamID, ECommunityProfileItemType itemType) { - bool _ret; + struct cppISteamFriends_SteamFriends017_BHasEquippedProfileItem_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .itemType = itemType, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_BHasEquippedProfileItem(_this->u_iface, steamID, itemType); - return _ret; + cppISteamFriends_SteamFriends017_BHasEquippedProfileItem( ¶ms ); + return params._ret; } const char * __thiscall winISteamFriends_SteamFriends017_GetProfileItemPropertyString(struct w_steam_iface *_this, CSteamID steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop) { - const char * _ret; + struct cppISteamFriends_SteamFriends017_GetProfileItemPropertyString_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .itemType = itemType, + .prop = prop, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetProfileItemPropertyString(_this->u_iface, steamID, itemType, prop); - return _ret; + cppISteamFriends_SteamFriends017_GetProfileItemPropertyString( ¶ms ); + return params._ret; } uint32 __thiscall winISteamFriends_SteamFriends017_GetProfileItemPropertyUint(struct w_steam_iface *_this, CSteamID steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop) { - uint32 _ret; + struct cppISteamFriends_SteamFriends017_GetProfileItemPropertyUint_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .itemType = itemType, + .prop = prop, + }; TRACE("%p\n", _this); - _ret = cppISteamFriends_SteamFriends017_GetProfileItemPropertyUint(_this->u_iface, steamID, itemType, prop); - return _ret; + cppISteamFriends_SteamFriends017_GetProfileItemPropertyUint( ¶ms ); + return params._ret; } extern vtable_ptr winISteamFriends_SteamFriends017_vtable; diff --git a/lsteamclient/winISteamGameCoordinator.c b/lsteamclient/winISteamGameCoordinator.c index 6dff24fb..275c023a 100644 --- a/lsteamclient/winISteamGameCoordinator.c +++ b/lsteamclient/winISteamGameCoordinator.c @@ -21,26 +21,43 @@ DEFINE_THISCALL_WRAPPER(winISteamGameCoordinator_SteamGameCoordinator001_Retriev EGCResults __thiscall winISteamGameCoordinator_SteamGameCoordinator001_SendMessage(struct w_steam_iface *_this, uint32 unMsgType, const void *pubData, uint32 cubData) { - EGCResults _ret; + struct cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage_params params = + { + .linux_side = _this->u_iface, + .unMsgType = unMsgType, + .pubData = pubData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage(_this->u_iface, unMsgType, pubData, cubData); - return _ret; + cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage( ¶ms ); + return params._ret; } bool __thiscall winISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable(struct w_steam_iface *_this, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable_params params = + { + .linux_side = _this->u_iface, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable(_this->u_iface, pcubMsgSize); - return _ret; + cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable( ¶ms ); + return params._ret; } EGCResults __thiscall winISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage(struct w_steam_iface *_this, uint32 *punMsgType, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) { - EGCResults _ret; + struct cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage_params params = + { + .linux_side = _this->u_iface, + .punMsgType = punMsgType, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage(_this->u_iface, punMsgType, pubDest, cubDest, pcubMsgSize); - return _ret; + cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage( ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameCoordinator_SteamGameCoordinator001_vtable; diff --git a/lsteamclient/winISteamGameSearch.c b/lsteamclient/winISteamGameSearch.c index ea27be4e..474dadc2 100644 --- a/lsteamclient/winISteamGameSearch.c +++ b/lsteamclient/winISteamGameSearch.c @@ -32,114 +32,178 @@ DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_EndGame, 12) EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams(struct w_steam_iface *_this, const char *pchKeyToFind, const char *pchValuesToFind) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams_params params = + { + .linux_side = _this->u_iface, + .pchKeyToFind = pchKeyToFind, + .pchValuesToFind = pchValuesToFind, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams(_this->u_iface, pchKeyToFind, pchValuesToFind); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams( ¶ms ); + return params._ret; } EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, int nPlayerMin, int nPlayerMax) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .nPlayerMin = nPlayerMin, + .nPlayerMax = nPlayerMax, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby(_this->u_iface, steamIDLobby, nPlayerMin, nPlayerMax); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby( ¶ms ); + return params._ret; } EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo(struct w_steam_iface *_this, int nPlayerMin, int nPlayerMax) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo_params params = + { + .linux_side = _this->u_iface, + .nPlayerMin = nPlayerMin, + .nPlayerMax = nPlayerMax, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo(_this->u_iface, nPlayerMin, nPlayerMax); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo( ¶ms ); + return params._ret; } EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_AcceptGame(struct w_steam_iface *_this) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame(_this->u_iface); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame( ¶ms ); + return params._ret; } EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_DeclineGame(struct w_steam_iface *_this) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame(_this->u_iface); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame( ¶ms ); + return params._ret; } EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails(struct w_steam_iface *_this, CSteamID steamIDHost, char *pchConnectionDetails, int cubConnectionDetails) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails_params params = + { + .linux_side = _this->u_iface, + .steamIDHost = steamIDHost, + .pchConnectionDetails = pchConnectionDetails, + .cubConnectionDetails = cubConnectionDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails(_this->u_iface, steamIDHost, pchConnectionDetails, cubConnectionDetails); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails( ¶ms ); + return params._ret; } EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_EndGameSearch(struct w_steam_iface *_this) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch(_this->u_iface); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch( ¶ms ); + return params._ret; } EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams(_this->u_iface, pchKey, pchValue); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams( ¶ms ); + return params._ret; } EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails(struct w_steam_iface *_this, const char *pchConnectionDetails, int cubConnectionDetails) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails_params params = + { + .linux_side = _this->u_iface, + .pchConnectionDetails = pchConnectionDetails, + .cubConnectionDetails = cubConnectionDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails(_this->u_iface, pchConnectionDetails, cubConnectionDetails); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails( ¶ms ); + return params._ret; } EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame(struct w_steam_iface *_this, int nPlayerMin, int nPlayerMax, int nMaxTeamSize) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame_params params = + { + .linux_side = _this->u_iface, + .nPlayerMin = nPlayerMin, + .nPlayerMax = nPlayerMax, + .nMaxTeamSize = nMaxTeamSize, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame(_this->u_iface, nPlayerMin, nPlayerMax, nMaxTeamSize); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame( ¶ms ); + return params._ret; } EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart(struct w_steam_iface *_this, uint64 ullUniqueGameID) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart_params params = + { + .linux_side = _this->u_iface, + .ullUniqueGameID = ullUniqueGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart(_this->u_iface, ullUniqueGameID); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart( ¶ms ); + return params._ret; } EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame(struct w_steam_iface *_this) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame(_this->u_iface); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame( ¶ms ); + return params._ret; } EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult(struct w_steam_iface *_this, uint64 ullUniqueGameID, CSteamID steamIDPlayer, EPlayerResult_t EPlayerResult) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult_params params = + { + .linux_side = _this->u_iface, + .ullUniqueGameID = ullUniqueGameID, + .steamIDPlayer = steamIDPlayer, + .EPlayerResult = EPlayerResult, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult(_this->u_iface, ullUniqueGameID, steamIDPlayer, EPlayerResult); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult( ¶ms ); + return params._ret; } EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_EndGame(struct w_steam_iface *_this, uint64 ullUniqueGameID) { - EGameSearchErrorCode_t _ret; + struct cppISteamGameSearch_SteamMatchGameSearch001_EndGame_params params = + { + .linux_side = _this->u_iface, + .ullUniqueGameID = ullUniqueGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameSearch_SteamMatchGameSearch001_EndGame(_this->u_iface, ullUniqueGameID); - return _ret; + cppISteamGameSearch_SteamMatchGameSearch001_EndGame( ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameSearch_SteamMatchGameSearch001_vtable; diff --git a/lsteamclient/winISteamGameServer.c b/lsteamclient/winISteamGameServer.c index aacbba30..1a63048e 100644 --- a/lsteamclient/winISteamGameServer.c +++ b/lsteamclient/winISteamGameServer.c @@ -39,159 +39,292 @@ DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetGameType, 8) void __thiscall winISteamGameServer_SteamGameServer002_LogOn(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer002_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer002_LogOn(_this->u_iface); + cppISteamGameServer_SteamGameServer002_LogOn( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer002_LogOff(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer002_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer002_LogOff(_this->u_iface); + cppISteamGameServer_SteamGameServer002_LogOff( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer002_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_BLoggedOn(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer002_BLoggedOn( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer002_GSSetSpawnCount(struct w_steam_iface *_this, uint32 ucSpawn) { + struct cppISteamGameServer_SteamGameServer002_GSSetSpawnCount_params params = + { + .linux_side = _this->u_iface, + .ucSpawn = ucSpawn, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer002_GSSetSpawnCount(_this->u_iface, ucSpawn); + cppISteamGameServer_SteamGameServer002_GSSetSpawnCount( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient(struct w_steam_iface *_this, void *pvEncryptionKey, uint32 *pcbEncryptionKey, uint32 cbMaxEncryptionKey) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient_params params = + { + .linux_side = _this->u_iface, + .pvEncryptionKey = pvEncryptionKey, + .pcbEncryptionKey = pcbEncryptionKey, + .cbMaxEncryptionKey = cbMaxEncryptionKey, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient(_this->u_iface, pvEncryptionKey, pcbEncryptionKey, cbMaxEncryptionKey); - return _ret; + cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect(struct w_steam_iface *_this, uint32 unUserID, const void *pvRawKey, uint32 unKeyLen, uint32 unIPPublic, uint16 usPort, const void *pvCookie, uint32 cubCookie) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect_params params = + { + .linux_side = _this->u_iface, + .unUserID = unUserID, + .pvRawKey = pvRawKey, + .unKeyLen = unKeyLen, + .unIPPublic = unIPPublic, + .usPort = usPort, + .pvCookie = pvCookie, + .cubCookie = cubCookie, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect(_this->u_iface, unUserID, pvRawKey, unKeyLen, unIPPublic, usPort, pvCookie, cubCookie); - return _ret; + cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect(struct w_steam_iface *_this, CSteamID steamID, uint32 unIPPublic, const void *pvCookie, uint32 cubCookie) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .unIPPublic = unIPPublic, + .pvCookie = pvCookie, + .cubCookie = cubCookie, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect(_this->u_iface, steamID, unIPPublic, pvCookie, cubCookie); - return _ret; + cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer002_GSRemoveUserConnect(struct w_steam_iface *_this, uint32 unUserID) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect_params params = + { + .linux_side = _this->u_iface, + .unUserID = unUserID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect(_this->u_iface, unUserID); - return _ret; + cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer002_GSSendUserDisconnect(struct w_steam_iface *_this, CSteamID steamID, uint32 unUserID) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .unUserID = unUserID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect(_this->u_iface, steamID, unUserID); - return _ret; + cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer002_GSSendUserStatusResponse(struct w_steam_iface *_this, CSteamID steamID, int nSecondsConnected, int nSecondsSinceLast) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .nSecondsConnected = nSecondsConnected, + .nSecondsSinceLast = nSecondsSinceLast, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse(_this->u_iface, steamID, nSecondsConnected, nSecondsSinceLast); - return _ret; + cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus(struct w_steam_iface *_this, int32 nAppIdServed, uint32 unServerFlags, int cPlayers, int cPlayersMax, int cBotPlayers, int unGamePort, const char *pchServerName, const char *pchGameDir, const char *pchMapName, const char *pchVersion) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus_params params = + { + .linux_side = _this->u_iface, + .nAppIdServed = nAppIdServed, + .unServerFlags = unServerFlags, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .unGamePort = unGamePort, + .pchServerName = pchServerName, + .pchGameDir = pchGameDir, + .pchMapName = pchMapName, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus(_this->u_iface, nAppIdServed, unServerFlags, cPlayers, cPlayersMax, cBotPlayers, unGamePort, pchServerName, pchGameDir, pchMapName, pchVersion); - return _ret; + cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer002_GSUpdateStatus(struct w_steam_iface *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pchMapName) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_GSUpdateStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_GSUpdateStatus(_this->u_iface, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pchMapName); - return _ret; + cppISteamGameServer_SteamGameServer002_GSUpdateStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer002_BSecure(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_BSecure(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer002_BSecure( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer002_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer002_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer002_GetSteamID(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer002_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer002_GSSetServerType(struct w_steam_iface *_this, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint32 unGamePort, const char *pchGameDir, const char *pchVersion) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_GSSetServerType_params params = + { + .linux_side = _this->u_iface, + .nGameAppId = nGameAppId, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_GSSetServerType(_this->u_iface, nGameAppId, unServerFlags, unGameIP, unGamePort, pchGameDir, pchVersion); - return _ret; + cppISteamGameServer_SteamGameServer002_GSSetServerType( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer002_GSSetServerType2(struct w_steam_iface *_this, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_GSSetServerType2_params params = + { + .linux_side = _this->u_iface, + .nGameAppId = nGameAppId, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_GSSetServerType2(_this->u_iface, nGameAppId, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); - return _ret; + cppISteamGameServer_SteamGameServer002_GSSetServerType2( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer002_GSUpdateStatus2(struct w_steam_iface *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_GSUpdateStatus2_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_GSUpdateStatus2(_this->u_iface, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); - return _ret; + cppISteamGameServer_SteamGameServer002_GSUpdateStatus2( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser(struct w_steam_iface *_this, CSteamID *pSteamID) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser_params params = + { + .linux_side = _this->u_iface, + .pSteamID = pSteamID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser(_this->u_iface, pSteamID); - return _ret; + cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer002_GSSetUserData(struct w_steam_iface *_this, CSteamID steamID, const char *pPlayerName, uint32 nFrags) { - bool _ret; + struct cppISteamGameServer_SteamGameServer002_GSSetUserData_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pPlayerName = pPlayerName, + .nFrags = nFrags, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer002_GSSetUserData(_this->u_iface, steamID, pPlayerName, nFrags); - return _ret; + cppISteamGameServer_SteamGameServer002_GSSetUserData( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort(struct w_steam_iface *_this, uint16 unSpectatorPort) { + struct cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort(_this->u_iface, unSpectatorPort); + cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer002_GSSetGameType(struct w_steam_iface *_this, const char *pchType) { + struct cppISteamGameServer_SteamGameServer002_GSSetGameType_params params = + { + .linux_side = _this->u_iface, + .pchType = pchType, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer002_GSSetGameType(_this->u_iface, pchType); + cppISteamGameServer_SteamGameServer002_GSSetGameType( ¶ms ); } extern vtable_ptr winISteamGameServer_SteamGameServer002_vtable; @@ -257,127 +390,220 @@ DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSGetUserAchievem void __thiscall winISteamGameServer_SteamGameServer003_LogOn(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer003_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer003_LogOn(_this->u_iface); + cppISteamGameServer_SteamGameServer003_LogOn( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer003_LogOff(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer003_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer003_LogOff(_this->u_iface); + cppISteamGameServer_SteamGameServer003_LogOff( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer003_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer003_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer003_BLoggedOn(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer003_BLoggedOn( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer003_BSecure(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer003_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer003_BSecure(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer003_BSecure( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer003_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer003_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer003_GetSteamID(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer003_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient(struct w_steam_iface *_this, void *pvEncryptionKey, uint32 *pcbEncryptionKey, uint32 cbMaxEncryptionKey) { - bool _ret; + struct cppISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient_params params = + { + .linux_side = _this->u_iface, + .pvEncryptionKey = pvEncryptionKey, + .pcbEncryptionKey = pcbEncryptionKey, + .cbMaxEncryptionKey = cbMaxEncryptionKey, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient(_this->u_iface, pvEncryptionKey, pcbEncryptionKey, cbMaxEncryptionKey); - return _ret; + cppISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer003_GSSendUserConnect(struct w_steam_iface *_this, uint32 unUserID, uint32 unIPPublic, uint16 usPort, const void *pvCookie, uint32 cubCookie) { - bool _ret; + struct cppISteamGameServer_SteamGameServer003_GSSendUserConnect_params params = + { + .linux_side = _this->u_iface, + .unUserID = unUserID, + .unIPPublic = unIPPublic, + .usPort = usPort, + .pvCookie = pvCookie, + .cubCookie = cubCookie, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer003_GSSendUserConnect(_this->u_iface, unUserID, unIPPublic, usPort, pvCookie, cubCookie); - return _ret; + cppISteamGameServer_SteamGameServer003_GSSendUserConnect( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer003_GSRemoveUserConnect(struct w_steam_iface *_this, uint32 unUserID) { - bool _ret; + struct cppISteamGameServer_SteamGameServer003_GSRemoveUserConnect_params params = + { + .linux_side = _this->u_iface, + .unUserID = unUserID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer003_GSRemoveUserConnect(_this->u_iface, unUserID); - return _ret; + cppISteamGameServer_SteamGameServer003_GSRemoveUserConnect( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer003_GSSendUserDisconnect(struct w_steam_iface *_this, CSteamID steamID, uint32 unUserID) { - bool _ret; + struct cppISteamGameServer_SteamGameServer003_GSSendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .unUserID = unUserID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer003_GSSendUserDisconnect(_this->u_iface, steamID, unUserID); - return _ret; + cppISteamGameServer_SteamGameServer003_GSSendUserDisconnect( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer003_GSSetSpawnCount(struct w_steam_iface *_this, uint32 ucSpawn) { + struct cppISteamGameServer_SteamGameServer003_GSSetSpawnCount_params params = + { + .linux_side = _this->u_iface, + .ucSpawn = ucSpawn, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer003_GSSetSpawnCount(_this->u_iface, ucSpawn); + cppISteamGameServer_SteamGameServer003_GSSetSpawnCount( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer003_GSSetServerType(struct w_steam_iface *_this, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) { - bool _ret; + struct cppISteamGameServer_SteamGameServer003_GSSetServerType_params params = + { + .linux_side = _this->u_iface, + .nGameAppId = nGameAppId, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer003_GSSetServerType(_this->u_iface, nGameAppId, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); - return _ret; + cppISteamGameServer_SteamGameServer003_GSSetServerType( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer003_GSUpdateStatus(struct w_steam_iface *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { - bool _ret; + struct cppISteamGameServer_SteamGameServer003_GSUpdateStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer003_GSUpdateStatus(_this->u_iface, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); - return _ret; + cppISteamGameServer_SteamGameServer003_GSUpdateStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser(struct w_steam_iface *_this, CSteamID *pSteamID) { - bool _ret; + struct cppISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser_params params = + { + .linux_side = _this->u_iface, + .pSteamID = pSteamID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser(_this->u_iface, pSteamID); - return _ret; + cppISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer003_GSSetUserData(struct w_steam_iface *_this, CSteamID steamID, const char *pPlayerName, uint32 nFrags) { - bool _ret; + struct cppISteamGameServer_SteamGameServer003_GSSetUserData_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pPlayerName = pPlayerName, + .nFrags = nFrags, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer003_GSSetUserData(_this->u_iface, steamID, pPlayerName, nFrags); - return _ret; + cppISteamGameServer_SteamGameServer003_GSSetUserData( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort(struct w_steam_iface *_this, uint16 unSpectatorPort) { + struct cppISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort(_this->u_iface, unSpectatorPort); + cppISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer003_GSSetGameType(struct w_steam_iface *_this, const char *pchType) { + struct cppISteamGameServer_SteamGameServer003_GSSetGameType_params params = + { + .linux_side = _this->u_iface, + .pchType = pchType, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer003_GSSetGameType(_this->u_iface, pchType); + cppISteamGameServer_SteamGameServer003_GSSetGameType( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus(struct w_steam_iface *_this, CSteamID steamID, const char *pchAchievementName) { - bool _ret; + struct cppISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pchAchievementName = pchAchievementName, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus(_this->u_iface, steamID, pchAchievementName); - return _ret; + cppISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus( ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameServer_SteamGameServer003_vtable; @@ -436,98 +662,178 @@ DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_BGetUserAchieveme void __thiscall winISteamGameServer_SteamGameServer004_LogOn(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer004_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_LogOn(_this->u_iface); + cppISteamGameServer_SteamGameServer004_LogOn( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer004_LogOff(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer004_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_LogOff(_this->u_iface); + cppISteamGameServer_SteamGameServer004_LogOff( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer004_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer004_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer004_BLoggedOn(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer004_BLoggedOn( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer004_BSecure(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer004_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer004_BSecure(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer004_BSecure( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer004_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer004_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer004_GetSteamID(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer004_GetSteamID( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, CSteamID steamIDUser, uint32 unIPClient, void *pvAuthBlob, uint32 cubAuthBlobSize) { + struct cppISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate(_this->u_iface, steamIDUser, unIPClient, pvAuthBlob, cubAuthBlobSize); + cppISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate( ¶ms ); } CSteamID * __thiscall winISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer004_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct cppISteamGameServer_SteamGameServer004_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_SendUserDisconnect(_this->u_iface, steamIDUser); + cppISteamGameServer_SteamGameServer004_SendUserDisconnect( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer004_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) { - bool _ret; + struct cppISteamGameServer_SteamGameServer004_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer004_BUpdateUserData(_this->u_iface, steamIDUser, pchPlayerName, uScore); - return _ret; + cppISteamGameServer_SteamGameServer004_BUpdateUserData( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer004_BSetServerType(struct w_steam_iface *_this, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) { - bool _ret; + struct cppISteamGameServer_SteamGameServer004_BSetServerType_params params = + { + .linux_side = _this->u_iface, + .nGameAppId = nGameAppId, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer004_BSetServerType(_this->u_iface, nGameAppId, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); - return _ret; + cppISteamGameServer_SteamGameServer004_BSetServerType( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer004_UpdateServerStatus(struct w_steam_iface *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { + struct cppISteamGameServer_SteamGameServer004_UpdateServerStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_UpdateServerStatus(_this->u_iface, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); + cppISteamGameServer_SteamGameServer004_UpdateServerStatus( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer004_UpdateSpectatorPort(struct w_steam_iface *_this, uint16 unSpectatorPort) { + struct cppISteamGameServer_SteamGameServer004_UpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_UpdateSpectatorPort(_this->u_iface, unSpectatorPort); + cppISteamGameServer_SteamGameServer004_UpdateSpectatorPort( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer004_SetGameType(struct w_steam_iface *_this, const char *pchGameType) { + struct cppISteamGameServer_SteamGameServer004_SetGameType_params params = + { + .linux_side = _this->u_iface, + .pchGameType = pchGameType, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_SetGameType(_this->u_iface, pchGameType); + cppISteamGameServer_SteamGameServer004_SetGameType( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer004_BGetUserAchievementStatus(struct w_steam_iface *_this, CSteamID steamID, const char *pchAchievementName) { - bool _ret; + struct cppISteamGameServer_SteamGameServer004_BGetUserAchievementStatus_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pchAchievementName = pchAchievementName, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer004_BGetUserAchievementStatus(_this->u_iface, steamID, pchAchievementName); - return _ret; + cppISteamGameServer_SteamGameServer004_BGetUserAchievementStatus( ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameServer_SteamGameServer004_vtable; @@ -583,100 +889,178 @@ DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_BGetUserAchieveme void __thiscall winISteamGameServer_SteamGameServer005_LogOn(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer005_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer005_LogOn(_this->u_iface); + cppISteamGameServer_SteamGameServer005_LogOn( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer005_LogOff(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer005_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer005_LogOff(_this->u_iface); + cppISteamGameServer_SteamGameServer005_LogOff( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer005_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer005_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer005_BLoggedOn(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer005_BLoggedOn( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer005_BSecure(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer005_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer005_BSecure(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer005_BSecure( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer005_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer005_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer005_GetSteamID(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer005_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) { - bool _ret; + struct cppISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate(_this->u_iface, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); - return _ret; + cppISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer005_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct cppISteamGameServer_SteamGameServer005_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer005_SendUserDisconnect(_this->u_iface, steamIDUser); + cppISteamGameServer_SteamGameServer005_SendUserDisconnect( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer005_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) { - bool _ret; + struct cppISteamGameServer_SteamGameServer005_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer005_BUpdateUserData(_this->u_iface, steamIDUser, pchPlayerName, uScore); - return _ret; + cppISteamGameServer_SteamGameServer005_BUpdateUserData( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer005_BSetServerType(struct w_steam_iface *_this, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) { - bool _ret; + struct cppISteamGameServer_SteamGameServer005_BSetServerType_params params = + { + .linux_side = _this->u_iface, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer005_BSetServerType(_this->u_iface, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); - return _ret; + cppISteamGameServer_SteamGameServer005_BSetServerType( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer005_UpdateServerStatus(struct w_steam_iface *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { + struct cppISteamGameServer_SteamGameServer005_UpdateServerStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer005_UpdateServerStatus(_this->u_iface, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); + cppISteamGameServer_SteamGameServer005_UpdateServerStatus( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer005_UpdateSpectatorPort(struct w_steam_iface *_this, uint16 unSpectatorPort) { + struct cppISteamGameServer_SteamGameServer005_UpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer005_UpdateSpectatorPort(_this->u_iface, unSpectatorPort); + cppISteamGameServer_SteamGameServer005_UpdateSpectatorPort( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer005_SetGameType(struct w_steam_iface *_this, const char *pchGameType) { + struct cppISteamGameServer_SteamGameServer005_SetGameType_params params = + { + .linux_side = _this->u_iface, + .pchGameType = pchGameType, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer005_SetGameType(_this->u_iface, pchGameType); + cppISteamGameServer_SteamGameServer005_SetGameType( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer005_BGetUserAchievementStatus(struct w_steam_iface *_this, CSteamID steamID, const char *pchAchievementName) { - bool _ret; + struct cppISteamGameServer_SteamGameServer005_BGetUserAchievementStatus_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pchAchievementName = pchAchievementName, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer005_BGetUserAchievementStatus(_this->u_iface, steamID, pchAchievementName); - return _ret; + cppISteamGameServer_SteamGameServer005_BGetUserAchievementStatus( ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameServer_SteamGameServer005_vtable; @@ -735,122 +1119,212 @@ DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_GetPublicIP, 4) void __thiscall winISteamGameServer_SteamGameServer008_LogOn(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer008_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_LogOn(_this->u_iface); + cppISteamGameServer_SteamGameServer008_LogOn( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer008_LogOff(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer008_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_LogOff(_this->u_iface); + cppISteamGameServer_SteamGameServer008_LogOff( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer008_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer008_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer008_BLoggedOn(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer008_BLoggedOn( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer008_BSecure(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer008_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer008_BSecure(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer008_BSecure( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer008_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer008_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer008_GetSteamID(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer008_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) { - bool _ret; + struct cppISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate(_this->u_iface, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); - return _ret; + cppISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer008_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct cppISteamGameServer_SteamGameServer008_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_SendUserDisconnect(_this->u_iface, steamIDUser); + cppISteamGameServer_SteamGameServer008_SendUserDisconnect( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer008_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) { - bool _ret; + struct cppISteamGameServer_SteamGameServer008_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer008_BUpdateUserData(_this->u_iface, steamIDUser, pchPlayerName, uScore); - return _ret; + cppISteamGameServer_SteamGameServer008_BUpdateUserData( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer008_BSetServerType(struct w_steam_iface *_this, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) { - bool _ret; + struct cppISteamGameServer_SteamGameServer008_BSetServerType_params params = + { + .linux_side = _this->u_iface, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer008_BSetServerType(_this->u_iface, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); - return _ret; + cppISteamGameServer_SteamGameServer008_BSetServerType( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer008_UpdateServerStatus(struct w_steam_iface *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { + struct cppISteamGameServer_SteamGameServer008_UpdateServerStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_UpdateServerStatus(_this->u_iface, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); + cppISteamGameServer_SteamGameServer008_UpdateServerStatus( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer008_UpdateSpectatorPort(struct w_steam_iface *_this, uint16 unSpectatorPort) { + struct cppISteamGameServer_SteamGameServer008_UpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_UpdateSpectatorPort(_this->u_iface, unSpectatorPort); + cppISteamGameServer_SteamGameServer008_UpdateSpectatorPort( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer008_SetGameType(struct w_steam_iface *_this, const char *pchGameType) { + struct cppISteamGameServer_SteamGameServer008_SetGameType_params params = + { + .linux_side = _this->u_iface, + .pchGameType = pchGameType, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_SetGameType(_this->u_iface, pchGameType); + cppISteamGameServer_SteamGameServer008_SetGameType( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer008_BGetUserAchievementStatus(struct w_steam_iface *_this, CSteamID steamID, const char *pchAchievementName) { - bool _ret; + struct cppISteamGameServer_SteamGameServer008_BGetUserAchievementStatus_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pchAchievementName = pchAchievementName, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer008_BGetUserAchievementStatus(_this->u_iface, steamID, pchAchievementName); - return _ret; + cppISteamGameServer_SteamGameServer008_BGetUserAchievementStatus( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer008_GetGameplayStats(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer008_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_GetGameplayStats(_this->u_iface); + cppISteamGameServer_SteamGameServer008_GetGameplayStats( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer008_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { - bool _ret; + struct cppISteamGameServer_SteamGameServer008_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer008_RequestUserGroupStatus(_this->u_iface, steamIDUser, steamIDGroup); - return _ret; + cppISteamGameServer_SteamGameServer008_RequestUserGroupStatus( ¶ms ); + return params._ret; } uint32 __thiscall winISteamGameServer_SteamGameServer008_GetPublicIP(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamGameServer_SteamGameServer008_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer008_GetPublicIP(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer008_GetPublicIP( ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameServer_SteamGameServer008_vtable; @@ -914,136 +1388,236 @@ DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_UserHasLicenseFor void __thiscall winISteamGameServer_SteamGameServer009_LogOn(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer009_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_LogOn(_this->u_iface); + cppISteamGameServer_SteamGameServer009_LogOn( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer009_LogOff(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer009_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_LogOff(_this->u_iface); + cppISteamGameServer_SteamGameServer009_LogOff( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer009_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer009_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer009_BLoggedOn(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer009_BLoggedOn( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer009_BSecure(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer009_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer009_BSecure(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer009_BSecure( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer009_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer009_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer009_GetSteamID(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer009_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) { - bool _ret; + struct cppISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate(_this->u_iface, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); - return _ret; + cppISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer009_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct cppISteamGameServer_SteamGameServer009_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_SendUserDisconnect(_this->u_iface, steamIDUser); + cppISteamGameServer_SteamGameServer009_SendUserDisconnect( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer009_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) { - bool _ret; + struct cppISteamGameServer_SteamGameServer009_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer009_BUpdateUserData(_this->u_iface, steamIDUser, pchPlayerName, uScore); - return _ret; + cppISteamGameServer_SteamGameServer009_BUpdateUserData( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer009_BSetServerType(struct w_steam_iface *_this, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) { - bool _ret; + struct cppISteamGameServer_SteamGameServer009_BSetServerType_params params = + { + .linux_side = _this->u_iface, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer009_BSetServerType(_this->u_iface, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); - return _ret; + cppISteamGameServer_SteamGameServer009_BSetServerType( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer009_UpdateServerStatus(struct w_steam_iface *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { + struct cppISteamGameServer_SteamGameServer009_UpdateServerStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_UpdateServerStatus(_this->u_iface, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); + cppISteamGameServer_SteamGameServer009_UpdateServerStatus( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer009_UpdateSpectatorPort(struct w_steam_iface *_this, uint16 unSpectatorPort) { + struct cppISteamGameServer_SteamGameServer009_UpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_UpdateSpectatorPort(_this->u_iface, unSpectatorPort); + cppISteamGameServer_SteamGameServer009_UpdateSpectatorPort( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer009_SetGameType(struct w_steam_iface *_this, const char *pchGameType) { + struct cppISteamGameServer_SteamGameServer009_SetGameType_params params = + { + .linux_side = _this->u_iface, + .pchGameType = pchGameType, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_SetGameType(_this->u_iface, pchGameType); + cppISteamGameServer_SteamGameServer009_SetGameType( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer009_BGetUserAchievementStatus(struct w_steam_iface *_this, CSteamID steamID, const char *pchAchievementName) { - bool _ret; + struct cppISteamGameServer_SteamGameServer009_BGetUserAchievementStatus_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pchAchievementName = pchAchievementName, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer009_BGetUserAchievementStatus(_this->u_iface, steamID, pchAchievementName); - return _ret; + cppISteamGameServer_SteamGameServer009_BGetUserAchievementStatus( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer009_GetGameplayStats(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer009_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_GetGameplayStats(_this->u_iface); + cppISteamGameServer_SteamGameServer009_GetGameplayStats( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer009_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { - bool _ret; + struct cppISteamGameServer_SteamGameServer009_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer009_RequestUserGroupStatus(_this->u_iface, steamIDUser, steamIDGroup); - return _ret; + cppISteamGameServer_SteamGameServer009_RequestUserGroupStatus( ¶ms ); + return params._ret; } uint32 __thiscall winISteamGameServer_SteamGameServer009_GetPublicIP(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamGameServer_SteamGameServer009_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer009_GetPublicIP(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer009_GetPublicIP( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer009_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct cppISteamGameServer_SteamGameServer009_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_SetGameData(_this->u_iface, pchGameData); + cppISteamGameServer_SteamGameServer009_SetGameData( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer009_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamGameServer_SteamGameServer009_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer009_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamGameServer_SteamGameServer009_UserHasLicenseForApp( ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameServer_SteamGameServer009_vtable; @@ -1113,164 +1687,284 @@ DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_CancelAuthTicket, void __thiscall winISteamGameServer_SteamGameServer010_LogOn(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer010_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_LogOn(_this->u_iface); + cppISteamGameServer_SteamGameServer010_LogOn( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer010_LogOff(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer010_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_LogOff(_this->u_iface); + cppISteamGameServer_SteamGameServer010_LogOff( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer010_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer010_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer010_BLoggedOn(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer010_BLoggedOn( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer010_BSecure(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer010_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer010_BSecure(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer010_BSecure( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer010_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer010_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer010_GetSteamID(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer010_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) { - bool _ret; + struct cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate(_this->u_iface, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); - return _ret; + cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer010_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct cppISteamGameServer_SteamGameServer010_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_SendUserDisconnect(_this->u_iface, steamIDUser); + cppISteamGameServer_SteamGameServer010_SendUserDisconnect( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer010_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) { - bool _ret; + struct cppISteamGameServer_SteamGameServer010_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer010_BUpdateUserData(_this->u_iface, steamIDUser, pchPlayerName, uScore); - return _ret; + cppISteamGameServer_SteamGameServer010_BUpdateUserData( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer010_BSetServerType(struct w_steam_iface *_this, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode) { - bool _ret; + struct cppISteamGameServer_SteamGameServer010_BSetServerType_params params = + { + .linux_side = _this->u_iface, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer010_BSetServerType(_this->u_iface, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); - return _ret; + cppISteamGameServer_SteamGameServer010_BSetServerType( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer010_UpdateServerStatus(struct w_steam_iface *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { + struct cppISteamGameServer_SteamGameServer010_UpdateServerStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_UpdateServerStatus(_this->u_iface, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); + cppISteamGameServer_SteamGameServer010_UpdateServerStatus( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer010_UpdateSpectatorPort(struct w_steam_iface *_this, uint16 unSpectatorPort) { + struct cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort(_this->u_iface, unSpectatorPort); + cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer010_SetGameTags(struct w_steam_iface *_this, const char *pchGameTags) { + struct cppISteamGameServer_SteamGameServer010_SetGameTags_params params = + { + .linux_side = _this->u_iface, + .pchGameTags = pchGameTags, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_SetGameTags(_this->u_iface, pchGameTags); + cppISteamGameServer_SteamGameServer010_SetGameTags( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer010_GetGameplayStats(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer010_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_GetGameplayStats(_this->u_iface); + cppISteamGameServer_SteamGameServer010_GetGameplayStats( ¶ms ); } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer010_GetServerReputation(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer010_GetServerReputation_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer010_GetServerReputation(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer010_GetServerReputation( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer010_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { - bool _ret; + struct cppISteamGameServer_SteamGameServer010_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer010_RequestUserGroupStatus(_this->u_iface, steamIDUser, steamIDGroup); - return _ret; + cppISteamGameServer_SteamGameServer010_RequestUserGroupStatus( ¶ms ); + return params._ret; } uint32 __thiscall winISteamGameServer_SteamGameServer010_GetPublicIP(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamGameServer_SteamGameServer010_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer010_GetPublicIP(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer010_GetPublicIP( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer010_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct cppISteamGameServer_SteamGameServer010_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_SetGameData(_this->u_iface, pchGameData); + cppISteamGameServer_SteamGameServer010_SetGameData( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer010_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamGameServer_SteamGameServer010_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer010_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamGameServer_SteamGameServer010_UserHasLicenseForApp( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamGameServer_SteamGameServer010_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer010_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamGameServer_SteamGameServer010_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer010_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamGameServer_SteamGameServer010_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer010_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamGameServer_SteamGameServer010_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_EndAuthSession(_this->u_iface, steamID); + cppISteamGameServer_SteamGameServer010_EndAuthSession( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer010_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamGameServer_SteamGameServer010_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamGameServer_SteamGameServer010_CancelAuthTicket( ¶ms ); } extern vtable_ptr winISteamGameServer_SteamGameServer010_vtable; @@ -1365,300 +2059,518 @@ DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_ComputeNewPlayerC bool __thiscall winISteamGameServer_SteamGameServer011_InitGameServer(struct w_steam_iface *_this, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char *pchVersionString) { - bool _ret; + struct cppISteamGameServer_SteamGameServer011_InitGameServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usGamePort = usGamePort, + .usQueryPort = usQueryPort, + .unFlags = unFlags, + .nGameAppId = nGameAppId, + .pchVersionString = pchVersionString, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_InitGameServer(_this->u_iface, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); - return _ret; + cppISteamGameServer_SteamGameServer011_InitGameServer( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer011_SetProduct(struct w_steam_iface *_this, const char *pszProduct) { + struct cppISteamGameServer_SteamGameServer011_SetProduct_params params = + { + .linux_side = _this->u_iface, + .pszProduct = pszProduct, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetProduct(_this->u_iface, pszProduct); + cppISteamGameServer_SteamGameServer011_SetProduct( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetGameDescription(struct w_steam_iface *_this, const char *pszGameDescription) { + struct cppISteamGameServer_SteamGameServer011_SetGameDescription_params params = + { + .linux_side = _this->u_iface, + .pszGameDescription = pszGameDescription, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetGameDescription(_this->u_iface, pszGameDescription); + cppISteamGameServer_SteamGameServer011_SetGameDescription( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetModDir(struct w_steam_iface *_this, const char *pszModDir) { + struct cppISteamGameServer_SteamGameServer011_SetModDir_params params = + { + .linux_side = _this->u_iface, + .pszModDir = pszModDir, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetModDir(_this->u_iface, pszModDir); + cppISteamGameServer_SteamGameServer011_SetModDir( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetDedicatedServer(struct w_steam_iface *_this, bool bDedicated) { + struct cppISteamGameServer_SteamGameServer011_SetDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .bDedicated = bDedicated, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetDedicatedServer(_this->u_iface, bDedicated); + cppISteamGameServer_SteamGameServer011_SetDedicatedServer( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_LogOn(struct w_steam_iface *_this, const char *pszAccountName, const char *pszPassword) { + struct cppISteamGameServer_SteamGameServer011_LogOn_params params = + { + .linux_side = _this->u_iface, + .pszAccountName = pszAccountName, + .pszPassword = pszPassword, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_LogOn(_this->u_iface, pszAccountName, pszPassword); + cppISteamGameServer_SteamGameServer011_LogOn( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_LogOnAnonymous(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer011_LogOnAnonymous_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_LogOnAnonymous(_this->u_iface); + cppISteamGameServer_SteamGameServer011_LogOnAnonymous( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_LogOff(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer011_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_LogOff(_this->u_iface); + cppISteamGameServer_SteamGameServer011_LogOff( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer011_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer011_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_BLoggedOn(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer011_BLoggedOn( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer011_BSecure(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer011_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_BSecure(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer011_BSecure( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer011_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer011_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer011_GetSteamID(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer011_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer011_WasRestartRequested(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer011_WasRestartRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_WasRestartRequested(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer011_WasRestartRequested( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer011_SetMaxPlayerCount(struct w_steam_iface *_this, int cPlayersMax) { + struct cppISteamGameServer_SteamGameServer011_SetMaxPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cPlayersMax = cPlayersMax, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetMaxPlayerCount(_this->u_iface, cPlayersMax); + cppISteamGameServer_SteamGameServer011_SetMaxPlayerCount( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetBotPlayerCount(struct w_steam_iface *_this, int cBotplayers) { + struct cppISteamGameServer_SteamGameServer011_SetBotPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cBotplayers = cBotplayers, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetBotPlayerCount(_this->u_iface, cBotplayers); + cppISteamGameServer_SteamGameServer011_SetBotPlayerCount( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetServerName(struct w_steam_iface *_this, const char *pszServerName) { + struct cppISteamGameServer_SteamGameServer011_SetServerName_params params = + { + .linux_side = _this->u_iface, + .pszServerName = pszServerName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetServerName(_this->u_iface, pszServerName); + cppISteamGameServer_SteamGameServer011_SetServerName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetMapName(struct w_steam_iface *_this, const char *pszMapName) { + struct cppISteamGameServer_SteamGameServer011_SetMapName_params params = + { + .linux_side = _this->u_iface, + .pszMapName = pszMapName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetMapName(_this->u_iface, pszMapName); + cppISteamGameServer_SteamGameServer011_SetMapName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetPasswordProtected(struct w_steam_iface *_this, bool bPasswordProtected) { + struct cppISteamGameServer_SteamGameServer011_SetPasswordProtected_params params = + { + .linux_side = _this->u_iface, + .bPasswordProtected = bPasswordProtected, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetPasswordProtected(_this->u_iface, bPasswordProtected); + cppISteamGameServer_SteamGameServer011_SetPasswordProtected( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetSpectatorPort(struct w_steam_iface *_this, uint16 unSpectatorPort) { + struct cppISteamGameServer_SteamGameServer011_SetSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetSpectatorPort(_this->u_iface, unSpectatorPort); + cppISteamGameServer_SteamGameServer011_SetSpectatorPort( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetSpectatorServerName(struct w_steam_iface *_this, const char *pszSpectatorServerName) { + struct cppISteamGameServer_SteamGameServer011_SetSpectatorServerName_params params = + { + .linux_side = _this->u_iface, + .pszSpectatorServerName = pszSpectatorServerName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetSpectatorServerName(_this->u_iface, pszSpectatorServerName); + cppISteamGameServer_SteamGameServer011_SetSpectatorServerName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_ClearAllKeyValues(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer011_ClearAllKeyValues_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_ClearAllKeyValues(_this->u_iface); + cppISteamGameServer_SteamGameServer011_ClearAllKeyValues( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue) { + struct cppISteamGameServer_SteamGameServer011_SetKeyValue_params params = + { + .linux_side = _this->u_iface, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetKeyValue(_this->u_iface, pKey, pValue); + cppISteamGameServer_SteamGameServer011_SetKeyValue( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetGameTags(struct w_steam_iface *_this, const char *pchGameTags) { + struct cppISteamGameServer_SteamGameServer011_SetGameTags_params params = + { + .linux_side = _this->u_iface, + .pchGameTags = pchGameTags, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetGameTags(_this->u_iface, pchGameTags); + cppISteamGameServer_SteamGameServer011_SetGameTags( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct cppISteamGameServer_SteamGameServer011_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetGameData(_this->u_iface, pchGameData); + cppISteamGameServer_SteamGameServer011_SetGameData( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetRegion(struct w_steam_iface *_this, const char *pszRegion) { + struct cppISteamGameServer_SteamGameServer011_SetRegion_params params = + { + .linux_side = _this->u_iface, + .pszRegion = pszRegion, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetRegion(_this->u_iface, pszRegion); + cppISteamGameServer_SteamGameServer011_SetRegion( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) { - bool _ret; + struct cppISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate(_this->u_iface, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); - return _ret; + cppISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer011_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct cppISteamGameServer_SteamGameServer011_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SendUserDisconnect(_this->u_iface, steamIDUser); + cppISteamGameServer_SteamGameServer011_SendUserDisconnect( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer011_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) { - bool _ret; + struct cppISteamGameServer_SteamGameServer011_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_BUpdateUserData(_this->u_iface, steamIDUser, pchPlayerName, uScore); - return _ret; + cppISteamGameServer_SteamGameServer011_BUpdateUserData( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamGameServer_SteamGameServer011_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamGameServer_SteamGameServer011_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamGameServer_SteamGameServer011_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer011_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamGameServer_SteamGameServer011_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamGameServer_SteamGameServer011_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer011_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamGameServer_SteamGameServer011_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_EndAuthSession(_this->u_iface, steamID); + cppISteamGameServer_SteamGameServer011_EndAuthSession( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamGameServer_SteamGameServer011_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamGameServer_SteamGameServer011_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer011_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamGameServer_SteamGameServer011_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamGameServer_SteamGameServer011_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer011_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { - bool _ret; + struct cppISteamGameServer_SteamGameServer011_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_RequestUserGroupStatus(_this->u_iface, steamIDUser, steamIDGroup); - return _ret; + cppISteamGameServer_SteamGameServer011_RequestUserGroupStatus( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer011_GetGameplayStats(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer011_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_GetGameplayStats(_this->u_iface); + cppISteamGameServer_SteamGameServer011_GetGameplayStats( ¶ms ); } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer011_GetServerReputation(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer011_GetServerReputation_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_GetServerReputation(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer011_GetServerReputation( ¶ms ); + return params._ret; } uint32 __thiscall winISteamGameServer_SteamGameServer011_GetPublicIP(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamGameServer_SteamGameServer011_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_GetPublicIP(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer011_GetPublicIP( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer011_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int cbData, uint32 srcIP, uint16 srcPort) { - bool _ret; + struct cppISteamGameServer_SteamGameServer011_HandleIncomingPacket_params params = + { + .linux_side = _this->u_iface, + .pData = pData, + .cbData = cbData, + .srcIP = srcIP, + .srcPort = srcPort, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_HandleIncomingPacket(_this->u_iface, pData, cbData, srcIP, srcPort); - return _ret; + cppISteamGameServer_SteamGameServer011_HandleIncomingPacket( ¶ms ); + return params._ret; } int __thiscall winISteamGameServer_SteamGameServer011_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort) { - int _ret; + struct cppISteamGameServer_SteamGameServer011_GetNextOutgoingPacket_params params = + { + .linux_side = _this->u_iface, + .pOut = pOut, + .cbMaxOut = cbMaxOut, + .pNetAdr = pNetAdr, + .pPort = pPort, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_GetNextOutgoingPacket(_this->u_iface, pOut, cbMaxOut, pNetAdr, pPort); - return _ret; + cppISteamGameServer_SteamGameServer011_GetNextOutgoingPacket( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer011_EnableHeartbeats(struct w_steam_iface *_this, bool bActive) { + struct cppISteamGameServer_SteamGameServer011_EnableHeartbeats_params params = + { + .linux_side = _this->u_iface, + .bActive = bActive, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_EnableHeartbeats(_this->u_iface, bActive); + cppISteamGameServer_SteamGameServer011_EnableHeartbeats( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_SetHeartbeatInterval(struct w_steam_iface *_this, int iHeartbeatInterval) { + struct cppISteamGameServer_SteamGameServer011_SetHeartbeatInterval_params params = + { + .linux_side = _this->u_iface, + .iHeartbeatInterval = iHeartbeatInterval, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetHeartbeatInterval(_this->u_iface, iHeartbeatInterval); + cppISteamGameServer_SteamGameServer011_SetHeartbeatInterval( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer011_ForceHeartbeat(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer011_ForceHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_ForceHeartbeat(_this->u_iface); + cppISteamGameServer_SteamGameServer011_ForceHeartbeat( ¶ms ); } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer011_AssociateWithClan(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer011_AssociateWithClan_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_AssociateWithClan(_this->u_iface, steamIDClan); - return _ret; + cppISteamGameServer_SteamGameServer011_AssociateWithClan( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility(struct w_steam_iface *_this, CSteamID steamIDNewPlayer) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility_params params = + { + .linux_side = _this->u_iface, + .steamIDNewPlayer = steamIDNewPlayer, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility(_this->u_iface, steamIDNewPlayer); - return _ret; + cppISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility( ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameServer_SteamGameServer011_vtable; @@ -1774,300 +2686,517 @@ DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_ComputeNewPlayerC bool __thiscall winISteamGameServer_SteamGameServer012_InitGameServer(struct w_steam_iface *_this, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char *pchVersionString) { - bool _ret; + struct cppISteamGameServer_SteamGameServer012_InitGameServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usGamePort = usGamePort, + .usQueryPort = usQueryPort, + .unFlags = unFlags, + .nGameAppId = nGameAppId, + .pchVersionString = pchVersionString, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_InitGameServer(_this->u_iface, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); - return _ret; + cppISteamGameServer_SteamGameServer012_InitGameServer( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer012_SetProduct(struct w_steam_iface *_this, const char *pszProduct) { + struct cppISteamGameServer_SteamGameServer012_SetProduct_params params = + { + .linux_side = _this->u_iface, + .pszProduct = pszProduct, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetProduct(_this->u_iface, pszProduct); + cppISteamGameServer_SteamGameServer012_SetProduct( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetGameDescription(struct w_steam_iface *_this, const char *pszGameDescription) { + struct cppISteamGameServer_SteamGameServer012_SetGameDescription_params params = + { + .linux_side = _this->u_iface, + .pszGameDescription = pszGameDescription, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetGameDescription(_this->u_iface, pszGameDescription); + cppISteamGameServer_SteamGameServer012_SetGameDescription( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetModDir(struct w_steam_iface *_this, const char *pszModDir) { + struct cppISteamGameServer_SteamGameServer012_SetModDir_params params = + { + .linux_side = _this->u_iface, + .pszModDir = pszModDir, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetModDir(_this->u_iface, pszModDir); + cppISteamGameServer_SteamGameServer012_SetModDir( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetDedicatedServer(struct w_steam_iface *_this, bool bDedicated) { + struct cppISteamGameServer_SteamGameServer012_SetDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .bDedicated = bDedicated, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetDedicatedServer(_this->u_iface, bDedicated); + cppISteamGameServer_SteamGameServer012_SetDedicatedServer( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_LogOn(struct w_steam_iface *_this, const char *pszToken) { + struct cppISteamGameServer_SteamGameServer012_LogOn_params params = + { + .linux_side = _this->u_iface, + .pszToken = pszToken, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_LogOn(_this->u_iface, pszToken); + cppISteamGameServer_SteamGameServer012_LogOn( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_LogOnAnonymous(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer012_LogOnAnonymous_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_LogOnAnonymous(_this->u_iface); + cppISteamGameServer_SteamGameServer012_LogOnAnonymous( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_LogOff(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer012_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_LogOff(_this->u_iface); + cppISteamGameServer_SteamGameServer012_LogOff( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer012_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer012_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_BLoggedOn(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer012_BLoggedOn( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer012_BSecure(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer012_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_BSecure(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer012_BSecure( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer012_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer012_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer012_GetSteamID(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer012_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer012_WasRestartRequested(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer012_WasRestartRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_WasRestartRequested(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer012_WasRestartRequested( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer012_SetMaxPlayerCount(struct w_steam_iface *_this, int cPlayersMax) { + struct cppISteamGameServer_SteamGameServer012_SetMaxPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cPlayersMax = cPlayersMax, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetMaxPlayerCount(_this->u_iface, cPlayersMax); + cppISteamGameServer_SteamGameServer012_SetMaxPlayerCount( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetBotPlayerCount(struct w_steam_iface *_this, int cBotplayers) { + struct cppISteamGameServer_SteamGameServer012_SetBotPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cBotplayers = cBotplayers, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetBotPlayerCount(_this->u_iface, cBotplayers); + cppISteamGameServer_SteamGameServer012_SetBotPlayerCount( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetServerName(struct w_steam_iface *_this, const char *pszServerName) { + struct cppISteamGameServer_SteamGameServer012_SetServerName_params params = + { + .linux_side = _this->u_iface, + .pszServerName = pszServerName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetServerName(_this->u_iface, pszServerName); + cppISteamGameServer_SteamGameServer012_SetServerName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetMapName(struct w_steam_iface *_this, const char *pszMapName) { + struct cppISteamGameServer_SteamGameServer012_SetMapName_params params = + { + .linux_side = _this->u_iface, + .pszMapName = pszMapName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetMapName(_this->u_iface, pszMapName); + cppISteamGameServer_SteamGameServer012_SetMapName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetPasswordProtected(struct w_steam_iface *_this, bool bPasswordProtected) { + struct cppISteamGameServer_SteamGameServer012_SetPasswordProtected_params params = + { + .linux_side = _this->u_iface, + .bPasswordProtected = bPasswordProtected, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetPasswordProtected(_this->u_iface, bPasswordProtected); + cppISteamGameServer_SteamGameServer012_SetPasswordProtected( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetSpectatorPort(struct w_steam_iface *_this, uint16 unSpectatorPort) { + struct cppISteamGameServer_SteamGameServer012_SetSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetSpectatorPort(_this->u_iface, unSpectatorPort); + cppISteamGameServer_SteamGameServer012_SetSpectatorPort( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetSpectatorServerName(struct w_steam_iface *_this, const char *pszSpectatorServerName) { + struct cppISteamGameServer_SteamGameServer012_SetSpectatorServerName_params params = + { + .linux_side = _this->u_iface, + .pszSpectatorServerName = pszSpectatorServerName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetSpectatorServerName(_this->u_iface, pszSpectatorServerName); + cppISteamGameServer_SteamGameServer012_SetSpectatorServerName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_ClearAllKeyValues(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer012_ClearAllKeyValues_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_ClearAllKeyValues(_this->u_iface); + cppISteamGameServer_SteamGameServer012_ClearAllKeyValues( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue) { + struct cppISteamGameServer_SteamGameServer012_SetKeyValue_params params = + { + .linux_side = _this->u_iface, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetKeyValue(_this->u_iface, pKey, pValue); + cppISteamGameServer_SteamGameServer012_SetKeyValue( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetGameTags(struct w_steam_iface *_this, const char *pchGameTags) { + struct cppISteamGameServer_SteamGameServer012_SetGameTags_params params = + { + .linux_side = _this->u_iface, + .pchGameTags = pchGameTags, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetGameTags(_this->u_iface, pchGameTags); + cppISteamGameServer_SteamGameServer012_SetGameTags( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct cppISteamGameServer_SteamGameServer012_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetGameData(_this->u_iface, pchGameData); + cppISteamGameServer_SteamGameServer012_SetGameData( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetRegion(struct w_steam_iface *_this, const char *pszRegion) { + struct cppISteamGameServer_SteamGameServer012_SetRegion_params params = + { + .linux_side = _this->u_iface, + .pszRegion = pszRegion, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetRegion(_this->u_iface, pszRegion); + cppISteamGameServer_SteamGameServer012_SetRegion( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) { - bool _ret; + struct cppISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate(_this->u_iface, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); - return _ret; + cppISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer012_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct cppISteamGameServer_SteamGameServer012_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SendUserDisconnect(_this->u_iface, steamIDUser); + cppISteamGameServer_SteamGameServer012_SendUserDisconnect( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer012_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) { - bool _ret; + struct cppISteamGameServer_SteamGameServer012_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_BUpdateUserData(_this->u_iface, steamIDUser, pchPlayerName, uScore); - return _ret; + cppISteamGameServer_SteamGameServer012_BUpdateUserData( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamGameServer_SteamGameServer012_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamGameServer_SteamGameServer012_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamGameServer_SteamGameServer012_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer012_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamGameServer_SteamGameServer012_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamGameServer_SteamGameServer012_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer012_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamGameServer_SteamGameServer012_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_EndAuthSession(_this->u_iface, steamID); + cppISteamGameServer_SteamGameServer012_EndAuthSession( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamGameServer_SteamGameServer012_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamGameServer_SteamGameServer012_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer012_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamGameServer_SteamGameServer012_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamGameServer_SteamGameServer012_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer012_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { - bool _ret; + struct cppISteamGameServer_SteamGameServer012_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_RequestUserGroupStatus(_this->u_iface, steamIDUser, steamIDGroup); - return _ret; + cppISteamGameServer_SteamGameServer012_RequestUserGroupStatus( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer012_GetGameplayStats(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer012_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_GetGameplayStats(_this->u_iface); + cppISteamGameServer_SteamGameServer012_GetGameplayStats( ¶ms ); } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer012_GetServerReputation(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer012_GetServerReputation_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_GetServerReputation(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer012_GetServerReputation( ¶ms ); + return params._ret; } uint32 __thiscall winISteamGameServer_SteamGameServer012_GetPublicIP(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamGameServer_SteamGameServer012_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_GetPublicIP(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer012_GetPublicIP( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer012_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int cbData, uint32 srcIP, uint16 srcPort) { - bool _ret; + struct cppISteamGameServer_SteamGameServer012_HandleIncomingPacket_params params = + { + .linux_side = _this->u_iface, + .pData = pData, + .cbData = cbData, + .srcIP = srcIP, + .srcPort = srcPort, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_HandleIncomingPacket(_this->u_iface, pData, cbData, srcIP, srcPort); - return _ret; + cppISteamGameServer_SteamGameServer012_HandleIncomingPacket( ¶ms ); + return params._ret; } int __thiscall winISteamGameServer_SteamGameServer012_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort) { - int _ret; + struct cppISteamGameServer_SteamGameServer012_GetNextOutgoingPacket_params params = + { + .linux_side = _this->u_iface, + .pOut = pOut, + .cbMaxOut = cbMaxOut, + .pNetAdr = pNetAdr, + .pPort = pPort, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_GetNextOutgoingPacket(_this->u_iface, pOut, cbMaxOut, pNetAdr, pPort); - return _ret; + cppISteamGameServer_SteamGameServer012_GetNextOutgoingPacket( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer012_EnableHeartbeats(struct w_steam_iface *_this, bool bActive) { + struct cppISteamGameServer_SteamGameServer012_EnableHeartbeats_params params = + { + .linux_side = _this->u_iface, + .bActive = bActive, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_EnableHeartbeats(_this->u_iface, bActive); + cppISteamGameServer_SteamGameServer012_EnableHeartbeats( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_SetHeartbeatInterval(struct w_steam_iface *_this, int iHeartbeatInterval) { + struct cppISteamGameServer_SteamGameServer012_SetHeartbeatInterval_params params = + { + .linux_side = _this->u_iface, + .iHeartbeatInterval = iHeartbeatInterval, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetHeartbeatInterval(_this->u_iface, iHeartbeatInterval); + cppISteamGameServer_SteamGameServer012_SetHeartbeatInterval( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer012_ForceHeartbeat(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer012_ForceHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_ForceHeartbeat(_this->u_iface); + cppISteamGameServer_SteamGameServer012_ForceHeartbeat( ¶ms ); } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer012_AssociateWithClan(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer012_AssociateWithClan_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_AssociateWithClan(_this->u_iface, steamIDClan); - return _ret; + cppISteamGameServer_SteamGameServer012_AssociateWithClan( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility(struct w_steam_iface *_this, CSteamID steamIDNewPlayer) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility_params params = + { + .linux_side = _this->u_iface, + .steamIDNewPlayer = steamIDNewPlayer, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility(_this->u_iface, steamIDNewPlayer); - return _ret; + cppISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility( ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameServer_SteamGameServer012_vtable; @@ -2183,299 +3312,518 @@ DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_ComputeNewPlayerC bool __thiscall winISteamGameServer_SteamGameServer013_InitGameServer(struct w_steam_iface *_this, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char *pchVersionString) { - bool _ret; + struct cppISteamGameServer_SteamGameServer013_InitGameServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usGamePort = usGamePort, + .usQueryPort = usQueryPort, + .unFlags = unFlags, + .nGameAppId = nGameAppId, + .pchVersionString = pchVersionString, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_InitGameServer(_this->u_iface, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); - return _ret; + cppISteamGameServer_SteamGameServer013_InitGameServer( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer013_SetProduct(struct w_steam_iface *_this, const char *pszProduct) { + struct cppISteamGameServer_SteamGameServer013_SetProduct_params params = + { + .linux_side = _this->u_iface, + .pszProduct = pszProduct, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetProduct(_this->u_iface, pszProduct); + cppISteamGameServer_SteamGameServer013_SetProduct( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetGameDescription(struct w_steam_iface *_this, const char *pszGameDescription) { + struct cppISteamGameServer_SteamGameServer013_SetGameDescription_params params = + { + .linux_side = _this->u_iface, + .pszGameDescription = pszGameDescription, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetGameDescription(_this->u_iface, pszGameDescription); + cppISteamGameServer_SteamGameServer013_SetGameDescription( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetModDir(struct w_steam_iface *_this, const char *pszModDir) { + struct cppISteamGameServer_SteamGameServer013_SetModDir_params params = + { + .linux_side = _this->u_iface, + .pszModDir = pszModDir, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetModDir(_this->u_iface, pszModDir); + cppISteamGameServer_SteamGameServer013_SetModDir( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetDedicatedServer(struct w_steam_iface *_this, bool bDedicated) { + struct cppISteamGameServer_SteamGameServer013_SetDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .bDedicated = bDedicated, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetDedicatedServer(_this->u_iface, bDedicated); + cppISteamGameServer_SteamGameServer013_SetDedicatedServer( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_LogOn(struct w_steam_iface *_this, const char *pszToken) { + struct cppISteamGameServer_SteamGameServer013_LogOn_params params = + { + .linux_side = _this->u_iface, + .pszToken = pszToken, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_LogOn(_this->u_iface, pszToken); + cppISteamGameServer_SteamGameServer013_LogOn( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_LogOnAnonymous(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer013_LogOnAnonymous_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_LogOnAnonymous(_this->u_iface); + cppISteamGameServer_SteamGameServer013_LogOnAnonymous( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_LogOff(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer013_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_LogOff(_this->u_iface); + cppISteamGameServer_SteamGameServer013_LogOff( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer013_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer013_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_BLoggedOn(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer013_BLoggedOn( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer013_BSecure(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer013_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_BSecure(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer013_BSecure( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer013_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer013_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer013_GetSteamID(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer013_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer013_WasRestartRequested(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer013_WasRestartRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_WasRestartRequested(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer013_WasRestartRequested( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer013_SetMaxPlayerCount(struct w_steam_iface *_this, int cPlayersMax) { + struct cppISteamGameServer_SteamGameServer013_SetMaxPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cPlayersMax = cPlayersMax, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetMaxPlayerCount(_this->u_iface, cPlayersMax); + cppISteamGameServer_SteamGameServer013_SetMaxPlayerCount( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetBotPlayerCount(struct w_steam_iface *_this, int cBotplayers) { + struct cppISteamGameServer_SteamGameServer013_SetBotPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cBotplayers = cBotplayers, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetBotPlayerCount(_this->u_iface, cBotplayers); + cppISteamGameServer_SteamGameServer013_SetBotPlayerCount( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetServerName(struct w_steam_iface *_this, const char *pszServerName) { + struct cppISteamGameServer_SteamGameServer013_SetServerName_params params = + { + .linux_side = _this->u_iface, + .pszServerName = pszServerName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetServerName(_this->u_iface, pszServerName); + cppISteamGameServer_SteamGameServer013_SetServerName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetMapName(struct w_steam_iface *_this, const char *pszMapName) { + struct cppISteamGameServer_SteamGameServer013_SetMapName_params params = + { + .linux_side = _this->u_iface, + .pszMapName = pszMapName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetMapName(_this->u_iface, pszMapName); + cppISteamGameServer_SteamGameServer013_SetMapName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetPasswordProtected(struct w_steam_iface *_this, bool bPasswordProtected) { + struct cppISteamGameServer_SteamGameServer013_SetPasswordProtected_params params = + { + .linux_side = _this->u_iface, + .bPasswordProtected = bPasswordProtected, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetPasswordProtected(_this->u_iface, bPasswordProtected); + cppISteamGameServer_SteamGameServer013_SetPasswordProtected( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetSpectatorPort(struct w_steam_iface *_this, uint16 unSpectatorPort) { + struct cppISteamGameServer_SteamGameServer013_SetSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetSpectatorPort(_this->u_iface, unSpectatorPort); + cppISteamGameServer_SteamGameServer013_SetSpectatorPort( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetSpectatorServerName(struct w_steam_iface *_this, const char *pszSpectatorServerName) { + struct cppISteamGameServer_SteamGameServer013_SetSpectatorServerName_params params = + { + .linux_side = _this->u_iface, + .pszSpectatorServerName = pszSpectatorServerName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetSpectatorServerName(_this->u_iface, pszSpectatorServerName); + cppISteamGameServer_SteamGameServer013_SetSpectatorServerName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_ClearAllKeyValues(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer013_ClearAllKeyValues_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_ClearAllKeyValues(_this->u_iface); + cppISteamGameServer_SteamGameServer013_ClearAllKeyValues( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue) { + struct cppISteamGameServer_SteamGameServer013_SetKeyValue_params params = + { + .linux_side = _this->u_iface, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetKeyValue(_this->u_iface, pKey, pValue); + cppISteamGameServer_SteamGameServer013_SetKeyValue( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetGameTags(struct w_steam_iface *_this, const char *pchGameTags) { + struct cppISteamGameServer_SteamGameServer013_SetGameTags_params params = + { + .linux_side = _this->u_iface, + .pchGameTags = pchGameTags, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetGameTags(_this->u_iface, pchGameTags); + cppISteamGameServer_SteamGameServer013_SetGameTags( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct cppISteamGameServer_SteamGameServer013_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetGameData(_this->u_iface, pchGameData); + cppISteamGameServer_SteamGameServer013_SetGameData( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetRegion(struct w_steam_iface *_this, const char *pszRegion) { + struct cppISteamGameServer_SteamGameServer013_SetRegion_params params = + { + .linux_side = _this->u_iface, + .pszRegion = pszRegion, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetRegion(_this->u_iface, pszRegion); + cppISteamGameServer_SteamGameServer013_SetRegion( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) { - bool _ret; + struct cppISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate(_this->u_iface, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); - return _ret; + cppISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer013_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct cppISteamGameServer_SteamGameServer013_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SendUserDisconnect(_this->u_iface, steamIDUser); + cppISteamGameServer_SteamGameServer013_SendUserDisconnect( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer013_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) { - bool _ret; + struct cppISteamGameServer_SteamGameServer013_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_BUpdateUserData(_this->u_iface, steamIDUser, pchPlayerName, uScore); - return _ret; + cppISteamGameServer_SteamGameServer013_BUpdateUserData( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamGameServer_SteamGameServer013_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamGameServer_SteamGameServer013_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamGameServer_SteamGameServer013_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer013_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamGameServer_SteamGameServer013_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamGameServer_SteamGameServer013_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer013_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamGameServer_SteamGameServer013_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_EndAuthSession(_this->u_iface, steamID); + cppISteamGameServer_SteamGameServer013_EndAuthSession( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamGameServer_SteamGameServer013_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamGameServer_SteamGameServer013_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer013_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamGameServer_SteamGameServer013_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamGameServer_SteamGameServer013_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer013_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { - bool _ret; + struct cppISteamGameServer_SteamGameServer013_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_RequestUserGroupStatus(_this->u_iface, steamIDUser, steamIDGroup); - return _ret; + cppISteamGameServer_SteamGameServer013_RequestUserGroupStatus( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer013_GetGameplayStats(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer013_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_GetGameplayStats(_this->u_iface); + cppISteamGameServer_SteamGameServer013_GetGameplayStats( ¶ms ); } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer013_GetServerReputation(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer013_GetServerReputation_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_GetServerReputation(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer013_GetServerReputation( ¶ms ); + return params._ret; } SteamIPAddress_t * __thiscall winISteamGameServer_SteamGameServer013_GetPublicIP(struct w_steam_iface *_this, SteamIPAddress_t *_ret) { + struct cppISteamGameServer_SteamGameServer013_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer013_GetPublicIP(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer013_GetPublicIP( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer013_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int cbData, uint32 srcIP, uint16 srcPort) { - bool _ret; + struct cppISteamGameServer_SteamGameServer013_HandleIncomingPacket_params params = + { + .linux_side = _this->u_iface, + .pData = pData, + .cbData = cbData, + .srcIP = srcIP, + .srcPort = srcPort, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_HandleIncomingPacket(_this->u_iface, pData, cbData, srcIP, srcPort); - return _ret; + cppISteamGameServer_SteamGameServer013_HandleIncomingPacket( ¶ms ); + return params._ret; } int __thiscall winISteamGameServer_SteamGameServer013_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort) { - int _ret; + struct cppISteamGameServer_SteamGameServer013_GetNextOutgoingPacket_params params = + { + .linux_side = _this->u_iface, + .pOut = pOut, + .cbMaxOut = cbMaxOut, + .pNetAdr = pNetAdr, + .pPort = pPort, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_GetNextOutgoingPacket(_this->u_iface, pOut, cbMaxOut, pNetAdr, pPort); - return _ret; + cppISteamGameServer_SteamGameServer013_GetNextOutgoingPacket( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer013_EnableHeartbeats(struct w_steam_iface *_this, bool bActive) { + struct cppISteamGameServer_SteamGameServer013_EnableHeartbeats_params params = + { + .linux_side = _this->u_iface, + .bActive = bActive, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_EnableHeartbeats(_this->u_iface, bActive); + cppISteamGameServer_SteamGameServer013_EnableHeartbeats( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_SetHeartbeatInterval(struct w_steam_iface *_this, int iHeartbeatInterval) { + struct cppISteamGameServer_SteamGameServer013_SetHeartbeatInterval_params params = + { + .linux_side = _this->u_iface, + .iHeartbeatInterval = iHeartbeatInterval, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetHeartbeatInterval(_this->u_iface, iHeartbeatInterval); + cppISteamGameServer_SteamGameServer013_SetHeartbeatInterval( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer013_ForceHeartbeat(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer013_ForceHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_ForceHeartbeat(_this->u_iface); + cppISteamGameServer_SteamGameServer013_ForceHeartbeat( ¶ms ); } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer013_AssociateWithClan(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer013_AssociateWithClan_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_AssociateWithClan(_this->u_iface, steamIDClan); - return _ret; + cppISteamGameServer_SteamGameServer013_AssociateWithClan( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility(struct w_steam_iface *_this, CSteamID steamIDNewPlayer) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility_params params = + { + .linux_side = _this->u_iface, + .steamIDNewPlayer = steamIDNewPlayer, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility(_this->u_iface, steamIDNewPlayer); - return _ret; + cppISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility( ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameServer_SteamGameServer013_vtable; @@ -2591,299 +3939,518 @@ DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_ForceMasterServer bool __thiscall winISteamGameServer_SteamGameServer014_InitGameServer(struct w_steam_iface *_this, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char *pchVersionString) { - bool _ret; + struct cppISteamGameServer_SteamGameServer014_InitGameServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usGamePort = usGamePort, + .usQueryPort = usQueryPort, + .unFlags = unFlags, + .nGameAppId = nGameAppId, + .pchVersionString = pchVersionString, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_InitGameServer(_this->u_iface, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); - return _ret; + cppISteamGameServer_SteamGameServer014_InitGameServer( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer014_SetProduct(struct w_steam_iface *_this, const char *pszProduct) { + struct cppISteamGameServer_SteamGameServer014_SetProduct_params params = + { + .linux_side = _this->u_iface, + .pszProduct = pszProduct, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetProduct(_this->u_iface, pszProduct); + cppISteamGameServer_SteamGameServer014_SetProduct( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetGameDescription(struct w_steam_iface *_this, const char *pszGameDescription) { + struct cppISteamGameServer_SteamGameServer014_SetGameDescription_params params = + { + .linux_side = _this->u_iface, + .pszGameDescription = pszGameDescription, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetGameDescription(_this->u_iface, pszGameDescription); + cppISteamGameServer_SteamGameServer014_SetGameDescription( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetModDir(struct w_steam_iface *_this, const char *pszModDir) { + struct cppISteamGameServer_SteamGameServer014_SetModDir_params params = + { + .linux_side = _this->u_iface, + .pszModDir = pszModDir, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetModDir(_this->u_iface, pszModDir); + cppISteamGameServer_SteamGameServer014_SetModDir( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetDedicatedServer(struct w_steam_iface *_this, bool bDedicated) { + struct cppISteamGameServer_SteamGameServer014_SetDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .bDedicated = bDedicated, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetDedicatedServer(_this->u_iface, bDedicated); + cppISteamGameServer_SteamGameServer014_SetDedicatedServer( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_LogOn(struct w_steam_iface *_this, const char *pszToken) { + struct cppISteamGameServer_SteamGameServer014_LogOn_params params = + { + .linux_side = _this->u_iface, + .pszToken = pszToken, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_LogOn(_this->u_iface, pszToken); + cppISteamGameServer_SteamGameServer014_LogOn( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_LogOnAnonymous(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer014_LogOnAnonymous_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_LogOnAnonymous(_this->u_iface); + cppISteamGameServer_SteamGameServer014_LogOnAnonymous( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_LogOff(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer014_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_LogOff(_this->u_iface); + cppISteamGameServer_SteamGameServer014_LogOff( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer014_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer014_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_BLoggedOn(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer014_BLoggedOn( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer014_BSecure(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer014_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_BSecure(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer014_BSecure( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer014_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer014_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer014_GetSteamID(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer014_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer014_WasRestartRequested(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer014_WasRestartRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_WasRestartRequested(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer014_WasRestartRequested( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer014_SetMaxPlayerCount(struct w_steam_iface *_this, int cPlayersMax) { + struct cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cPlayersMax = cPlayersMax, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount(_this->u_iface, cPlayersMax); + cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetBotPlayerCount(struct w_steam_iface *_this, int cBotplayers) { + struct cppISteamGameServer_SteamGameServer014_SetBotPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cBotplayers = cBotplayers, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetBotPlayerCount(_this->u_iface, cBotplayers); + cppISteamGameServer_SteamGameServer014_SetBotPlayerCount( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetServerName(struct w_steam_iface *_this, const char *pszServerName) { + struct cppISteamGameServer_SteamGameServer014_SetServerName_params params = + { + .linux_side = _this->u_iface, + .pszServerName = pszServerName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetServerName(_this->u_iface, pszServerName); + cppISteamGameServer_SteamGameServer014_SetServerName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetMapName(struct w_steam_iface *_this, const char *pszMapName) { + struct cppISteamGameServer_SteamGameServer014_SetMapName_params params = + { + .linux_side = _this->u_iface, + .pszMapName = pszMapName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetMapName(_this->u_iface, pszMapName); + cppISteamGameServer_SteamGameServer014_SetMapName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetPasswordProtected(struct w_steam_iface *_this, bool bPasswordProtected) { + struct cppISteamGameServer_SteamGameServer014_SetPasswordProtected_params params = + { + .linux_side = _this->u_iface, + .bPasswordProtected = bPasswordProtected, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetPasswordProtected(_this->u_iface, bPasswordProtected); + cppISteamGameServer_SteamGameServer014_SetPasswordProtected( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetSpectatorPort(struct w_steam_iface *_this, uint16 unSpectatorPort) { + struct cppISteamGameServer_SteamGameServer014_SetSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetSpectatorPort(_this->u_iface, unSpectatorPort); + cppISteamGameServer_SteamGameServer014_SetSpectatorPort( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetSpectatorServerName(struct w_steam_iface *_this, const char *pszSpectatorServerName) { + struct cppISteamGameServer_SteamGameServer014_SetSpectatorServerName_params params = + { + .linux_side = _this->u_iface, + .pszSpectatorServerName = pszSpectatorServerName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetSpectatorServerName(_this->u_iface, pszSpectatorServerName); + cppISteamGameServer_SteamGameServer014_SetSpectatorServerName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_ClearAllKeyValues(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer014_ClearAllKeyValues_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_ClearAllKeyValues(_this->u_iface); + cppISteamGameServer_SteamGameServer014_ClearAllKeyValues( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue) { + struct cppISteamGameServer_SteamGameServer014_SetKeyValue_params params = + { + .linux_side = _this->u_iface, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetKeyValue(_this->u_iface, pKey, pValue); + cppISteamGameServer_SteamGameServer014_SetKeyValue( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetGameTags(struct w_steam_iface *_this, const char *pchGameTags) { + struct cppISteamGameServer_SteamGameServer014_SetGameTags_params params = + { + .linux_side = _this->u_iface, + .pchGameTags = pchGameTags, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetGameTags(_this->u_iface, pchGameTags); + cppISteamGameServer_SteamGameServer014_SetGameTags( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct cppISteamGameServer_SteamGameServer014_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetGameData(_this->u_iface, pchGameData); + cppISteamGameServer_SteamGameServer014_SetGameData( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetRegion(struct w_steam_iface *_this, const char *pszRegion) { + struct cppISteamGameServer_SteamGameServer014_SetRegion_params params = + { + .linux_side = _this->u_iface, + .pszRegion = pszRegion, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetRegion(_this->u_iface, pszRegion); + cppISteamGameServer_SteamGameServer014_SetRegion( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_SetAdvertiseServerActive(struct w_steam_iface *_this, bool bActive) { + struct cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive_params params = + { + .linux_side = _this->u_iface, + .bActive = bActive, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive(_this->u_iface, bActive); + cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive( ¶ms ); } HAuthTicket __thiscall winISteamGameServer_SteamGameServer014_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer014_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamGameServer_SteamGameServer014_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamGameServer_SteamGameServer014_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer014_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamGameServer_SteamGameServer014_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_EndAuthSession(_this->u_iface, steamID); + cppISteamGameServer_SteamGameServer014_EndAuthSession( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamGameServer_SteamGameServer014_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamGameServer_SteamGameServer014_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer014_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer014_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { - bool _ret; + struct cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus(_this->u_iface, steamIDUser, steamIDGroup); - return _ret; + cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer014_GetGameplayStats(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer014_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_GetGameplayStats(_this->u_iface); + cppISteamGameServer_SteamGameServer014_GetGameplayStats( ¶ms ); } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer014_GetServerReputation(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer014_GetServerReputation_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_GetServerReputation(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer014_GetServerReputation( ¶ms ); + return params._ret; } SteamIPAddress_t * __thiscall winISteamGameServer_SteamGameServer014_GetPublicIP(struct w_steam_iface *_this, SteamIPAddress_t *_ret) { + struct cppISteamGameServer_SteamGameServer014_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer014_GetPublicIP(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer014_GetPublicIP( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer014_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int cbData, uint32 srcIP, uint16 srcPort) { - bool _ret; + struct cppISteamGameServer_SteamGameServer014_HandleIncomingPacket_params params = + { + .linux_side = _this->u_iface, + .pData = pData, + .cbData = cbData, + .srcIP = srcIP, + .srcPort = srcPort, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_HandleIncomingPacket(_this->u_iface, pData, cbData, srcIP, srcPort); - return _ret; + cppISteamGameServer_SteamGameServer014_HandleIncomingPacket( ¶ms ); + return params._ret; } int __thiscall winISteamGameServer_SteamGameServer014_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort) { - int _ret; + struct cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket_params params = + { + .linux_side = _this->u_iface, + .pOut = pOut, + .cbMaxOut = cbMaxOut, + .pNetAdr = pNetAdr, + .pPort = pPort, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket(_this->u_iface, pOut, cbMaxOut, pNetAdr, pPort); - return _ret; + cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer014_AssociateWithClan(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer014_AssociateWithClan_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_AssociateWithClan(_this->u_iface, steamIDClan); - return _ret; + cppISteamGameServer_SteamGameServer014_AssociateWithClan( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility(struct w_steam_iface *_this, CSteamID steamIDNewPlayer) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility_params params = + { + .linux_side = _this->u_iface, + .steamIDNewPlayer = steamIDNewPlayer, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility(_this->u_iface, steamIDNewPlayer); - return _ret; + cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED(struct w_steam_iface *_this, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) { - bool _ret; + struct cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED(_this->u_iface, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); - return _ret; + cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED(_this->u_iface, steamIDUser); + cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer014_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) { - bool _ret; + struct cppISteamGameServer_SteamGameServer014_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer014_BUpdateUserData(_this->u_iface, steamIDUser, pchPlayerName, uScore); - return _ret; + cppISteamGameServer_SteamGameServer014_BUpdateUserData( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED(struct w_steam_iface *_this, int iHeartbeatInterval) { + struct cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .iHeartbeatInterval = iHeartbeatInterval, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED(_this->u_iface, iHeartbeatInterval); + cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED(_this->u_iface); + cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED( ¶ms ); } extern vtable_ptr winISteamGameServer_SteamGameServer014_vtable; @@ -2999,299 +4566,519 @@ DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_ForceMasterServer bool __thiscall winISteamGameServer_SteamGameServer015_InitGameServer(struct w_steam_iface *_this, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char *pchVersionString) { - bool _ret; + struct cppISteamGameServer_SteamGameServer015_InitGameServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usGamePort = usGamePort, + .usQueryPort = usQueryPort, + .unFlags = unFlags, + .nGameAppId = nGameAppId, + .pchVersionString = pchVersionString, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_InitGameServer(_this->u_iface, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); - return _ret; + cppISteamGameServer_SteamGameServer015_InitGameServer( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer015_SetProduct(struct w_steam_iface *_this, const char *pszProduct) { + struct cppISteamGameServer_SteamGameServer015_SetProduct_params params = + { + .linux_side = _this->u_iface, + .pszProduct = pszProduct, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetProduct(_this->u_iface, pszProduct); + cppISteamGameServer_SteamGameServer015_SetProduct( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetGameDescription(struct w_steam_iface *_this, const char *pszGameDescription) { + struct cppISteamGameServer_SteamGameServer015_SetGameDescription_params params = + { + .linux_side = _this->u_iface, + .pszGameDescription = pszGameDescription, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetGameDescription(_this->u_iface, pszGameDescription); + cppISteamGameServer_SteamGameServer015_SetGameDescription( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetModDir(struct w_steam_iface *_this, const char *pszModDir) { + struct cppISteamGameServer_SteamGameServer015_SetModDir_params params = + { + .linux_side = _this->u_iface, + .pszModDir = pszModDir, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetModDir(_this->u_iface, pszModDir); + cppISteamGameServer_SteamGameServer015_SetModDir( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetDedicatedServer(struct w_steam_iface *_this, bool bDedicated) { + struct cppISteamGameServer_SteamGameServer015_SetDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .bDedicated = bDedicated, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetDedicatedServer(_this->u_iface, bDedicated); + cppISteamGameServer_SteamGameServer015_SetDedicatedServer( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_LogOn(struct w_steam_iface *_this, const char *pszToken) { + struct cppISteamGameServer_SteamGameServer015_LogOn_params params = + { + .linux_side = _this->u_iface, + .pszToken = pszToken, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_LogOn(_this->u_iface, pszToken); + cppISteamGameServer_SteamGameServer015_LogOn( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_LogOnAnonymous(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer015_LogOnAnonymous_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_LogOnAnonymous(_this->u_iface); + cppISteamGameServer_SteamGameServer015_LogOnAnonymous( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_LogOff(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer015_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_LogOff(_this->u_iface); + cppISteamGameServer_SteamGameServer015_LogOff( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer015_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer015_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_BLoggedOn(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer015_BLoggedOn( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer015_BSecure(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer015_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_BSecure(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer015_BSecure( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer015_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer015_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer015_GetSteamID(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer015_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer015_WasRestartRequested(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamGameServer_SteamGameServer015_WasRestartRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_WasRestartRequested(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer015_WasRestartRequested( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer015_SetMaxPlayerCount(struct w_steam_iface *_this, int cPlayersMax) { + struct cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cPlayersMax = cPlayersMax, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount(_this->u_iface, cPlayersMax); + cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetBotPlayerCount(struct w_steam_iface *_this, int cBotplayers) { + struct cppISteamGameServer_SteamGameServer015_SetBotPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cBotplayers = cBotplayers, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetBotPlayerCount(_this->u_iface, cBotplayers); + cppISteamGameServer_SteamGameServer015_SetBotPlayerCount( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetServerName(struct w_steam_iface *_this, const char *pszServerName) { + struct cppISteamGameServer_SteamGameServer015_SetServerName_params params = + { + .linux_side = _this->u_iface, + .pszServerName = pszServerName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetServerName(_this->u_iface, pszServerName); + cppISteamGameServer_SteamGameServer015_SetServerName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetMapName(struct w_steam_iface *_this, const char *pszMapName) { + struct cppISteamGameServer_SteamGameServer015_SetMapName_params params = + { + .linux_side = _this->u_iface, + .pszMapName = pszMapName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetMapName(_this->u_iface, pszMapName); + cppISteamGameServer_SteamGameServer015_SetMapName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetPasswordProtected(struct w_steam_iface *_this, bool bPasswordProtected) { + struct cppISteamGameServer_SteamGameServer015_SetPasswordProtected_params params = + { + .linux_side = _this->u_iface, + .bPasswordProtected = bPasswordProtected, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetPasswordProtected(_this->u_iface, bPasswordProtected); + cppISteamGameServer_SteamGameServer015_SetPasswordProtected( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetSpectatorPort(struct w_steam_iface *_this, uint16 unSpectatorPort) { + struct cppISteamGameServer_SteamGameServer015_SetSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetSpectatorPort(_this->u_iface, unSpectatorPort); + cppISteamGameServer_SteamGameServer015_SetSpectatorPort( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetSpectatorServerName(struct w_steam_iface *_this, const char *pszSpectatorServerName) { + struct cppISteamGameServer_SteamGameServer015_SetSpectatorServerName_params params = + { + .linux_side = _this->u_iface, + .pszSpectatorServerName = pszSpectatorServerName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetSpectatorServerName(_this->u_iface, pszSpectatorServerName); + cppISteamGameServer_SteamGameServer015_SetSpectatorServerName( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_ClearAllKeyValues(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer015_ClearAllKeyValues_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_ClearAllKeyValues(_this->u_iface); + cppISteamGameServer_SteamGameServer015_ClearAllKeyValues( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue) { + struct cppISteamGameServer_SteamGameServer015_SetKeyValue_params params = + { + .linux_side = _this->u_iface, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetKeyValue(_this->u_iface, pKey, pValue); + cppISteamGameServer_SteamGameServer015_SetKeyValue( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetGameTags(struct w_steam_iface *_this, const char *pchGameTags) { + struct cppISteamGameServer_SteamGameServer015_SetGameTags_params params = + { + .linux_side = _this->u_iface, + .pchGameTags = pchGameTags, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetGameTags(_this->u_iface, pchGameTags); + cppISteamGameServer_SteamGameServer015_SetGameTags( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct cppISteamGameServer_SteamGameServer015_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetGameData(_this->u_iface, pchGameData); + cppISteamGameServer_SteamGameServer015_SetGameData( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetRegion(struct w_steam_iface *_this, const char *pszRegion) { + struct cppISteamGameServer_SteamGameServer015_SetRegion_params params = + { + .linux_side = _this->u_iface, + .pszRegion = pszRegion, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetRegion(_this->u_iface, pszRegion); + cppISteamGameServer_SteamGameServer015_SetRegion( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_SetAdvertiseServerActive(struct w_steam_iface *_this, bool bActive) { + struct cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive_params params = + { + .linux_side = _this->u_iface, + .bActive = bActive, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive(_this->u_iface, bActive); + cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive( ¶ms ); } HAuthTicket __thiscall winISteamGameServer_SteamGameServer015_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket, const SteamNetworkingIdentity *pSnid) { - HAuthTicket _ret; + struct cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + .pSnid = pSnid, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket, pSnid); - return _ret; + cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer015_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamGameServer_SteamGameServer015_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamGameServer_SteamGameServer015_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer015_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamGameServer_SteamGameServer015_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_EndAuthSession(_this->u_iface, steamID); + cppISteamGameServer_SteamGameServer015_EndAuthSession( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamGameServer_SteamGameServer015_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamGameServer_SteamGameServer015_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer015_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer015_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { - bool _ret; + struct cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus(_this->u_iface, steamIDUser, steamIDGroup); - return _ret; + cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer015_GetGameplayStats(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer015_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_GetGameplayStats(_this->u_iface); + cppISteamGameServer_SteamGameServer015_GetGameplayStats( ¶ms ); } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer015_GetServerReputation(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer015_GetServerReputation_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_GetServerReputation(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer015_GetServerReputation( ¶ms ); + return params._ret; } SteamIPAddress_t * __thiscall winISteamGameServer_SteamGameServer015_GetPublicIP(struct w_steam_iface *_this, SteamIPAddress_t *_ret) { + struct cppISteamGameServer_SteamGameServer015_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer015_GetPublicIP(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer015_GetPublicIP( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer015_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int cbData, uint32 srcIP, uint16 srcPort) { - bool _ret; + struct cppISteamGameServer_SteamGameServer015_HandleIncomingPacket_params params = + { + .linux_side = _this->u_iface, + .pData = pData, + .cbData = cbData, + .srcIP = srcIP, + .srcPort = srcPort, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_HandleIncomingPacket(_this->u_iface, pData, cbData, srcIP, srcPort); - return _ret; + cppISteamGameServer_SteamGameServer015_HandleIncomingPacket( ¶ms ); + return params._ret; } int __thiscall winISteamGameServer_SteamGameServer015_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort) { - int _ret; + struct cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket_params params = + { + .linux_side = _this->u_iface, + .pOut = pOut, + .cbMaxOut = cbMaxOut, + .pNetAdr = pNetAdr, + .pPort = pPort, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket(_this->u_iface, pOut, cbMaxOut, pNetAdr, pPort); - return _ret; + cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer015_AssociateWithClan(struct w_steam_iface *_this, CSteamID steamIDClan) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer015_AssociateWithClan_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_AssociateWithClan(_this->u_iface, steamIDClan); - return _ret; + cppISteamGameServer_SteamGameServer015_AssociateWithClan( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility(struct w_steam_iface *_this, CSteamID steamIDNewPlayer) { - SteamAPICall_t _ret; + struct cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility_params params = + { + .linux_side = _this->u_iface, + .steamIDNewPlayer = steamIDNewPlayer, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility(_this->u_iface, steamIDNewPlayer); - return _ret; + cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED(struct w_steam_iface *_this, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser) { - bool _ret; + struct cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED(_this->u_iface, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); - return _ret; + cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection(_this->u_iface); - return _ret; + cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED(_this->u_iface, steamIDUser); + cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED( ¶ms ); } bool __thiscall winISteamGameServer_SteamGameServer015_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore) { - bool _ret; + struct cppISteamGameServer_SteamGameServer015_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServer_SteamGameServer015_BUpdateUserData(_this->u_iface, steamIDUser, pchPlayerName, uScore); - return _ret; + cppISteamGameServer_SteamGameServer015_BUpdateUserData( ¶ms ); + return params._ret; } void __thiscall winISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED(struct w_steam_iface *_this, int iHeartbeatInterval) { + struct cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .iHeartbeatInterval = iHeartbeatInterval, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED(_this->u_iface, iHeartbeatInterval); + cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED( ¶ms ); } void __thiscall winISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED(struct w_steam_iface *_this) { + struct cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED(_this->u_iface); + cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED( ¶ms ); } extern vtable_ptr winISteamGameServer_SteamGameServer015_vtable; diff --git a/lsteamclient/winISteamGameServerStats.c b/lsteamclient/winISteamGameServerStats.c index 5584f84d..46c10443 100644 --- a/lsteamclient/winISteamGameServerStats.c +++ b/lsteamclient/winISteamGameServerStats.c @@ -28,82 +28,137 @@ DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_StoreUs SteamAPICall_t __thiscall winISteamGameServerStats_SteamGameServerStats001_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { - SteamAPICall_t _ret; + struct cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats(_this->u_iface, steamIDUser); - return _ret; + cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServerStats_SteamGameServerStats001_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServerStats_SteamGameServerStats001_GetUserStat(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamGameServerStats_SteamGameServerStats001_GetUserStat( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServerStats_SteamGameServerStats001_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { - bool _ret; + struct cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServerStats_SteamGameServerStats001_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement(_this->u_iface, steamIDUser, pchName, pbAchieved); - return _ret; + cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServerStats_SteamGameServerStats001_SetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32 nData) { - bool _ret; + struct cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServerStats_SteamGameServerStats001_SetUserStat(_this->u_iface, steamIDUser, pchName, nData); - return _ret; + cppISteamGameServerStats_SteamGameServerStats001_SetUserStat( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServerStats_SteamGameServerStats001_SetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float fData) { - bool _ret; + struct cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2(_this->u_iface, steamIDUser, pchName, fData); - return _ret; + cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float flCountThisSession, double dSessionLength) { - bool _ret; + struct cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat(_this->u_iface, steamIDUser, pchName, flCountThisSession, dSessionLength); - return _ret; + cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServerStats_SteamGameServerStats001_SetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName) { - bool _ret; + struct cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement(_this->u_iface, steamIDUser, pchName); - return _ret; + cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName) { - bool _ret; + struct cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement(_this->u_iface, steamIDUser, pchName); - return _ret; + cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamGameServerStats_SteamGameServerStats001_StoreUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { - SteamAPICall_t _ret; + struct cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats(_this->u_iface, steamIDUser); - return _ret; + cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats( ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameServerStats_SteamGameServerStats001_vtable; diff --git a/lsteamclient/winISteamGameStats.c b/lsteamclient/winISteamGameStats.c index 9864a766..32b074d3 100644 --- a/lsteamclient/winISteamGameStats.c +++ b/lsteamclient/winISteamGameStats.c @@ -31,106 +31,181 @@ DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAttributeInt6 SteamAPICall_t __thiscall winISteamGameStats_SteamGameStats001_GetNewSession(struct w_steam_iface *_this, int8 nAccountType, uint64 ulAccountID, int32 nAppID, RTime32 rtTimeStarted) { - SteamAPICall_t _ret; + struct cppISteamGameStats_SteamGameStats001_GetNewSession_params params = + { + .linux_side = _this->u_iface, + .nAccountType = nAccountType, + .ulAccountID = ulAccountID, + .nAppID = nAppID, + .rtTimeStarted = rtTimeStarted, + }; TRACE("%p\n", _this); - _ret = cppISteamGameStats_SteamGameStats001_GetNewSession(_this->u_iface, nAccountType, ulAccountID, nAppID, rtTimeStarted); - return _ret; + cppISteamGameStats_SteamGameStats001_GetNewSession( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamGameStats_SteamGameStats001_EndSession(struct w_steam_iface *_this, uint64 ulSessionID, RTime32 rtTimeEnded, int nReasonCode) { - SteamAPICall_t _ret; + struct cppISteamGameStats_SteamGameStats001_EndSession_params params = + { + .linux_side = _this->u_iface, + .ulSessionID = ulSessionID, + .rtTimeEnded = rtTimeEnded, + .nReasonCode = nReasonCode, + }; TRACE("%p\n", _this); - _ret = cppISteamGameStats_SteamGameStats001_EndSession(_this->u_iface, ulSessionID, rtTimeEnded, nReasonCode); - return _ret; + cppISteamGameStats_SteamGameStats001_EndSession( ¶ms ); + return params._ret; } EResult __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeInt(struct w_steam_iface *_this, uint64 ulSessionID, const char *pstrName, int32 nData) { - EResult _ret; + struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt_params params = + { + .linux_side = _this->u_iface, + .ulSessionID = ulSessionID, + .pstrName = pstrName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt(_this->u_iface, ulSessionID, pstrName, nData); - return _ret; + cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt( ¶ms ); + return params._ret; } EResult __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeString(struct w_steam_iface *_this, uint64 ulSessionID, const char *pstrName, const char *pstrData) { - EResult _ret; + struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeString_params params = + { + .linux_side = _this->u_iface, + .ulSessionID = ulSessionID, + .pstrName = pstrName, + .pstrData = pstrData, + }; TRACE("%p\n", _this); - _ret = cppISteamGameStats_SteamGameStats001_AddSessionAttributeString(_this->u_iface, ulSessionID, pstrName, pstrData); - return _ret; + cppISteamGameStats_SteamGameStats001_AddSessionAttributeString( ¶ms ); + return params._ret; } EResult __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(struct w_steam_iface *_this, uint64 ulSessionID, const char *pstrName, float fData) { - EResult _ret; + struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat_params params = + { + .linux_side = _this->u_iface, + .ulSessionID = ulSessionID, + .pstrName = pstrName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(_this->u_iface, ulSessionID, pstrName, fData); - return _ret; + cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat( ¶ms ); + return params._ret; } EResult __thiscall winISteamGameStats_SteamGameStats001_AddNewRow(struct w_steam_iface *_this, uint64 *pulRowID, uint64 ulSessionID, const char *pstrTableName) { - EResult _ret; + struct cppISteamGameStats_SteamGameStats001_AddNewRow_params params = + { + .linux_side = _this->u_iface, + .pulRowID = pulRowID, + .ulSessionID = ulSessionID, + .pstrTableName = pstrTableName, + }; TRACE("%p\n", _this); - _ret = cppISteamGameStats_SteamGameStats001_AddNewRow(_this->u_iface, pulRowID, ulSessionID, pstrTableName); - return _ret; + cppISteamGameStats_SteamGameStats001_AddNewRow( ¶ms ); + return params._ret; } EResult __thiscall winISteamGameStats_SteamGameStats001_CommitRow(struct w_steam_iface *_this, uint64 ulRowID) { - EResult _ret; + struct cppISteamGameStats_SteamGameStats001_CommitRow_params params = + { + .linux_side = _this->u_iface, + .ulRowID = ulRowID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameStats_SteamGameStats001_CommitRow(_this->u_iface, ulRowID); - return _ret; + cppISteamGameStats_SteamGameStats001_CommitRow( ¶ms ); + return params._ret; } EResult __thiscall winISteamGameStats_SteamGameStats001_CommitOutstandingRows(struct w_steam_iface *_this, uint64 ulSessionID) { - EResult _ret; + struct cppISteamGameStats_SteamGameStats001_CommitOutstandingRows_params params = + { + .linux_side = _this->u_iface, + .ulSessionID = ulSessionID, + }; TRACE("%p\n", _this); - _ret = cppISteamGameStats_SteamGameStats001_CommitOutstandingRows(_this->u_iface, ulSessionID); - return _ret; + cppISteamGameStats_SteamGameStats001_CommitOutstandingRows( ¶ms ); + return params._ret; } EResult __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeInt(struct w_steam_iface *_this, uint64 ulRowID, const char *pstrName, int32 nData) { - EResult _ret; + struct cppISteamGameStats_SteamGameStats001_AddRowAttributeInt_params params = + { + .linux_side = _this->u_iface, + .ulRowID = ulRowID, + .pstrName = pstrName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamGameStats_SteamGameStats001_AddRowAttributeInt(_this->u_iface, ulRowID, pstrName, nData); - return _ret; + cppISteamGameStats_SteamGameStats001_AddRowAttributeInt( ¶ms ); + return params._ret; } EResult __thiscall winISteamGameStats_SteamGameStats001_AddRowAtributeString(struct w_steam_iface *_this, uint64 ulRowID, const char *pstrName, const char *pstrData) { - EResult _ret; + struct cppISteamGameStats_SteamGameStats001_AddRowAtributeString_params params = + { + .linux_side = _this->u_iface, + .ulRowID = ulRowID, + .pstrName = pstrName, + .pstrData = pstrData, + }; TRACE("%p\n", _this); - _ret = cppISteamGameStats_SteamGameStats001_AddRowAtributeString(_this->u_iface, ulRowID, pstrName, pstrData); - return _ret; + cppISteamGameStats_SteamGameStats001_AddRowAtributeString( ¶ms ); + return params._ret; } EResult __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeFloat(struct w_steam_iface *_this, uint64 ulRowID, const char *pstrName, float fData) { - EResult _ret; + struct cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat_params params = + { + .linux_side = _this->u_iface, + .ulRowID = ulRowID, + .pstrName = pstrName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat(_this->u_iface, ulRowID, pstrName, fData); - return _ret; + cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat( ¶ms ); + return params._ret; } EResult __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(struct w_steam_iface *_this, uint64 ulSessionID, const char *pstrName, int64 llData) { - EResult _ret; + struct cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64_params params = + { + .linux_side = _this->u_iface, + .ulSessionID = ulSessionID, + .pstrName = pstrName, + .llData = llData, + }; TRACE("%p\n", _this); - _ret = cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(_this->u_iface, ulSessionID, pstrName, llData); - return _ret; + cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64( ¶ms ); + return params._ret; } EResult __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeInt64(struct w_steam_iface *_this, uint64 ulRowID, const char *pstrName, int64 llData) { - EResult _ret; + struct cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64_params params = + { + .linux_side = _this->u_iface, + .ulRowID = ulRowID, + .pstrName = pstrName, + .llData = llData, + }; TRACE("%p\n", _this); - _ret = cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64(_this->u_iface, ulRowID, pstrName, llData); - return _ret; + cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64( ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameStats_SteamGameStats001_vtable; diff --git a/lsteamclient/winISteamHTMLSurface.c b/lsteamclient/winISteamHTMLSurface.c index dfeb7f62..1582ea11 100644 --- a/lsteamclient/winISteamHTMLSurface.c +++ b/lsteamclient/winISteamHTMLSurface.c @@ -54,204 +54,390 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_dest bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init(_this->u_iface); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown(_this->u_iface); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser(struct w_steam_iface *_this, const char *pchUserAgent, const char *pchUserCSS) { - SteamAPICall_t _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser_params params = + { + .linux_side = _this->u_iface, + .pchUserAgent = pchUserAgent, + .pchUserCSS = pchUserCSS, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser(_this->u_iface, pchUserAgent, pchUserCSS); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser( ¶ms ); + return params._ret; } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchURL, const char *pchPostData) { - const char *u_pchURL = steamclient_dos_to_unix_path( pchURL, 1 ); + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchURL = pchURL, + .pchPostData = pchPostData, + }; + params.pchURL = steamclient_dos_to_unix_path( pchURL, 1 ); TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL(_this->u_iface, unBrowserHandle, pchURL ? u_pchURL : NULL, pchPostData); - steamclient_free_path( u_pchURL ); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL( ¶ms ); + steamclient_free_path( params.pchURL ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .unWidth = unWidth, + .unHeight = unHeight, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize(_this->u_iface, unBrowserHandle, unWidth, unHeight); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchKey, const char *pchValue) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader(_this->u_iface, unBrowserHandle, pchKey, pchValue); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchScript) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchScript = pchScript, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript(_this->u_iface, unBrowserHandle, pchScript); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int x, int y) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove(_this->u_iface, unBrowserHandle, x, y); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int32 nDelta) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nDelta = nDelta, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel(_this->u_iface, unBrowserHandle, nDelta); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown(_this->u_iface, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp(_this->u_iface, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .cUnicodeChar = cUnicodeChar, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar(_this->u_iface, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll(_this->u_iface, unBrowserHandle, nAbsolutePixelScroll); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll(_this->u_iface, unBrowserHandle, nAbsolutePixelScroll); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bHasKeyFocus = bHasKeyFocus, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus(_this->u_iface, unBrowserHandle, bHasKeyFocus); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchSearchStr, bool bCurrentlyInFind, bool bReverse) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSearchStr = pchSearchStr, + .bCurrentlyInFind = bCurrentlyInFind, + .bReverse = bReverse, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find(_this->u_iface, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int x, int y) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition(_this->u_iface, unBrowserHandle, x, y); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bAllowed) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bAllowed = bAllowed, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest(_this->u_iface, unBrowserHandle, bAllowed); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bResult) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bResult = bResult, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse(_this->u_iface, unBrowserHandle, bResult); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char **pchSelectedFiles) { - const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles ); + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSelectedFiles = pchSelectedFiles, + }; + params.pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles ); TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse(_this->u_iface, unBrowserHandle, pchSelectedFiles ? u_pchSelectedFiles : NULL); - steamclient_free_path_array( u_pchSelectedFiles ); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse( ¶ms ); + steamclient_free_path_array( params.pchSelectedFiles ); } extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_vtable; @@ -350,216 +536,421 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_dest bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init(_this->u_iface); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown(_this->u_iface); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser(struct w_steam_iface *_this, const char *pchUserAgent, const char *pchUserCSS) { - SteamAPICall_t _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser_params params = + { + .linux_side = _this->u_iface, + .pchUserAgent = pchUserAgent, + .pchUserCSS = pchUserCSS, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser(_this->u_iface, pchUserAgent, pchUserCSS); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser( ¶ms ); + return params._ret; } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchURL, const char *pchPostData) { - const char *u_pchURL = steamclient_dos_to_unix_path( pchURL, 1 ); + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchURL = pchURL, + .pchPostData = pchPostData, + }; + params.pchURL = steamclient_dos_to_unix_path( pchURL, 1 ); TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL(_this->u_iface, unBrowserHandle, pchURL ? u_pchURL : NULL, pchPostData); - steamclient_free_path( u_pchURL ); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL( ¶ms ); + steamclient_free_path( params.pchURL ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .unWidth = unWidth, + .unHeight = unHeight, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize(_this->u_iface, unBrowserHandle, unWidth, unHeight); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchKey, const char *pchValue) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader(_this->u_iface, unBrowserHandle, pchKey, pchValue); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchScript) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchScript = pchScript, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript(_this->u_iface, unBrowserHandle, pchScript); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int x, int y) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove(_this->u_iface, unBrowserHandle, x, y); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int32 nDelta) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nDelta = nDelta, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel(_this->u_iface, unBrowserHandle, nDelta); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown(_this->u_iface, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp(_this->u_iface, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .cUnicodeChar = cUnicodeChar, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar(_this->u_iface, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll(_this->u_iface, unBrowserHandle, nAbsolutePixelScroll); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll(_this->u_iface, unBrowserHandle, nAbsolutePixelScroll); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bHasKeyFocus = bHasKeyFocus, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus(_this->u_iface, unBrowserHandle, bHasKeyFocus); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchSearchStr, bool bCurrentlyInFind, bool bReverse) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSearchStr = pchSearchStr, + .bCurrentlyInFind = bCurrentlyInFind, + .bReverse = bReverse, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find(_this->u_iface, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int x, int y) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition(_this->u_iface, unBrowserHandle, x, y); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie(struct w_steam_iface *_this, const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie_params params = + { + .linux_side = _this->u_iface, + .pchHostname = pchHostname, + .pchKey = pchKey, + .pchValue = pchValue, + .pchPath = pchPath, + .nExpires = nExpires, + .bSecure = bSecure, + .bHTTPOnly = bHTTPOnly, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie(_this->u_iface, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .flZoom = flZoom, + .nPointX = nPointX, + .nPointY = nPointY, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor(_this->u_iface, unBrowserHandle, flZoom, nPointX, nPointY); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bAllowed) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bAllowed = bAllowed, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest(_this->u_iface, unBrowserHandle, bAllowed); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bResult) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bResult = bResult, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse(_this->u_iface, unBrowserHandle, bResult); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char **pchSelectedFiles) { - const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles ); + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSelectedFiles = pchSelectedFiles, + }; + params.pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles ); TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse(_this->u_iface, unBrowserHandle, pchSelectedFiles ? u_pchSelectedFiles : NULL); - steamclient_free_path_array( u_pchSelectedFiles ); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse( ¶ms ); + steamclient_free_path_array( params.pchSelectedFiles ); } extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_vtable; @@ -661,222 +1052,433 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_dest bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init(_this->u_iface); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown(_this->u_iface); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser(struct w_steam_iface *_this, const char *pchUserAgent, const char *pchUserCSS) { - SteamAPICall_t _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser_params params = + { + .linux_side = _this->u_iface, + .pchUserAgent = pchUserAgent, + .pchUserCSS = pchUserCSS, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser(_this->u_iface, pchUserAgent, pchUserCSS); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser( ¶ms ); + return params._ret; } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchURL, const char *pchPostData) { - const char *u_pchURL = steamclient_dos_to_unix_path( pchURL, 1 ); + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchURL = pchURL, + .pchPostData = pchPostData, + }; + params.pchURL = steamclient_dos_to_unix_path( pchURL, 1 ); TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL(_this->u_iface, unBrowserHandle, pchURL ? u_pchURL : NULL, pchPostData); - steamclient_free_path( u_pchURL ); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL( ¶ms ); + steamclient_free_path( params.pchURL ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .unWidth = unWidth, + .unHeight = unHeight, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize(_this->u_iface, unBrowserHandle, unWidth, unHeight); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchKey, const char *pchValue) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader(_this->u_iface, unBrowserHandle, pchKey, pchValue); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchScript) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchScript = pchScript, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript(_this->u_iface, unBrowserHandle, pchScript); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int x, int y) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove(_this->u_iface, unBrowserHandle, x, y); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int32 nDelta) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nDelta = nDelta, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel(_this->u_iface, unBrowserHandle, nDelta); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown(_this->u_iface, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp(_this->u_iface, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .cUnicodeChar = cUnicodeChar, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar(_this->u_iface, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll(_this->u_iface, unBrowserHandle, nAbsolutePixelScroll); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll(_this->u_iface, unBrowserHandle, nAbsolutePixelScroll); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bHasKeyFocus = bHasKeyFocus, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus(_this->u_iface, unBrowserHandle, bHasKeyFocus); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchSearchStr, bool bCurrentlyInFind, bool bReverse) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSearchStr = pchSearchStr, + .bCurrentlyInFind = bCurrentlyInFind, + .bReverse = bReverse, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find(_this->u_iface, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int x, int y) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition(_this->u_iface, unBrowserHandle, x, y); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie(struct w_steam_iface *_this, const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie_params params = + { + .linux_side = _this->u_iface, + .pchHostname = pchHostname, + .pchKey = pchKey, + .pchValue = pchValue, + .pchPath = pchPath, + .nExpires = nExpires, + .bSecure = bSecure, + .bHTTPOnly = bHTTPOnly, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie(_this->u_iface, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .flZoom = flZoom, + .nPointX = nPointX, + .nPointY = nPointY, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor(_this->u_iface, unBrowserHandle, flZoom, nPointX, nPointY); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bBackgroundMode) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bBackgroundMode = bBackgroundMode, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode(_this->u_iface, unBrowserHandle, bBackgroundMode); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bAllowed) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bAllowed = bAllowed, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest(_this->u_iface, unBrowserHandle, bAllowed); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bResult) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bResult = bResult, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse(_this->u_iface, unBrowserHandle, bResult); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char **pchSelectedFiles) { - const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles ); + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSelectedFiles = pchSelectedFiles, + }; + params.pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles ); TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse(_this->u_iface, unBrowserHandle, pchSelectedFiles ? u_pchSelectedFiles : NULL); - steamclient_free_path_array( u_pchSelectedFiles ); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse( ¶ms ); + steamclient_free_path_array( params.pchSelectedFiles ); } extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_vtable; @@ -980,228 +1582,445 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_dest bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init(_this->u_iface); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown(_this->u_iface); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser(struct w_steam_iface *_this, const char *pchUserAgent, const char *pchUserCSS) { - SteamAPICall_t _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser_params params = + { + .linux_side = _this->u_iface, + .pchUserAgent = pchUserAgent, + .pchUserCSS = pchUserCSS, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser(_this->u_iface, pchUserAgent, pchUserCSS); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser( ¶ms ); + return params._ret; } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchURL, const char *pchPostData) { - const char *u_pchURL = steamclient_dos_to_unix_path( pchURL, 1 ); + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchURL = pchURL, + .pchPostData = pchPostData, + }; + params.pchURL = steamclient_dos_to_unix_path( pchURL, 1 ); TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL(_this->u_iface, unBrowserHandle, pchURL ? u_pchURL : NULL, pchPostData); - steamclient_free_path( u_pchURL ); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL( ¶ms ); + steamclient_free_path( params.pchURL ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .unWidth = unWidth, + .unHeight = unHeight, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize(_this->u_iface, unBrowserHandle, unWidth, unHeight); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchKey, const char *pchValue) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader(_this->u_iface, unBrowserHandle, pchKey, pchValue); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchScript) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchScript = pchScript, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript(_this->u_iface, unBrowserHandle, pchScript); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int x, int y) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove(_this->u_iface, unBrowserHandle, x, y); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int32 nDelta) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nDelta = nDelta, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel(_this->u_iface, unBrowserHandle, nDelta); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown(_this->u_iface, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp(_this->u_iface, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .cUnicodeChar = cUnicodeChar, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar(_this->u_iface, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll(_this->u_iface, unBrowserHandle, nAbsolutePixelScroll); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll(_this->u_iface, unBrowserHandle, nAbsolutePixelScroll); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bHasKeyFocus = bHasKeyFocus, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus(_this->u_iface, unBrowserHandle, bHasKeyFocus); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchSearchStr, bool bCurrentlyInFind, bool bReverse) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSearchStr = pchSearchStr, + .bCurrentlyInFind = bCurrentlyInFind, + .bReverse = bReverse, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find(_this->u_iface, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int x, int y) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition(_this->u_iface, unBrowserHandle, x, y); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie(struct w_steam_iface *_this, const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie_params params = + { + .linux_side = _this->u_iface, + .pchHostname = pchHostname, + .pchKey = pchKey, + .pchValue = pchValue, + .pchPath = pchPath, + .nExpires = nExpires, + .bSecure = bSecure, + .bHTTPOnly = bHTTPOnly, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie(_this->u_iface, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .flZoom = flZoom, + .nPointX = nPointX, + .nPointY = nPointY, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor(_this->u_iface, unBrowserHandle, flZoom, nPointX, nPointY); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bBackgroundMode) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bBackgroundMode = bBackgroundMode, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode(_this->u_iface, unBrowserHandle, bBackgroundMode); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, float flDPIScaling) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .flDPIScaling = flDPIScaling, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor(_this->u_iface, unBrowserHandle, flDPIScaling); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bAllowed) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bAllowed = bAllowed, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest(_this->u_iface, unBrowserHandle, bAllowed); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bResult) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bResult = bResult, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse(_this->u_iface, unBrowserHandle, bResult); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char **pchSelectedFiles) { - const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles ); + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSelectedFiles = pchSelectedFiles, + }; + params.pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles ); TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse(_this->u_iface, unBrowserHandle, pchSelectedFiles ? u_pchSelectedFiles : NULL); - steamclient_free_path_array( u_pchSelectedFiles ); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse( ¶ms ); + steamclient_free_path_array( params.pchSelectedFiles ); } extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_vtable; @@ -1307,234 +2126,457 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_dest bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init(_this->u_iface); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown(_this->u_iface); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser(struct w_steam_iface *_this, const char *pchUserAgent, const char *pchUserCSS) { - SteamAPICall_t _ret; + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser_params params = + { + .linux_side = _this->u_iface, + .pchUserAgent = pchUserAgent, + .pchUserCSS = pchUserCSS, + }; TRACE("%p\n", _this); - _ret = cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser(_this->u_iface, pchUserAgent, pchUserCSS); - return _ret; + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser( ¶ms ); + return params._ret; } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchURL, const char *pchPostData) { - const char *u_pchURL = steamclient_dos_to_unix_path( pchURL, 1 ); + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchURL = pchURL, + .pchPostData = pchPostData, + }; + params.pchURL = steamclient_dos_to_unix_path( pchURL, 1 ); TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL(_this->u_iface, unBrowserHandle, pchURL ? u_pchURL : NULL, pchPostData); - steamclient_free_path( u_pchURL ); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL( ¶ms ); + steamclient_free_path( params.pchURL ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .unWidth = unWidth, + .unHeight = unHeight, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize(_this->u_iface, unBrowserHandle, unWidth, unHeight); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchKey, const char *pchValue) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader(_this->u_iface, unBrowserHandle, pchKey, pchValue); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchScript) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchScript = pchScript, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript(_this->u_iface, unBrowserHandle, pchScript); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick(_this->u_iface, unBrowserHandle, eMouseButton); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int x, int y) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove(_this->u_iface, unBrowserHandle, x, y); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int32 nDelta) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nDelta = nDelta, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel(_this->u_iface, unBrowserHandle, nDelta); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers, bool bIsSystemKey) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + .bIsSystemKey = bIsSystemKey, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown(_this->u_iface, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers, bIsSystemKey); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp(_this->u_iface, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .cUnicodeChar = cUnicodeChar, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar(_this->u_iface, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll(_this->u_iface, unBrowserHandle, nAbsolutePixelScroll); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll(_this->u_iface, unBrowserHandle, nAbsolutePixelScroll); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bHasKeyFocus = bHasKeyFocus, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus(_this->u_iface, unBrowserHandle, bHasKeyFocus); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char *pchSearchStr, bool bCurrentlyInFind, bool bReverse) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSearchStr = pchSearchStr, + .bCurrentlyInFind = bCurrentlyInFind, + .bReverse = bReverse, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find(_this->u_iface, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, int x, int y) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition(_this->u_iface, unBrowserHandle, x, y); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie(struct w_steam_iface *_this, const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie_params params = + { + .linux_side = _this->u_iface, + .pchHostname = pchHostname, + .pchKey = pchKey, + .pchValue = pchValue, + .pchPath = pchPath, + .nExpires = nExpires, + .bSecure = bSecure, + .bHTTPOnly = bHTTPOnly, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie(_this->u_iface, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .flZoom = flZoom, + .nPointX = nPointX, + .nPointY = nPointY, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor(_this->u_iface, unBrowserHandle, flZoom, nPointX, nPointY); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bBackgroundMode) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bBackgroundMode = bBackgroundMode, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode(_this->u_iface, unBrowserHandle, bBackgroundMode); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, float flDPIScaling) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .flDPIScaling = flDPIScaling, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor(_this->u_iface, unBrowserHandle, flDPIScaling); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools(_this->u_iface, unBrowserHandle); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bAllowed) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bAllowed = bAllowed, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest(_this->u_iface, unBrowserHandle, bAllowed); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, bool bResult) { + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bResult = bResult, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse(_this->u_iface, unBrowserHandle, bResult); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse( ¶ms ); } void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse(struct w_steam_iface *_this, HHTMLBrowser unBrowserHandle, const char **pchSelectedFiles) { - const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles ); + struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSelectedFiles = pchSelectedFiles, + }; + params.pchSelectedFiles = steamclient_dos_to_unix_path_array( pchSelectedFiles ); TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse(_this->u_iface, unBrowserHandle, pchSelectedFiles ? u_pchSelectedFiles : NULL); - steamclient_free_path_array( u_pchSelectedFiles ); + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse( ¶ms ); + steamclient_free_path_array( params.pchSelectedFiles ); } extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_vtable; diff --git a/lsteamclient/winISteamHTTP.c b/lsteamclient/winISteamHTTP.c index 8d62e8a3..df97b217 100644 --- a/lsteamclient/winISteamHTTP.c +++ b/lsteamclient/winISteamHTTP.c @@ -33,122 +33,202 @@ DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequ HTTPRequestHandle __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest(struct w_steam_iface *_this, EHTTPMethod eHTTPRequestMethod, const char *pchAbsoluteURL) { - HTTPRequestHandle _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .eHTTPRequestMethod = eHTTPRequestMethod, + .pchAbsoluteURL = pchAbsoluteURL, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest(_this->u_iface, eHTTPRequestMethod, pchAbsoluteURL); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint64 ulContextValue) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .ulContextValue = ulContextValue, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue(_this->u_iface, hRequest, ulContextValue); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unTimeoutSeconds = unTimeoutSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout(_this->u_iface, hRequest, unTimeoutSeconds); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchHeaderName, const char *pchHeaderValue) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .pchHeaderValue = pchHeaderValue, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue(_this->u_iface, hRequest, pchHeaderName, pchHeaderValue); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchParamName, const char *pchParamValue) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchParamName = pchParamName, + .pchParamValue = pchParamValue, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter(_this->u_iface, hRequest, pchParamName, pchParamValue); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest(struct w_steam_iface *_this, HTTPRequestHandle hRequest, SteamAPICall_t *pCallHandle) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pCallHandle = pCallHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest(_this->u_iface, hRequest, pCallHandle); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest(struct w_steam_iface *_this, HTTPRequestHandle hRequest) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest(_this->u_iface, hRequest); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest(struct w_steam_iface *_this, HTTPRequestHandle hRequest) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest(_this->u_iface, hRequest); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchHeaderName, uint32 *unResponseHeaderSize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .unResponseHeaderSize = unResponseHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize(_this->u_iface, hRequest, pchHeaderName, unResponseHeaderSize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchHeaderName, uint8 *pHeaderValueBuffer, uint32 unBufferSize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .pHeaderValueBuffer = pHeaderValueBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue(_this->u_iface, hRequest, pchHeaderName, pHeaderValueBuffer, unBufferSize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint32 *unBodySize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unBodySize = unBodySize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize(_this->u_iface, hRequest, unBodySize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint8 *pBodyDataBuffer, uint32 unBufferSize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pBodyDataBuffer = pBodyDataBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData(_this->u_iface, hRequest, pBodyDataBuffer, unBufferSize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest(struct w_steam_iface *_this, HTTPRequestHandle hRequest) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest(_this->u_iface, hRequest); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct(struct w_steam_iface *_this, HTTPRequestHandle hRequest, float *pflPercentOut) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pflPercentOut = pflPercentOut, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct(_this->u_iface, hRequest, pflPercentOut); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchContentType, uint8 *pubBody, uint32 unBodyLen) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchContentType = pchContentType, + .pubBody = pubBody, + .unBodyLen = unBodyLen, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody(_this->u_iface, hRequest, pchContentType, pubBody, unBodyLen); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody( ¶ms ); + return params._ret; } extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_vtable; @@ -216,202 +296,334 @@ DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequ HTTPRequestHandle __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest(struct w_steam_iface *_this, EHTTPMethod eHTTPRequestMethod, const char *pchAbsoluteURL) { - HTTPRequestHandle _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .eHTTPRequestMethod = eHTTPRequestMethod, + .pchAbsoluteURL = pchAbsoluteURL, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest(_this->u_iface, eHTTPRequestMethod, pchAbsoluteURL); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint64 ulContextValue) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .ulContextValue = ulContextValue, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue(_this->u_iface, hRequest, ulContextValue); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unTimeoutSeconds = unTimeoutSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout(_this->u_iface, hRequest, unTimeoutSeconds); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchHeaderName, const char *pchHeaderValue) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .pchHeaderValue = pchHeaderValue, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue(_this->u_iface, hRequest, pchHeaderName, pchHeaderValue); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchParamName, const char *pchParamValue) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchParamName = pchParamName, + .pchParamValue = pchParamValue, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter(_this->u_iface, hRequest, pchParamName, pchParamValue); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest(struct w_steam_iface *_this, HTTPRequestHandle hRequest, SteamAPICall_t *pCallHandle) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pCallHandle = pCallHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest(_this->u_iface, hRequest, pCallHandle); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse(struct w_steam_iface *_this, HTTPRequestHandle hRequest, SteamAPICall_t *pCallHandle) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pCallHandle = pCallHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse(_this->u_iface, hRequest, pCallHandle); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest(struct w_steam_iface *_this, HTTPRequestHandle hRequest) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest(_this->u_iface, hRequest); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest(struct w_steam_iface *_this, HTTPRequestHandle hRequest) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest(_this->u_iface, hRequest); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchHeaderName, uint32 *unResponseHeaderSize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .unResponseHeaderSize = unResponseHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize(_this->u_iface, hRequest, pchHeaderName, unResponseHeaderSize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchHeaderName, uint8 *pHeaderValueBuffer, uint32 unBufferSize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .pHeaderValueBuffer = pHeaderValueBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue(_this->u_iface, hRequest, pchHeaderName, pHeaderValueBuffer, unBufferSize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint32 *unBodySize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unBodySize = unBodySize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize(_this->u_iface, hRequest, unBodySize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint8 *pBodyDataBuffer, uint32 unBufferSize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pBodyDataBuffer = pBodyDataBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData(_this->u_iface, hRequest, pBodyDataBuffer, unBufferSize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint32 cOffset, uint8 *pBodyDataBuffer, uint32 unBufferSize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .cOffset = cOffset, + .pBodyDataBuffer = pBodyDataBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData(_this->u_iface, hRequest, cOffset, pBodyDataBuffer, unBufferSize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest(struct w_steam_iface *_this, HTTPRequestHandle hRequest) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest(_this->u_iface, hRequest); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct(struct w_steam_iface *_this, HTTPRequestHandle hRequest, float *pflPercentOut) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pflPercentOut = pflPercentOut, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct(_this->u_iface, hRequest, pflPercentOut); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchContentType, uint8 *pubBody, uint32 unBodyLen) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchContentType = pchContentType, + .pubBody = pubBody, + .unBodyLen = unBodyLen, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody(_this->u_iface, hRequest, pchContentType, pubBody, unBodyLen); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody( ¶ms ); + return params._ret; } HTTPCookieContainerHandle __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer(struct w_steam_iface *_this, bool bAllowResponsesToModify) { - HTTPCookieContainerHandle _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer_params params = + { + .linux_side = _this->u_iface, + .bAllowResponsesToModify = bAllowResponsesToModify, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer(_this->u_iface, bAllowResponsesToModify); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer(struct w_steam_iface *_this, HTTPCookieContainerHandle hCookieContainer) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer_params params = + { + .linux_side = _this->u_iface, + .hCookieContainer = hCookieContainer, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer(_this->u_iface, hCookieContainer); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie(struct w_steam_iface *_this, HTTPCookieContainerHandle hCookieContainer, const char *pchHost, const char *pchUrl, const char *pchCookie) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie_params params = + { + .linux_side = _this->u_iface, + .hCookieContainer = hCookieContainer, + .pchHost = pchHost, + .pchUrl = pchUrl, + .pchCookie = pchCookie, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie(_this->u_iface, hCookieContainer, pchHost, pchUrl, pchCookie); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer(struct w_steam_iface *_this, HTTPRequestHandle hRequest, HTTPCookieContainerHandle hCookieContainer) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .hCookieContainer = hCookieContainer, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer(_this->u_iface, hRequest, hCookieContainer); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchUserAgentInfo) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchUserAgentInfo = pchUserAgentInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo(_this->u_iface, hRequest, pchUserAgentInfo); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate(struct w_steam_iface *_this, HTTPRequestHandle hRequest, bool bRequireVerifiedCertificate) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .bRequireVerifiedCertificate = bRequireVerifiedCertificate, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate(_this->u_iface, hRequest, bRequireVerifiedCertificate); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint32 unMilliseconds) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unMilliseconds = unMilliseconds, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS(_this->u_iface, hRequest, unMilliseconds); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut(struct w_steam_iface *_this, HTTPRequestHandle hRequest, bool *pbWasTimedOut) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pbWasTimedOut = pbWasTimedOut, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut(_this->u_iface, hRequest, pbWasTimedOut); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut( ¶ms ); + return params._ret; } extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_vtable; @@ -489,202 +701,334 @@ DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequ HTTPRequestHandle __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest(struct w_steam_iface *_this, EHTTPMethod eHTTPRequestMethod, const char *pchAbsoluteURL) { - HTTPRequestHandle _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .eHTTPRequestMethod = eHTTPRequestMethod, + .pchAbsoluteURL = pchAbsoluteURL, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest(_this->u_iface, eHTTPRequestMethod, pchAbsoluteURL); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint64 ulContextValue) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .ulContextValue = ulContextValue, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue(_this->u_iface, hRequest, ulContextValue); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unTimeoutSeconds = unTimeoutSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout(_this->u_iface, hRequest, unTimeoutSeconds); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchHeaderName, const char *pchHeaderValue) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .pchHeaderValue = pchHeaderValue, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue(_this->u_iface, hRequest, pchHeaderName, pchHeaderValue); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchParamName, const char *pchParamValue) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchParamName = pchParamName, + .pchParamValue = pchParamValue, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter(_this->u_iface, hRequest, pchParamName, pchParamValue); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest(struct w_steam_iface *_this, HTTPRequestHandle hRequest, SteamAPICall_t *pCallHandle) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pCallHandle = pCallHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest(_this->u_iface, hRequest, pCallHandle); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse(struct w_steam_iface *_this, HTTPRequestHandle hRequest, SteamAPICall_t *pCallHandle) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pCallHandle = pCallHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse(_this->u_iface, hRequest, pCallHandle); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest(struct w_steam_iface *_this, HTTPRequestHandle hRequest) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest(_this->u_iface, hRequest); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest(struct w_steam_iface *_this, HTTPRequestHandle hRequest) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest(_this->u_iface, hRequest); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchHeaderName, uint32 *unResponseHeaderSize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .unResponseHeaderSize = unResponseHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize(_this->u_iface, hRequest, pchHeaderName, unResponseHeaderSize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchHeaderName, uint8 *pHeaderValueBuffer, uint32 unBufferSize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .pHeaderValueBuffer = pHeaderValueBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue(_this->u_iface, hRequest, pchHeaderName, pHeaderValueBuffer, unBufferSize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint32 *unBodySize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unBodySize = unBodySize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize(_this->u_iface, hRequest, unBodySize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint8 *pBodyDataBuffer, uint32 unBufferSize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pBodyDataBuffer = pBodyDataBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData(_this->u_iface, hRequest, pBodyDataBuffer, unBufferSize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint32 cOffset, uint8 *pBodyDataBuffer, uint32 unBufferSize) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .cOffset = cOffset, + .pBodyDataBuffer = pBodyDataBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData(_this->u_iface, hRequest, cOffset, pBodyDataBuffer, unBufferSize); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest(struct w_steam_iface *_this, HTTPRequestHandle hRequest) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest(_this->u_iface, hRequest); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct(struct w_steam_iface *_this, HTTPRequestHandle hRequest, float *pflPercentOut) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pflPercentOut = pflPercentOut, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct(_this->u_iface, hRequest, pflPercentOut); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchContentType, uint8 *pubBody, uint32 unBodyLen) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchContentType = pchContentType, + .pubBody = pubBody, + .unBodyLen = unBodyLen, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody(_this->u_iface, hRequest, pchContentType, pubBody, unBodyLen); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody( ¶ms ); + return params._ret; } HTTPCookieContainerHandle __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer(struct w_steam_iface *_this, bool bAllowResponsesToModify) { - HTTPCookieContainerHandle _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer_params params = + { + .linux_side = _this->u_iface, + .bAllowResponsesToModify = bAllowResponsesToModify, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer(_this->u_iface, bAllowResponsesToModify); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer(struct w_steam_iface *_this, HTTPCookieContainerHandle hCookieContainer) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer_params params = + { + .linux_side = _this->u_iface, + .hCookieContainer = hCookieContainer, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer(_this->u_iface, hCookieContainer); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie(struct w_steam_iface *_this, HTTPCookieContainerHandle hCookieContainer, const char *pchHost, const char *pchUrl, const char *pchCookie) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie_params params = + { + .linux_side = _this->u_iface, + .hCookieContainer = hCookieContainer, + .pchHost = pchHost, + .pchUrl = pchUrl, + .pchCookie = pchCookie, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie(_this->u_iface, hCookieContainer, pchHost, pchUrl, pchCookie); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer(struct w_steam_iface *_this, HTTPRequestHandle hRequest, HTTPCookieContainerHandle hCookieContainer) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .hCookieContainer = hCookieContainer, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer(_this->u_iface, hRequest, hCookieContainer); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo(struct w_steam_iface *_this, HTTPRequestHandle hRequest, const char *pchUserAgentInfo) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchUserAgentInfo = pchUserAgentInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo(_this->u_iface, hRequest, pchUserAgentInfo); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate(struct w_steam_iface *_this, HTTPRequestHandle hRequest, bool bRequireVerifiedCertificate) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .bRequireVerifiedCertificate = bRequireVerifiedCertificate, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate(_this->u_iface, hRequest, bRequireVerifiedCertificate); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS(struct w_steam_iface *_this, HTTPRequestHandle hRequest, uint32 unMilliseconds) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unMilliseconds = unMilliseconds, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS(_this->u_iface, hRequest, unMilliseconds); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS( ¶ms ); + return params._ret; } bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut(struct w_steam_iface *_this, HTTPRequestHandle hRequest, bool *pbWasTimedOut) { - bool _ret; + struct cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pbWasTimedOut = pbWasTimedOut, + }; TRACE("%p\n", _this); - _ret = cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut(_this->u_iface, hRequest, pbWasTimedOut); - return _ret; + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut( ¶ms ); + return params._ret; } extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_vtable; diff --git a/lsteamclient/winISteamInput.c b/lsteamclient/winISteamInput.c index 14d81458..c5c93d37 100644 --- a/lsteamclient/winISteamInput.c +++ b/lsteamclient/winISteamInput.c @@ -53,259 +53,442 @@ DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetRemotePlaySessionID, 12) bool __thiscall winISteamInput_SteamInput001_Init(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamInput_SteamInput001_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_Init(_this->u_iface); - return _ret; + cppISteamInput_SteamInput001_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamInput_SteamInput001_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamInput_SteamInput001_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_Shutdown(_this->u_iface); - return _ret; + cppISteamInput_SteamInput001_Shutdown( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput001_RunFrame(struct w_steam_iface *_this) { + struct cppISteamInput_SteamInput001_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_RunFrame(_this->u_iface); + cppISteamInput_SteamInput001_RunFrame( ¶ms ); } int __thiscall winISteamInput_SteamInput001_GetConnectedControllers(struct w_steam_iface *_this, InputHandle_t *handlesOut) { - int _ret; + struct cppISteamInput_SteamInput001_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetConnectedControllers(_this->u_iface, handlesOut); - return _ret; + cppISteamInput_SteamInput001_GetConnectedControllers( ¶ms ); + return params._ret; } InputActionSetHandle_t __thiscall winISteamInput_SteamInput001_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { - InputActionSetHandle_t _ret; + struct cppISteamInput_SteamInput001_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetActionSetHandle(_this->u_iface, pszActionSetName); - return _ret; + cppISteamInput_SteamInput001_GetActionSetHandle( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput001_ActivateActionSet(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) { + struct cppISteamInput_SteamInput001_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_ActivateActionSet(_this->u_iface, inputHandle, actionSetHandle); + cppISteamInput_SteamInput001_ActivateActionSet( ¶ms ); } InputActionSetHandle_t __thiscall winISteamInput_SteamInput001_GetCurrentActionSet(struct w_steam_iface *_this, InputHandle_t inputHandle) { - InputActionSetHandle_t _ret; + struct cppISteamInput_SteamInput001_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetCurrentActionSet(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput001_GetCurrentActionSet( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput001_ActivateActionSetLayer(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) { + struct cppISteamInput_SteamInput001_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_ActivateActionSetLayer(_this->u_iface, inputHandle, actionSetLayerHandle); + cppISteamInput_SteamInput001_ActivateActionSetLayer( ¶ms ); } void __thiscall winISteamInput_SteamInput001_DeactivateActionSetLayer(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) { + struct cppISteamInput_SteamInput001_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_DeactivateActionSetLayer(_this->u_iface, inputHandle, actionSetLayerHandle); + cppISteamInput_SteamInput001_DeactivateActionSetLayer( ¶ms ); } void __thiscall winISteamInput_SteamInput001_DeactivateAllActionSetLayers(struct w_steam_iface *_this, InputHandle_t inputHandle) { + struct cppISteamInput_SteamInput001_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_DeactivateAllActionSetLayers(_this->u_iface, inputHandle); + cppISteamInput_SteamInput001_DeactivateAllActionSetLayers( ¶ms ); } int __thiscall winISteamInput_SteamInput001_GetActiveActionSetLayers(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t *handlesOut) { - int _ret; + struct cppISteamInput_SteamInput001_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetActiveActionSetLayers(_this->u_iface, inputHandle, handlesOut); - return _ret; + cppISteamInput_SteamInput001_GetActiveActionSetLayers( ¶ms ); + return params._ret; } InputDigitalActionHandle_t __thiscall winISteamInput_SteamInput001_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - InputDigitalActionHandle_t _ret; + struct cppISteamInput_SteamInput001_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetDigitalActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamInput_SteamInput001_GetDigitalActionHandle( ¶ms ); + return params._ret; } InputDigitalActionData_t * __thiscall winISteamInput_SteamInput001_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) { + struct cppISteamInput_SteamInput001_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamInput_SteamInput001_GetDigitalActionData(_this->u_iface, inputHandle, digitalActionHandle); - return _ret; + cppISteamInput_SteamInput001_GetDigitalActionData( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput001_GetDigitalActionOrigins(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin *originsOut) { - int _ret; + struct cppISteamInput_SteamInput001_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetDigitalActionOrigins(_this->u_iface, inputHandle, actionSetHandle, digitalActionHandle, originsOut); - return _ret; + cppISteamInput_SteamInput001_GetDigitalActionOrigins( ¶ms ); + return params._ret; } InputAnalogActionHandle_t __thiscall winISteamInput_SteamInput001_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - InputAnalogActionHandle_t _ret; + struct cppISteamInput_SteamInput001_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetAnalogActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamInput_SteamInput001_GetAnalogActionHandle( ¶ms ); + return params._ret; } InputAnalogActionData_t * __thiscall winISteamInput_SteamInput001_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) { + struct cppISteamInput_SteamInput001_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamInput_SteamInput001_GetAnalogActionData(_this->u_iface, inputHandle, analogActionHandle); - return _ret; + cppISteamInput_SteamInput001_GetAnalogActionData( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput001_GetAnalogActionOrigins(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin *originsOut) { - int _ret; + struct cppISteamInput_SteamInput001_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetAnalogActionOrigins(_this->u_iface, inputHandle, actionSetHandle, analogActionHandle, originsOut); - return _ret; + cppISteamInput_SteamInput001_GetAnalogActionOrigins( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput001_GetGlyphForActionOrigin(struct w_steam_iface *_this, EInputActionOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput001_GetGlyphForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetGlyphForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput001_GetGlyphForActionOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput001_GetStringForActionOrigin(struct w_steam_iface *_this, EInputActionOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput001_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetStringForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput001_GetStringForActionOrigin( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput001_StopAnalogActionMomentum(struct w_steam_iface *_this, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) { + struct cppISteamInput_SteamInput001_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_StopAnalogActionMomentum(_this->u_iface, inputHandle, eAction); + cppISteamInput_SteamInput001_StopAnalogActionMomentum( ¶ms ); } InputMotionData_t * __thiscall winISteamInput_SteamInput001_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, InputHandle_t inputHandle) { + struct cppISteamInput_SteamInput001_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamInput_SteamInput001_GetMotionData(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput001_GetMotionData( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput001_TriggerVibration(struct w_steam_iface *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) { + struct cppISteamInput_SteamInput001_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_TriggerVibration(_this->u_iface, inputHandle, usLeftSpeed, usRightSpeed); + cppISteamInput_SteamInput001_TriggerVibration( ¶ms ); } void __thiscall winISteamInput_SteamInput001_SetLEDColor(struct w_steam_iface *_this, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) { + struct cppISteamInput_SteamInput001_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_SetLEDColor(_this->u_iface, inputHandle, nColorR, nColorG, nColorB, nFlags); + cppISteamInput_SteamInput001_SetLEDColor( ¶ms ); } void __thiscall winISteamInput_SteamInput001_TriggerHapticPulse(struct w_steam_iface *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) { + struct cppISteamInput_SteamInput001_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_TriggerHapticPulse(_this->u_iface, inputHandle, eTargetPad, usDurationMicroSec); + cppISteamInput_SteamInput001_TriggerHapticPulse( ¶ms ); } void __thiscall winISteamInput_SteamInput001_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) { + struct cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse(_this->u_iface, inputHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse( ¶ms ); } bool __thiscall winISteamInput_SteamInput001_ShowBindingPanel(struct w_steam_iface *_this, InputHandle_t inputHandle) { - bool _ret; + struct cppISteamInput_SteamInput001_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_ShowBindingPanel(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput001_ShowBindingPanel( ¶ms ); + return params._ret; } ESteamInputType __thiscall winISteamInput_SteamInput001_GetInputTypeForHandle(struct w_steam_iface *_this, InputHandle_t inputHandle) { - ESteamInputType _ret; + struct cppISteamInput_SteamInput001_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetInputTypeForHandle(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput001_GetInputTypeForHandle( ¶ms ); + return params._ret; } InputHandle_t __thiscall winISteamInput_SteamInput001_GetControllerForGamepadIndex(struct w_steam_iface *_this, int nIndex) { - InputHandle_t _ret; + struct cppISteamInput_SteamInput001_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetControllerForGamepadIndex(_this->u_iface, nIndex); - return _ret; + cppISteamInput_SteamInput001_GetControllerForGamepadIndex( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput001_GetGamepadIndexForController(struct w_steam_iface *_this, InputHandle_t ulinputHandle) { - int _ret; + struct cppISteamInput_SteamInput001_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulinputHandle = ulinputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetGamepadIndexForController(_this->u_iface, ulinputHandle); - return _ret; + cppISteamInput_SteamInput001_GetGamepadIndexForController( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput001_GetStringForXboxOrigin(struct w_steam_iface *_this, EXboxOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput001_GetStringForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetStringForXboxOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput001_GetStringForXboxOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput001_GetGlyphForXboxOrigin(struct w_steam_iface *_this, EXboxOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput001_GetGlyphForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetGlyphForXboxOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput001_GetGlyphForXboxOrigin( ¶ms ); + return params._ret; } EInputActionOrigin __thiscall winISteamInput_SteamInput001_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, InputHandle_t inputHandle, EXboxOrigin eOrigin) { - EInputActionOrigin _ret; + struct cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin(_this->u_iface, inputHandle, eOrigin); - return _ret; + cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin( ¶ms ); + return params._ret; } EInputActionOrigin __thiscall winISteamInput_SteamInput001_TranslateActionOrigin(struct w_steam_iface *_this, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) { - EInputActionOrigin _ret; + struct cppISteamInput_SteamInput001_TranslateActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eDestinationInputType = eDestinationInputType, + .eSourceOrigin = eSourceOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_TranslateActionOrigin(_this->u_iface, eDestinationInputType, eSourceOrigin); - return _ret; + cppISteamInput_SteamInput001_TranslateActionOrigin( ¶ms ); + return params._ret; } bool __thiscall winISteamInput_SteamInput001_GetDeviceBindingRevision(struct w_steam_iface *_this, InputHandle_t inputHandle, int *pMajor, int *pMinor) { - bool _ret; + struct cppISteamInput_SteamInput001_GetDeviceBindingRevision_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .pMajor = pMajor, + .pMinor = pMinor, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetDeviceBindingRevision(_this->u_iface, inputHandle, pMajor, pMinor); - return _ret; + cppISteamInput_SteamInput001_GetDeviceBindingRevision( ¶ms ); + return params._ret; } uint32 __thiscall winISteamInput_SteamInput001_GetRemotePlaySessionID(struct w_steam_iface *_this, InputHandle_t inputHandle) { - uint32 _ret; + struct cppISteamInput_SteamInput001_GetRemotePlaySessionID_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput001_GetRemotePlaySessionID(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput001_GetRemotePlaySessionID( ¶ms ); + return params._ret; } extern vtable_ptr winISteamInput_SteamInput001_vtable; @@ -403,259 +586,442 @@ DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetRemotePlaySessionID, 12) bool __thiscall winISteamInput_SteamInput002_Init(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamInput_SteamInput002_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_Init(_this->u_iface); - return _ret; + cppISteamInput_SteamInput002_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamInput_SteamInput002_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamInput_SteamInput002_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_Shutdown(_this->u_iface); - return _ret; + cppISteamInput_SteamInput002_Shutdown( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput002_RunFrame(struct w_steam_iface *_this) { + struct cppISteamInput_SteamInput002_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_RunFrame(_this->u_iface); + cppISteamInput_SteamInput002_RunFrame( ¶ms ); } int __thiscall winISteamInput_SteamInput002_GetConnectedControllers(struct w_steam_iface *_this, InputHandle_t *handlesOut) { - int _ret; + struct cppISteamInput_SteamInput002_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetConnectedControllers(_this->u_iface, handlesOut); - return _ret; + cppISteamInput_SteamInput002_GetConnectedControllers( ¶ms ); + return params._ret; } InputActionSetHandle_t __thiscall winISteamInput_SteamInput002_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { - InputActionSetHandle_t _ret; + struct cppISteamInput_SteamInput002_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetActionSetHandle(_this->u_iface, pszActionSetName); - return _ret; + cppISteamInput_SteamInput002_GetActionSetHandle( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput002_ActivateActionSet(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) { + struct cppISteamInput_SteamInput002_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_ActivateActionSet(_this->u_iface, inputHandle, actionSetHandle); + cppISteamInput_SteamInput002_ActivateActionSet( ¶ms ); } InputActionSetHandle_t __thiscall winISteamInput_SteamInput002_GetCurrentActionSet(struct w_steam_iface *_this, InputHandle_t inputHandle) { - InputActionSetHandle_t _ret; + struct cppISteamInput_SteamInput002_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetCurrentActionSet(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput002_GetCurrentActionSet( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput002_ActivateActionSetLayer(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) { + struct cppISteamInput_SteamInput002_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_ActivateActionSetLayer(_this->u_iface, inputHandle, actionSetLayerHandle); + cppISteamInput_SteamInput002_ActivateActionSetLayer( ¶ms ); } void __thiscall winISteamInput_SteamInput002_DeactivateActionSetLayer(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) { + struct cppISteamInput_SteamInput002_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_DeactivateActionSetLayer(_this->u_iface, inputHandle, actionSetLayerHandle); + cppISteamInput_SteamInput002_DeactivateActionSetLayer( ¶ms ); } void __thiscall winISteamInput_SteamInput002_DeactivateAllActionSetLayers(struct w_steam_iface *_this, InputHandle_t inputHandle) { + struct cppISteamInput_SteamInput002_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_DeactivateAllActionSetLayers(_this->u_iface, inputHandle); + cppISteamInput_SteamInput002_DeactivateAllActionSetLayers( ¶ms ); } int __thiscall winISteamInput_SteamInput002_GetActiveActionSetLayers(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t *handlesOut) { - int _ret; + struct cppISteamInput_SteamInput002_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetActiveActionSetLayers(_this->u_iface, inputHandle, handlesOut); - return _ret; + cppISteamInput_SteamInput002_GetActiveActionSetLayers( ¶ms ); + return params._ret; } InputDigitalActionHandle_t __thiscall winISteamInput_SteamInput002_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - InputDigitalActionHandle_t _ret; + struct cppISteamInput_SteamInput002_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetDigitalActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamInput_SteamInput002_GetDigitalActionHandle( ¶ms ); + return params._ret; } InputDigitalActionData_t * __thiscall winISteamInput_SteamInput002_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) { + struct cppISteamInput_SteamInput002_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamInput_SteamInput002_GetDigitalActionData(_this->u_iface, inputHandle, digitalActionHandle); - return _ret; + cppISteamInput_SteamInput002_GetDigitalActionData( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput002_GetDigitalActionOrigins(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin *originsOut) { - int _ret; + struct cppISteamInput_SteamInput002_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetDigitalActionOrigins(_this->u_iface, inputHandle, actionSetHandle, digitalActionHandle, originsOut); - return _ret; + cppISteamInput_SteamInput002_GetDigitalActionOrigins( ¶ms ); + return params._ret; } InputAnalogActionHandle_t __thiscall winISteamInput_SteamInput002_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - InputAnalogActionHandle_t _ret; + struct cppISteamInput_SteamInput002_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetAnalogActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamInput_SteamInput002_GetAnalogActionHandle( ¶ms ); + return params._ret; } InputAnalogActionData_t * __thiscall winISteamInput_SteamInput002_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) { + struct cppISteamInput_SteamInput002_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamInput_SteamInput002_GetAnalogActionData(_this->u_iface, inputHandle, analogActionHandle); - return _ret; + cppISteamInput_SteamInput002_GetAnalogActionData( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput002_GetAnalogActionOrigins(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin *originsOut) { - int _ret; + struct cppISteamInput_SteamInput002_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetAnalogActionOrigins(_this->u_iface, inputHandle, actionSetHandle, analogActionHandle, originsOut); - return _ret; + cppISteamInput_SteamInput002_GetAnalogActionOrigins( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput002_GetGlyphForActionOrigin(struct w_steam_iface *_this, EInputActionOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput002_GetGlyphForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetGlyphForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput002_GetGlyphForActionOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput002_GetStringForActionOrigin(struct w_steam_iface *_this, EInputActionOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput002_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetStringForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput002_GetStringForActionOrigin( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput002_StopAnalogActionMomentum(struct w_steam_iface *_this, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) { + struct cppISteamInput_SteamInput002_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_StopAnalogActionMomentum(_this->u_iface, inputHandle, eAction); + cppISteamInput_SteamInput002_StopAnalogActionMomentum( ¶ms ); } InputMotionData_t * __thiscall winISteamInput_SteamInput002_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, InputHandle_t inputHandle) { + struct cppISteamInput_SteamInput002_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamInput_SteamInput002_GetMotionData(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput002_GetMotionData( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput002_TriggerVibration(struct w_steam_iface *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) { + struct cppISteamInput_SteamInput002_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_TriggerVibration(_this->u_iface, inputHandle, usLeftSpeed, usRightSpeed); + cppISteamInput_SteamInput002_TriggerVibration( ¶ms ); } void __thiscall winISteamInput_SteamInput002_SetLEDColor(struct w_steam_iface *_this, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) { + struct cppISteamInput_SteamInput002_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_SetLEDColor(_this->u_iface, inputHandle, nColorR, nColorG, nColorB, nFlags); + cppISteamInput_SteamInput002_SetLEDColor( ¶ms ); } void __thiscall winISteamInput_SteamInput002_TriggerHapticPulse(struct w_steam_iface *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) { + struct cppISteamInput_SteamInput002_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_TriggerHapticPulse(_this->u_iface, inputHandle, eTargetPad, usDurationMicroSec); + cppISteamInput_SteamInput002_TriggerHapticPulse( ¶ms ); } void __thiscall winISteamInput_SteamInput002_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) { + struct cppISteamInput_SteamInput002_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_TriggerRepeatedHapticPulse(_this->u_iface, inputHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + cppISteamInput_SteamInput002_TriggerRepeatedHapticPulse( ¶ms ); } bool __thiscall winISteamInput_SteamInput002_ShowBindingPanel(struct w_steam_iface *_this, InputHandle_t inputHandle) { - bool _ret; + struct cppISteamInput_SteamInput002_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_ShowBindingPanel(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput002_ShowBindingPanel( ¶ms ); + return params._ret; } ESteamInputType __thiscall winISteamInput_SteamInput002_GetInputTypeForHandle(struct w_steam_iface *_this, InputHandle_t inputHandle) { - ESteamInputType _ret; + struct cppISteamInput_SteamInput002_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetInputTypeForHandle(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput002_GetInputTypeForHandle( ¶ms ); + return params._ret; } InputHandle_t __thiscall winISteamInput_SteamInput002_GetControllerForGamepadIndex(struct w_steam_iface *_this, int nIndex) { - InputHandle_t _ret; + struct cppISteamInput_SteamInput002_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetControllerForGamepadIndex(_this->u_iface, nIndex); - return _ret; + cppISteamInput_SteamInput002_GetControllerForGamepadIndex( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput002_GetGamepadIndexForController(struct w_steam_iface *_this, InputHandle_t ulinputHandle) { - int _ret; + struct cppISteamInput_SteamInput002_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulinputHandle = ulinputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetGamepadIndexForController(_this->u_iface, ulinputHandle); - return _ret; + cppISteamInput_SteamInput002_GetGamepadIndexForController( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput002_GetStringForXboxOrigin(struct w_steam_iface *_this, EXboxOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput002_GetStringForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetStringForXboxOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput002_GetStringForXboxOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput002_GetGlyphForXboxOrigin(struct w_steam_iface *_this, EXboxOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput002_GetGlyphForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetGlyphForXboxOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput002_GetGlyphForXboxOrigin( ¶ms ); + return params._ret; } EInputActionOrigin __thiscall winISteamInput_SteamInput002_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, InputHandle_t inputHandle, EXboxOrigin eOrigin) { - EInputActionOrigin _ret; + struct cppISteamInput_SteamInput002_GetActionOriginFromXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetActionOriginFromXboxOrigin(_this->u_iface, inputHandle, eOrigin); - return _ret; + cppISteamInput_SteamInput002_GetActionOriginFromXboxOrigin( ¶ms ); + return params._ret; } EInputActionOrigin __thiscall winISteamInput_SteamInput002_TranslateActionOrigin(struct w_steam_iface *_this, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) { - EInputActionOrigin _ret; + struct cppISteamInput_SteamInput002_TranslateActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eDestinationInputType = eDestinationInputType, + .eSourceOrigin = eSourceOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_TranslateActionOrigin(_this->u_iface, eDestinationInputType, eSourceOrigin); - return _ret; + cppISteamInput_SteamInput002_TranslateActionOrigin( ¶ms ); + return params._ret; } bool __thiscall winISteamInput_SteamInput002_GetDeviceBindingRevision(struct w_steam_iface *_this, InputHandle_t inputHandle, int *pMajor, int *pMinor) { - bool _ret; + struct cppISteamInput_SteamInput002_GetDeviceBindingRevision_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .pMajor = pMajor, + .pMinor = pMinor, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetDeviceBindingRevision(_this->u_iface, inputHandle, pMajor, pMinor); - return _ret; + cppISteamInput_SteamInput002_GetDeviceBindingRevision( ¶ms ); + return params._ret; } uint32 __thiscall winISteamInput_SteamInput002_GetRemotePlaySessionID(struct w_steam_iface *_this, InputHandle_t inputHandle) { - uint32 _ret; + struct cppISteamInput_SteamInput002_GetRemotePlaySessionID_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput002_GetRemotePlaySessionID(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput002_GetRemotePlaySessionID( ¶ms ); + return params._ret; } extern vtable_ptr winISteamInput_SteamInput002_vtable; @@ -765,349 +1131,596 @@ DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetSessionInputConfiguratio bool __thiscall winISteamInput_SteamInput005_Init(struct w_steam_iface *_this, bool bExplicitlyCallRunFrame) { - bool _ret; + struct cppISteamInput_SteamInput005_Init_params params = + { + .linux_side = _this->u_iface, + .bExplicitlyCallRunFrame = bExplicitlyCallRunFrame, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_Init(_this->u_iface, bExplicitlyCallRunFrame); - return _ret; + cppISteamInput_SteamInput005_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamInput_SteamInput005_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamInput_SteamInput005_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_Shutdown(_this->u_iface); - return _ret; + cppISteamInput_SteamInput005_Shutdown( ¶ms ); + return params._ret; } bool __thiscall winISteamInput_SteamInput005_SetInputActionManifestFilePath(struct w_steam_iface *_this, const char *pchInputActionManifestAbsolutePath) { - bool _ret; - const char *u_pchInputActionManifestAbsolutePath = steamclient_dos_to_unix_path( pchInputActionManifestAbsolutePath, 0 ); + struct cppISteamInput_SteamInput005_SetInputActionManifestFilePath_params params = + { + .linux_side = _this->u_iface, + .pchInputActionManifestAbsolutePath = pchInputActionManifestAbsolutePath, + }; + params.pchInputActionManifestAbsolutePath = steamclient_dos_to_unix_path( pchInputActionManifestAbsolutePath, 0 ); TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_SetInputActionManifestFilePath(_this->u_iface, pchInputActionManifestAbsolutePath ? u_pchInputActionManifestAbsolutePath : NULL); - steamclient_free_path( u_pchInputActionManifestAbsolutePath ); - return _ret; + cppISteamInput_SteamInput005_SetInputActionManifestFilePath( ¶ms ); + steamclient_free_path( params.pchInputActionManifestAbsolutePath ); + return params._ret; } void __thiscall winISteamInput_SteamInput005_RunFrame(struct w_steam_iface *_this, bool bReservedValue) { + struct cppISteamInput_SteamInput005_RunFrame_params params = + { + .linux_side = _this->u_iface, + .bReservedValue = bReservedValue, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_RunFrame(_this->u_iface, bReservedValue); + cppISteamInput_SteamInput005_RunFrame( ¶ms ); } bool __thiscall winISteamInput_SteamInput005_BWaitForData(struct w_steam_iface *_this, bool bWaitForever, uint32 unTimeout) { - bool _ret; + struct cppISteamInput_SteamInput005_BWaitForData_params params = + { + .linux_side = _this->u_iface, + .bWaitForever = bWaitForever, + .unTimeout = unTimeout, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_BWaitForData(_this->u_iface, bWaitForever, unTimeout); - return _ret; + cppISteamInput_SteamInput005_BWaitForData( ¶ms ); + return params._ret; } bool __thiscall winISteamInput_SteamInput005_BNewDataAvailable(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamInput_SteamInput005_BNewDataAvailable_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_BNewDataAvailable(_this->u_iface); - return _ret; + cppISteamInput_SteamInput005_BNewDataAvailable( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput005_GetConnectedControllers(struct w_steam_iface *_this, InputHandle_t *handlesOut) { - int _ret; + struct cppISteamInput_SteamInput005_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetConnectedControllers(_this->u_iface, handlesOut); - return _ret; + cppISteamInput_SteamInput005_GetConnectedControllers( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput005_EnableDeviceCallbacks(struct w_steam_iface *_this) { + struct cppISteamInput_SteamInput005_EnableDeviceCallbacks_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_EnableDeviceCallbacks(_this->u_iface); + cppISteamInput_SteamInput005_EnableDeviceCallbacks( ¶ms ); } void __thiscall winISteamInput_SteamInput005_EnableActionEventCallbacks(struct w_steam_iface *_this, SteamInputActionEventCallbackPointer pCallback) { + struct cppISteamInput_SteamInput005_EnableActionEventCallbacks_params params = + { + .linux_side = _this->u_iface, + .pCallback = pCallback, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_EnableActionEventCallbacks(_this->u_iface, pCallback); + cppISteamInput_SteamInput005_EnableActionEventCallbacks( ¶ms ); } InputActionSetHandle_t __thiscall winISteamInput_SteamInput005_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { - InputActionSetHandle_t _ret; + struct cppISteamInput_SteamInput005_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetActionSetHandle(_this->u_iface, pszActionSetName); - return _ret; + cppISteamInput_SteamInput005_GetActionSetHandle( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput005_ActivateActionSet(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) { + struct cppISteamInput_SteamInput005_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_ActivateActionSet(_this->u_iface, inputHandle, actionSetHandle); + cppISteamInput_SteamInput005_ActivateActionSet( ¶ms ); } InputActionSetHandle_t __thiscall winISteamInput_SteamInput005_GetCurrentActionSet(struct w_steam_iface *_this, InputHandle_t inputHandle) { - InputActionSetHandle_t _ret; + struct cppISteamInput_SteamInput005_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetCurrentActionSet(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput005_GetCurrentActionSet( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput005_ActivateActionSetLayer(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) { + struct cppISteamInput_SteamInput005_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_ActivateActionSetLayer(_this->u_iface, inputHandle, actionSetLayerHandle); + cppISteamInput_SteamInput005_ActivateActionSetLayer( ¶ms ); } void __thiscall winISteamInput_SteamInput005_DeactivateActionSetLayer(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) { + struct cppISteamInput_SteamInput005_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_DeactivateActionSetLayer(_this->u_iface, inputHandle, actionSetLayerHandle); + cppISteamInput_SteamInput005_DeactivateActionSetLayer( ¶ms ); } void __thiscall winISteamInput_SteamInput005_DeactivateAllActionSetLayers(struct w_steam_iface *_this, InputHandle_t inputHandle) { + struct cppISteamInput_SteamInput005_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_DeactivateAllActionSetLayers(_this->u_iface, inputHandle); + cppISteamInput_SteamInput005_DeactivateAllActionSetLayers( ¶ms ); } int __thiscall winISteamInput_SteamInput005_GetActiveActionSetLayers(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t *handlesOut) { - int _ret; + struct cppISteamInput_SteamInput005_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetActiveActionSetLayers(_this->u_iface, inputHandle, handlesOut); - return _ret; + cppISteamInput_SteamInput005_GetActiveActionSetLayers( ¶ms ); + return params._ret; } InputDigitalActionHandle_t __thiscall winISteamInput_SteamInput005_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - InputDigitalActionHandle_t _ret; + struct cppISteamInput_SteamInput005_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetDigitalActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamInput_SteamInput005_GetDigitalActionHandle( ¶ms ); + return params._ret; } InputDigitalActionData_t * __thiscall winISteamInput_SteamInput005_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) { + struct cppISteamInput_SteamInput005_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamInput_SteamInput005_GetDigitalActionData(_this->u_iface, inputHandle, digitalActionHandle); - return _ret; + cppISteamInput_SteamInput005_GetDigitalActionData( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput005_GetDigitalActionOrigins(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin *originsOut) { - int _ret; + struct cppISteamInput_SteamInput005_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetDigitalActionOrigins(_this->u_iface, inputHandle, actionSetHandle, digitalActionHandle, originsOut); - return _ret; + cppISteamInput_SteamInput005_GetDigitalActionOrigins( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput005_GetStringForDigitalActionName(struct w_steam_iface *_this, InputDigitalActionHandle_t eActionHandle) { - const char * _ret; + struct cppISteamInput_SteamInput005_GetStringForDigitalActionName_params params = + { + .linux_side = _this->u_iface, + .eActionHandle = eActionHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetStringForDigitalActionName(_this->u_iface, eActionHandle); - return _ret; + cppISteamInput_SteamInput005_GetStringForDigitalActionName( ¶ms ); + return params._ret; } InputAnalogActionHandle_t __thiscall winISteamInput_SteamInput005_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - InputAnalogActionHandle_t _ret; + struct cppISteamInput_SteamInput005_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetAnalogActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamInput_SteamInput005_GetAnalogActionHandle( ¶ms ); + return params._ret; } InputAnalogActionData_t * __thiscall winISteamInput_SteamInput005_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) { + struct cppISteamInput_SteamInput005_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamInput_SteamInput005_GetAnalogActionData(_this->u_iface, inputHandle, analogActionHandle); - return _ret; + cppISteamInput_SteamInput005_GetAnalogActionData( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput005_GetAnalogActionOrigins(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin *originsOut) { - int _ret; + struct cppISteamInput_SteamInput005_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetAnalogActionOrigins(_this->u_iface, inputHandle, actionSetHandle, analogActionHandle, originsOut); - return _ret; + cppISteamInput_SteamInput005_GetAnalogActionOrigins( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput005_GetGlyphPNGForActionOrigin(struct w_steam_iface *_this, EInputActionOrigin eOrigin, ESteamInputGlyphSize eSize, uint32 unFlags) { - const char * _ret; + struct cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .eSize = eSize, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin(_this->u_iface, eOrigin, eSize, unFlags); - return _ret; + cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput005_GetGlyphSVGForActionOrigin(struct w_steam_iface *_this, EInputActionOrigin eOrigin, uint32 unFlags) { - const char * _ret; + struct cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin(_this->u_iface, eOrigin, unFlags); - return _ret; + cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy(struct w_steam_iface *_this, EInputActionOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput005_GetStringForActionOrigin(struct w_steam_iface *_this, EInputActionOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput005_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetStringForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput005_GetStringForActionOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput005_GetStringForAnalogActionName(struct w_steam_iface *_this, InputAnalogActionHandle_t eActionHandle) { - const char * _ret; + struct cppISteamInput_SteamInput005_GetStringForAnalogActionName_params params = + { + .linux_side = _this->u_iface, + .eActionHandle = eActionHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetStringForAnalogActionName(_this->u_iface, eActionHandle); - return _ret; + cppISteamInput_SteamInput005_GetStringForAnalogActionName( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput005_StopAnalogActionMomentum(struct w_steam_iface *_this, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) { + struct cppISteamInput_SteamInput005_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_StopAnalogActionMomentum(_this->u_iface, inputHandle, eAction); + cppISteamInput_SteamInput005_StopAnalogActionMomentum( ¶ms ); } InputMotionData_t * __thiscall winISteamInput_SteamInput005_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, InputHandle_t inputHandle) { + struct cppISteamInput_SteamInput005_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamInput_SteamInput005_GetMotionData(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput005_GetMotionData( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput005_TriggerVibration(struct w_steam_iface *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) { + struct cppISteamInput_SteamInput005_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_TriggerVibration(_this->u_iface, inputHandle, usLeftSpeed, usRightSpeed); + cppISteamInput_SteamInput005_TriggerVibration( ¶ms ); } void __thiscall winISteamInput_SteamInput005_TriggerVibrationExtended(struct w_steam_iface *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed, unsigned short usLeftTriggerSpeed, unsigned short usRightTriggerSpeed) { + struct cppISteamInput_SteamInput005_TriggerVibrationExtended_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + .usLeftTriggerSpeed = usLeftTriggerSpeed, + .usRightTriggerSpeed = usRightTriggerSpeed, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_TriggerVibrationExtended(_this->u_iface, inputHandle, usLeftSpeed, usRightSpeed, usLeftTriggerSpeed, usRightTriggerSpeed); + cppISteamInput_SteamInput005_TriggerVibrationExtended( ¶ms ); } void __thiscall winISteamInput_SteamInput005_TriggerSimpleHapticEvent(struct w_steam_iface *_this, InputHandle_t inputHandle, EControllerHapticLocation eHapticLocation, uint8 nIntensity, char nGainDB, uint8 nOtherIntensity, char nOtherGainDB) { + struct cppISteamInput_SteamInput005_TriggerSimpleHapticEvent_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eHapticLocation = eHapticLocation, + .nIntensity = nIntensity, + .nGainDB = nGainDB, + .nOtherIntensity = nOtherIntensity, + .nOtherGainDB = nOtherGainDB, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_TriggerSimpleHapticEvent(_this->u_iface, inputHandle, eHapticLocation, nIntensity, nGainDB, nOtherIntensity, nOtherGainDB); + cppISteamInput_SteamInput005_TriggerSimpleHapticEvent( ¶ms ); } void __thiscall winISteamInput_SteamInput005_SetLEDColor(struct w_steam_iface *_this, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) { + struct cppISteamInput_SteamInput005_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_SetLEDColor(_this->u_iface, inputHandle, nColorR, nColorG, nColorB, nFlags); + cppISteamInput_SteamInput005_SetLEDColor( ¶ms ); } void __thiscall winISteamInput_SteamInput005_Legacy_TriggerHapticPulse(struct w_steam_iface *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) { + struct cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse(_this->u_iface, inputHandle, eTargetPad, usDurationMicroSec); + cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse( ¶ms ); } void __thiscall winISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) { + struct cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse(_this->u_iface, inputHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse( ¶ms ); } bool __thiscall winISteamInput_SteamInput005_ShowBindingPanel(struct w_steam_iface *_this, InputHandle_t inputHandle) { - bool _ret; + struct cppISteamInput_SteamInput005_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_ShowBindingPanel(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput005_ShowBindingPanel( ¶ms ); + return params._ret; } ESteamInputType __thiscall winISteamInput_SteamInput005_GetInputTypeForHandle(struct w_steam_iface *_this, InputHandle_t inputHandle) { - ESteamInputType _ret; + struct cppISteamInput_SteamInput005_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetInputTypeForHandle(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput005_GetInputTypeForHandle( ¶ms ); + return params._ret; } InputHandle_t __thiscall winISteamInput_SteamInput005_GetControllerForGamepadIndex(struct w_steam_iface *_this, int nIndex) { - InputHandle_t _ret; + struct cppISteamInput_SteamInput005_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetControllerForGamepadIndex(_this->u_iface, nIndex); - return _ret; + cppISteamInput_SteamInput005_GetControllerForGamepadIndex( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput005_GetGamepadIndexForController(struct w_steam_iface *_this, InputHandle_t ulinputHandle) { - int _ret; + struct cppISteamInput_SteamInput005_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulinputHandle = ulinputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetGamepadIndexForController(_this->u_iface, ulinputHandle); - return _ret; + cppISteamInput_SteamInput005_GetGamepadIndexForController( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput005_GetStringForXboxOrigin(struct w_steam_iface *_this, EXboxOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput005_GetStringForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetStringForXboxOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput005_GetStringForXboxOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput005_GetGlyphForXboxOrigin(struct w_steam_iface *_this, EXboxOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput005_GetGlyphForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetGlyphForXboxOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput005_GetGlyphForXboxOrigin( ¶ms ); + return params._ret; } EInputActionOrigin __thiscall winISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, InputHandle_t inputHandle, EXboxOrigin eOrigin) { - EInputActionOrigin _ret; + struct cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(_this->u_iface, inputHandle, eOrigin); - return _ret; + cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin( ¶ms ); + return params._ret; } EInputActionOrigin __thiscall winISteamInput_SteamInput005_TranslateActionOrigin(struct w_steam_iface *_this, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) { - EInputActionOrigin _ret; + struct cppISteamInput_SteamInput005_TranslateActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eDestinationInputType = eDestinationInputType, + .eSourceOrigin = eSourceOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_TranslateActionOrigin(_this->u_iface, eDestinationInputType, eSourceOrigin); - return _ret; + cppISteamInput_SteamInput005_TranslateActionOrigin( ¶ms ); + return params._ret; } bool __thiscall winISteamInput_SteamInput005_GetDeviceBindingRevision(struct w_steam_iface *_this, InputHandle_t inputHandle, int *pMajor, int *pMinor) { - bool _ret; + struct cppISteamInput_SteamInput005_GetDeviceBindingRevision_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .pMajor = pMajor, + .pMinor = pMinor, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetDeviceBindingRevision(_this->u_iface, inputHandle, pMajor, pMinor); - return _ret; + cppISteamInput_SteamInput005_GetDeviceBindingRevision( ¶ms ); + return params._ret; } uint32 __thiscall winISteamInput_SteamInput005_GetRemotePlaySessionID(struct w_steam_iface *_this, InputHandle_t inputHandle) { - uint32 _ret; + struct cppISteamInput_SteamInput005_GetRemotePlaySessionID_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetRemotePlaySessionID(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput005_GetRemotePlaySessionID( ¶ms ); + return params._ret; } uint16 __thiscall winISteamInput_SteamInput005_GetSessionInputConfigurationSettings(struct w_steam_iface *_this) { - uint16 _ret; + struct cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings(_this->u_iface); - return _ret; + cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings( ¶ms ); + return params._ret; } extern vtable_ptr winISteamInput_SteamInput005_vtable; @@ -1230,355 +1843,608 @@ DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_SetDualSenseTriggerEffect, bool __thiscall winISteamInput_SteamInput006_Init(struct w_steam_iface *_this, bool bExplicitlyCallRunFrame) { - bool _ret; + struct cppISteamInput_SteamInput006_Init_params params = + { + .linux_side = _this->u_iface, + .bExplicitlyCallRunFrame = bExplicitlyCallRunFrame, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_Init(_this->u_iface, bExplicitlyCallRunFrame); - return _ret; + cppISteamInput_SteamInput006_Init( ¶ms ); + return params._ret; } bool __thiscall winISteamInput_SteamInput006_Shutdown(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamInput_SteamInput006_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_Shutdown(_this->u_iface); - return _ret; + cppISteamInput_SteamInput006_Shutdown( ¶ms ); + return params._ret; } bool __thiscall winISteamInput_SteamInput006_SetInputActionManifestFilePath(struct w_steam_iface *_this, const char *pchInputActionManifestAbsolutePath) { - bool _ret; - const char *u_pchInputActionManifestAbsolutePath = steamclient_dos_to_unix_path( pchInputActionManifestAbsolutePath, 0 ); + struct cppISteamInput_SteamInput006_SetInputActionManifestFilePath_params params = + { + .linux_side = _this->u_iface, + .pchInputActionManifestAbsolutePath = pchInputActionManifestAbsolutePath, + }; + params.pchInputActionManifestAbsolutePath = steamclient_dos_to_unix_path( pchInputActionManifestAbsolutePath, 0 ); TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_SetInputActionManifestFilePath(_this->u_iface, pchInputActionManifestAbsolutePath ? u_pchInputActionManifestAbsolutePath : NULL); - steamclient_free_path( u_pchInputActionManifestAbsolutePath ); - return _ret; + cppISteamInput_SteamInput006_SetInputActionManifestFilePath( ¶ms ); + steamclient_free_path( params.pchInputActionManifestAbsolutePath ); + return params._ret; } void __thiscall winISteamInput_SteamInput006_RunFrame(struct w_steam_iface *_this, bool bReservedValue) { + struct cppISteamInput_SteamInput006_RunFrame_params params = + { + .linux_side = _this->u_iface, + .bReservedValue = bReservedValue, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_RunFrame(_this->u_iface, bReservedValue); + cppISteamInput_SteamInput006_RunFrame( ¶ms ); } bool __thiscall winISteamInput_SteamInput006_BWaitForData(struct w_steam_iface *_this, bool bWaitForever, uint32 unTimeout) { - bool _ret; + struct cppISteamInput_SteamInput006_BWaitForData_params params = + { + .linux_side = _this->u_iface, + .bWaitForever = bWaitForever, + .unTimeout = unTimeout, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_BWaitForData(_this->u_iface, bWaitForever, unTimeout); - return _ret; + cppISteamInput_SteamInput006_BWaitForData( ¶ms ); + return params._ret; } bool __thiscall winISteamInput_SteamInput006_BNewDataAvailable(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamInput_SteamInput006_BNewDataAvailable_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_BNewDataAvailable(_this->u_iface); - return _ret; + cppISteamInput_SteamInput006_BNewDataAvailable( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput006_GetConnectedControllers(struct w_steam_iface *_this, InputHandle_t *handlesOut) { - int _ret; + struct cppISteamInput_SteamInput006_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetConnectedControllers(_this->u_iface, handlesOut); - return _ret; + cppISteamInput_SteamInput006_GetConnectedControllers( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput006_EnableDeviceCallbacks(struct w_steam_iface *_this) { + struct cppISteamInput_SteamInput006_EnableDeviceCallbacks_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_EnableDeviceCallbacks(_this->u_iface); + cppISteamInput_SteamInput006_EnableDeviceCallbacks( ¶ms ); } void __thiscall winISteamInput_SteamInput006_EnableActionEventCallbacks(struct w_steam_iface *_this, SteamInputActionEventCallbackPointer pCallback) { + struct cppISteamInput_SteamInput006_EnableActionEventCallbacks_params params = + { + .linux_side = _this->u_iface, + .pCallback = pCallback, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_EnableActionEventCallbacks(_this->u_iface, pCallback); + cppISteamInput_SteamInput006_EnableActionEventCallbacks( ¶ms ); } InputActionSetHandle_t __thiscall winISteamInput_SteamInput006_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { - InputActionSetHandle_t _ret; + struct cppISteamInput_SteamInput006_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetActionSetHandle(_this->u_iface, pszActionSetName); - return _ret; + cppISteamInput_SteamInput006_GetActionSetHandle( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput006_ActivateActionSet(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) { + struct cppISteamInput_SteamInput006_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_ActivateActionSet(_this->u_iface, inputHandle, actionSetHandle); + cppISteamInput_SteamInput006_ActivateActionSet( ¶ms ); } InputActionSetHandle_t __thiscall winISteamInput_SteamInput006_GetCurrentActionSet(struct w_steam_iface *_this, InputHandle_t inputHandle) { - InputActionSetHandle_t _ret; + struct cppISteamInput_SteamInput006_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetCurrentActionSet(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput006_GetCurrentActionSet( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput006_ActivateActionSetLayer(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) { + struct cppISteamInput_SteamInput006_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_ActivateActionSetLayer(_this->u_iface, inputHandle, actionSetLayerHandle); + cppISteamInput_SteamInput006_ActivateActionSetLayer( ¶ms ); } void __thiscall winISteamInput_SteamInput006_DeactivateActionSetLayer(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) { + struct cppISteamInput_SteamInput006_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_DeactivateActionSetLayer(_this->u_iface, inputHandle, actionSetLayerHandle); + cppISteamInput_SteamInput006_DeactivateActionSetLayer( ¶ms ); } void __thiscall winISteamInput_SteamInput006_DeactivateAllActionSetLayers(struct w_steam_iface *_this, InputHandle_t inputHandle) { + struct cppISteamInput_SteamInput006_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_DeactivateAllActionSetLayers(_this->u_iface, inputHandle); + cppISteamInput_SteamInput006_DeactivateAllActionSetLayers( ¶ms ); } int __thiscall winISteamInput_SteamInput006_GetActiveActionSetLayers(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t *handlesOut) { - int _ret; + struct cppISteamInput_SteamInput006_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetActiveActionSetLayers(_this->u_iface, inputHandle, handlesOut); - return _ret; + cppISteamInput_SteamInput006_GetActiveActionSetLayers( ¶ms ); + return params._ret; } InputDigitalActionHandle_t __thiscall winISteamInput_SteamInput006_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - InputDigitalActionHandle_t _ret; + struct cppISteamInput_SteamInput006_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetDigitalActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamInput_SteamInput006_GetDigitalActionHandle( ¶ms ); + return params._ret; } InputDigitalActionData_t * __thiscall winISteamInput_SteamInput006_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) { + struct cppISteamInput_SteamInput006_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamInput_SteamInput006_GetDigitalActionData(_this->u_iface, inputHandle, digitalActionHandle); - return _ret; + cppISteamInput_SteamInput006_GetDigitalActionData( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput006_GetDigitalActionOrigins(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin *originsOut) { - int _ret; + struct cppISteamInput_SteamInput006_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetDigitalActionOrigins(_this->u_iface, inputHandle, actionSetHandle, digitalActionHandle, originsOut); - return _ret; + cppISteamInput_SteamInput006_GetDigitalActionOrigins( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput006_GetStringForDigitalActionName(struct w_steam_iface *_this, InputDigitalActionHandle_t eActionHandle) { - const char * _ret; + struct cppISteamInput_SteamInput006_GetStringForDigitalActionName_params params = + { + .linux_side = _this->u_iface, + .eActionHandle = eActionHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetStringForDigitalActionName(_this->u_iface, eActionHandle); - return _ret; + cppISteamInput_SteamInput006_GetStringForDigitalActionName( ¶ms ); + return params._ret; } InputAnalogActionHandle_t __thiscall winISteamInput_SteamInput006_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - InputAnalogActionHandle_t _ret; + struct cppISteamInput_SteamInput006_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetAnalogActionHandle(_this->u_iface, pszActionName); - return _ret; + cppISteamInput_SteamInput006_GetAnalogActionHandle( ¶ms ); + return params._ret; } InputAnalogActionData_t * __thiscall winISteamInput_SteamInput006_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) { + struct cppISteamInput_SteamInput006_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamInput_SteamInput006_GetAnalogActionData(_this->u_iface, inputHandle, analogActionHandle); - return _ret; + cppISteamInput_SteamInput006_GetAnalogActionData( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput006_GetAnalogActionOrigins(struct w_steam_iface *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin *originsOut) { - int _ret; + struct cppISteamInput_SteamInput006_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetAnalogActionOrigins(_this->u_iface, inputHandle, actionSetHandle, analogActionHandle, originsOut); - return _ret; + cppISteamInput_SteamInput006_GetAnalogActionOrigins( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput006_GetGlyphPNGForActionOrigin(struct w_steam_iface *_this, EInputActionOrigin eOrigin, ESteamInputGlyphSize eSize, uint32 unFlags) { - const char * _ret; + struct cppISteamInput_SteamInput006_GetGlyphPNGForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .eSize = eSize, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetGlyphPNGForActionOrigin(_this->u_iface, eOrigin, eSize, unFlags); - return _ret; + cppISteamInput_SteamInput006_GetGlyphPNGForActionOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput006_GetGlyphSVGForActionOrigin(struct w_steam_iface *_this, EInputActionOrigin eOrigin, uint32 unFlags) { - const char * _ret; + struct cppISteamInput_SteamInput006_GetGlyphSVGForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetGlyphSVGForActionOrigin(_this->u_iface, eOrigin, unFlags); - return _ret; + cppISteamInput_SteamInput006_GetGlyphSVGForActionOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy(struct w_steam_iface *_this, EInputActionOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput006_GetStringForActionOrigin(struct w_steam_iface *_this, EInputActionOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput006_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetStringForActionOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput006_GetStringForActionOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput006_GetStringForAnalogActionName(struct w_steam_iface *_this, InputAnalogActionHandle_t eActionHandle) { - const char * _ret; + struct cppISteamInput_SteamInput006_GetStringForAnalogActionName_params params = + { + .linux_side = _this->u_iface, + .eActionHandle = eActionHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetStringForAnalogActionName(_this->u_iface, eActionHandle); - return _ret; + cppISteamInput_SteamInput006_GetStringForAnalogActionName( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput006_StopAnalogActionMomentum(struct w_steam_iface *_this, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) { + struct cppISteamInput_SteamInput006_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_StopAnalogActionMomentum(_this->u_iface, inputHandle, eAction); + cppISteamInput_SteamInput006_StopAnalogActionMomentum( ¶ms ); } InputMotionData_t * __thiscall winISteamInput_SteamInput006_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, InputHandle_t inputHandle) { + struct cppISteamInput_SteamInput006_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - *_ret = cppISteamInput_SteamInput006_GetMotionData(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput006_GetMotionData( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput006_TriggerVibration(struct w_steam_iface *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) { + struct cppISteamInput_SteamInput006_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_TriggerVibration(_this->u_iface, inputHandle, usLeftSpeed, usRightSpeed); + cppISteamInput_SteamInput006_TriggerVibration( ¶ms ); } void __thiscall winISteamInput_SteamInput006_TriggerVibrationExtended(struct w_steam_iface *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed, unsigned short usLeftTriggerSpeed, unsigned short usRightTriggerSpeed) { + struct cppISteamInput_SteamInput006_TriggerVibrationExtended_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + .usLeftTriggerSpeed = usLeftTriggerSpeed, + .usRightTriggerSpeed = usRightTriggerSpeed, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_TriggerVibrationExtended(_this->u_iface, inputHandle, usLeftSpeed, usRightSpeed, usLeftTriggerSpeed, usRightTriggerSpeed); + cppISteamInput_SteamInput006_TriggerVibrationExtended( ¶ms ); } void __thiscall winISteamInput_SteamInput006_TriggerSimpleHapticEvent(struct w_steam_iface *_this, InputHandle_t inputHandle, EControllerHapticLocation eHapticLocation, uint8 nIntensity, char nGainDB, uint8 nOtherIntensity, char nOtherGainDB) { + struct cppISteamInput_SteamInput006_TriggerSimpleHapticEvent_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eHapticLocation = eHapticLocation, + .nIntensity = nIntensity, + .nGainDB = nGainDB, + .nOtherIntensity = nOtherIntensity, + .nOtherGainDB = nOtherGainDB, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_TriggerSimpleHapticEvent(_this->u_iface, inputHandle, eHapticLocation, nIntensity, nGainDB, nOtherIntensity, nOtherGainDB); + cppISteamInput_SteamInput006_TriggerSimpleHapticEvent( ¶ms ); } void __thiscall winISteamInput_SteamInput006_SetLEDColor(struct w_steam_iface *_this, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) { + struct cppISteamInput_SteamInput006_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_SetLEDColor(_this->u_iface, inputHandle, nColorR, nColorG, nColorB, nFlags); + cppISteamInput_SteamInput006_SetLEDColor( ¶ms ); } void __thiscall winISteamInput_SteamInput006_Legacy_TriggerHapticPulse(struct w_steam_iface *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) { + struct cppISteamInput_SteamInput006_Legacy_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_Legacy_TriggerHapticPulse(_this->u_iface, inputHandle, eTargetPad, usDurationMicroSec); + cppISteamInput_SteamInput006_Legacy_TriggerHapticPulse( ¶ms ); } void __thiscall winISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) { + struct cppISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse(_this->u_iface, inputHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + cppISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse( ¶ms ); } bool __thiscall winISteamInput_SteamInput006_ShowBindingPanel(struct w_steam_iface *_this, InputHandle_t inputHandle) { - bool _ret; + struct cppISteamInput_SteamInput006_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_ShowBindingPanel(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput006_ShowBindingPanel( ¶ms ); + return params._ret; } ESteamInputType __thiscall winISteamInput_SteamInput006_GetInputTypeForHandle(struct w_steam_iface *_this, InputHandle_t inputHandle) { - ESteamInputType _ret; + struct cppISteamInput_SteamInput006_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetInputTypeForHandle(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput006_GetInputTypeForHandle( ¶ms ); + return params._ret; } InputHandle_t __thiscall winISteamInput_SteamInput006_GetControllerForGamepadIndex(struct w_steam_iface *_this, int nIndex) { - InputHandle_t _ret; + struct cppISteamInput_SteamInput006_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetControllerForGamepadIndex(_this->u_iface, nIndex); - return _ret; + cppISteamInput_SteamInput006_GetControllerForGamepadIndex( ¶ms ); + return params._ret; } int __thiscall winISteamInput_SteamInput006_GetGamepadIndexForController(struct w_steam_iface *_this, InputHandle_t ulinputHandle) { - int _ret; + struct cppISteamInput_SteamInput006_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulinputHandle = ulinputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetGamepadIndexForController(_this->u_iface, ulinputHandle); - return _ret; + cppISteamInput_SteamInput006_GetGamepadIndexForController( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput006_GetStringForXboxOrigin(struct w_steam_iface *_this, EXboxOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput006_GetStringForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetStringForXboxOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput006_GetStringForXboxOrigin( ¶ms ); + return params._ret; } const char * __thiscall winISteamInput_SteamInput006_GetGlyphForXboxOrigin(struct w_steam_iface *_this, EXboxOrigin eOrigin) { - const char * _ret; + struct cppISteamInput_SteamInput006_GetGlyphForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetGlyphForXboxOrigin(_this->u_iface, eOrigin); - return _ret; + cppISteamInput_SteamInput006_GetGlyphForXboxOrigin( ¶ms ); + return params._ret; } EInputActionOrigin __thiscall winISteamInput_SteamInput006_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, InputHandle_t inputHandle, EXboxOrigin eOrigin) { - EInputActionOrigin _ret; + struct cppISteamInput_SteamInput006_GetActionOriginFromXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetActionOriginFromXboxOrigin(_this->u_iface, inputHandle, eOrigin); - return _ret; + cppISteamInput_SteamInput006_GetActionOriginFromXboxOrigin( ¶ms ); + return params._ret; } EInputActionOrigin __thiscall winISteamInput_SteamInput006_TranslateActionOrigin(struct w_steam_iface *_this, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) { - EInputActionOrigin _ret; + struct cppISteamInput_SteamInput006_TranslateActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eDestinationInputType = eDestinationInputType, + .eSourceOrigin = eSourceOrigin, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_TranslateActionOrigin(_this->u_iface, eDestinationInputType, eSourceOrigin); - return _ret; + cppISteamInput_SteamInput006_TranslateActionOrigin( ¶ms ); + return params._ret; } bool __thiscall winISteamInput_SteamInput006_GetDeviceBindingRevision(struct w_steam_iface *_this, InputHandle_t inputHandle, int *pMajor, int *pMinor) { - bool _ret; + struct cppISteamInput_SteamInput006_GetDeviceBindingRevision_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .pMajor = pMajor, + .pMinor = pMinor, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetDeviceBindingRevision(_this->u_iface, inputHandle, pMajor, pMinor); - return _ret; + cppISteamInput_SteamInput006_GetDeviceBindingRevision( ¶ms ); + return params._ret; } uint32 __thiscall winISteamInput_SteamInput006_GetRemotePlaySessionID(struct w_steam_iface *_this, InputHandle_t inputHandle) { - uint32 _ret; + struct cppISteamInput_SteamInput006_GetRemotePlaySessionID_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetRemotePlaySessionID(_this->u_iface, inputHandle); - return _ret; + cppISteamInput_SteamInput006_GetRemotePlaySessionID( ¶ms ); + return params._ret; } uint16 __thiscall winISteamInput_SteamInput006_GetSessionInputConfigurationSettings(struct w_steam_iface *_this) { - uint16 _ret; + struct cppISteamInput_SteamInput006_GetSessionInputConfigurationSettings_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInput_SteamInput006_GetSessionInputConfigurationSettings(_this->u_iface); - return _ret; + cppISteamInput_SteamInput006_GetSessionInputConfigurationSettings( ¶ms ); + return params._ret; } void __thiscall winISteamInput_SteamInput006_SetDualSenseTriggerEffect(struct w_steam_iface *_this, InputHandle_t inputHandle, const ScePadTriggerEffectParam *pParam) { + struct cppISteamInput_SteamInput006_SetDualSenseTriggerEffect_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .pParam = pParam, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_SetDualSenseTriggerEffect(_this->u_iface, inputHandle, pParam); + cppISteamInput_SteamInput006_SetDualSenseTriggerEffect( ¶ms ); } extern vtable_ptr winISteamInput_SteamInput006_vtable; diff --git a/lsteamclient/winISteamInventory.c b/lsteamclient/winISteamInventory.c index 66fb50bd..8a074f49 100644 --- a/lsteamclient/winISteamInventory.c +++ b/lsteamclient/winISteamInventory.c @@ -42,190 +42,327 @@ DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetElig EResult __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle) { - EResult _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus(_this->u_iface, resultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle, SteamItemDetails_t *pOutItemsArray, uint32 *punOutItemsArraySize) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .pOutItemsArray = pOutItemsArray, + .punOutItemsArraySize = punOutItemsArraySize, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems(_this->u_iface, resultHandle, pOutItemsArray, punOutItemsArraySize); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle) { - uint32 _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp(_this->u_iface, resultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .steamIDExpected = steamIDExpected, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID(_this->u_iface, resultHandle, steamIDExpected); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID( ¶ms ); + return params._ret; } void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle) { + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult(_this->u_iface, resultHandle); + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult( ¶ms ); } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems(_this->u_iface, pResultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, const SteamItemInstanceID_t *pInstanceIDs, uint32 unCountInstanceIDs) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pInstanceIDs = pInstanceIDs, + .unCountInstanceIDs = unCountInstanceIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID(_this->u_iface, pResultHandle, pInstanceIDs, unCountInstanceIDs); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle, void *pOutBuffer, uint32 *punOutBufferSize) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .pOutBuffer = pOutBuffer, + .punOutBufferSize = punOutBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult(_this->u_iface, resultHandle, pOutBuffer, punOutBufferSize); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult(struct w_steam_iface *_this, SteamInventoryResult_t *pOutResultHandle, const void *pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult_params params = + { + .linux_side = _this->u_iface, + .pOutResultHandle = pOutResultHandle, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .bRESERVED_MUST_BE_FALSE = bRESERVED_MUST_BE_FALSE, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult(_this->u_iface, pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayItemDefs, const uint32 *punArrayQuantity, uint32 unArrayLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayItemDefs = pArrayItemDefs, + .punArrayQuantity = punArrayQuantity, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems(_this->u_iface, pResultHandle, pArrayItemDefs, punArrayQuantity, unArrayLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems(_this->u_iface, pResultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, SteamItemDef_t itemDef) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemDef = itemDef, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem(_this->u_iface, pResultHandle, itemDef); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayItemDefs, uint32 unArrayLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayItemDefs = pArrayItemDefs, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems(_this->u_iface, pResultHandle, pArrayItemDefs, unArrayLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemConsume = itemConsume, + .unQuantity = unQuantity, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem(_this->u_iface, pResultHandle, itemConsume, unQuantity); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayGenerate, const uint32 *punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t *pArrayDestroy, const uint32 *punArrayDestroyQuantity, uint32 unArrayDestroyLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayGenerate = pArrayGenerate, + .punArrayGenerateQuantity = punArrayGenerateQuantity, + .unArrayGenerateLength = unArrayGenerateLength, + .pArrayDestroy = pArrayDestroy, + .punArrayDestroyQuantity = punArrayDestroyQuantity, + .unArrayDestroyLength = unArrayDestroyLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems(_this->u_iface, pResultHandle, pArrayGenerate, punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemIdSource = itemIdSource, + .unQuantity = unQuantity, + .itemIdDest = itemIdDest, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity(_this->u_iface, pResultHandle, itemIdSource, unQuantity, itemIdDest); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity( ¶ms ); + return params._ret; } void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat(struct w_steam_iface *_this) { + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat(_this->u_iface); + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat( ¶ms ); } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, SteamItemDef_t dropListDefinition) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .dropListDefinition = dropListDefinition, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop(_this->u_iface, pResultHandle, dropListDefinition); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, CSteamID steamIDTradePartner, const SteamItemInstanceID_t *pArrayGive, const uint32 *pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t *pArrayGet, const uint32 *pArrayGetQuantity, uint32 nArrayGetLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .steamIDTradePartner = steamIDTradePartner, + .pArrayGive = pArrayGive, + .pArrayGiveQuantity = pArrayGiveQuantity, + .nArrayGiveLength = nArrayGiveLength, + .pArrayGet = pArrayGet, + .pArrayGetQuantity = pArrayGetQuantity, + .nArrayGetLength = nArrayGetLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems(_this->u_iface, pResultHandle, steamIDTradePartner, pArrayGive, pArrayGiveQuantity, nArrayGiveLength, pArrayGet, pArrayGetQuantity, nArrayGetLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions(_this->u_iface); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs(struct w_steam_iface *_this, SteamItemDef_t *pItemDefIDs, uint32 *punItemDefIDsArraySize) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs_params params = + { + .linux_side = _this->u_iface, + .pItemDefIDs = pItemDefIDs, + .punItemDefIDsArraySize = punItemDefIDsArraySize, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs(_this->u_iface, pItemDefIDs, punItemDefIDsArraySize); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty(struct w_steam_iface *_this, SteamItemDef_t iDefinition, const char *pchPropertyName, char *pchValueBuffer, uint32 *punValueBufferSizeOut) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty_params params = + { + .linux_side = _this->u_iface, + .iDefinition = iDefinition, + .pchPropertyName = pchPropertyName, + .pchValueBuffer = pchValueBuffer, + .punValueBufferSizeOut = punValueBufferSizeOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty(_this->u_iface, iDefinition, pchPropertyName, pchValueBuffer, punValueBufferSizeOut); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs(_this->u_iface, steamID); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs(struct w_steam_iface *_this, CSteamID steamID, SteamItemDef_t *pItemDefIDs, uint32 *punItemDefIDsArraySize) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pItemDefIDs = pItemDefIDs, + .punItemDefIDsArraySize = punItemDefIDsArraySize, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs(_this->u_iface, steamID, pItemDefIDs, punItemDefIDsArraySize); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs( ¶ms ); + return params._ret; } extern vtable_ptr winISteamInventory_STEAMINVENTORY_INTERFACE_V001_vtable; @@ -314,294 +451,504 @@ DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitU EResult __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle) { - EResult _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus(_this->u_iface, resultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle, SteamItemDetails_t *pOutItemsArray, uint32 *punOutItemsArraySize) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .pOutItemsArray = pOutItemsArray, + .punOutItemsArraySize = punOutItemsArraySize, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems(_this->u_iface, resultHandle, pOutItemsArray, punOutItemsArraySize); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle, uint32 unItemIndex, const char *pchPropertyName, char *pchValueBuffer, uint32 *punValueBufferSizeOut) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .unItemIndex = unItemIndex, + .pchPropertyName = pchPropertyName, + .pchValueBuffer = pchValueBuffer, + .punValueBufferSizeOut = punValueBufferSizeOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty(_this->u_iface, resultHandle, unItemIndex, pchPropertyName, pchValueBuffer, punValueBufferSizeOut); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty( ¶ms ); + return params._ret; } uint32 __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle) { - uint32 _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp(_this->u_iface, resultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .steamIDExpected = steamIDExpected, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID(_this->u_iface, resultHandle, steamIDExpected); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID( ¶ms ); + return params._ret; } void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle) { + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult(_this->u_iface, resultHandle); + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult( ¶ms ); } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems(_this->u_iface, pResultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, const SteamItemInstanceID_t *pInstanceIDs, uint32 unCountInstanceIDs) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pInstanceIDs = pInstanceIDs, + .unCountInstanceIDs = unCountInstanceIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID(_this->u_iface, pResultHandle, pInstanceIDs, unCountInstanceIDs); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle, void *pOutBuffer, uint32 *punOutBufferSize) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .pOutBuffer = pOutBuffer, + .punOutBufferSize = punOutBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult(_this->u_iface, resultHandle, pOutBuffer, punOutBufferSize); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult(struct w_steam_iface *_this, SteamInventoryResult_t *pOutResultHandle, const void *pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult_params params = + { + .linux_side = _this->u_iface, + .pOutResultHandle = pOutResultHandle, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .bRESERVED_MUST_BE_FALSE = bRESERVED_MUST_BE_FALSE, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult(_this->u_iface, pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayItemDefs, const uint32 *punArrayQuantity, uint32 unArrayLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayItemDefs = pArrayItemDefs, + .punArrayQuantity = punArrayQuantity, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems(_this->u_iface, pResultHandle, pArrayItemDefs, punArrayQuantity, unArrayLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems(_this->u_iface, pResultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, SteamItemDef_t itemDef) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemDef = itemDef, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem(_this->u_iface, pResultHandle, itemDef); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayItemDefs, uint32 unArrayLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayItemDefs = pArrayItemDefs, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems(_this->u_iface, pResultHandle, pArrayItemDefs, unArrayLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemConsume = itemConsume, + .unQuantity = unQuantity, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem(_this->u_iface, pResultHandle, itemConsume, unQuantity); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayGenerate, const uint32 *punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t *pArrayDestroy, const uint32 *punArrayDestroyQuantity, uint32 unArrayDestroyLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayGenerate = pArrayGenerate, + .punArrayGenerateQuantity = punArrayGenerateQuantity, + .unArrayGenerateLength = unArrayGenerateLength, + .pArrayDestroy = pArrayDestroy, + .punArrayDestroyQuantity = punArrayDestroyQuantity, + .unArrayDestroyLength = unArrayDestroyLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems(_this->u_iface, pResultHandle, pArrayGenerate, punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemIdSource = itemIdSource, + .unQuantity = unQuantity, + .itemIdDest = itemIdDest, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity(_this->u_iface, pResultHandle, itemIdSource, unQuantity, itemIdDest); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity( ¶ms ); + return params._ret; } void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat(struct w_steam_iface *_this) { + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat(_this->u_iface); + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat( ¶ms ); } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, SteamItemDef_t dropListDefinition) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .dropListDefinition = dropListDefinition, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop(_this->u_iface, pResultHandle, dropListDefinition); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, CSteamID steamIDTradePartner, const SteamItemInstanceID_t *pArrayGive, const uint32 *pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t *pArrayGet, const uint32 *pArrayGetQuantity, uint32 nArrayGetLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .steamIDTradePartner = steamIDTradePartner, + .pArrayGive = pArrayGive, + .pArrayGiveQuantity = pArrayGiveQuantity, + .nArrayGiveLength = nArrayGiveLength, + .pArrayGet = pArrayGet, + .pArrayGetQuantity = pArrayGetQuantity, + .nArrayGetLength = nArrayGetLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems(_this->u_iface, pResultHandle, steamIDTradePartner, pArrayGive, pArrayGiveQuantity, nArrayGiveLength, pArrayGet, pArrayGetQuantity, nArrayGetLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions(_this->u_iface); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs(struct w_steam_iface *_this, SteamItemDef_t *pItemDefIDs, uint32 *punItemDefIDsArraySize) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs_params params = + { + .linux_side = _this->u_iface, + .pItemDefIDs = pItemDefIDs, + .punItemDefIDsArraySize = punItemDefIDsArraySize, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs(_this->u_iface, pItemDefIDs, punItemDefIDsArraySize); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty(struct w_steam_iface *_this, SteamItemDef_t iDefinition, const char *pchPropertyName, char *pchValueBuffer, uint32 *punValueBufferSizeOut) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty_params params = + { + .linux_side = _this->u_iface, + .iDefinition = iDefinition, + .pchPropertyName = pchPropertyName, + .pchValueBuffer = pchValueBuffer, + .punValueBufferSizeOut = punValueBufferSizeOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty(_this->u_iface, iDefinition, pchPropertyName, pchValueBuffer, punValueBufferSizeOut); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs(_this->u_iface, steamID); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs(struct w_steam_iface *_this, CSteamID steamID, SteamItemDef_t *pItemDefIDs, uint32 *punItemDefIDsArraySize) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pItemDefIDs = pItemDefIDs, + .punItemDefIDsArraySize = punItemDefIDsArraySize, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs(_this->u_iface, steamID, pItemDefIDs, punItemDefIDsArraySize); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase(struct w_steam_iface *_this, const SteamItemDef_t *pArrayItemDefs, const uint32 *punArrayQuantity, uint32 unArrayLength) { - SteamAPICall_t _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase_params params = + { + .linux_side = _this->u_iface, + .pArrayItemDefs = pArrayItemDefs, + .punArrayQuantity = punArrayQuantity, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase(_this->u_iface, pArrayItemDefs, punArrayQuantity, unArrayLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices(_this->u_iface); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices( ¶ms ); + return params._ret; } uint32 __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices(_this->u_iface); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices(struct w_steam_iface *_this, SteamItemDef_t *pArrayItemDefs, uint64 *pPrices, uint32 unArrayLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices_params params = + { + .linux_side = _this->u_iface, + .pArrayItemDefs = pArrayItemDefs, + .pPrices = pPrices, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices(_this->u_iface, pArrayItemDefs, pPrices, unArrayLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice(struct w_steam_iface *_this, SteamItemDef_t iDefinition, uint64 *pPrice) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice_params params = + { + .linux_side = _this->u_iface, + .iDefinition = iDefinition, + .pPrice = pPrice, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice(_this->u_iface, iDefinition, pPrice); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice( ¶ms ); + return params._ret; } SteamInventoryUpdateHandle_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties(struct w_steam_iface *_this) { - SteamInventoryUpdateHandle_t _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties(_this->u_iface); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty(struct w_steam_iface *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty(_this->u_iface, handle, nItemID, pchPropertyName); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty(struct w_steam_iface *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, const char *pchPropertyValue) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .pchPropertyValue = pchPropertyValue, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty(_this->u_iface, handle, nItemID, pchPropertyName, pchPropertyValue); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2(struct w_steam_iface *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, bool bValue) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .bValue = bValue, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2(_this->u_iface, handle, nItemID, pchPropertyName, bValue); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3(struct w_steam_iface *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, int64 nValue) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .nValue = nValue, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3(_this->u_iface, handle, nItemID, pchPropertyName, nValue); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4(struct w_steam_iface *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, float flValue) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .flValue = flValue, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4(_this->u_iface, handle, nItemID, pchPropertyName, flValue); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties(struct w_steam_iface *_this, SteamInventoryUpdateHandle_t handle, SteamInventoryResult_t *pResultHandle) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties(_this->u_iface, handle, pResultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties( ¶ms ); + return params._ret; } extern vtable_ptr winISteamInventory_STEAMINVENTORY_INTERFACE_V002_vtable; @@ -704,302 +1051,519 @@ DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_Inspect EResult __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle) { - EResult _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus(_this->u_iface, resultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle, SteamItemDetails_t *pOutItemsArray, uint32 *punOutItemsArraySize) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .pOutItemsArray = pOutItemsArray, + .punOutItemsArraySize = punOutItemsArraySize, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems(_this->u_iface, resultHandle, pOutItemsArray, punOutItemsArraySize); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle, uint32 unItemIndex, const char *pchPropertyName, char *pchValueBuffer, uint32 *punValueBufferSizeOut) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .unItemIndex = unItemIndex, + .pchPropertyName = pchPropertyName, + .pchValueBuffer = pchValueBuffer, + .punValueBufferSizeOut = punValueBufferSizeOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty(_this->u_iface, resultHandle, unItemIndex, pchPropertyName, pchValueBuffer, punValueBufferSizeOut); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty( ¶ms ); + return params._ret; } uint32 __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle) { - uint32 _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp(_this->u_iface, resultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .steamIDExpected = steamIDExpected, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID(_this->u_iface, resultHandle, steamIDExpected); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID( ¶ms ); + return params._ret; } void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle) { + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult(_this->u_iface, resultHandle); + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult( ¶ms ); } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems(_this->u_iface, pResultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, const SteamItemInstanceID_t *pInstanceIDs, uint32 unCountInstanceIDs) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pInstanceIDs = pInstanceIDs, + .unCountInstanceIDs = unCountInstanceIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID(_this->u_iface, pResultHandle, pInstanceIDs, unCountInstanceIDs); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult(struct w_steam_iface *_this, SteamInventoryResult_t resultHandle, void *pOutBuffer, uint32 *punOutBufferSize) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .pOutBuffer = pOutBuffer, + .punOutBufferSize = punOutBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult(_this->u_iface, resultHandle, pOutBuffer, punOutBufferSize); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult(struct w_steam_iface *_this, SteamInventoryResult_t *pOutResultHandle, const void *pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult_params params = + { + .linux_side = _this->u_iface, + .pOutResultHandle = pOutResultHandle, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .bRESERVED_MUST_BE_FALSE = bRESERVED_MUST_BE_FALSE, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult(_this->u_iface, pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayItemDefs, const uint32 *punArrayQuantity, uint32 unArrayLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayItemDefs = pArrayItemDefs, + .punArrayQuantity = punArrayQuantity, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems(_this->u_iface, pResultHandle, pArrayItemDefs, punArrayQuantity, unArrayLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems(_this->u_iface, pResultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, SteamItemDef_t itemDef) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemDef = itemDef, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem(_this->u_iface, pResultHandle, itemDef); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayItemDefs, uint32 unArrayLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayItemDefs = pArrayItemDefs, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems(_this->u_iface, pResultHandle, pArrayItemDefs, unArrayLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemConsume = itemConsume, + .unQuantity = unQuantity, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem(_this->u_iface, pResultHandle, itemConsume, unQuantity); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, const SteamItemDef_t *pArrayGenerate, const uint32 *punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t *pArrayDestroy, const uint32 *punArrayDestroyQuantity, uint32 unArrayDestroyLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayGenerate = pArrayGenerate, + .punArrayGenerateQuantity = punArrayGenerateQuantity, + .unArrayGenerateLength = unArrayGenerateLength, + .pArrayDestroy = pArrayDestroy, + .punArrayDestroyQuantity = punArrayDestroyQuantity, + .unArrayDestroyLength = unArrayDestroyLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems(_this->u_iface, pResultHandle, pArrayGenerate, punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemIdSource = itemIdSource, + .unQuantity = unQuantity, + .itemIdDest = itemIdDest, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity(_this->u_iface, pResultHandle, itemIdSource, unQuantity, itemIdDest); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity( ¶ms ); + return params._ret; } void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat(struct w_steam_iface *_this) { + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat(_this->u_iface); + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat( ¶ms ); } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, SteamItemDef_t dropListDefinition) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .dropListDefinition = dropListDefinition, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop(_this->u_iface, pResultHandle, dropListDefinition); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, CSteamID steamIDTradePartner, const SteamItemInstanceID_t *pArrayGive, const uint32 *pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t *pArrayGet, const uint32 *pArrayGetQuantity, uint32 nArrayGetLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .steamIDTradePartner = steamIDTradePartner, + .pArrayGive = pArrayGive, + .pArrayGiveQuantity = pArrayGiveQuantity, + .nArrayGiveLength = nArrayGiveLength, + .pArrayGet = pArrayGet, + .pArrayGetQuantity = pArrayGetQuantity, + .nArrayGetLength = nArrayGetLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems(_this->u_iface, pResultHandle, steamIDTradePartner, pArrayGive, pArrayGiveQuantity, nArrayGiveLength, pArrayGet, pArrayGetQuantity, nArrayGetLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions(_this->u_iface); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs(struct w_steam_iface *_this, SteamItemDef_t *pItemDefIDs, uint32 *punItemDefIDsArraySize) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs_params params = + { + .linux_side = _this->u_iface, + .pItemDefIDs = pItemDefIDs, + .punItemDefIDsArraySize = punItemDefIDsArraySize, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs(_this->u_iface, pItemDefIDs, punItemDefIDsArraySize); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty(struct w_steam_iface *_this, SteamItemDef_t iDefinition, const char *pchPropertyName, char *pchValueBuffer, uint32 *punValueBufferSizeOut) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty_params params = + { + .linux_side = _this->u_iface, + .iDefinition = iDefinition, + .pchPropertyName = pchPropertyName, + .pchValueBuffer = pchValueBuffer, + .punValueBufferSizeOut = punValueBufferSizeOut, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty(_this->u_iface, iDefinition, pchPropertyName, pchValueBuffer, punValueBufferSizeOut); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs(struct w_steam_iface *_this, CSteamID steamID) { - SteamAPICall_t _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs(_this->u_iface, steamID); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs(struct w_steam_iface *_this, CSteamID steamID, SteamItemDef_t *pItemDefIDs, uint32 *punItemDefIDsArraySize) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pItemDefIDs = pItemDefIDs, + .punItemDefIDsArraySize = punItemDefIDsArraySize, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs(_this->u_iface, steamID, pItemDefIDs, punItemDefIDsArraySize); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase(struct w_steam_iface *_this, const SteamItemDef_t *pArrayItemDefs, const uint32 *punArrayQuantity, uint32 unArrayLength) { - SteamAPICall_t _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase_params params = + { + .linux_side = _this->u_iface, + .pArrayItemDefs = pArrayItemDefs, + .punArrayQuantity = punArrayQuantity, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase(_this->u_iface, pArrayItemDefs, punArrayQuantity, unArrayLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices(_this->u_iface); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices( ¶ms ); + return params._ret; } uint32 __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices(_this->u_iface); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices(struct w_steam_iface *_this, SteamItemDef_t *pArrayItemDefs, uint64 *pCurrentPrices, uint64 *pBasePrices, uint32 unArrayLength) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices_params params = + { + .linux_side = _this->u_iface, + .pArrayItemDefs = pArrayItemDefs, + .pCurrentPrices = pCurrentPrices, + .pBasePrices = pBasePrices, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices(_this->u_iface, pArrayItemDefs, pCurrentPrices, pBasePrices, unArrayLength); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice(struct w_steam_iface *_this, SteamItemDef_t iDefinition, uint64 *pCurrentPrice, uint64 *pBasePrice) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice_params params = + { + .linux_side = _this->u_iface, + .iDefinition = iDefinition, + .pCurrentPrice = pCurrentPrice, + .pBasePrice = pBasePrice, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice(_this->u_iface, iDefinition, pCurrentPrice, pBasePrice); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice( ¶ms ); + return params._ret; } SteamInventoryUpdateHandle_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties(struct w_steam_iface *_this) { - SteamInventoryUpdateHandle_t _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties(_this->u_iface); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty(struct w_steam_iface *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty(_this->u_iface, handle, nItemID, pchPropertyName); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty(struct w_steam_iface *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, const char *pchPropertyValue) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .pchPropertyValue = pchPropertyValue, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty(_this->u_iface, handle, nItemID, pchPropertyName, pchPropertyValue); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2(struct w_steam_iface *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, bool bValue) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .bValue = bValue, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2(_this->u_iface, handle, nItemID, pchPropertyName, bValue); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3(struct w_steam_iface *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, int64 nValue) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .nValue = nValue, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3(_this->u_iface, handle, nItemID, pchPropertyName, nValue); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4(struct w_steam_iface *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, float flValue) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .flValue = flValue, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4(_this->u_iface, handle, nItemID, pchPropertyName, flValue); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties(struct w_steam_iface *_this, SteamInventoryUpdateHandle_t handle, SteamInventoryResult_t *pResultHandle) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties(_this->u_iface, handle, pResultHandle); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties( ¶ms ); + return params._ret; } bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem(struct w_steam_iface *_this, SteamInventoryResult_t *pResultHandle, const char *pchItemToken) { - bool _ret; + struct cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pchItemToken = pchItemToken, + }; TRACE("%p\n", _this); - _ret = cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem(_this->u_iface, pResultHandle, pchItemToken); - return _ret; + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem( ¶ms ); + return params._ret; } extern vtable_ptr winISteamInventory_STEAMINVENTORY_INTERFACE_V003_vtable; diff --git a/lsteamclient/winISteamMasterServerUpdater.c b/lsteamclient/winISteamMasterServerUpdater.c index eedf1bc4..98a51b5c 100644 --- a/lsteamclient/winISteamMasterServerUpdater.c +++ b/lsteamclient/winISteamMasterServerUpdater.c @@ -32,100 +32,173 @@ DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001 void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive(struct w_steam_iface *_this, bool bActive) { + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive_params params = + { + .linux_side = _this->u_iface, + .bActive = bActive, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive(_this->u_iface, bActive); + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive( ¶ms ); } void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval(struct w_steam_iface *_this, int iHeartbeatInterval) { + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval_params params = + { + .linux_side = _this->u_iface, + .iHeartbeatInterval = iHeartbeatInterval, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval(_this->u_iface, iHeartbeatInterval); + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval( ¶ms ); } bool __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int cbData, uint32 srcIP, uint16 srcPort) { - bool _ret; + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket_params params = + { + .linux_side = _this->u_iface, + .pData = pData, + .cbData = cbData, + .srcIP = srcIP, + .srcPort = srcPort, + }; TRACE("%p\n", _this); - _ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(_this->u_iface, pData, cbData, srcIP, srcPort); - return _ret; + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket( ¶ms ); + return params._ret; } int __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort) { - int _ret; + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket_params params = + { + .linux_side = _this->u_iface, + .pOut = pOut, + .cbMaxOut = cbMaxOut, + .pNetAdr = pNetAdr, + .pPort = pPort, + }; TRACE("%p\n", _this); - _ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(_this->u_iface, pOut, cbMaxOut, pNetAdr, pPort); - return _ret; + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket( ¶ms ); + return params._ret; } void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(struct w_steam_iface *_this, unsigned short nProtocolVersion, bool bDedicatedServer, const char *pRegionName, const char *pProductName, unsigned short nMaxReportedClients, bool bPasswordProtected, const char *pGameDescription) { + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData_params params = + { + .linux_side = _this->u_iface, + .nProtocolVersion = nProtocolVersion, + .bDedicatedServer = bDedicatedServer, + .pRegionName = pRegionName, + .pProductName = pProductName, + .nMaxReportedClients = nMaxReportedClients, + .bPasswordProtected = bPasswordProtected, + .pGameDescription = pGameDescription, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(_this->u_iface, nProtocolVersion, bDedicatedServer, pRegionName, pProductName, nMaxReportedClients, bPasswordProtected, pGameDescription); + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData( ¶ms ); } void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues(struct w_steam_iface *_this) { + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues(_this->u_iface); + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues( ¶ms ); } void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue) { + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue_params params = + { + .linux_side = _this->u_iface, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(_this->u_iface, pKey, pValue); + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue( ¶ms ); } void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown(struct w_steam_iface *_this) { + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown(_this->u_iface); + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown( ¶ms ); } bool __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested(_this->u_iface); - return _ret; + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested( ¶ms ); + return params._ret; } void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat(struct w_steam_iface *_this) { + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat(_this->u_iface); + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat( ¶ms ); } bool __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(struct w_steam_iface *_this, const char *pServerAddress) { - bool _ret; + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer_params params = + { + .linux_side = _this->u_iface, + .pServerAddress = pServerAddress, + }; TRACE("%p\n", _this); - _ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(_this->u_iface, pServerAddress); - return _ret; + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer( ¶ms ); + return params._ret; } bool __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(struct w_steam_iface *_this, const char *pServerAddress) { - bool _ret; + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer_params params = + { + .linux_side = _this->u_iface, + .pServerAddress = pServerAddress, + }; TRACE("%p\n", _this); - _ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(_this->u_iface, pServerAddress); - return _ret; + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer( ¶ms ); + return params._ret; } int __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers(struct w_steam_iface *_this) { - int _ret; + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers(_this->u_iface); - return _ret; + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers( ¶ms ); + return params._ret; } int __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(struct w_steam_iface *_this, int iServer, char *pOut, int outBufferSize) { - int _ret; + struct cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress_params params = + { + .linux_side = _this->u_iface, + .iServer = iServer, + .pOut = pOut, + .outBufferSize = outBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(_this->u_iface, iServer, pOut, outBufferSize); - return _ret; + cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress( ¶ms ); + return params._ret; } extern vtable_ptr winISteamMasterServerUpdater_SteamMasterServerUpdater001_vtable; diff --git a/lsteamclient/winISteamMatchmaking.c b/lsteamclient/winISteamMatchmaking.c index 099fc703..03472f9d 100644 --- a/lsteamclient/winISteamMatchmaking.c +++ b/lsteamclient/winISteamMatchmaking.c @@ -40,168 +40,309 @@ DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_RequestLobbyDat int __thiscall winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame(struct w_steam_iface *_this, int iGame, uint32 *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame(_this->u_iface, iGame, pnAppID, pnIP, pnConnPort, punFlags, pRTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame(struct w_steam_iface *_this, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, unFlags, rTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame(struct w_steam_iface *_this, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint32 unFlags) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, unFlags); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2(struct w_steam_iface *_this, int iGame, uint32 *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2(_this->u_iface, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2(struct w_steam_iface *_this, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2(struct w_steam_iface *_this, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking001_RequestLobbyList(struct w_steam_iface *_this, uint64 ulGameID, MatchMakingKeyValuePair_t *pFilters, uint32 nFilters) { + struct cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + .ulGameID = ulGameID, + .pFilters = pFilters, + .nFilters = nFilters, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyList(_this->u_iface, ulGameID, pFilters, nFilters); + cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyList( ¶ms ); } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iLobby) { + struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex(_this->u_iface, iLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking001_CreateLobby(struct w_steam_iface *_this, uint64 ulGameID, bool bPrivate) { + struct cppISteamMatchmaking_SteamMatchMaking001_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .ulGameID = ulGameID, + .bPrivate = bPrivate, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking001_CreateLobby(_this->u_iface, ulGameID, bPrivate); + cppISteamMatchmaking_SteamMatchMaking001_CreateLobby( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking001_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking001_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking001_JoinLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking001_JoinLobby( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking001_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking001_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking001_LeaveLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking001_LeaveLobby( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby(_this->u_iface, steamIDLobby, steamIDInvitee); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int iMember) { + struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex(_this->u_iface, steamIDLobby, iMember); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyData(struct w_steam_iface *_this, CSteamID SteamIDLobby, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .SteamIDLobby = SteamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_GetLobbyData(_this->u_iface, SteamIDLobby, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_GetLobbyData( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking001_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_SetLobbyData(_this->u_iface, steamIDLobby, pchKey, pchValue); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_SetLobbyData( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData(_this->u_iface, steamIDLobby, steamIDUser, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData(_this->u_iface, steamIDLobby, pchKey, pchValue); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg(_this->u_iface, steamIDLobby, pvMsgBody, cubMsgBody); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry(_this->u_iface, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking001_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyData(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyData( ¶ms ); + return params._ret; } extern vtable_ptr winISteamMatchmaking_SteamMatchMaking001_vtable; @@ -271,148 +412,270 @@ DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_SetLobbyGameSer int __thiscall winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame(struct w_steam_iface *_this, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame(_this->u_iface, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking002_RequestLobbyList(struct w_steam_iface *_this) { + struct cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyList(_this->u_iface); + cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyList( ¶ms ); } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iLobby) { + struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex(_this->u_iface, iLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking002_CreateLobby(struct w_steam_iface *_this, bool bPrivate) { + struct cppISteamMatchmaking_SteamMatchMaking002_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .bPrivate = bPrivate, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking002_CreateLobby(_this->u_iface, bPrivate); + cppISteamMatchmaking_SteamMatchMaking002_CreateLobby( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking002_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking002_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking002_JoinLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking002_JoinLobby( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking002_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking002_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking002_LeaveLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking002_LeaveLobby( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby(_this->u_iface, steamIDLobby, steamIDInvitee); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int iMember) { + struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex(_this->u_iface, steamIDLobby, iMember); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking002_GetLobbyData(_this->u_iface, steamIDLobby, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_GetLobbyData( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking002_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking002_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking002_SetLobbyData(_this->u_iface, steamIDLobby, pchKey, pchValue); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_SetLobbyData( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData(_this->u_iface, steamIDLobby, steamIDUser, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct cppISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData(_this->u_iface, steamIDLobby, pchKey, pchValue); + cppISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg(_this->u_iface, steamIDLobby, pvMsgBody, cubMsgBody); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry(_this->u_iface, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking002_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyData(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) { + struct cppISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer(_this->u_iface, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + cppISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer( ¶ms ); } extern vtable_ptr winISteamMatchmaking_SteamMatchMaking002_vtable; @@ -488,204 +751,368 @@ DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_RequestFriendsL int __thiscall winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame(struct w_steam_iface *_this, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame(_this->u_iface, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking003_RequestLobbyList(struct w_steam_iface *_this) { + struct cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyList(_this->u_iface); + cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyList( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch) { + struct cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter(_this->u_iface, pchKeyToMatch, pchValueToMatch); + cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int nValueToMatch, int nComparisonType) { + struct cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .nComparisonType = nComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter(_this->u_iface, pchKeyToMatch, nValueToMatch, nComparisonType); + cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter(struct w_steam_iface *_this) { + struct cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter(_this->u_iface); + cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter( ¶ms ); } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iLobby) { + struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex(_this->u_iface, iLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking003_CreateLobby(struct w_steam_iface *_this, bool bPrivate) { + struct cppISteamMatchmaking_SteamMatchMaking003_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .bPrivate = bPrivate, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_CreateLobby(_this->u_iface, bPrivate); + cppISteamMatchmaking_SteamMatchMaking003_CreateLobby( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking003_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking003_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_JoinLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking003_JoinLobby( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking003_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking003_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_LeaveLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking003_LeaveLobby( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby(_this->u_iface, steamIDLobby, steamIDInvitee); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int iMember) { + struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex(_this->u_iface, steamIDLobby, iMember); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_GetLobbyData(_this->u_iface, steamIDLobby, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_GetLobbyData( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_SetLobbyData(_this->u_iface, steamIDLobby, pchKey, pchValue); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_SetLobbyData( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData(_this->u_iface, steamIDLobby, steamIDUser, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData(_this->u_iface, steamIDLobby, pchKey, pchValue); + cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg(_this->u_iface, steamIDLobby, pvMsgBody, cubMsgBody); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry(_this->u_iface, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking003_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyData(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) { + struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer(_this->u_iface, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + cppISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer(_this->u_iface, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int cMaxMembers) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit(_this->u_iface, steamIDLobby, cMaxMembers); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled(struct w_steam_iface *_this, CSteamID steamIDLobby, bool bVoiceEnabled) { + struct cppISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .bVoiceEnabled = bVoiceEnabled, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled(_this->u_iface, steamIDLobby, bVoiceEnabled); + cppISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies( ¶ms ); + return params._ret; } extern vtable_ptr winISteamMatchmaking_SteamMatchMaking003_vtable; @@ -768,198 +1195,356 @@ DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_RequestFriendsL int __thiscall winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame(struct w_steam_iface *_this, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame(_this->u_iface, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking004_RequestLobbyList(struct w_steam_iface *_this) { + struct cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyList(_this->u_iface); + cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyList( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch) { + struct cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter(_this->u_iface, pchKeyToMatch, pchValueToMatch); + cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int nValueToMatch, int nComparisonType) { + struct cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .nComparisonType = nComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter(_this->u_iface, pchKeyToMatch, nValueToMatch, nComparisonType); + cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter(struct w_steam_iface *_this) { + struct cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter(_this->u_iface); + cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter( ¶ms ); } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iLobby) { + struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex(_this->u_iface, iLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking004_CreateLobby(struct w_steam_iface *_this, bool bPrivate) { + struct cppISteamMatchmaking_SteamMatchMaking004_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .bPrivate = bPrivate, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_CreateLobby(_this->u_iface, bPrivate); + cppISteamMatchmaking_SteamMatchMaking004_CreateLobby( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking004_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking004_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_JoinLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking004_JoinLobby( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking004_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking004_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_LeaveLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking004_LeaveLobby( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby(_this->u_iface, steamIDLobby, steamIDInvitee); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int iMember) { + struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex(_this->u_iface, steamIDLobby, iMember); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_GetLobbyData(_this->u_iface, steamIDLobby, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_GetLobbyData( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_SetLobbyData(_this->u_iface, steamIDLobby, pchKey, pchValue); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_SetLobbyData( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData(_this->u_iface, steamIDLobby, steamIDUser, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData(_this->u_iface, steamIDLobby, pchKey, pchValue); + cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg(_this->u_iface, steamIDLobby, pvMsgBody, cubMsgBody); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry(_this->u_iface, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking004_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyData(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) { + struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer(_this->u_iface, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + cppISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer(_this->u_iface, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int cMaxMembers) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit(_this->u_iface, steamIDLobby, cMaxMembers); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies( ¶ms ); + return params._ret; } extern vtable_ptr winISteamMatchmaking_SteamMatchMaking004_vtable; @@ -1045,227 +1630,406 @@ DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyDistanc int __thiscall winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame(struct w_steam_iface *_this, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame(_this->u_iface, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking005_RequestLobbyList(struct w_steam_iface *_this) { + struct cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyList(_this->u_iface); + cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyList( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch) { + struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter(_this->u_iface, pchKeyToMatch, pchValueToMatch); + cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int nValueToMatch, int nComparisonType) { + struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .nComparisonType = nComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter(_this->u_iface, pchKeyToMatch, nValueToMatch, nComparisonType); + cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter(struct w_steam_iface *_this) { + struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter(_this->u_iface); + cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int nValueToBeCloseTo) { + struct cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToBeCloseTo = nValueToBeCloseTo, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter(_this->u_iface, pchKeyToMatch, nValueToBeCloseTo); + cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter( ¶ms ); } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iLobby) { + struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex(_this->u_iface, iLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking005_CreateLobby(struct w_steam_iface *_this, ELobbyType eLobbyType) { + struct cppISteamMatchmaking_SteamMatchMaking005_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .eLobbyType = eLobbyType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_CreateLobby(_this->u_iface, eLobbyType); + cppISteamMatchmaking_SteamMatchMaking005_CreateLobby( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking005_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking005_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_JoinLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking005_JoinLobby( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking005_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking005_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_LeaveLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking005_LeaveLobby( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby(_this->u_iface, steamIDLobby, steamIDInvitee); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int iMember) { + struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex(_this->u_iface, steamIDLobby, iMember); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_GetLobbyData(_this->u_iface, steamIDLobby, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_GetLobbyData( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_SetLobbyData(_this->u_iface, steamIDLobby, pchKey, pchValue); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_SetLobbyData( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData(_this->u_iface, steamIDLobby, steamIDUser, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData(_this->u_iface, steamIDLobby, pchKey, pchValue); + cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg(_this->u_iface, steamIDLobby, pvMsgBody, cubMsgBody); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry(_this->u_iface, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking005_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyData(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) { + struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer(_this->u_iface, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + cppISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer(_this->u_iface, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int cMaxMembers) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit(_this->u_iface, steamIDLobby, cMaxMembers); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyType(struct w_steam_iface *_this, CSteamID steamIDLobby, ELobbyType eLobbyType) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_SetLobbyType_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .eLobbyType = eLobbyType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_SetLobbyType(_this->u_iface, steamIDLobby, eLobbyType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_SetLobbyType( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner( ¶ms ); + return params._ret; } float __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance(struct w_steam_iface *_this, CSteamID steamIDLobby) { - float _ret; + struct cppISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance( ¶ms ); + return params._ret; } extern vtable_ptr winISteamMatchmaking_SteamMatchMaking005_vtable; @@ -1352,211 +2116,376 @@ DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner, int __thiscall winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame(struct w_steam_iface *_this, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame(_this->u_iface, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking006_RequestLobbyList(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyList(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyList( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch) { + struct cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter(_this->u_iface, pchKeyToMatch, pchValueToMatch); + cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int nValueToMatch, int nComparisonType) { + struct cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .nComparisonType = nComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter(_this->u_iface, pchKeyToMatch, nValueToMatch, nComparisonType); + cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int nValueToBeCloseTo) { + struct cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToBeCloseTo = nValueToBeCloseTo, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter(_this->u_iface, pchKeyToMatch, nValueToBeCloseTo); + cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter( ¶ms ); } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iLobby) { + struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex(_this->u_iface, iLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking006_CreateLobby(struct w_steam_iface *_this, ELobbyType eLobbyType) { - SteamAPICall_t _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .eLobbyType = eLobbyType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_CreateLobby(_this->u_iface, eLobbyType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_CreateLobby( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking006_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { - SteamAPICall_t _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_JoinLobby(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_JoinLobby( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking006_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking006_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking006_LeaveLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking006_LeaveLobby( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby(_this->u_iface, steamIDLobby, steamIDInvitee); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int iMember) { + struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex(_this->u_iface, steamIDLobby, iMember); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_GetLobbyData(_this->u_iface, steamIDLobby, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_GetLobbyData( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_SetLobbyData(_this->u_iface, steamIDLobby, pchKey, pchValue); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_SetLobbyData( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData(_this->u_iface, steamIDLobby, steamIDUser, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData(_this->u_iface, steamIDLobby, pchKey, pchValue); + cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg(_this->u_iface, steamIDLobby, pvMsgBody, cubMsgBody); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry(_this->u_iface, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking006_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyData(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) { + struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer(_this->u_iface, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + cppISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer(_this->u_iface, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int cMaxMembers) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit(_this->u_iface, steamIDLobby, cMaxMembers); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyType(struct w_steam_iface *_this, CSteamID steamIDLobby, ELobbyType eLobbyType) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking006_SetLobbyType_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .eLobbyType = eLobbyType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking006_SetLobbyType(_this->u_iface, steamIDLobby, eLobbyType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_SetLobbyType( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner( ¶ms ); + return params._ret; } extern vtable_ptr winISteamMatchmaking_SteamMatchMaking006_vtable; @@ -1646,257 +2575,457 @@ DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner, int __thiscall winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame(struct w_steam_iface *_this, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame(_this->u_iface, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking007_RequestLobbyList(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyList(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyList( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch, ELobbyComparison eComparisonType) { + struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + .eComparisonType = eComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter(_this->u_iface, pchKeyToMatch, pchValueToMatch, eComparisonType); + cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) { + struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .eComparisonType = eComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter(_this->u_iface, pchKeyToMatch, nValueToMatch, eComparisonType); + cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int nValueToBeCloseTo) { + struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToBeCloseTo = nValueToBeCloseTo, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter(_this->u_iface, pchKeyToMatch, nValueToBeCloseTo); + cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable(struct w_steam_iface *_this, int nSlotsAvailable) { + struct cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable_params params = + { + .linux_side = _this->u_iface, + .nSlotsAvailable = nSlotsAvailable, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable(_this->u_iface, nSlotsAvailable); + cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable( ¶ms ); } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iLobby) { + struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex(_this->u_iface, iLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking007_CreateLobby(struct w_steam_iface *_this, ELobbyType eLobbyType, int cMaxMembers) { - SteamAPICall_t _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .eLobbyType = eLobbyType, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_CreateLobby(_this->u_iface, eLobbyType, cMaxMembers); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_CreateLobby( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking007_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { - SteamAPICall_t _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_JoinLobby(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_JoinLobby( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking007_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking007_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_LeaveLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking007_LeaveLobby( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby(_this->u_iface, steamIDLobby, steamIDInvitee); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int iMember) { + struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex(_this->u_iface, steamIDLobby, iMember); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_GetLobbyData(_this->u_iface, steamIDLobby, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_GetLobbyData( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_SetLobbyData(_this->u_iface, steamIDLobby, pchKey, pchValue); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_SetLobbyData( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex(struct w_steam_iface *_this, CSteamID steamIDLobby, int iLobbyData, char *pchKey, int cchKeyBufferSize, char *pchValue, int cchValueBufferSize) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iLobbyData = iLobbyData, + .pchKey = pchKey, + .cchKeyBufferSize = cchKeyBufferSize, + .pchValue = pchValue, + .cchValueBufferSize = cchValueBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex(_this->u_iface, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData(_this->u_iface, steamIDLobby, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData(_this->u_iface, steamIDLobby, steamIDUser, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData(_this->u_iface, steamIDLobby, pchKey, pchValue); + cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg(_this->u_iface, steamIDLobby, pvMsgBody, cubMsgBody); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry(_this->u_iface, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking007_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyData(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) { + struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer(_this->u_iface, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + cppISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer(_this->u_iface, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int cMaxMembers) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit(_this->u_iface, steamIDLobby, cMaxMembers); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyType(struct w_steam_iface *_this, CSteamID steamIDLobby, ELobbyType eLobbyType) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyType_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .eLobbyType = eLobbyType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_SetLobbyType(_this->u_iface, steamIDLobby, eLobbyType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_SetLobbyType( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable(struct w_steam_iface *_this, CSteamID steamIDLobby, bool bLobbyJoinable) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .bLobbyJoinable = bLobbyJoinable, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable(_this->u_iface, steamIDLobby, bLobbyJoinable); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDNewOwner) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDNewOwner = steamIDNewOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner(_this->u_iface, steamIDLobby, steamIDNewOwner); - return _ret; + cppISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner( ¶ms ); + return params._ret; } extern vtable_ptr winISteamMatchmaking_SteamMatchMaking007_vtable; @@ -1994,269 +3123,479 @@ DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner, int __thiscall winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame(struct w_steam_iface *_this, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame(_this->u_iface, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking008_RequestLobbyList(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyList(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyList( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch, ELobbyComparison eComparisonType) { + struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + .eComparisonType = eComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter(_this->u_iface, pchKeyToMatch, pchValueToMatch, eComparisonType); + cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) { + struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .eComparisonType = eComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter(_this->u_iface, pchKeyToMatch, nValueToMatch, eComparisonType); + cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int nValueToBeCloseTo) { + struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToBeCloseTo = nValueToBeCloseTo, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter(_this->u_iface, pchKeyToMatch, nValueToBeCloseTo); + cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable(struct w_steam_iface *_this, int nSlotsAvailable) { + struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable_params params = + { + .linux_side = _this->u_iface, + .nSlotsAvailable = nSlotsAvailable, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable(_this->u_iface, nSlotsAvailable); + cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter(struct w_steam_iface *_this, ELobbyDistanceFilter eLobbyDistanceFilter) { + struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter_params params = + { + .linux_side = _this->u_iface, + .eLobbyDistanceFilter = eLobbyDistanceFilter, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter(_this->u_iface, eLobbyDistanceFilter); + cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter(struct w_steam_iface *_this, int cMaxResults) { + struct cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter_params params = + { + .linux_side = _this->u_iface, + .cMaxResults = cMaxResults, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter(_this->u_iface, cMaxResults); + cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter( ¶ms ); } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iLobby) { + struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex(_this->u_iface, iLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking008_CreateLobby(struct w_steam_iface *_this, ELobbyType eLobbyType, int cMaxMembers) { - SteamAPICall_t _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .eLobbyType = eLobbyType, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_CreateLobby(_this->u_iface, eLobbyType, cMaxMembers); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_CreateLobby( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking008_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { - SteamAPICall_t _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_JoinLobby(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_JoinLobby( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking008_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking008_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_LeaveLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking008_LeaveLobby( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby(_this->u_iface, steamIDLobby, steamIDInvitee); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int iMember) { + struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex(_this->u_iface, steamIDLobby, iMember); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_GetLobbyData(_this->u_iface, steamIDLobby, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_GetLobbyData( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_SetLobbyData(_this->u_iface, steamIDLobby, pchKey, pchValue); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_SetLobbyData( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex(struct w_steam_iface *_this, CSteamID steamIDLobby, int iLobbyData, char *pchKey, int cchKeyBufferSize, char *pchValue, int cchValueBufferSize) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iLobbyData = iLobbyData, + .pchKey = pchKey, + .cchKeyBufferSize = cchKeyBufferSize, + .pchValue = pchValue, + .cchValueBufferSize = cchValueBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex(_this->u_iface, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData(_this->u_iface, steamIDLobby, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData(_this->u_iface, steamIDLobby, steamIDUser, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData(_this->u_iface, steamIDLobby, pchKey, pchValue); + cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg(_this->u_iface, steamIDLobby, pvMsgBody, cubMsgBody); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry(_this->u_iface, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking008_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyData(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) { + struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer(_this->u_iface, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + cppISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer(_this->u_iface, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int cMaxMembers) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit(_this->u_iface, steamIDLobby, cMaxMembers); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyType(struct w_steam_iface *_this, CSteamID steamIDLobby, ELobbyType eLobbyType) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyType_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .eLobbyType = eLobbyType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_SetLobbyType(_this->u_iface, steamIDLobby, eLobbyType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_SetLobbyType( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable(struct w_steam_iface *_this, CSteamID steamIDLobby, bool bLobbyJoinable) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .bLobbyJoinable = bLobbyJoinable, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable(_this->u_iface, steamIDLobby, bLobbyJoinable); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDNewOwner) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDNewOwner = steamIDNewOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner(_this->u_iface, steamIDLobby, steamIDNewOwner); - return _ret; + cppISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner( ¶ms ); + return params._ret; } extern vtable_ptr winISteamMatchmaking_SteamMatchMaking008_vtable; @@ -2358,283 +3697,503 @@ DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby, int __thiscall winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame(struct w_steam_iface *_this, int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame(_this->u_iface, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame(struct w_steam_iface *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame(_this->u_iface, nAppID, nIP, nConnPort, nQueryPort, unFlags); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking009_RequestLobbyList(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyList(_this->u_iface); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyList( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch, ELobbyComparison eComparisonType) { + struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + .eComparisonType = eComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter(_this->u_iface, pchKeyToMatch, pchValueToMatch, eComparisonType); + cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) { + struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .eComparisonType = eComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter(_this->u_iface, pchKeyToMatch, nValueToMatch, eComparisonType); + cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int nValueToBeCloseTo) { + struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToBeCloseTo = nValueToBeCloseTo, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter(_this->u_iface, pchKeyToMatch, nValueToBeCloseTo); + cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable(struct w_steam_iface *_this, int nSlotsAvailable) { + struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable_params params = + { + .linux_side = _this->u_iface, + .nSlotsAvailable = nSlotsAvailable, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable(_this->u_iface, nSlotsAvailable); + cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter(struct w_steam_iface *_this, ELobbyDistanceFilter eLobbyDistanceFilter) { + struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter_params params = + { + .linux_side = _this->u_iface, + .eLobbyDistanceFilter = eLobbyDistanceFilter, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter(_this->u_iface, eLobbyDistanceFilter); + cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter(struct w_steam_iface *_this, int cMaxResults) { + struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter_params params = + { + .linux_side = _this->u_iface, + .cMaxResults = cMaxResults, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter(_this->u_iface, cMaxResults); + cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter( ¶ms ); } void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter( ¶ms ); } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int iLobby) { + struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex(_this->u_iface, iLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking009_CreateLobby(struct w_steam_iface *_this, ELobbyType eLobbyType, int cMaxMembers) { - SteamAPICall_t _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .eLobbyType = eLobbyType, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_CreateLobby(_this->u_iface, eLobbyType, cMaxMembers); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_CreateLobby( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking009_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { - SteamAPICall_t _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_JoinLobby(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_JoinLobby( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking009_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking009_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_LeaveLobby(_this->u_iface, steamIDLobby); + cppISteamMatchmaking_SteamMatchMaking009_LeaveLobby( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby(_this->u_iface, steamIDLobby, steamIDInvitee); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int iMember) { + struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex(_this->u_iface, steamIDLobby, iMember); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_GetLobbyData(_this->u_iface, steamIDLobby, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_GetLobbyData( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_SetLobbyData(_this->u_iface, steamIDLobby, pchKey, pchValue); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_SetLobbyData( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex(struct w_steam_iface *_this, CSteamID steamIDLobby, int iLobbyData, char *pchKey, int cchKeyBufferSize, char *pchValue, int cchValueBufferSize) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iLobbyData = iLobbyData, + .pchKey = pchKey, + .cchKeyBufferSize = cchKeyBufferSize, + .pchValue = pchValue, + .cchValueBufferSize = cchValueBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex(_this->u_iface, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData(_this->u_iface, steamIDLobby, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData( ¶ms ); + return params._ret; } const char * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { - const char * _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData(_this->u_iface, steamIDLobby, steamIDUser, pchKey); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData(_this->u_iface, steamIDLobby, pchKey, pchValue); + cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg(_this->u_iface, steamIDLobby, pvMsgBody, cubMsgBody); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int iChatID, CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry(_this->u_iface, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyData(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyData( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) { + struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer(_this->u_iface, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + cppISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer( ¶ms ); } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, CSteamID *psteamIDGameServer) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer(_this->u_iface, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int cMaxMembers) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit(_this->u_iface, steamIDLobby, cMaxMembers); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { - int _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyType(struct w_steam_iface *_this, CSteamID steamIDLobby, ELobbyType eLobbyType) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyType_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .eLobbyType = eLobbyType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_SetLobbyType(_this->u_iface, steamIDLobby, eLobbyType); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_SetLobbyType( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable(struct w_steam_iface *_this, CSteamID steamIDLobby, bool bLobbyJoinable) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .bLobbyJoinable = bLobbyJoinable, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable(_this->u_iface, steamIDLobby, bLobbyJoinable); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby) { + struct cppISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - *_ret = cppISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner(_this->u_iface, steamIDLobby); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDNewOwner) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDNewOwner = steamIDNewOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner(_this->u_iface, steamIDLobby, steamIDNewOwner); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner( ¶ms ); + return params._ret; } bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDLobbyDependent) { - bool _ret; + struct cppISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDLobbyDependent = steamIDLobbyDependent, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby(_this->u_iface, steamIDLobby, steamIDLobbyDependent); - return _ret; + cppISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby( ¶ms ); + return params._ret; } extern vtable_ptr winISteamMatchmaking_SteamMatchMaking009_vtable; diff --git a/lsteamclient/winISteamMatchmakingServers.c b/lsteamclient/winISteamMatchmakingServers.c index 3ccb5d9f..96e43a70 100644 --- a/lsteamclient/winISteamMatchmakingServers.c +++ b/lsteamclient/winISteamMatchmakingServers.c @@ -34,110 +34,208 @@ DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_C void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList(struct w_steam_iface *_this, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001"), + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList(_this->u_iface, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList( ¶ms ); } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList(struct w_steam_iface *_this, AppId_t iApp, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001"), + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList(_this->u_iface, iApp, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList( ¶ms ); } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList(struct w_steam_iface *_this, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001"), + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList(_this->u_iface, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList( ¶ms ); } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList(struct w_steam_iface *_this, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001"), + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList(_this->u_iface, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList( ¶ms ); } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList(struct w_steam_iface *_this, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001"), + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList(_this->u_iface, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList( ¶ms ); } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList(struct w_steam_iface *_this, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001"), + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList(_this->u_iface, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList( ¶ms ); } gameserveritem_t * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails(struct w_steam_iface *_this, EMatchMakingType eType, int iServer) { - gameserveritem_t * _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + .iServer = iServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails(_this->u_iface, eType, iServer); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery(struct w_steam_iface *_this, EMatchMakingType eType) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery(_this->u_iface, eType); + cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery( ¶ms ); } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery(struct w_steam_iface *_this, EMatchMakingType eType) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery(_this->u_iface, eType); + cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery( ¶ms ); } bool __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing(struct w_steam_iface *_this, EMatchMakingType eType) { - bool _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing(_this->u_iface, eType); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount(struct w_steam_iface *_this, EMatchMakingType eType) { - int _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount(_this->u_iface, eType); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer(struct w_steam_iface *_this, EMatchMakingType eType, int iServer) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + .iServer = iServer, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer(_this->u_iface, eType, iServer); + cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer( ¶ms ); } HServerQuery __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_PingServer(struct w_steam_iface *_this, uint32 unIP, uint16 usPort, void /*ISteamMatchmakingPingResponse*/ *pRequestServersResponse) { - HServerQuery _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + .pRequestServersResponse = create_LinuxISteamMatchmakingPingResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001"), + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer(_this->u_iface, unIP, usPort, create_LinuxISteamMatchmakingPingResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer( ¶ms ); + return params._ret; } HServerQuery __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails(struct w_steam_iface *_this, uint32 unIP, uint16 usPort, void /*ISteamMatchmakingPlayersResponse*/ *pRequestServersResponse) { - HServerQuery _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + .pRequestServersResponse = create_LinuxISteamMatchmakingPlayersResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001"), + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails(_this->u_iface, unIP, usPort, create_LinuxISteamMatchmakingPlayersResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails( ¶ms ); + return params._ret; } HServerQuery __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules(struct w_steam_iface *_this, uint32 unIP, uint16 usPort, void /*ISteamMatchmakingRulesResponse*/ *pRequestServersResponse) { - HServerQuery _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + .pRequestServersResponse = create_LinuxISteamMatchmakingRulesResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001"), + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules(_this->u_iface, unIP, usPort, create_LinuxISteamMatchmakingRulesResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery(struct w_steam_iface *_this, HServerQuery hServerQuery) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery_params params = + { + .linux_side = _this->u_iface, + .hServerQuery = hServerQuery, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery(_this->u_iface, hServerQuery); + cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery( ¶ms ); } extern vtable_ptr winISteamMatchmakingServers_SteamMatchMakingServers001_vtable; @@ -198,128 +296,225 @@ DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_C HServerListRequest __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList(struct w_steam_iface *_this, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) { - HServerListRequest _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002"), + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList(_this->u_iface, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList( ¶ms ); + return params._ret; } HServerListRequest __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList(struct w_steam_iface *_this, AppId_t iApp, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) { - HServerListRequest _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002"), + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList(_this->u_iface, iApp, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList( ¶ms ); + return params._ret; } HServerListRequest __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList(struct w_steam_iface *_this, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) { - HServerListRequest _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002"), + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList(_this->u_iface, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList( ¶ms ); + return params._ret; } HServerListRequest __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList(struct w_steam_iface *_this, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) { - HServerListRequest _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002"), + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList(_this->u_iface, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList( ¶ms ); + return params._ret; } HServerListRequest __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList(struct w_steam_iface *_this, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) { - HServerListRequest _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002"), + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList(_this->u_iface, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList( ¶ms ); + return params._ret; } HServerListRequest __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList(struct w_steam_iface *_this, AppId_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, void /*ISteamMatchmakingServerListResponse*/ *pRequestServersResponse) { - HServerListRequest _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002"), + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList(_this->u_iface, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest(struct w_steam_iface *_this, HServerListRequest hServerListRequest) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params params = + { + .linux_side = _this->u_iface, + .hServerListRequest = hServerListRequest, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest(_this->u_iface, hServerListRequest); + cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest( ¶ms ); } gameserveritem_t * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails(struct w_steam_iface *_this, HServerListRequest hRequest, int iServer) { - gameserveritem_t * _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .iServer = iServer, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails(_this->u_iface, hRequest, iServer); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery(struct w_steam_iface *_this, HServerListRequest hRequest) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery(_this->u_iface, hRequest); + cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery( ¶ms ); } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery(struct w_steam_iface *_this, HServerListRequest hRequest) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery(_this->u_iface, hRequest); + cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery( ¶ms ); } bool __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing(struct w_steam_iface *_this, HServerListRequest hRequest) { - bool _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing(_this->u_iface, hRequest); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing( ¶ms ); + return params._ret; } int __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount(struct w_steam_iface *_this, HServerListRequest hRequest) { - int _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount(_this->u_iface, hRequest); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer(struct w_steam_iface *_this, HServerListRequest hRequest, int iServer) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .iServer = iServer, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer(_this->u_iface, hRequest, iServer); + cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer( ¶ms ); } HServerQuery __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_PingServer(struct w_steam_iface *_this, uint32 unIP, uint16 usPort, void /*ISteamMatchmakingPingResponse*/ *pRequestServersResponse) { - HServerQuery _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + .pRequestServersResponse = create_LinuxISteamMatchmakingPingResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002"), + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer(_this->u_iface, unIP, usPort, create_LinuxISteamMatchmakingPingResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer( ¶ms ); + return params._ret; } HServerQuery __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails(struct w_steam_iface *_this, uint32 unIP, uint16 usPort, void /*ISteamMatchmakingPlayersResponse*/ *pRequestServersResponse) { - HServerQuery _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + .pRequestServersResponse = create_LinuxISteamMatchmakingPlayersResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002"), + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails(_this->u_iface, unIP, usPort, create_LinuxISteamMatchmakingPlayersResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails( ¶ms ); + return params._ret; } HServerQuery __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules(struct w_steam_iface *_this, uint32 unIP, uint16 usPort, void /*ISteamMatchmakingRulesResponse*/ *pRequestServersResponse) { - HServerQuery _ret; + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + .pRequestServersResponse = create_LinuxISteamMatchmakingRulesResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002"), + }; TRACE("%p\n", _this); - _ret = cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules(_this->u_iface, unIP, usPort, create_LinuxISteamMatchmakingRulesResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); - return _ret; + cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules( ¶ms ); + return params._ret; } void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery(struct w_steam_iface *_this, HServerQuery hServerQuery) { + struct cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery_params params = + { + .linux_side = _this->u_iface, + .hServerQuery = hServerQuery, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery(_this->u_iface, hServerQuery); + cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery( ¶ms ); } extern vtable_ptr winISteamMatchmakingServers_SteamMatchMakingServers002_vtable; diff --git a/lsteamclient/winISteamMusic.c b/lsteamclient/winISteamMusic.c index cefa2344..5e660ba6 100644 --- a/lsteamclient/winISteamMusic.c +++ b/lsteamclient/winISteamMusic.c @@ -27,64 +27,97 @@ DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume bool __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(_this->u_iface); - return _ret; + cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled( ¶ms ); + return params._ret; } bool __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying(_this->u_iface); - return _ret; + cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying( ¶ms ); + return params._ret; } AudioPlayback_Status __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus(struct w_steam_iface *_this) { - AudioPlayback_Status _ret; + struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus(_this->u_iface); - return _ret; + cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus( ¶ms ); + return params._ret; } void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play(struct w_steam_iface *_this) { + struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play(_this->u_iface); + cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play( ¶ms ); } void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause(struct w_steam_iface *_this) { + struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause(_this->u_iface); + cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause( ¶ms ); } void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious(struct w_steam_iface *_this) { + struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious(_this->u_iface); + cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious( ¶ms ); } void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext(struct w_steam_iface *_this) { + struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext(_this->u_iface); + cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext( ¶ms ); } void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume(struct w_steam_iface *_this, float flVolume) { + struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume_params params = + { + .linux_side = _this->u_iface, + .flVolume = flVolume, + }; TRACE("%p\n", _this); - cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume(_this->u_iface, flVolume); + cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume( ¶ms ); } float __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume(struct w_steam_iface *_this) { - float _ret; + struct cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume(_this->u_iface); - return _ret; + cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume( ¶ms ); + return params._ret; } extern vtable_ptr winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_vtable; diff --git a/lsteamclient/winISteamMusicRemote.c b/lsteamclient/winISteamMusicRemote.c index c4449e1b..fcc266bb 100644 --- a/lsteamclient/winISteamMusicRemote.c +++ b/lsteamclient/winISteamMusicRemote.c @@ -50,258 +50,382 @@ DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION0 bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote(_this->u_iface, pchName); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote(_this->u_iface); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote(_this->u_iface); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess(struct w_steam_iface *_this, bool bValue) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess(_this->u_iface, bValue); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName(struct w_steam_iface *_this, const char *pchDisplayName) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName_params params = + { + .linux_side = _this->u_iface, + .pchDisplayName = pchDisplayName, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName(_this->u_iface, pchDisplayName); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64(struct w_steam_iface *_this, void *pvBuffer, uint32 cbBufferLength) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64_params params = + { + .linux_side = _this->u_iface, + .pvBuffer = pvBuffer, + .cbBufferLength = cbBufferLength, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64(_this->u_iface, pvBuffer, cbBufferLength); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious(struct w_steam_iface *_this, bool bValue) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious(_this->u_iface, bValue); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext(struct w_steam_iface *_this, bool bValue) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext(_this->u_iface, bValue); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled(struct w_steam_iface *_this, bool bValue) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled(_this->u_iface, bValue); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped(struct w_steam_iface *_this, bool bValue) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped(_this->u_iface, bValue); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue(struct w_steam_iface *_this, bool bValue) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue(_this->u_iface, bValue); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists(struct w_steam_iface *_this, bool bValue) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists(_this->u_iface, bValue); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus(struct w_steam_iface *_this, AudioPlayback_Status nStatus) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus_params params = + { + .linux_side = _this->u_iface, + .nStatus = nStatus, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus(_this->u_iface, nStatus); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled(struct w_steam_iface *_this, bool bValue) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled(_this->u_iface, bValue); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped(struct w_steam_iface *_this, bool bValue) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped(_this->u_iface, bValue); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume(struct w_steam_iface *_this, float flValue) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume_params params = + { + .linux_side = _this->u_iface, + .flValue = flValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume(_this->u_iface, flValue); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange(_this->u_iface); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable(struct w_steam_iface *_this, bool bAvailable) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable_params params = + { + .linux_side = _this->u_iface, + .bAvailable = bAvailable, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable(_this->u_iface, bAvailable); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText(struct w_steam_iface *_this, const char *pchText) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText(_this->u_iface, pchText); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds(struct w_steam_iface *_this, int nValue) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds_params params = + { + .linux_side = _this->u_iface, + .nValue = nValue, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds(_this->u_iface, nValue); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt(struct w_steam_iface *_this, void *pvBuffer, uint32 cbBufferLength) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt_params params = + { + .linux_side = _this->u_iface, + .pvBuffer = pvBuffer, + .cbBufferLength = cbBufferLength, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt(_this->u_iface, pvBuffer, cbBufferLength); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange(_this->u_iface); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange(_this->u_iface); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries(_this->u_iface); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry(struct w_steam_iface *_this, int nID, int nPosition, const char *pchEntryText) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry_params params = + { + .linux_side = _this->u_iface, + .nID = nID, + .nPosition = nPosition, + .pchEntryText = pchEntryText, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry(_this->u_iface, nID, nPosition, pchEntryText); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry(struct w_steam_iface *_this, int nID) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry_params params = + { + .linux_side = _this->u_iface, + .nID = nID, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry(_this->u_iface, nID); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange(_this->u_iface); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange(_this->u_iface); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries(_this->u_iface); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry(struct w_steam_iface *_this, int nID, int nPosition, const char *pchEntryText) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry_params params = + { + .linux_side = _this->u_iface, + .nID = nID, + .nPosition = nPosition, + .pchEntryText = pchEntryText, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry(_this->u_iface, nID, nPosition, pchEntryText); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry(struct w_steam_iface *_this, int nID) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry_params params = + { + .linux_side = _this->u_iface, + .nID = nID, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry(_this->u_iface, nID); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry( ¶ms ); + return params._ret; } bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange(_this->u_iface); - return _ret; + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange( ¶ms ); + return params._ret; } extern vtable_ptr winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_vtable; diff --git a/lsteamclient/winISteamNetworking.c b/lsteamclient/winISteamNetworking.c index 4a218297..8f2e5d3b 100644 --- a/lsteamclient/winISteamNetworking.c +++ b/lsteamclient/winISteamNetworking.c @@ -30,98 +30,173 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_GetListenSocketIn SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking001_CreateListenSocket(struct w_steam_iface *_this, int nVirtualP2PPort, uint32 nIP, uint16 nPort) { - SNetListenSocket_t _ret; + struct cppISteamNetworking_SteamNetworking001_CreateListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualP2PPort = nVirtualP2PPort, + .nIP = nIP, + .nPort = nPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking001_CreateListenSocket(_this->u_iface, nVirtualP2PPort, nIP, nPort); - return _ret; + cppISteamNetworking_SteamNetworking001_CreateListenSocket( ¶ms ); + return params._ret; } SNetSocket_t __thiscall winISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket(struct w_steam_iface *_this, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec) { - SNetSocket_t _ret; + struct cppISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .steamIDTarget = steamIDTarget, + .nVirtualPort = nVirtualPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket(_this->u_iface, steamIDTarget, nVirtualPort, nTimeoutSec); - return _ret; + cppISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket( ¶ms ); + return params._ret; } SNetSocket_t __thiscall winISteamNetworking_SteamNetworking001_CreateConnectionSocket(struct w_steam_iface *_this, uint32 nIP, uint16 nPort, int nTimeoutSec) { - SNetSocket_t _ret; + struct cppISteamNetworking_SteamNetworking001_CreateConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .nIP = nIP, + .nPort = nPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking001_CreateConnectionSocket(_this->u_iface, nIP, nPort, nTimeoutSec); - return _ret; + cppISteamNetworking_SteamNetworking001_CreateConnectionSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking001_DestroySocket(struct w_steam_iface *_this, SNetSocket_t hSocket, bool bNotifyRemoteEnd) { - bool _ret; + struct cppISteamNetworking_SteamNetworking001_DestroySocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking001_DestroySocket(_this->u_iface, hSocket, bNotifyRemoteEnd); - return _ret; + cppISteamNetworking_SteamNetworking001_DestroySocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking001_DestroyListenSocket(struct w_steam_iface *_this, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) { - bool _ret; + struct cppISteamNetworking_SteamNetworking001_DestroyListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking001_DestroyListenSocket(_this->u_iface, hSocket, bNotifyRemoteEnd); - return _ret; + cppISteamNetworking_SteamNetworking001_DestroyListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking001_SendDataOnSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, void *pubData, uint32 cubData, bool bReliable) { - bool _ret; + struct cppISteamNetworking_SteamNetworking001_SendDataOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubData = pubData, + .cubData = cubData, + .bReliable = bReliable, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking001_SendDataOnSocket(_this->u_iface, hSocket, pubData, cubData, bReliable); - return _ret; + cppISteamNetworking_SteamNetworking001_SendDataOnSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket(_this->u_iface, hSocket, pcubMsgSize); - return _ret; + cppISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking001_RetrieveDataFromSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamNetworking_SteamNetworking001_RetrieveDataFromSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking001_RetrieveDataFromSocket(_this->u_iface, hSocket, pubDest, cubDest, pcubMsgSize); - return _ret; + cppISteamNetworking_SteamNetworking001_RetrieveDataFromSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking001_IsDataAvailable(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, uint32 *pcubMsgSize, SNetSocket_t *phSocket) { - bool _ret; + struct cppISteamNetworking_SteamNetworking001_IsDataAvailable_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking001_IsDataAvailable(_this->u_iface, hListenSocket, pcubMsgSize, phSocket); - return _ret; + cppISteamNetworking_SteamNetworking001_IsDataAvailable( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking001_RetrieveData(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, SNetSocket_t *phSocket) { - bool _ret; + struct cppISteamNetworking_SteamNetworking001_RetrieveData_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking001_RetrieveData(_this->u_iface, hListenSocket, pubDest, cubDest, pcubMsgSize, phSocket); - return _ret; + cppISteamNetworking_SteamNetworking001_RetrieveData( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking001_GetSocketInfo(struct w_steam_iface *_this, SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, uint32 *punIPRemote, uint16 *punPortRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking001_GetSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pSteamIDRemote = pSteamIDRemote, + .peSocketStatus = peSocketStatus, + .punIPRemote = punIPRemote, + .punPortRemote = punPortRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking001_GetSocketInfo(_this->u_iface, hSocket, pSteamIDRemote, peSocketStatus, punIPRemote, punPortRemote); - return _ret; + cppISteamNetworking_SteamNetworking001_GetSocketInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking001_GetListenSocketInfo(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, uint32 *pnIP, uint16 *pnPort) { - bool _ret; + struct cppISteamNetworking_SteamNetworking001_GetListenSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pnIP = pnIP, + .pnPort = pnPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking001_GetListenSocketInfo(_this->u_iface, hListenSocket, pnIP, pnPort); - return _ret; + cppISteamNetworking_SteamNetworking001_GetListenSocketInfo( ¶ms ); + return params._ret; } extern vtable_ptr winISteamNetworking_SteamNetworking001_vtable; @@ -175,114 +250,199 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_GetMaxPacketSize, SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking002_CreateListenSocket(struct w_steam_iface *_this, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) { - SNetListenSocket_t _ret; + struct cppISteamNetworking_SteamNetworking002_CreateListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualP2PPort = nVirtualP2PPort, + .nIP = nIP, + .nPort = nPort, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_CreateListenSocket(_this->u_iface, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); - return _ret; + cppISteamNetworking_SteamNetworking002_CreateListenSocket( ¶ms ); + return params._ret; } SNetSocket_t __thiscall winISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket(struct w_steam_iface *_this, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) { - SNetSocket_t _ret; + struct cppISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .steamIDTarget = steamIDTarget, + .nVirtualPort = nVirtualPort, + .nTimeoutSec = nTimeoutSec, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket(_this->u_iface, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); - return _ret; + cppISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket( ¶ms ); + return params._ret; } SNetSocket_t __thiscall winISteamNetworking_SteamNetworking002_CreateConnectionSocket(struct w_steam_iface *_this, uint32 nIP, uint16 nPort, int nTimeoutSec) { - SNetSocket_t _ret; + struct cppISteamNetworking_SteamNetworking002_CreateConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .nIP = nIP, + .nPort = nPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_CreateConnectionSocket(_this->u_iface, nIP, nPort, nTimeoutSec); - return _ret; + cppISteamNetworking_SteamNetworking002_CreateConnectionSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking002_DestroySocket(struct w_steam_iface *_this, SNetSocket_t hSocket, bool bNotifyRemoteEnd) { - bool _ret; + struct cppISteamNetworking_SteamNetworking002_DestroySocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_DestroySocket(_this->u_iface, hSocket, bNotifyRemoteEnd); - return _ret; + cppISteamNetworking_SteamNetworking002_DestroySocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking002_DestroyListenSocket(struct w_steam_iface *_this, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) { - bool _ret; + struct cppISteamNetworking_SteamNetworking002_DestroyListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_DestroyListenSocket(_this->u_iface, hSocket, bNotifyRemoteEnd); - return _ret; + cppISteamNetworking_SteamNetworking002_DestroyListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking002_SendDataOnSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, void *pubData, uint32 cubData, bool bReliable) { - bool _ret; + struct cppISteamNetworking_SteamNetworking002_SendDataOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubData = pubData, + .cubData = cubData, + .bReliable = bReliable, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_SendDataOnSocket(_this->u_iface, hSocket, pubData, cubData, bReliable); - return _ret; + cppISteamNetworking_SteamNetworking002_SendDataOnSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket(_this->u_iface, hSocket, pcubMsgSize); - return _ret; + cppISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking002_RetrieveDataFromSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamNetworking_SteamNetworking002_RetrieveDataFromSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_RetrieveDataFromSocket(_this->u_iface, hSocket, pubDest, cubDest, pcubMsgSize); - return _ret; + cppISteamNetworking_SteamNetworking002_RetrieveDataFromSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking002_IsDataAvailable(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, uint32 *pcubMsgSize, SNetSocket_t *phSocket) { - bool _ret; + struct cppISteamNetworking_SteamNetworking002_IsDataAvailable_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_IsDataAvailable(_this->u_iface, hListenSocket, pcubMsgSize, phSocket); - return _ret; + cppISteamNetworking_SteamNetworking002_IsDataAvailable( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking002_RetrieveData(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, SNetSocket_t *phSocket) { - bool _ret; + struct cppISteamNetworking_SteamNetworking002_RetrieveData_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_RetrieveData(_this->u_iface, hListenSocket, pubDest, cubDest, pcubMsgSize, phSocket); - return _ret; + cppISteamNetworking_SteamNetworking002_RetrieveData( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking002_GetSocketInfo(struct w_steam_iface *_this, SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, uint32 *punIPRemote, uint16 *punPortRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking002_GetSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pSteamIDRemote = pSteamIDRemote, + .peSocketStatus = peSocketStatus, + .punIPRemote = punIPRemote, + .punPortRemote = punPortRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_GetSocketInfo(_this->u_iface, hSocket, pSteamIDRemote, peSocketStatus, punIPRemote, punPortRemote); - return _ret; + cppISteamNetworking_SteamNetworking002_GetSocketInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking002_GetListenSocketInfo(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, uint32 *pnIP, uint16 *pnPort) { - bool _ret; + struct cppISteamNetworking_SteamNetworking002_GetListenSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pnIP = pnIP, + .pnPort = pnPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_GetListenSocketInfo(_this->u_iface, hListenSocket, pnIP, pnPort); - return _ret; + cppISteamNetworking_SteamNetworking002_GetListenSocketInfo( ¶ms ); + return params._ret; } ESNetSocketConnectionType __thiscall winISteamNetworking_SteamNetworking002_GetSocketConnectionType(struct w_steam_iface *_this, SNetSocket_t hSocket) { - ESNetSocketConnectionType _ret; + struct cppISteamNetworking_SteamNetworking002_GetSocketConnectionType_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_GetSocketConnectionType(_this->u_iface, hSocket); - return _ret; + cppISteamNetworking_SteamNetworking002_GetSocketConnectionType( ¶ms ); + return params._ret; } int __thiscall winISteamNetworking_SteamNetworking002_GetMaxPacketSize(struct w_steam_iface *_this, SNetSocket_t hSocket) { - int _ret; + struct cppISteamNetworking_SteamNetworking002_GetMaxPacketSize_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking002_GetMaxPacketSize(_this->u_iface, hSocket); - return _ret; + cppISteamNetworking_SteamNetworking002_GetMaxPacketSize( ¶ms ); + return params._ret; } extern vtable_ptr winISteamNetworking_SteamNetworking002_vtable; @@ -344,162 +504,278 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_GetMaxPacketSize, bool __thiscall winISteamNetworking_SteamNetworking003_SendP2PPacket(struct w_steam_iface *_this, CSteamID steamIDRemote, const void *pubData, uint32 cubData, EP2PSend eP2PSendType) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_SendP2PPacket_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pubData = pubData, + .cubData = cubData, + .eP2PSendType = eP2PSendType, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_SendP2PPacket(_this->u_iface, steamIDRemote, pubData, cubData, eP2PSendType); - return _ret; + cppISteamNetworking_SteamNetworking003_SendP2PPacket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_IsP2PPacketAvailable(struct w_steam_iface *_this, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable_params params = + { + .linux_side = _this->u_iface, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable(_this->u_iface, pcubMsgSize); - return _ret; + cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_ReadP2PPacket(struct w_steam_iface *_this, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, CSteamID *psteamIDRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_ReadP2PPacket_params params = + { + .linux_side = _this->u_iface, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .psteamIDRemote = psteamIDRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_ReadP2PPacket(_this->u_iface, pubDest, cubDest, pcubMsgSize, psteamIDRemote); - return _ret; + cppISteamNetworking_SteamNetworking003_ReadP2PPacket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser(_this->u_iface, steamIDRemote); - return _ret; + cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser(_this->u_iface, steamIDRemote); - return _ret; + cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_GetP2PSessionState(struct w_steam_iface *_this, CSteamID steamIDRemote, P2PSessionState_t *pConnectionState) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_GetP2PSessionState_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pConnectionState = pConnectionState, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_GetP2PSessionState(_this->u_iface, steamIDRemote, pConnectionState); - return _ret; + cppISteamNetworking_SteamNetworking003_GetP2PSessionState( ¶ms ); + return params._ret; } SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking003_CreateListenSocket(struct w_steam_iface *_this, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) { - SNetListenSocket_t _ret; + struct cppISteamNetworking_SteamNetworking003_CreateListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualP2PPort = nVirtualP2PPort, + .nIP = nIP, + .nPort = nPort, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_CreateListenSocket(_this->u_iface, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); - return _ret; + cppISteamNetworking_SteamNetworking003_CreateListenSocket( ¶ms ); + return params._ret; } SNetSocket_t __thiscall winISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket(struct w_steam_iface *_this, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) { - SNetSocket_t _ret; + struct cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .steamIDTarget = steamIDTarget, + .nVirtualPort = nVirtualPort, + .nTimeoutSec = nTimeoutSec, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket(_this->u_iface, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); - return _ret; + cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket( ¶ms ); + return params._ret; } SNetSocket_t __thiscall winISteamNetworking_SteamNetworking003_CreateConnectionSocket(struct w_steam_iface *_this, uint32 nIP, uint16 nPort, int nTimeoutSec) { - SNetSocket_t _ret; + struct cppISteamNetworking_SteamNetworking003_CreateConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .nIP = nIP, + .nPort = nPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_CreateConnectionSocket(_this->u_iface, nIP, nPort, nTimeoutSec); - return _ret; + cppISteamNetworking_SteamNetworking003_CreateConnectionSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_DestroySocket(struct w_steam_iface *_this, SNetSocket_t hSocket, bool bNotifyRemoteEnd) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_DestroySocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_DestroySocket(_this->u_iface, hSocket, bNotifyRemoteEnd); - return _ret; + cppISteamNetworking_SteamNetworking003_DestroySocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_DestroyListenSocket(struct w_steam_iface *_this, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_DestroyListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_DestroyListenSocket(_this->u_iface, hSocket, bNotifyRemoteEnd); - return _ret; + cppISteamNetworking_SteamNetworking003_DestroyListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_SendDataOnSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, void *pubData, uint32 cubData, bool bReliable) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_SendDataOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubData = pubData, + .cubData = cubData, + .bReliable = bReliable, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_SendDataOnSocket(_this->u_iface, hSocket, pubData, cubData, bReliable); - return _ret; + cppISteamNetworking_SteamNetworking003_SendDataOnSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket(_this->u_iface, hSocket, pcubMsgSize); - return _ret; + cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_RetrieveDataFromSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket(_this->u_iface, hSocket, pubDest, cubDest, pcubMsgSize); - return _ret; + cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_IsDataAvailable(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, uint32 *pcubMsgSize, SNetSocket_t *phSocket) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_IsDataAvailable_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_IsDataAvailable(_this->u_iface, hListenSocket, pcubMsgSize, phSocket); - return _ret; + cppISteamNetworking_SteamNetworking003_IsDataAvailable( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_RetrieveData(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, SNetSocket_t *phSocket) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_RetrieveData_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_RetrieveData(_this->u_iface, hListenSocket, pubDest, cubDest, pcubMsgSize, phSocket); - return _ret; + cppISteamNetworking_SteamNetworking003_RetrieveData( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_GetSocketInfo(struct w_steam_iface *_this, SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, uint32 *punIPRemote, uint16 *punPortRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_GetSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pSteamIDRemote = pSteamIDRemote, + .peSocketStatus = peSocketStatus, + .punIPRemote = punIPRemote, + .punPortRemote = punPortRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_GetSocketInfo(_this->u_iface, hSocket, pSteamIDRemote, peSocketStatus, punIPRemote, punPortRemote); - return _ret; + cppISteamNetworking_SteamNetworking003_GetSocketInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking003_GetListenSocketInfo(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, uint32 *pnIP, uint16 *pnPort) { - bool _ret; + struct cppISteamNetworking_SteamNetworking003_GetListenSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pnIP = pnIP, + .pnPort = pnPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_GetListenSocketInfo(_this->u_iface, hListenSocket, pnIP, pnPort); - return _ret; + cppISteamNetworking_SteamNetworking003_GetListenSocketInfo( ¶ms ); + return params._ret; } ESNetSocketConnectionType __thiscall winISteamNetworking_SteamNetworking003_GetSocketConnectionType(struct w_steam_iface *_this, SNetSocket_t hSocket) { - ESNetSocketConnectionType _ret; + struct cppISteamNetworking_SteamNetworking003_GetSocketConnectionType_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_GetSocketConnectionType(_this->u_iface, hSocket); - return _ret; + cppISteamNetworking_SteamNetworking003_GetSocketConnectionType( ¶ms ); + return params._ret; } int __thiscall winISteamNetworking_SteamNetworking003_GetMaxPacketSize(struct w_steam_iface *_this, SNetSocket_t hSocket) { - int _ret; + struct cppISteamNetworking_SteamNetworking003_GetMaxPacketSize_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking003_GetMaxPacketSize(_this->u_iface, hSocket); - return _ret; + cppISteamNetworking_SteamNetworking003_GetMaxPacketSize( ¶ms ); + return params._ret; } extern vtable_ptr winISteamNetworking_SteamNetworking003_vtable; @@ -567,162 +843,281 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_GetMaxPacketSize, bool __thiscall winISteamNetworking_SteamNetworking004_SendP2PPacket(struct w_steam_iface *_this, CSteamID steamIDRemote, const void *pubData, uint32 cubData, EP2PSend eP2PSendType, int nVirtualPort) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_SendP2PPacket_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pubData = pubData, + .cubData = cubData, + .eP2PSendType = eP2PSendType, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_SendP2PPacket(_this->u_iface, steamIDRemote, pubData, cubData, eP2PSendType, nVirtualPort); - return _ret; + cppISteamNetworking_SteamNetworking004_SendP2PPacket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_IsP2PPacketAvailable(struct w_steam_iface *_this, uint32 *pcubMsgSize, int nVirtualPort) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable_params params = + { + .linux_side = _this->u_iface, + .pcubMsgSize = pcubMsgSize, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable(_this->u_iface, pcubMsgSize, nVirtualPort); - return _ret; + cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_ReadP2PPacket(struct w_steam_iface *_this, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, CSteamID *psteamIDRemote, int nVirtualPort) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_ReadP2PPacket_params params = + { + .linux_side = _this->u_iface, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .psteamIDRemote = psteamIDRemote, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_ReadP2PPacket(_this->u_iface, pubDest, cubDest, pcubMsgSize, psteamIDRemote, nVirtualPort); - return _ret; + cppISteamNetworking_SteamNetworking004_ReadP2PPacket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser(_this->u_iface, steamIDRemote); - return _ret; + cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser(_this->u_iface, steamIDRemote); - return _ret; + cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_GetP2PSessionState(struct w_steam_iface *_this, CSteamID steamIDRemote, P2PSessionState_t *pConnectionState) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_GetP2PSessionState_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pConnectionState = pConnectionState, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_GetP2PSessionState(_this->u_iface, steamIDRemote, pConnectionState); - return _ret; + cppISteamNetworking_SteamNetworking004_GetP2PSessionState( ¶ms ); + return params._ret; } SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking004_CreateListenSocket(struct w_steam_iface *_this, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) { - SNetListenSocket_t _ret; + struct cppISteamNetworking_SteamNetworking004_CreateListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualP2PPort = nVirtualP2PPort, + .nIP = nIP, + .nPort = nPort, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_CreateListenSocket(_this->u_iface, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); - return _ret; + cppISteamNetworking_SteamNetworking004_CreateListenSocket( ¶ms ); + return params._ret; } SNetSocket_t __thiscall winISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket(struct w_steam_iface *_this, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) { - SNetSocket_t _ret; + struct cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .steamIDTarget = steamIDTarget, + .nVirtualPort = nVirtualPort, + .nTimeoutSec = nTimeoutSec, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket(_this->u_iface, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); - return _ret; + cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket( ¶ms ); + return params._ret; } SNetSocket_t __thiscall winISteamNetworking_SteamNetworking004_CreateConnectionSocket(struct w_steam_iface *_this, uint32 nIP, uint16 nPort, int nTimeoutSec) { - SNetSocket_t _ret; + struct cppISteamNetworking_SteamNetworking004_CreateConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .nIP = nIP, + .nPort = nPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_CreateConnectionSocket(_this->u_iface, nIP, nPort, nTimeoutSec); - return _ret; + cppISteamNetworking_SteamNetworking004_CreateConnectionSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_DestroySocket(struct w_steam_iface *_this, SNetSocket_t hSocket, bool bNotifyRemoteEnd) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_DestroySocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_DestroySocket(_this->u_iface, hSocket, bNotifyRemoteEnd); - return _ret; + cppISteamNetworking_SteamNetworking004_DestroySocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_DestroyListenSocket(struct w_steam_iface *_this, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_DestroyListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_DestroyListenSocket(_this->u_iface, hSocket, bNotifyRemoteEnd); - return _ret; + cppISteamNetworking_SteamNetworking004_DestroyListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_SendDataOnSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, void *pubData, uint32 cubData, bool bReliable) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_SendDataOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubData = pubData, + .cubData = cubData, + .bReliable = bReliable, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_SendDataOnSocket(_this->u_iface, hSocket, pubData, cubData, bReliable); - return _ret; + cppISteamNetworking_SteamNetworking004_SendDataOnSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket(_this->u_iface, hSocket, pcubMsgSize); - return _ret; + cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_RetrieveDataFromSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket(_this->u_iface, hSocket, pubDest, cubDest, pcubMsgSize); - return _ret; + cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_IsDataAvailable(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, uint32 *pcubMsgSize, SNetSocket_t *phSocket) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_IsDataAvailable_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_IsDataAvailable(_this->u_iface, hListenSocket, pcubMsgSize, phSocket); - return _ret; + cppISteamNetworking_SteamNetworking004_IsDataAvailable( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_RetrieveData(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, SNetSocket_t *phSocket) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_RetrieveData_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_RetrieveData(_this->u_iface, hListenSocket, pubDest, cubDest, pcubMsgSize, phSocket); - return _ret; + cppISteamNetworking_SteamNetworking004_RetrieveData( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_GetSocketInfo(struct w_steam_iface *_this, SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, uint32 *punIPRemote, uint16 *punPortRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_GetSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pSteamIDRemote = pSteamIDRemote, + .peSocketStatus = peSocketStatus, + .punIPRemote = punIPRemote, + .punPortRemote = punPortRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_GetSocketInfo(_this->u_iface, hSocket, pSteamIDRemote, peSocketStatus, punIPRemote, punPortRemote); - return _ret; + cppISteamNetworking_SteamNetworking004_GetSocketInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking004_GetListenSocketInfo(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, uint32 *pnIP, uint16 *pnPort) { - bool _ret; + struct cppISteamNetworking_SteamNetworking004_GetListenSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pnIP = pnIP, + .pnPort = pnPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_GetListenSocketInfo(_this->u_iface, hListenSocket, pnIP, pnPort); - return _ret; + cppISteamNetworking_SteamNetworking004_GetListenSocketInfo( ¶ms ); + return params._ret; } ESNetSocketConnectionType __thiscall winISteamNetworking_SteamNetworking004_GetSocketConnectionType(struct w_steam_iface *_this, SNetSocket_t hSocket) { - ESNetSocketConnectionType _ret; + struct cppISteamNetworking_SteamNetworking004_GetSocketConnectionType_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_GetSocketConnectionType(_this->u_iface, hSocket); - return _ret; + cppISteamNetworking_SteamNetworking004_GetSocketConnectionType( ¶ms ); + return params._ret; } int __thiscall winISteamNetworking_SteamNetworking004_GetMaxPacketSize(struct w_steam_iface *_this, SNetSocket_t hSocket) { - int _ret; + struct cppISteamNetworking_SteamNetworking004_GetMaxPacketSize_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking004_GetMaxPacketSize(_this->u_iface, hSocket); - return _ret; + cppISteamNetworking_SteamNetworking004_GetMaxPacketSize( ¶ms ); + return params._ret; } extern vtable_ptr winISteamNetworking_SteamNetworking004_vtable; @@ -792,178 +1187,306 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_GetMaxPacketSize, bool __thiscall winISteamNetworking_SteamNetworking005_SendP2PPacket(struct w_steam_iface *_this, CSteamID steamIDRemote, const void *pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_SendP2PPacket_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pubData = pubData, + .cubData = cubData, + .eP2PSendType = eP2PSendType, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_SendP2PPacket(_this->u_iface, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); - return _ret; + cppISteamNetworking_SteamNetworking005_SendP2PPacket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_IsP2PPacketAvailable(struct w_steam_iface *_this, uint32 *pcubMsgSize, int nChannel) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable_params params = + { + .linux_side = _this->u_iface, + .pcubMsgSize = pcubMsgSize, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable(_this->u_iface, pcubMsgSize, nChannel); - return _ret; + cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_ReadP2PPacket(struct w_steam_iface *_this, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, CSteamID *psteamIDRemote, int nChannel) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_ReadP2PPacket_params params = + { + .linux_side = _this->u_iface, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .psteamIDRemote = psteamIDRemote, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_ReadP2PPacket(_this->u_iface, pubDest, cubDest, pcubMsgSize, psteamIDRemote, nChannel); - return _ret; + cppISteamNetworking_SteamNetworking005_ReadP2PPacket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser(_this->u_iface, steamIDRemote); - return _ret; + cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser(_this->u_iface, steamIDRemote); - return _ret; + cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote, int nChannel) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser(_this->u_iface, steamIDRemote, nChannel); - return _ret; + cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_GetP2PSessionState(struct w_steam_iface *_this, CSteamID steamIDRemote, P2PSessionState_t *pConnectionState) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_GetP2PSessionState_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pConnectionState = pConnectionState, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_GetP2PSessionState(_this->u_iface, steamIDRemote, pConnectionState); - return _ret; + cppISteamNetworking_SteamNetworking005_GetP2PSessionState( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_AllowP2PPacketRelay(struct w_steam_iface *_this, bool bAllow) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay_params params = + { + .linux_side = _this->u_iface, + .bAllow = bAllow, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay(_this->u_iface, bAllow); - return _ret; + cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay( ¶ms ); + return params._ret; } SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking005_CreateListenSocket(struct w_steam_iface *_this, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) { - SNetListenSocket_t _ret; + struct cppISteamNetworking_SteamNetworking005_CreateListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualP2PPort = nVirtualP2PPort, + .nIP = nIP, + .nPort = nPort, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_CreateListenSocket(_this->u_iface, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); - return _ret; + cppISteamNetworking_SteamNetworking005_CreateListenSocket( ¶ms ); + return params._ret; } SNetSocket_t __thiscall winISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket(struct w_steam_iface *_this, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) { - SNetSocket_t _ret; + struct cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .steamIDTarget = steamIDTarget, + .nVirtualPort = nVirtualPort, + .nTimeoutSec = nTimeoutSec, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket(_this->u_iface, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); - return _ret; + cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket( ¶ms ); + return params._ret; } SNetSocket_t __thiscall winISteamNetworking_SteamNetworking005_CreateConnectionSocket(struct w_steam_iface *_this, uint32 nIP, uint16 nPort, int nTimeoutSec) { - SNetSocket_t _ret; + struct cppISteamNetworking_SteamNetworking005_CreateConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .nIP = nIP, + .nPort = nPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_CreateConnectionSocket(_this->u_iface, nIP, nPort, nTimeoutSec); - return _ret; + cppISteamNetworking_SteamNetworking005_CreateConnectionSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_DestroySocket(struct w_steam_iface *_this, SNetSocket_t hSocket, bool bNotifyRemoteEnd) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_DestroySocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_DestroySocket(_this->u_iface, hSocket, bNotifyRemoteEnd); - return _ret; + cppISteamNetworking_SteamNetworking005_DestroySocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_DestroyListenSocket(struct w_steam_iface *_this, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_DestroyListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_DestroyListenSocket(_this->u_iface, hSocket, bNotifyRemoteEnd); - return _ret; + cppISteamNetworking_SteamNetworking005_DestroyListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_SendDataOnSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, void *pubData, uint32 cubData, bool bReliable) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_SendDataOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubData = pubData, + .cubData = cubData, + .bReliable = bReliable, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_SendDataOnSocket(_this->u_iface, hSocket, pubData, cubData, bReliable); - return _ret; + cppISteamNetworking_SteamNetworking005_SendDataOnSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket(_this->u_iface, hSocket, pcubMsgSize); - return _ret; + cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_RetrieveDataFromSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket(_this->u_iface, hSocket, pubDest, cubDest, pcubMsgSize); - return _ret; + cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_IsDataAvailable(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, uint32 *pcubMsgSize, SNetSocket_t *phSocket) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_IsDataAvailable_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_IsDataAvailable(_this->u_iface, hListenSocket, pcubMsgSize, phSocket); - return _ret; + cppISteamNetworking_SteamNetworking005_IsDataAvailable( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_RetrieveData(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, SNetSocket_t *phSocket) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_RetrieveData_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_RetrieveData(_this->u_iface, hListenSocket, pubDest, cubDest, pcubMsgSize, phSocket); - return _ret; + cppISteamNetworking_SteamNetworking005_RetrieveData( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_GetSocketInfo(struct w_steam_iface *_this, SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, uint32 *punIPRemote, uint16 *punPortRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_GetSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pSteamIDRemote = pSteamIDRemote, + .peSocketStatus = peSocketStatus, + .punIPRemote = punIPRemote, + .punPortRemote = punPortRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_GetSocketInfo(_this->u_iface, hSocket, pSteamIDRemote, peSocketStatus, punIPRemote, punPortRemote); - return _ret; + cppISteamNetworking_SteamNetworking005_GetSocketInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking005_GetListenSocketInfo(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, uint32 *pnIP, uint16 *pnPort) { - bool _ret; + struct cppISteamNetworking_SteamNetworking005_GetListenSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pnIP = pnIP, + .pnPort = pnPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_GetListenSocketInfo(_this->u_iface, hListenSocket, pnIP, pnPort); - return _ret; + cppISteamNetworking_SteamNetworking005_GetListenSocketInfo( ¶ms ); + return params._ret; } ESNetSocketConnectionType __thiscall winISteamNetworking_SteamNetworking005_GetSocketConnectionType(struct w_steam_iface *_this, SNetSocket_t hSocket) { - ESNetSocketConnectionType _ret; + struct cppISteamNetworking_SteamNetworking005_GetSocketConnectionType_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_GetSocketConnectionType(_this->u_iface, hSocket); - return _ret; + cppISteamNetworking_SteamNetworking005_GetSocketConnectionType( ¶ms ); + return params._ret; } int __thiscall winISteamNetworking_SteamNetworking005_GetMaxPacketSize(struct w_steam_iface *_this, SNetSocket_t hSocket) { - int _ret; + struct cppISteamNetworking_SteamNetworking005_GetMaxPacketSize_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking005_GetMaxPacketSize(_this->u_iface, hSocket); - return _ret; + cppISteamNetworking_SteamNetworking005_GetMaxPacketSize( ¶ms ); + return params._ret; } extern vtable_ptr winISteamNetworking_SteamNetworking005_vtable; @@ -1035,178 +1558,306 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_GetMaxPacketSize, bool __thiscall winISteamNetworking_SteamNetworking006_SendP2PPacket(struct w_steam_iface *_this, CSteamID steamIDRemote, const void *pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_SendP2PPacket_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pubData = pubData, + .cubData = cubData, + .eP2PSendType = eP2PSendType, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_SendP2PPacket(_this->u_iface, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); - return _ret; + cppISteamNetworking_SteamNetworking006_SendP2PPacket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_IsP2PPacketAvailable(struct w_steam_iface *_this, uint32 *pcubMsgSize, int nChannel) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_IsP2PPacketAvailable_params params = + { + .linux_side = _this->u_iface, + .pcubMsgSize = pcubMsgSize, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_IsP2PPacketAvailable(_this->u_iface, pcubMsgSize, nChannel); - return _ret; + cppISteamNetworking_SteamNetworking006_IsP2PPacketAvailable( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_ReadP2PPacket(struct w_steam_iface *_this, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, CSteamID *psteamIDRemote, int nChannel) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_ReadP2PPacket_params params = + { + .linux_side = _this->u_iface, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .psteamIDRemote = psteamIDRemote, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_ReadP2PPacket(_this->u_iface, pubDest, cubDest, pcubMsgSize, psteamIDRemote, nChannel); - return _ret; + cppISteamNetworking_SteamNetworking006_ReadP2PPacket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser(_this->u_iface, steamIDRemote); - return _ret; + cppISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser(_this->u_iface, steamIDRemote); - return _ret; + cppISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote, int nChannel) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser(_this->u_iface, steamIDRemote, nChannel); - return _ret; + cppISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_GetP2PSessionState(struct w_steam_iface *_this, CSteamID steamIDRemote, P2PSessionState_t *pConnectionState) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_GetP2PSessionState_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pConnectionState = pConnectionState, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_GetP2PSessionState(_this->u_iface, steamIDRemote, pConnectionState); - return _ret; + cppISteamNetworking_SteamNetworking006_GetP2PSessionState( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_AllowP2PPacketRelay(struct w_steam_iface *_this, bool bAllow) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay_params params = + { + .linux_side = _this->u_iface, + .bAllow = bAllow, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay(_this->u_iface, bAllow); - return _ret; + cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay( ¶ms ); + return params._ret; } SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking006_CreateListenSocket(struct w_steam_iface *_this, int nVirtualP2PPort, SteamIPAddress_t nIP, uint16 nPort, bool bAllowUseOfPacketRelay) { - SNetListenSocket_t _ret; + struct cppISteamNetworking_SteamNetworking006_CreateListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualP2PPort = nVirtualP2PPort, + .nIP = nIP, + .nPort = nPort, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_CreateListenSocket(_this->u_iface, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); - return _ret; + cppISteamNetworking_SteamNetworking006_CreateListenSocket( ¶ms ); + return params._ret; } SNetSocket_t __thiscall winISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket(struct w_steam_iface *_this, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) { - SNetSocket_t _ret; + struct cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .steamIDTarget = steamIDTarget, + .nVirtualPort = nVirtualPort, + .nTimeoutSec = nTimeoutSec, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket(_this->u_iface, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); - return _ret; + cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket( ¶ms ); + return params._ret; } SNetSocket_t __thiscall winISteamNetworking_SteamNetworking006_CreateConnectionSocket(struct w_steam_iface *_this, SteamIPAddress_t nIP, uint16 nPort, int nTimeoutSec) { - SNetSocket_t _ret; + struct cppISteamNetworking_SteamNetworking006_CreateConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .nIP = nIP, + .nPort = nPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_CreateConnectionSocket(_this->u_iface, nIP, nPort, nTimeoutSec); - return _ret; + cppISteamNetworking_SteamNetworking006_CreateConnectionSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_DestroySocket(struct w_steam_iface *_this, SNetSocket_t hSocket, bool bNotifyRemoteEnd) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_DestroySocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_DestroySocket(_this->u_iface, hSocket, bNotifyRemoteEnd); - return _ret; + cppISteamNetworking_SteamNetworking006_DestroySocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_DestroyListenSocket(struct w_steam_iface *_this, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_DestroyListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_DestroyListenSocket(_this->u_iface, hSocket, bNotifyRemoteEnd); - return _ret; + cppISteamNetworking_SteamNetworking006_DestroyListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_SendDataOnSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, void *pubData, uint32 cubData, bool bReliable) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_SendDataOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubData = pubData, + .cubData = cubData, + .bReliable = bReliable, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_SendDataOnSocket(_this->u_iface, hSocket, pubData, cubData, bReliable); - return _ret; + cppISteamNetworking_SteamNetworking006_SendDataOnSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket(_this->u_iface, hSocket, pcubMsgSize); - return _ret; + cppISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_RetrieveDataFromSocket(struct w_steam_iface *_this, SNetSocket_t hSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_RetrieveDataFromSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_RetrieveDataFromSocket(_this->u_iface, hSocket, pubDest, cubDest, pcubMsgSize); - return _ret; + cppISteamNetworking_SteamNetworking006_RetrieveDataFromSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_IsDataAvailable(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, uint32 *pcubMsgSize, SNetSocket_t *phSocket) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_IsDataAvailable_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_IsDataAvailable(_this->u_iface, hListenSocket, pcubMsgSize, phSocket); - return _ret; + cppISteamNetworking_SteamNetworking006_IsDataAvailable( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_RetrieveData(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, SNetSocket_t *phSocket) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_RetrieveData_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_RetrieveData(_this->u_iface, hListenSocket, pubDest, cubDest, pcubMsgSize, phSocket); - return _ret; + cppISteamNetworking_SteamNetworking006_RetrieveData( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_GetSocketInfo(struct w_steam_iface *_this, SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, SteamIPAddress_t *punIPRemote, uint16 *punPortRemote) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_GetSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pSteamIDRemote = pSteamIDRemote, + .peSocketStatus = peSocketStatus, + .punIPRemote = punIPRemote, + .punPortRemote = punPortRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_GetSocketInfo(_this->u_iface, hSocket, pSteamIDRemote, peSocketStatus, punIPRemote, punPortRemote); - return _ret; + cppISteamNetworking_SteamNetworking006_GetSocketInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworking_SteamNetworking006_GetListenSocketInfo(struct w_steam_iface *_this, SNetListenSocket_t hListenSocket, SteamIPAddress_t *pnIP, uint16 *pnPort) { - bool _ret; + struct cppISteamNetworking_SteamNetworking006_GetListenSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pnIP = pnIP, + .pnPort = pnPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_GetListenSocketInfo(_this->u_iface, hListenSocket, pnIP, pnPort); - return _ret; + cppISteamNetworking_SteamNetworking006_GetListenSocketInfo( ¶ms ); + return params._ret; } ESNetSocketConnectionType __thiscall winISteamNetworking_SteamNetworking006_GetSocketConnectionType(struct w_steam_iface *_this, SNetSocket_t hSocket) { - ESNetSocketConnectionType _ret; + struct cppISteamNetworking_SteamNetworking006_GetSocketConnectionType_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_GetSocketConnectionType(_this->u_iface, hSocket); - return _ret; + cppISteamNetworking_SteamNetworking006_GetSocketConnectionType( ¶ms ); + return params._ret; } int __thiscall winISteamNetworking_SteamNetworking006_GetMaxPacketSize(struct w_steam_iface *_this, SNetSocket_t hSocket) { - int _ret; + struct cppISteamNetworking_SteamNetworking006_GetMaxPacketSize_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworking_SteamNetworking006_GetMaxPacketSize(_this->u_iface, hSocket); - return _ret; + cppISteamNetworking_SteamNetworking006_GetMaxPacketSize( ¶ms ); + return params._ret; } extern vtable_ptr winISteamNetworking_SteamNetworking006_vtable; diff --git a/lsteamclient/winISteamNetworkingFakeUDPPort.c b/lsteamclient/winISteamNetworkingFakeUDPPort.c index 89b43f46..f31085d5 100644 --- a/lsteamclient/winISteamNetworkingFakeUDPPort.c +++ b/lsteamclient/winISteamNetworkingFakeUDPPort.c @@ -22,30 +22,51 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPor void __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort(struct w_steam_iface *_this) { + struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort(_this->u_iface); + cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort( ¶ms ); } EResult __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *remoteAddress, const void *pData, uint32 cbData, int nSendFlags) { - EResult _ret; + struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP_params params = + { + .linux_side = _this->u_iface, + .remoteAddress = remoteAddress, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP(_this->u_iface, remoteAddress, pData, cbData, nSendFlags); - return _ret; + cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages(struct w_steam_iface *_this, winSteamNetworkingMessage_t_158 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages_params params = + { + .linux_side = _this->u_iface, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages(_this->u_iface, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup(struct w_steam_iface *_this, const SteamNetworkingIPAddr *remoteAddress) { + struct cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup_params params = + { + .linux_side = _this->u_iface, + .remoteAddress = remoteAddress, + }; TRACE("%p\n", _this); - cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup(_this->u_iface, remoteAddress); + cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup( ¶ms ); } extern vtable_ptr winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_vtable; diff --git a/lsteamclient/winISteamNetworkingMessages.c b/lsteamclient/winISteamNetworkingMessages.c index 59dc8782..8962fce1 100644 --- a/lsteamclient/winISteamNetworkingMessages.c +++ b/lsteamclient/winISteamNetworkingMessages.c @@ -24,50 +24,83 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingMessages_SteamNetworkingMessages002_G EResult __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityRemote, const void *pubData, uint32 cubData, int nSendFlags, int nRemoteChannel) { - EResult _ret; + struct cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .pubData = pubData, + .cubData = cubData, + .nSendFlags = nSendFlags, + .nRemoteChannel = nRemoteChannel, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser(_this->u_iface, identityRemote, pubData, cubData, nSendFlags, nRemoteChannel); - return _ret; + cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(struct w_steam_iface *_this, int nLocalChannel, winSteamNetworkingMessage_t_158 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel_params params = + { + .linux_side = _this->u_iface, + .nLocalChannel = nLocalChannel, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(_this->u_iface, nLocalChannel, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityRemote) { - bool _ret; + struct cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser(_this->u_iface, identityRemote); - return _ret; + cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityRemote) { - bool _ret; + struct cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser(_this->u_iface, identityRemote); - return _ret; + cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityRemote, int nLocalChannel) { - bool _ret; + struct cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nLocalChannel = nLocalChannel, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser(_this->u_iface, identityRemote, nLocalChannel); - return _ret; + cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser( ¶ms ); + return params._ret; } ESteamNetworkingConnectionState __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityRemote, SteamNetConnectionInfo_t *pConnectionInfo, SteamNetConnectionRealTimeStatus_t *pQuickStatus) { - ESteamNetworkingConnectionState _ret; + struct cppISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .pConnectionInfo = pConnectionInfo, + .pQuickStatus = pQuickStatus, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo(_this->u_iface, identityRemote, pConnectionInfo, pQuickStatus); - return _ret; + cppISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo( ¶ms ); + return params._ret; } extern vtable_ptr winISteamNetworkingMessages_SteamNetworkingMessages002_vtable; diff --git a/lsteamclient/winISteamNetworkingSockets.c b/lsteamclient/winISteamNetworkingSockets.c index 5297edbf..20baef55 100644 --- a/lsteamclient/winISteamNetworkingSockets.c +++ b/lsteamclient/winISteamNetworkingSockets.c @@ -47,224 +47,364 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_des HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *localAddress) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP_params params = + { + .linux_side = _this->u_iface, + .localAddress = localAddress, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP(_this->u_iface, localAddress); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress(struct w_steam_iface *_this, const SteamNetworkingIPAddr *address) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress_params params = + { + .linux_side = _this->u_iface, + .address = address, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress(_this->u_iface, address); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress( ¶ms ); + return params._ret; } HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P(struct w_steam_iface *_this, int nVirtualPort) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P(_this->u_iface, nVirtualPort); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityRemote, int nVirtualPort) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P(_this->u_iface, identityRemote, nVirtualPort); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection(struct w_steam_iface *_this, HSteamNetConnection hConn) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection(_this->u_iface, hConn); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection(struct w_steam_iface *_this, HSteamNetConnection hPeer, int nReason, const char *pszDebug, bool bEnableLinger) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nReason = nReason, + .pszDebug = pszDebug, + .bEnableLinger = bEnableLinger, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection(_this->u_iface, hPeer, nReason, pszDebug, bEnableLinger); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket(struct w_steam_iface *_this, HSteamListenSocket hSocket) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket(_this->u_iface, hSocket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData(struct w_steam_iface *_this, HSteamNetConnection hPeer, int64 nUserData) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nUserData = nUserData, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData(_this->u_iface, hPeer, nUserData); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData( ¶ms ); + return params._ret; } int64 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData(struct w_steam_iface *_this, HSteamNetConnection hPeer) { - int64 _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData(_this->u_iface, hPeer); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName(struct w_steam_iface *_this, HSteamNetConnection hPeer, const char *pszName) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName(_this->u_iface, hPeer, pszName); + cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName( ¶ms ); } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName(struct w_steam_iface *_this, HSteamNetConnection hPeer, char *pszName, int nMaxLen) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + .nMaxLen = nMaxLen, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName(_this->u_iface, hPeer, pszName, nMaxLen); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection(struct w_steam_iface *_this, HSteamNetConnection hConn, const void *pData, uint32 cbData, int nSendFlags) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection(_this->u_iface, hConn, pData, cbData, nSendFlags); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection(struct w_steam_iface *_this, HSteamNetConnection hConn) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection(_this->u_iface, hConn); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection(struct w_steam_iface *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_144 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection(_this->u_iface, hConn, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket(struct w_steam_iface *_this, HSteamListenSocket hSocket, winSteamNetworkingMessage_t_144 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket(_this->u_iface, hSocket, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo(struct w_steam_iface *_this, HSteamNetConnection hConn, SteamNetConnectionInfo_t *pInfo) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo(_this->u_iface, hConn, pInfo); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus(struct w_steam_iface *_this, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus *pStats) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pStats = pStats, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus(_this->u_iface, hConn, pStats); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus(struct w_steam_iface *_this, HSteamNetConnection hConn, char *pszBuf, int cbBuf) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pszBuf = pszBuf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus(_this->u_iface, hConn, pszBuf, cbBuf); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress(struct w_steam_iface *_this, HSteamListenSocket hSocket, SteamNetworkingIPAddr *address) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .address = address, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress(_this->u_iface, hSocket, address); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair(struct w_steam_iface *_this, HSteamNetConnection *pOutConnection1, HSteamNetConnection *pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity *pIdentity1, const SteamNetworkingIdentity *pIdentity2) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair_params params = + { + .linux_side = _this->u_iface, + .pOutConnection1 = pOutConnection1, + .pOutConnection2 = pOutConnection2, + .bUseNetworkLoopback = bUseNetworkLoopback, + .pIdentity1 = pIdentity1, + .pIdentity2 = pIdentity2, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair(_this->u_iface, pOutConnection1, pOutConnection2, bUseNetworkLoopback, pIdentity1, pIdentity2); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity(_this->u_iface, pIdentity); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket(struct w_steam_iface *_this, const void *pvTicket, int cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket_params params = + { + .linux_side = _this->u_iface, + .pvTicket = pvTicket, + .cbTicket = cbTicket, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket(_this->u_iface, pvTicket, cbTicket, pOutParsedTicket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params params = + { + .linux_side = _this->u_iface, + .identityGameServer = identityGameServer, + .nVirtualPort = nVirtualPort, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer(_this->u_iface, identityGameServer, nVirtualPort, pOutParsedTicket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityTarget, int nVirtualPort) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .identityTarget = identityTarget, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer(_this->u_iface, identityTarget, nVirtualPort); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer( ¶ms ); + return params._ret; } uint16 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort(struct w_steam_iface *_this) { - uint16 _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort( ¶ms ); + return params._ret; } SteamNetworkingPOPID __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID(struct w_steam_iface *_this) { - SteamNetworkingPOPID _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress(struct w_steam_iface *_this, SteamDatagramHostedAddress *pRouting) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress_params params = + { + .linux_side = _this->u_iface, + .pRouting = pRouting, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress(_this->u_iface, pRouting); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress( ¶ms ); + return params._ret; } HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket(struct w_steam_iface *_this, int nVirtualPort) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket(_this->u_iface, nVirtualPort); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_destructor(struct w_steam_iface *_this) @@ -356,248 +496,401 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_des HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *localAddress) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP_params params = + { + .linux_side = _this->u_iface, + .localAddress = localAddress, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP(_this->u_iface, localAddress); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress(struct w_steam_iface *_this, const SteamNetworkingIPAddr *address) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress_params params = + { + .linux_side = _this->u_iface, + .address = address, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress(_this->u_iface, address); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress( ¶ms ); + return params._ret; } HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P(struct w_steam_iface *_this, int nVirtualPort) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P(_this->u_iface, nVirtualPort); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityRemote, int nVirtualPort) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P(_this->u_iface, identityRemote, nVirtualPort); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection(struct w_steam_iface *_this, HSteamNetConnection hConn) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection(_this->u_iface, hConn); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection(struct w_steam_iface *_this, HSteamNetConnection hPeer, int nReason, const char *pszDebug, bool bEnableLinger) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nReason = nReason, + .pszDebug = pszDebug, + .bEnableLinger = bEnableLinger, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection(_this->u_iface, hPeer, nReason, pszDebug, bEnableLinger); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket(struct w_steam_iface *_this, HSteamListenSocket hSocket) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket(_this->u_iface, hSocket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData(struct w_steam_iface *_this, HSteamNetConnection hPeer, int64 nUserData) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nUserData = nUserData, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData(_this->u_iface, hPeer, nUserData); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData( ¶ms ); + return params._ret; } int64 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData(struct w_steam_iface *_this, HSteamNetConnection hPeer) { - int64 _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData(_this->u_iface, hPeer); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName(struct w_steam_iface *_this, HSteamNetConnection hPeer, const char *pszName) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName(_this->u_iface, hPeer, pszName); + cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName( ¶ms ); } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName(struct w_steam_iface *_this, HSteamNetConnection hPeer, char *pszName, int nMaxLen) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + .nMaxLen = nMaxLen, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName(_this->u_iface, hPeer, pszName, nMaxLen); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection(struct w_steam_iface *_this, HSteamNetConnection hConn, const void *pData, uint32 cbData, int nSendFlags) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection(_this->u_iface, hConn, pData, cbData, nSendFlags); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection(struct w_steam_iface *_this, HSteamNetConnection hConn) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection(_this->u_iface, hConn); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection(struct w_steam_iface *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_146 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection(_this->u_iface, hConn, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket(struct w_steam_iface *_this, HSteamListenSocket hSocket, winSteamNetworkingMessage_t_146 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket(_this->u_iface, hSocket, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo(struct w_steam_iface *_this, HSteamNetConnection hConn, SteamNetConnectionInfo_t *pInfo) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo(_this->u_iface, hConn, pInfo); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus(struct w_steam_iface *_this, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus *pStats) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pStats = pStats, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus(_this->u_iface, hConn, pStats); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus(struct w_steam_iface *_this, HSteamNetConnection hConn, char *pszBuf, int cbBuf) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pszBuf = pszBuf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus(_this->u_iface, hConn, pszBuf, cbBuf); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress(struct w_steam_iface *_this, HSteamListenSocket hSocket, SteamNetworkingIPAddr *address) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .address = address, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress(_this->u_iface, hSocket, address); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair(struct w_steam_iface *_this, HSteamNetConnection *pOutConnection1, HSteamNetConnection *pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity *pIdentity1, const SteamNetworkingIdentity *pIdentity2) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair_params params = + { + .linux_side = _this->u_iface, + .pOutConnection1 = pOutConnection1, + .pOutConnection2 = pOutConnection2, + .bUseNetworkLoopback = bUseNetworkLoopback, + .pIdentity1 = pIdentity1, + .pIdentity2 = pIdentity2, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair(_this->u_iface, pOutConnection1, pOutConnection2, bUseNetworkLoopback, pIdentity1, pIdentity2); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity(_this->u_iface, pIdentity); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity( ¶ms ); + return params._ret; } ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication(struct w_steam_iface *_this) { - ESteamNetworkingAvailability _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication( ¶ms ); + return params._ret; } ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus(struct w_steam_iface *_this, SteamNetAuthenticationStatus_t *pDetails) { - ESteamNetworkingAvailability _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus(_this->u_iface, pDetails); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket(struct w_steam_iface *_this, const void *pvTicket, int cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket_params params = + { + .linux_side = _this->u_iface, + .pvTicket = pvTicket, + .cbTicket = cbTicket, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket(_this->u_iface, pvTicket, cbTicket, pOutParsedTicket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer_params params = + { + .linux_side = _this->u_iface, + .identityGameServer = identityGameServer, + .nVirtualPort = nVirtualPort, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer(_this->u_iface, identityGameServer, nVirtualPort, pOutParsedTicket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityTarget, int nVirtualPort) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .identityTarget = identityTarget, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer(_this->u_iface, identityTarget, nVirtualPort); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer( ¶ms ); + return params._ret; } uint16 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort(struct w_steam_iface *_this) { - uint16 _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort( ¶ms ); + return params._ret; } SteamNetworkingPOPID __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID(struct w_steam_iface *_this) { - SteamNetworkingPOPID _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress(struct w_steam_iface *_this, SteamDatagramHostedAddress *pRouting) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress_params params = + { + .linux_side = _this->u_iface, + .pRouting = pRouting, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress(_this->u_iface, pRouting); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress( ¶ms ); + return params._ret; } HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket(struct w_steam_iface *_this, int nVirtualPort) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket(_this->u_iface, nVirtualPort); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin(struct w_steam_iface *_this, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int *pcbSignedBlob, void *pBlob) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin_params params = + { + .linux_side = _this->u_iface, + .pLoginInfo = pLoginInfo, + .pcbSignedBlob = pcbSignedBlob, + .pBlob = pBlob, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin(_this->u_iface, pLoginInfo, pcbSignedBlob, pBlob); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_destructor(struct w_steam_iface *_this) @@ -695,270 +988,456 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_des HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *localAddress, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP_params params = + { + .linux_side = _this->u_iface, + .localAddress = localAddress, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP(_this->u_iface, localAddress, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress(struct w_steam_iface *_this, const SteamNetworkingIPAddr *address, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress_params params = + { + .linux_side = _this->u_iface, + .address = address, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress(_this->u_iface, address, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress( ¶ms ); + return params._ret; } HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P(struct w_steam_iface *_this, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P(_this->u_iface, nVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityRemote, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P(_this->u_iface, identityRemote, nVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection(struct w_steam_iface *_this, HSteamNetConnection hConn) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection(_this->u_iface, hConn); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection(struct w_steam_iface *_this, HSteamNetConnection hPeer, int nReason, const char *pszDebug, bool bEnableLinger) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nReason = nReason, + .pszDebug = pszDebug, + .bEnableLinger = bEnableLinger, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection(_this->u_iface, hPeer, nReason, pszDebug, bEnableLinger); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket(struct w_steam_iface *_this, HSteamListenSocket hSocket) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket(_this->u_iface, hSocket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData(struct w_steam_iface *_this, HSteamNetConnection hPeer, int64 nUserData) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nUserData = nUserData, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData(_this->u_iface, hPeer, nUserData); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData( ¶ms ); + return params._ret; } int64 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData(struct w_steam_iface *_this, HSteamNetConnection hPeer) { - int64 _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData(_this->u_iface, hPeer); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName(struct w_steam_iface *_this, HSteamNetConnection hPeer, const char *pszName) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName(_this->u_iface, hPeer, pszName); + cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName( ¶ms ); } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName(struct w_steam_iface *_this, HSteamNetConnection hPeer, char *pszName, int nMaxLen) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + .nMaxLen = nMaxLen, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName(_this->u_iface, hPeer, pszName, nMaxLen); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection(struct w_steam_iface *_this, HSteamNetConnection hConn, const void *pData, uint32 cbData, int nSendFlags, int64 *pOutMessageNumber) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + .pOutMessageNumber = pOutMessageNumber, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection(_this->u_iface, hConn, pData, cbData, nSendFlags, pOutMessageNumber); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages(struct w_steam_iface *_this, int nMessages, winSteamNetworkingMessage_t_147 **pMessages, int64 *pOutMessageNumberOrResult) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages_params params = + { + .linux_side = _this->u_iface, + .nMessages = nMessages, + .pMessages = pMessages, + .pOutMessageNumberOrResult = pOutMessageNumberOrResult, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages(_this->u_iface, nMessages, pMessages, pOutMessageNumberOrResult); + cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages( ¶ms ); } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection(struct w_steam_iface *_this, HSteamNetConnection hConn) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection(_this->u_iface, hConn); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection(struct w_steam_iface *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_147 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection(_this->u_iface, hConn, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket(struct w_steam_iface *_this, HSteamListenSocket hSocket, winSteamNetworkingMessage_t_147 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket(_this->u_iface, hSocket, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo(struct w_steam_iface *_this, HSteamNetConnection hConn, SteamNetConnectionInfo_t *pInfo) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo(_this->u_iface, hConn, pInfo); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus(struct w_steam_iface *_this, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus *pStats) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pStats = pStats, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus(_this->u_iface, hConn, pStats); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus(struct w_steam_iface *_this, HSteamNetConnection hConn, char *pszBuf, int cbBuf) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pszBuf = pszBuf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus(_this->u_iface, hConn, pszBuf, cbBuf); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress(struct w_steam_iface *_this, HSteamListenSocket hSocket, SteamNetworkingIPAddr *address) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .address = address, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress(_this->u_iface, hSocket, address); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair(struct w_steam_iface *_this, HSteamNetConnection *pOutConnection1, HSteamNetConnection *pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity *pIdentity1, const SteamNetworkingIdentity *pIdentity2) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair_params params = + { + .linux_side = _this->u_iface, + .pOutConnection1 = pOutConnection1, + .pOutConnection2 = pOutConnection2, + .bUseNetworkLoopback = bUseNetworkLoopback, + .pIdentity1 = pIdentity1, + .pIdentity2 = pIdentity2, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair(_this->u_iface, pOutConnection1, pOutConnection2, bUseNetworkLoopback, pIdentity1, pIdentity2); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity(_this->u_iface, pIdentity); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity( ¶ms ); + return params._ret; } ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication(struct w_steam_iface *_this) { - ESteamNetworkingAvailability _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication( ¶ms ); + return params._ret; } ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus(struct w_steam_iface *_this, SteamNetAuthenticationStatus_t *pDetails) { - ESteamNetworkingAvailability _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus(_this->u_iface, pDetails); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket(struct w_steam_iface *_this, const void *pvTicket, int cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket_params params = + { + .linux_side = _this->u_iface, + .pvTicket = pvTicket, + .cbTicket = cbTicket, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket(_this->u_iface, pvTicket, cbTicket, pOutParsedTicket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer_params params = + { + .linux_side = _this->u_iface, + .identityGameServer = identityGameServer, + .nVirtualPort = nVirtualPort, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer(_this->u_iface, identityGameServer, nVirtualPort, pOutParsedTicket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityTarget, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .identityTarget = identityTarget, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer(_this->u_iface, identityTarget, nVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer( ¶ms ); + return params._ret; } uint16 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort(struct w_steam_iface *_this) { - uint16 _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort( ¶ms ); + return params._ret; } SteamNetworkingPOPID __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID(struct w_steam_iface *_this) { - SteamNetworkingPOPID _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress(struct w_steam_iface *_this, SteamDatagramHostedAddress *pRouting) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress_params params = + { + .linux_side = _this->u_iface, + .pRouting = pRouting, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress(_this->u_iface, pRouting); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress( ¶ms ); + return params._ret; } HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket(struct w_steam_iface *_this, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket(_this->u_iface, nVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin(struct w_steam_iface *_this, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int *pcbSignedBlob, void *pBlob) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin_params params = + { + .linux_side = _this->u_iface, + .pLoginInfo = pLoginInfo, + .pcbSignedBlob = pcbSignedBlob, + .pBlob = pBlob, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin(_this->u_iface, pLoginInfo, pcbSignedBlob, pBlob); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling(struct w_steam_iface *_this, void /*ISteamNetworkingConnectionCustomSignaling*/ *pSignaling, const SteamNetworkingIdentity *pPeerIdentity, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling_params params = + { + .linux_side = _this->u_iface, + .pSignaling = pSignaling, + .pPeerIdentity = pPeerIdentity, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling(_this->u_iface, pSignaling, pPeerIdentity, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal(struct w_steam_iface *_this, const void *pMsg, int cbMsg, void /*ISteamNetworkingCustomSignalingRecvContext*/ *pContext) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal_params params = + { + .linux_side = _this->u_iface, + .pMsg = pMsg, + .cbMsg = cbMsg, + .pContext = pContext, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal(_this->u_iface, pMsg, cbMsg, pContext); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_destructor(struct w_steam_iface *_this) @@ -1064,310 +1543,520 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_des HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *localAddress, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP_params params = + { + .linux_side = _this->u_iface, + .localAddress = localAddress, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP(_this->u_iface, localAddress, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress(struct w_steam_iface *_this, const SteamNetworkingIPAddr *address, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress_params params = + { + .linux_side = _this->u_iface, + .address = address, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress(_this->u_iface, address, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress( ¶ms ); + return params._ret; } HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P(struct w_steam_iface *_this, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P(_this->u_iface, nVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityRemote, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P(_this->u_iface, identityRemote, nVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection(struct w_steam_iface *_this, HSteamNetConnection hConn) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection(_this->u_iface, hConn); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection(struct w_steam_iface *_this, HSteamNetConnection hPeer, int nReason, const char *pszDebug, bool bEnableLinger) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nReason = nReason, + .pszDebug = pszDebug, + .bEnableLinger = bEnableLinger, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection(_this->u_iface, hPeer, nReason, pszDebug, bEnableLinger); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket(struct w_steam_iface *_this, HSteamListenSocket hSocket) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket(_this->u_iface, hSocket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData(struct w_steam_iface *_this, HSteamNetConnection hPeer, int64 nUserData) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nUserData = nUserData, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData(_this->u_iface, hPeer, nUserData); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData( ¶ms ); + return params._ret; } int64 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData(struct w_steam_iface *_this, HSteamNetConnection hPeer) { - int64 _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData(_this->u_iface, hPeer); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName(struct w_steam_iface *_this, HSteamNetConnection hPeer, const char *pszName) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName(_this->u_iface, hPeer, pszName); + cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName( ¶ms ); } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName(struct w_steam_iface *_this, HSteamNetConnection hPeer, char *pszName, int nMaxLen) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + .nMaxLen = nMaxLen, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName(_this->u_iface, hPeer, pszName, nMaxLen); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection(struct w_steam_iface *_this, HSteamNetConnection hConn, const void *pData, uint32 cbData, int nSendFlags, int64 *pOutMessageNumber) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + .pOutMessageNumber = pOutMessageNumber, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection(_this->u_iface, hConn, pData, cbData, nSendFlags, pOutMessageNumber); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages(struct w_steam_iface *_this, int nMessages, winSteamNetworkingMessage_t_149 *const *pMessages, int64 *pOutMessageNumberOrResult) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages_params params = + { + .linux_side = _this->u_iface, + .nMessages = nMessages, + .pMessages = pMessages, + .pOutMessageNumberOrResult = pOutMessageNumberOrResult, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages(_this->u_iface, nMessages, pMessages, pOutMessageNumberOrResult); + cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages( ¶ms ); } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection(struct w_steam_iface *_this, HSteamNetConnection hConn) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection(_this->u_iface, hConn); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection(struct w_steam_iface *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_149 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection(_this->u_iface, hConn, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo(struct w_steam_iface *_this, HSteamNetConnection hConn, SteamNetConnectionInfo_t *pInfo) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo(_this->u_iface, hConn, pInfo); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus(struct w_steam_iface *_this, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus *pStats) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pStats = pStats, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus(_this->u_iface, hConn, pStats); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus(struct w_steam_iface *_this, HSteamNetConnection hConn, char *pszBuf, int cbBuf) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pszBuf = pszBuf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus(_this->u_iface, hConn, pszBuf, cbBuf); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress(struct w_steam_iface *_this, HSteamListenSocket hSocket, SteamNetworkingIPAddr *address) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .address = address, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress(_this->u_iface, hSocket, address); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair(struct w_steam_iface *_this, HSteamNetConnection *pOutConnection1, HSteamNetConnection *pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity *pIdentity1, const SteamNetworkingIdentity *pIdentity2) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair_params params = + { + .linux_side = _this->u_iface, + .pOutConnection1 = pOutConnection1, + .pOutConnection2 = pOutConnection2, + .bUseNetworkLoopback = bUseNetworkLoopback, + .pIdentity1 = pIdentity1, + .pIdentity2 = pIdentity2, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair(_this->u_iface, pOutConnection1, pOutConnection2, bUseNetworkLoopback, pIdentity1, pIdentity2); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity(_this->u_iface, pIdentity); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity( ¶ms ); + return params._ret; } ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication(struct w_steam_iface *_this) { - ESteamNetworkingAvailability _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication( ¶ms ); + return params._ret; } ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus(struct w_steam_iface *_this, SteamNetAuthenticationStatus_t *pDetails) { - ESteamNetworkingAvailability _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus(_this->u_iface, pDetails); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus( ¶ms ); + return params._ret; } HSteamNetPollGroup __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup(struct w_steam_iface *_this) { - HSteamNetPollGroup _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup(struct w_steam_iface *_this, HSteamNetPollGroup hPollGroup) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup_params params = + { + .linux_side = _this->u_iface, + .hPollGroup = hPollGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup(_this->u_iface, hPollGroup); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup(struct w_steam_iface *_this, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .hPollGroup = hPollGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup(_this->u_iface, hConn, hPollGroup); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup(struct w_steam_iface *_this, HSteamNetPollGroup hPollGroup, winSteamNetworkingMessage_t_149 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup_params params = + { + .linux_side = _this->u_iface, + .hPollGroup = hPollGroup, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup(_this->u_iface, hPollGroup, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket(struct w_steam_iface *_this, const void *pvTicket, int cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket_params params = + { + .linux_side = _this->u_iface, + .pvTicket = pvTicket, + .cbTicket = cbTicket, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket(_this->u_iface, pvTicket, cbTicket, pOutParsedTicket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer_params params = + { + .linux_side = _this->u_iface, + .identityGameServer = identityGameServer, + .nVirtualPort = nVirtualPort, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer(_this->u_iface, identityGameServer, nVirtualPort, pOutParsedTicket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityTarget, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .identityTarget = identityTarget, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer(_this->u_iface, identityTarget, nVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer( ¶ms ); + return params._ret; } uint16 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort(struct w_steam_iface *_this) { - uint16 _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort( ¶ms ); + return params._ret; } SteamNetworkingPOPID __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID(struct w_steam_iface *_this) { - SteamNetworkingPOPID _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress(struct w_steam_iface *_this, SteamDatagramHostedAddress *pRouting) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress_params params = + { + .linux_side = _this->u_iface, + .pRouting = pRouting, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress(_this->u_iface, pRouting); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress( ¶ms ); + return params._ret; } HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket(struct w_steam_iface *_this, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket(_this->u_iface, nVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin(struct w_steam_iface *_this, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int *pcbSignedBlob, void *pBlob) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin_params params = + { + .linux_side = _this->u_iface, + .pLoginInfo = pLoginInfo, + .pcbSignedBlob = pcbSignedBlob, + .pBlob = pBlob, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin(_this->u_iface, pLoginInfo, pcbSignedBlob, pBlob); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling(struct w_steam_iface *_this, void /*ISteamNetworkingConnectionCustomSignaling*/ *pSignaling, const SteamNetworkingIdentity *pPeerIdentity, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling_params params = + { + .linux_side = _this->u_iface, + .pSignaling = pSignaling, + .pPeerIdentity = pPeerIdentity, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling(_this->u_iface, pSignaling, pPeerIdentity, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal(struct w_steam_iface *_this, const void *pMsg, int cbMsg, void /*ISteamNetworkingCustomSignalingRecvContext*/ *pContext) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal_params params = + { + .linux_side = _this->u_iface, + .pMsg = pMsg, + .cbMsg = cbMsg, + .pContext = pContext, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal(_this->u_iface, pMsg, cbMsg, pContext); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest(struct w_steam_iface *_this, int *pcbBlob, void *pBlob, SteamNetworkingErrMsg *errMsg) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest_params params = + { + .linux_side = _this->u_iface, + .pcbBlob = pcbBlob, + .pBlob = pBlob, + .errMsg = errMsg, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest(_this->u_iface, pcbBlob, pBlob, errMsg); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate(struct w_steam_iface *_this, const void *pCertificate, int cbCertificate, SteamNetworkingErrMsg *errMsg) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate_params params = + { + .linux_side = _this->u_iface, + .pCertificate = pCertificate, + .cbCertificate = cbCertificate, + .errMsg = errMsg, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate(_this->u_iface, pCertificate, cbCertificate, errMsg); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_destructor(struct w_steam_iface *_this) @@ -1479,316 +2168,531 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_des HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *localAddress, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP_params params = + { + .linux_side = _this->u_iface, + .localAddress = localAddress, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP(_this->u_iface, localAddress, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress(struct w_steam_iface *_this, const SteamNetworkingIPAddr *address, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress_params params = + { + .linux_side = _this->u_iface, + .address = address, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress(_this->u_iface, address, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress( ¶ms ); + return params._ret; } HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P(struct w_steam_iface *_this, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P_params params = + { + .linux_side = _this->u_iface, + .nLocalVirtualPort = nLocalVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P(_this->u_iface, nLocalVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityRemote, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nRemoteVirtualPort = nRemoteVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P(_this->u_iface, identityRemote, nRemoteVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection(struct w_steam_iface *_this, HSteamNetConnection hConn) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection(_this->u_iface, hConn); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection(struct w_steam_iface *_this, HSteamNetConnection hPeer, int nReason, const char *pszDebug, bool bEnableLinger) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nReason = nReason, + .pszDebug = pszDebug, + .bEnableLinger = bEnableLinger, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection(_this->u_iface, hPeer, nReason, pszDebug, bEnableLinger); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket(struct w_steam_iface *_this, HSteamListenSocket hSocket) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket(_this->u_iface, hSocket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData(struct w_steam_iface *_this, HSteamNetConnection hPeer, int64 nUserData) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nUserData = nUserData, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData(_this->u_iface, hPeer, nUserData); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData( ¶ms ); + return params._ret; } int64 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData(struct w_steam_iface *_this, HSteamNetConnection hPeer) { - int64 _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData(_this->u_iface, hPeer); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName(struct w_steam_iface *_this, HSteamNetConnection hPeer, const char *pszName) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName(_this->u_iface, hPeer, pszName); + cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName( ¶ms ); } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName(struct w_steam_iface *_this, HSteamNetConnection hPeer, char *pszName, int nMaxLen) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + .nMaxLen = nMaxLen, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName(_this->u_iface, hPeer, pszName, nMaxLen); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection(struct w_steam_iface *_this, HSteamNetConnection hConn, const void *pData, uint32 cbData, int nSendFlags, int64 *pOutMessageNumber) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + .pOutMessageNumber = pOutMessageNumber, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection(_this->u_iface, hConn, pData, cbData, nSendFlags, pOutMessageNumber); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages(struct w_steam_iface *_this, int nMessages, winSteamNetworkingMessage_t_152 *const *pMessages, int64 *pOutMessageNumberOrResult) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages_params params = + { + .linux_side = _this->u_iface, + .nMessages = nMessages, + .pMessages = pMessages, + .pOutMessageNumberOrResult = pOutMessageNumberOrResult, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages(_this->u_iface, nMessages, pMessages, pOutMessageNumberOrResult); + cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages( ¶ms ); } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection(struct w_steam_iface *_this, HSteamNetConnection hConn) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection(_this->u_iface, hConn); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection(struct w_steam_iface *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_152 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection(_this->u_iface, hConn, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo(struct w_steam_iface *_this, HSteamNetConnection hConn, SteamNetConnectionInfo_t *pInfo) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo(_this->u_iface, hConn, pInfo); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus(struct w_steam_iface *_this, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus *pStats) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pStats = pStats, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus(_this->u_iface, hConn, pStats); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus(struct w_steam_iface *_this, HSteamNetConnection hConn, char *pszBuf, int cbBuf) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pszBuf = pszBuf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus(_this->u_iface, hConn, pszBuf, cbBuf); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress(struct w_steam_iface *_this, HSteamListenSocket hSocket, SteamNetworkingIPAddr *address) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .address = address, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress(_this->u_iface, hSocket, address); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair(struct w_steam_iface *_this, HSteamNetConnection *pOutConnection1, HSteamNetConnection *pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity *pIdentity1, const SteamNetworkingIdentity *pIdentity2) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair_params params = + { + .linux_side = _this->u_iface, + .pOutConnection1 = pOutConnection1, + .pOutConnection2 = pOutConnection2, + .bUseNetworkLoopback = bUseNetworkLoopback, + .pIdentity1 = pIdentity1, + .pIdentity2 = pIdentity2, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair(_this->u_iface, pOutConnection1, pOutConnection2, bUseNetworkLoopback, pIdentity1, pIdentity2); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity(_this->u_iface, pIdentity); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity( ¶ms ); + return params._ret; } ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication(struct w_steam_iface *_this) { - ESteamNetworkingAvailability _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication( ¶ms ); + return params._ret; } ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus(struct w_steam_iface *_this, SteamNetAuthenticationStatus_t *pDetails) { - ESteamNetworkingAvailability _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus(_this->u_iface, pDetails); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus( ¶ms ); + return params._ret; } HSteamNetPollGroup __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup(struct w_steam_iface *_this) { - HSteamNetPollGroup _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup(struct w_steam_iface *_this, HSteamNetPollGroup hPollGroup) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup_params params = + { + .linux_side = _this->u_iface, + .hPollGroup = hPollGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup(_this->u_iface, hPollGroup); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup(struct w_steam_iface *_this, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .hPollGroup = hPollGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup(_this->u_iface, hConn, hPollGroup); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup(struct w_steam_iface *_this, HSteamNetPollGroup hPollGroup, winSteamNetworkingMessage_t_152 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup_params params = + { + .linux_side = _this->u_iface, + .hPollGroup = hPollGroup, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup(_this->u_iface, hPollGroup, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket(struct w_steam_iface *_this, const void *pvTicket, int cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket_params params = + { + .linux_side = _this->u_iface, + .pvTicket = pvTicket, + .cbTicket = cbTicket, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket(_this->u_iface, pvTicket, cbTicket, pOutParsedTicket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityGameServer, int nRemoteVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer_params params = + { + .linux_side = _this->u_iface, + .identityGameServer = identityGameServer, + .nRemoteVirtualPort = nRemoteVirtualPort, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer(_this->u_iface, identityGameServer, nRemoteVirtualPort, pOutParsedTicket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityTarget, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .identityTarget = identityTarget, + .nRemoteVirtualPort = nRemoteVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer(_this->u_iface, identityTarget, nRemoteVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer( ¶ms ); + return params._ret; } uint16 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort(struct w_steam_iface *_this) { - uint16 _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort( ¶ms ); + return params._ret; } SteamNetworkingPOPID __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID(struct w_steam_iface *_this) { - SteamNetworkingPOPID _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress(struct w_steam_iface *_this, SteamDatagramHostedAddress *pRouting) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress_params params = + { + .linux_side = _this->u_iface, + .pRouting = pRouting, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress(_this->u_iface, pRouting); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress( ¶ms ); + return params._ret; } HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket(struct w_steam_iface *_this, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket_params params = + { + .linux_side = _this->u_iface, + .nLocalVirtualPort = nLocalVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket(_this->u_iface, nLocalVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin(struct w_steam_iface *_this, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int *pcbSignedBlob, void *pBlob) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin_params params = + { + .linux_side = _this->u_iface, + .pLoginInfo = pLoginInfo, + .pcbSignedBlob = pcbSignedBlob, + .pBlob = pBlob, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin(_this->u_iface, pLoginInfo, pcbSignedBlob, pBlob); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling(struct w_steam_iface *_this, void /*ISteamNetworkingConnectionSignaling*/ *pSignaling, const SteamNetworkingIdentity *pPeerIdentity, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling_params params = + { + .linux_side = _this->u_iface, + .pSignaling = pSignaling, + .pPeerIdentity = pPeerIdentity, + .nRemoteVirtualPort = nRemoteVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling(_this->u_iface, pSignaling, pPeerIdentity, nRemoteVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal(struct w_steam_iface *_this, const void *pMsg, int cbMsg, void /*ISteamNetworkingSignalingRecvContext*/ *pContext) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal_params params = + { + .linux_side = _this->u_iface, + .pMsg = pMsg, + .cbMsg = cbMsg, + .pContext = pContext, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal(_this->u_iface, pMsg, cbMsg, pContext); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest(struct w_steam_iface *_this, int *pcbBlob, void *pBlob, SteamNetworkingErrMsg *errMsg) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest_params params = + { + .linux_side = _this->u_iface, + .pcbBlob = pcbBlob, + .pBlob = pBlob, + .errMsg = errMsg, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest(_this->u_iface, pcbBlob, pBlob, errMsg); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate(struct w_steam_iface *_this, const void *pCertificate, int cbCertificate, SteamNetworkingErrMsg *errMsg) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate_params params = + { + .linux_side = _this->u_iface, + .pCertificate = pCertificate, + .cbCertificate = cbCertificate, + .errMsg = errMsg, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate(_this->u_iface, pCertificate, cbCertificate, errMsg); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks(struct w_steam_iface *_this) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks(_this->u_iface); + cppISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks( ¶ms ); } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_destructor(struct w_steam_iface *_this) @@ -1908,368 +2812,622 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_des HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *localAddress, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP_params params = + { + .linux_side = _this->u_iface, + .localAddress = localAddress, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP(_this->u_iface, localAddress, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress(struct w_steam_iface *_this, const SteamNetworkingIPAddr *address, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress_params params = + { + .linux_side = _this->u_iface, + .address = address, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress(_this->u_iface, address, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress( ¶ms ); + return params._ret; } HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P(struct w_steam_iface *_this, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P_params params = + { + .linux_side = _this->u_iface, + .nLocalVirtualPort = nLocalVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P(_this->u_iface, nLocalVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityRemote, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nRemoteVirtualPort = nRemoteVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P(_this->u_iface, identityRemote, nRemoteVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection(struct w_steam_iface *_this, HSteamNetConnection hConn) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection(_this->u_iface, hConn); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection(struct w_steam_iface *_this, HSteamNetConnection hPeer, int nReason, const char *pszDebug, bool bEnableLinger) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nReason = nReason, + .pszDebug = pszDebug, + .bEnableLinger = bEnableLinger, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection(_this->u_iface, hPeer, nReason, pszDebug, bEnableLinger); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket(struct w_steam_iface *_this, HSteamListenSocket hSocket) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket(_this->u_iface, hSocket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData(struct w_steam_iface *_this, HSteamNetConnection hPeer, int64 nUserData) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nUserData = nUserData, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData(_this->u_iface, hPeer, nUserData); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData( ¶ms ); + return params._ret; } int64 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData(struct w_steam_iface *_this, HSteamNetConnection hPeer) { - int64 _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData(_this->u_iface, hPeer); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName(struct w_steam_iface *_this, HSteamNetConnection hPeer, const char *pszName) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName(_this->u_iface, hPeer, pszName); + cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName( ¶ms ); } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName(struct w_steam_iface *_this, HSteamNetConnection hPeer, char *pszName, int nMaxLen) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + .nMaxLen = nMaxLen, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName(_this->u_iface, hPeer, pszName, nMaxLen); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection(struct w_steam_iface *_this, HSteamNetConnection hConn, const void *pData, uint32 cbData, int nSendFlags, int64 *pOutMessageNumber) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + .pOutMessageNumber = pOutMessageNumber, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection(_this->u_iface, hConn, pData, cbData, nSendFlags, pOutMessageNumber); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages(struct w_steam_iface *_this, int nMessages, winSteamNetworkingMessage_t_158 *const *pMessages, int64 *pOutMessageNumberOrResult) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages_params params = + { + .linux_side = _this->u_iface, + .nMessages = nMessages, + .pMessages = pMessages, + .pOutMessageNumberOrResult = pOutMessageNumberOrResult, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages(_this->u_iface, nMessages, pMessages, pOutMessageNumberOrResult); + cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages( ¶ms ); } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection(struct w_steam_iface *_this, HSteamNetConnection hConn) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection(_this->u_iface, hConn); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection(struct w_steam_iface *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_158 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection(_this->u_iface, hConn, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo(struct w_steam_iface *_this, HSteamNetConnection hConn, SteamNetConnectionInfo_t *pInfo) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo(_this->u_iface, hConn, pInfo); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus(struct w_steam_iface *_this, HSteamNetConnection hConn, SteamNetConnectionRealTimeStatus_t *pStatus, int nLanes, SteamNetConnectionRealTimeLaneStatus_t *pLanes) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pStatus = pStatus, + .nLanes = nLanes, + .pLanes = pLanes, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus(_this->u_iface, hConn, pStatus, nLanes, pLanes); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus(struct w_steam_iface *_this, HSteamNetConnection hConn, char *pszBuf, int cbBuf) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pszBuf = pszBuf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus(_this->u_iface, hConn, pszBuf, cbBuf); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress(struct w_steam_iface *_this, HSteamListenSocket hSocket, SteamNetworkingIPAddr *address) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .address = address, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress(_this->u_iface, hSocket, address); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair(struct w_steam_iface *_this, HSteamNetConnection *pOutConnection1, HSteamNetConnection *pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity *pIdentity1, const SteamNetworkingIdentity *pIdentity2) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair_params params = + { + .linux_side = _this->u_iface, + .pOutConnection1 = pOutConnection1, + .pOutConnection2 = pOutConnection2, + .bUseNetworkLoopback = bUseNetworkLoopback, + .pIdentity1 = pIdentity1, + .pIdentity2 = pIdentity2, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair(_this->u_iface, pOutConnection1, pOutConnection2, bUseNetworkLoopback, pIdentity1, pIdentity2); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes(struct w_steam_iface *_this, HSteamNetConnection hConn, int nNumLanes, const int *pLanePriorities, const uint16 *pLaneWeights) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .nNumLanes = nNumLanes, + .pLanePriorities = pLanePriorities, + .pLaneWeights = pLaneWeights, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes(_this->u_iface, hConn, nNumLanes, pLanePriorities, pLaneWeights); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity(_this->u_iface, pIdentity); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity( ¶ms ); + return params._ret; } ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication(struct w_steam_iface *_this) { - ESteamNetworkingAvailability _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication( ¶ms ); + return params._ret; } ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus(struct w_steam_iface *_this, SteamNetAuthenticationStatus_t *pDetails) { - ESteamNetworkingAvailability _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus(_this->u_iface, pDetails); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus( ¶ms ); + return params._ret; } HSteamNetPollGroup __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup(struct w_steam_iface *_this) { - HSteamNetPollGroup _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup(struct w_steam_iface *_this, HSteamNetPollGroup hPollGroup) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup_params params = + { + .linux_side = _this->u_iface, + .hPollGroup = hPollGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup(_this->u_iface, hPollGroup); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup(struct w_steam_iface *_this, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .hPollGroup = hPollGroup, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup(_this->u_iface, hConn, hPollGroup); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup(struct w_steam_iface *_this, HSteamNetPollGroup hPollGroup, winSteamNetworkingMessage_t_158 **ppOutMessages, int nMaxMessages) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup_params params = + { + .linux_side = _this->u_iface, + .hPollGroup = hPollGroup, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup(_this->u_iface, hPollGroup, ppOutMessages, nMaxMessages); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket(struct w_steam_iface *_this, const void *pvTicket, int cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket_params params = + { + .linux_side = _this->u_iface, + .pvTicket = pvTicket, + .cbTicket = cbTicket, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket(_this->u_iface, pvTicket, cbTicket, pOutParsedTicket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityGameServer, int nRemoteVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) { - int _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer_params params = + { + .linux_side = _this->u_iface, + .identityGameServer = identityGameServer, + .nRemoteVirtualPort = nRemoteVirtualPort, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer(_this->u_iface, identityGameServer, nRemoteVirtualPort, pOutParsedTicket); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer(struct w_steam_iface *_this, const SteamNetworkingIdentity *identityTarget, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .identityTarget = identityTarget, + .nRemoteVirtualPort = nRemoteVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer(_this->u_iface, identityTarget, nRemoteVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer( ¶ms ); + return params._ret; } uint16 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort(struct w_steam_iface *_this) { - uint16 _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort( ¶ms ); + return params._ret; } SteamNetworkingPOPID __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID(struct w_steam_iface *_this) { - SteamNetworkingPOPID _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID(_this->u_iface); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress(struct w_steam_iface *_this, SteamDatagramHostedAddress *pRouting) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress_params params = + { + .linux_side = _this->u_iface, + .pRouting = pRouting, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress(_this->u_iface, pRouting); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress( ¶ms ); + return params._ret; } HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket(struct w_steam_iface *_this, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket_params params = + { + .linux_side = _this->u_iface, + .nLocalVirtualPort = nLocalVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket(_this->u_iface, nLocalVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin(struct w_steam_iface *_this, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int *pcbSignedBlob, void *pBlob) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin_params params = + { + .linux_side = _this->u_iface, + .pLoginInfo = pLoginInfo, + .pcbSignedBlob = pcbSignedBlob, + .pBlob = pBlob, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin(_this->u_iface, pLoginInfo, pcbSignedBlob, pBlob); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin( ¶ms ); + return params._ret; } HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling(struct w_steam_iface *_this, void /*ISteamNetworkingConnectionSignaling*/ *pSignaling, const SteamNetworkingIdentity *pPeerIdentity, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamNetConnection _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling_params params = + { + .linux_side = _this->u_iface, + .pSignaling = pSignaling, + .pPeerIdentity = pPeerIdentity, + .nRemoteVirtualPort = nRemoteVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling(_this->u_iface, pSignaling, pPeerIdentity, nRemoteVirtualPort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal(struct w_steam_iface *_this, const void *pMsg, int cbMsg, void /*ISteamNetworkingSignalingRecvContext*/ *pContext) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal_params params = + { + .linux_side = _this->u_iface, + .pMsg = pMsg, + .cbMsg = cbMsg, + .pContext = pContext, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal(_this->u_iface, pMsg, cbMsg, pContext); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest(struct w_steam_iface *_this, int *pcbBlob, void *pBlob, SteamNetworkingErrMsg *errMsg) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest_params params = + { + .linux_side = _this->u_iface, + .pcbBlob = pcbBlob, + .pBlob = pBlob, + .errMsg = errMsg, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest(_this->u_iface, pcbBlob, pBlob, errMsg); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate(struct w_steam_iface *_this, const void *pCertificate, int cbCertificate, SteamNetworkingErrMsg *errMsg) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate_params params = + { + .linux_side = _this->u_iface, + .pCertificate = pCertificate, + .cbCertificate = cbCertificate, + .errMsg = errMsg, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate(_this->u_iface, pCertificate, cbCertificate, errMsg); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity(struct w_steam_iface *_this, const SteamNetworkingIdentity *pIdentity) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity(_this->u_iface, pIdentity); + cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity( ¶ms ); } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks(struct w_steam_iface *_this) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks(_this->u_iface); + cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks( ¶ms ); } bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP(struct w_steam_iface *_this, int nNumPorts) { - bool _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP_params params = + { + .linux_side = _this->u_iface, + .nNumPorts = nNumPorts, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP(_this->u_iface, nNumPorts); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP(struct w_steam_iface *_this, int idxFirstPort, SteamNetworkingFakeIPResult_t *pInfo) { + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP_params params = + { + .linux_side = _this->u_iface, + .idxFirstPort = idxFirstPort, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP(_this->u_iface, idxFirstPort, pInfo); + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP( ¶ms ); } HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP(struct w_steam_iface *_this, int idxFakePort, int nOptions, const SteamNetworkingConfigValue_t *pOptions) { - HSteamListenSocket _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP_params params = + { + .linux_side = _this->u_iface, + .idxFakePort = idxFakePort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP(_this->u_iface, idxFakePort, nOptions, pOptions); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection(struct w_steam_iface *_this, HSteamNetConnection hConn, SteamNetworkingIPAddr *pOutAddr) { - EResult _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pOutAddr = pOutAddr, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection(_this->u_iface, hConn, pOutAddr); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection( ¶ms ); + return params._ret; } void /*ISteamNetworkingFakeUDPPort*/ * __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort(struct w_steam_iface *_this, int idxFakeServerPort) { - void /*ISteamNetworkingFakeUDPPort*/ * _ret; + struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort_params params = + { + .linux_side = _this->u_iface, + .idxFakeServerPort = idxFakeServerPort, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort(_this->u_iface, idxFakeServerPort); - return _ret; + cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_destructor(struct w_steam_iface *_this) diff --git a/lsteamclient/winISteamNetworkingSocketsSerialized.c b/lsteamclient/winISteamNetworkingSocketsSerialized.c index a8477f25..7c5ee5a6 100644 --- a/lsteamclient/winISteamNetworkingSocketsSerialized.c +++ b/lsteamclient/winISteamNetworkingSocketsSerialized.c @@ -26,58 +26,103 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSock void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous(struct w_steam_iface *_this, CSteamID steamIDRemote, uint32 unConnectionIDSrc, const void *pMsgRendezvous, uint32 cbRendezvous) { + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .unConnectionIDSrc = unConnectionIDSrc, + .pMsgRendezvous = pMsgRendezvous, + .cbRendezvous = cbRendezvous, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous(_this->u_iface, steamIDRemote, unConnectionIDSrc, pMsgRendezvous, cbRendezvous); + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous( ¶ms ); } void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure(struct w_steam_iface *_this, CSteamID steamIDRemote, uint32 unConnectionIDDest, uint32 nReason, const char *pszReason) { + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .unConnectionIDDest = unConnectionIDDest, + .nReason = nReason, + .pszReason = pszReason, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure(_this->u_iface, steamIDRemote, unConnectionIDDest, nReason, pszReason); + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure( ¶ms ); } SteamAPICall_t __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync(_this->u_iface); - return _ret; + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON(struct w_steam_iface *_this, void *buf, uint32 cbBuf) { - int _ret; + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON_params params = + { + .linux_side = _this->u_iface, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON(_this->u_iface, buf, cbBuf); - return _ret; + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket(struct w_steam_iface *_this, const void *pTicket, uint32 cbTicket) { + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbTicket = cbTicket, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket(_this->u_iface, pTicket, cbTicket); + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket( ¶ms ); } uint32 __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount(_this->u_iface); - return _ret; + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket(struct w_steam_iface *_this, uint32 idxTicket, void *buf, uint32 cbBuf) { - int _ret; + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket_params params = + { + .linux_side = _this->u_iface, + .idxTicket = idxTicket, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket(_this->u_iface, idxTicket, buf, cbBuf); - return _ret; + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg(struct w_steam_iface *_this, const void *pMsg, uint32 cbMsg) { + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg_params params = + { + .linux_side = _this->u_iface, + .pMsg = pMsg, + .cbMsg = cbMsg, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg(_this->u_iface, pMsg, cbMsg); + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg( ¶ms ); } extern vtable_ptr winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_vtable; @@ -121,58 +166,104 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSock void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous(struct w_steam_iface *_this, CSteamID steamIDRemote, uint32 unConnectionIDSrc, const void *pMsgRendezvous, uint32 cbRendezvous) { + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .unConnectionIDSrc = unConnectionIDSrc, + .pMsgRendezvous = pMsgRendezvous, + .cbRendezvous = cbRendezvous, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous(_this->u_iface, steamIDRemote, unConnectionIDSrc, pMsgRendezvous, cbRendezvous); + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous( ¶ms ); } void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure(struct w_steam_iface *_this, CSteamID steamIDRemote, uint32 unConnectionIDDest, uint32 nReason, const char *pszReason) { + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .unConnectionIDDest = unConnectionIDDest, + .nReason = nReason, + .pszReason = pszReason, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure(_this->u_iface, steamIDRemote, unConnectionIDDest, nReason, pszReason); + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure( ¶ms ); } SteamAPICall_t __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync(_this->u_iface); - return _ret; + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON(struct w_steam_iface *_this, void *buf, uint32 cbBuf, const char *pszLauncherPartner) { - int _ret; + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON_params params = + { + .linux_side = _this->u_iface, + .buf = buf, + .cbBuf = cbBuf, + .pszLauncherPartner = pszLauncherPartner, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON(_this->u_iface, buf, cbBuf, pszLauncherPartner); - return _ret; + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket(struct w_steam_iface *_this, const void *pTicket, uint32 cbTicket) { + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbTicket = cbTicket, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket(_this->u_iface, pTicket, cbTicket); + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket( ¶ms ); } uint32 __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount(_this->u_iface); - return _ret; + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket(struct w_steam_iface *_this, uint32 idxTicket, void *buf, uint32 cbBuf) { - int _ret; + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket_params params = + { + .linux_side = _this->u_iface, + .idxTicket = idxTicket, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket(_this->u_iface, idxTicket, buf, cbBuf); - return _ret; + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg(struct w_steam_iface *_this, const void *pMsg, uint32 cbMsg) { + struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg_params params = + { + .linux_side = _this->u_iface, + .pMsg = pMsg, + .cbMsg = cbMsg, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg(_this->u_iface, pMsg, cbMsg); + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg( ¶ms ); } extern vtable_ptr winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_vtable; diff --git a/lsteamclient/winISteamNetworkingUtils.c b/lsteamclient/winISteamNetworkingUtils.c index 7a6a47b1..b9d889b9 100644 --- a/lsteamclient/winISteamNetworkingUtils.c +++ b/lsteamclient/winISteamNetworkingUtils.c @@ -40,162 +40,273 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_destruc float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation(struct w_steam_iface *_this, SteamNetworkPingLocation_t *result) { - float _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation_params params = + { + .linux_side = _this->u_iface, + .result = result, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation(_this->u_iface, result); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations_params params = + { + .linux_side = _this->u_iface, + .location1 = location1, + .location2 = location2, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations(_this->u_iface, location1, location2); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *remoteLocation) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost_params params = + { + .linux_side = _this->u_iface, + .remoteLocation = remoteLocation, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost(_this->u_iface, remoteLocation); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location, char *pszBuf, int cchBufSize) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString_params params = + { + .linux_side = _this->u_iface, + .location = location, + .pszBuf = pszBuf, + .cchBufSize = cchBufSize, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString(_this->u_iface, location, pszBuf, cchBufSize); + cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString(struct w_steam_iface *_this, const char *pszString, SteamNetworkPingLocation_t *result) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString_params params = + { + .linux_side = _this->u_iface, + .pszString = pszString, + .result = result, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString(_this->u_iface, pszString, result); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate(struct w_steam_iface *_this, float flMaxAgeSeconds) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate_params params = + { + .linux_side = _this->u_iface, + .flMaxAgeSeconds = flMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate(_this->u_iface, flMaxAgeSeconds); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress(_this->u_iface); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter(struct w_steam_iface *_this, SteamNetworkingPOPID popID, SteamNetworkingPOPID *pViaRelayPoP) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + .pViaRelayPoP = pViaRelayPoP, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter(_this->u_iface, popID, pViaRelayPoP); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP(struct w_steam_iface *_this, SteamNetworkingPOPID popID) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP(_this->u_iface, popID); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount(_this->u_iface); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList(struct w_steam_iface *_this, SteamNetworkingPOPID *list, int nListSz) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList_params params = + { + .linux_side = _this->u_iface, + .list = list, + .nListSz = nListSz, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList(_this->u_iface, list, nListSz); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList( ¶ms ); + return params._ret; } SteamNetworkingMicroseconds __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp(struct w_steam_iface *_this) { - SteamNetworkingMicroseconds _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp(_this->u_iface); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction(struct w_steam_iface *_this, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction_params params = + { + .linux_side = _this->u_iface, + .eDetailLevel = eDetailLevel, + .pfnFunc = pfnFunc, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction(_this->u_iface, eDetailLevel, pfnFunc); + cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue(struct w_steam_iface *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void *pArg) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .eDataType = eDataType, + .pArg = pArg, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue(_this->u_iface, eValue, eScopeType, scopeObj, eDataType, pArg); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue( ¶ms ); + return params._ret; } ESteamNetworkingGetConfigValueResult __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue(struct w_steam_iface *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType *pOutDataType, void *pResult, size_t *cbResult) { - ESteamNetworkingGetConfigValueResult _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .pOutDataType = pOutDataType, + .pResult = pResult, + .cbResult = cbResult, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue(_this->u_iface, eValue, eScopeType, scopeObj, pOutDataType, pResult, cbResult); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo(struct w_steam_iface *_this, ESteamNetworkingConfigValue eValue, const char **pOutName, ESteamNetworkingConfigDataType *pOutDataType, ESteamNetworkingConfigScope *pOutScope, ESteamNetworkingConfigValue *pOutNextValue) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .pOutName = pOutName, + .pOutDataType = pOutDataType, + .pOutScope = pOutScope, + .pOutNextValue = pOutNextValue, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo(_this->u_iface, eValue, pOutName, pOutDataType, pOutScope, pOutNextValue); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo( ¶ms ); + return params._ret; } ESteamNetworkingConfigValue __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue(struct w_steam_iface *_this) { - ESteamNetworkingConfigValue _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue(_this->u_iface); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr, char *buf, size_t cbBuf, bool bWithPort) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString_params params = + { + .linux_side = _this->u_iface, + .addr = addr, + .buf = buf, + .cbBuf = cbBuf, + .bWithPort = bWithPort, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString(_this->u_iface, addr, buf, cbBuf, bWithPort); + cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString(struct w_steam_iface *_this, SteamNetworkingIPAddr *pAddr, const char *pszStr) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString_params params = + { + .linux_side = _this->u_iface, + .pAddr = pAddr, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString(_this->u_iface, pAddr, pszStr); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString(struct w_steam_iface *_this, const SteamNetworkingIdentity *identity, char *buf, size_t cbBuf) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString_params params = + { + .linux_side = _this->u_iface, + .identity = identity, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString(_this->u_iface, identity, buf, cbBuf); + cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity, const char *pszStr) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString(_this->u_iface, pIdentity, pszStr); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_destructor(struct w_steam_iface *_this) @@ -270,162 +381,274 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_destruc ESteamNetworkingAvailability __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(struct w_steam_iface *_this, SteamRelayNetworkStatus_t *pDetails) { - ESteamNetworkingAvailability _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(_this->u_iface, pDetails); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus( ¶ms ); + return params._ret; } float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(struct w_steam_iface *_this, SteamNetworkPingLocation_t *result) { - float _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation_params params = + { + .linux_side = _this->u_iface, + .result = result, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(_this->u_iface, result); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations_params params = + { + .linux_side = _this->u_iface, + .location1 = location1, + .location2 = location2, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(_this->u_iface, location1, location2); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *remoteLocation) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost_params params = + { + .linux_side = _this->u_iface, + .remoteLocation = remoteLocation, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(_this->u_iface, remoteLocation); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location, char *pszBuf, int cchBufSize) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString_params params = + { + .linux_side = _this->u_iface, + .location = location, + .pszBuf = pszBuf, + .cchBufSize = cchBufSize, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(_this->u_iface, location, pszBuf, cchBufSize); + cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(struct w_steam_iface *_this, const char *pszString, SteamNetworkPingLocation_t *result) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString_params params = + { + .linux_side = _this->u_iface, + .pszString = pszString, + .result = result, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(_this->u_iface, pszString, result); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(struct w_steam_iface *_this, float flMaxAgeSeconds) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate_params params = + { + .linux_side = _this->u_iface, + .flMaxAgeSeconds = flMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(_this->u_iface, flMaxAgeSeconds); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(struct w_steam_iface *_this, SteamNetworkingPOPID popID, SteamNetworkingPOPID *pViaRelayPoP) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + .pViaRelayPoP = pViaRelayPoP, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(_this->u_iface, popID, pViaRelayPoP); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(struct w_steam_iface *_this, SteamNetworkingPOPID popID) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(_this->u_iface, popID); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(_this->u_iface); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(struct w_steam_iface *_this, SteamNetworkingPOPID *list, int nListSz) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList_params params = + { + .linux_side = _this->u_iface, + .list = list, + .nListSz = nListSz, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(_this->u_iface, list, nListSz); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList( ¶ms ); + return params._ret; } SteamNetworkingMicroseconds __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(struct w_steam_iface *_this) { - SteamNetworkingMicroseconds _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(_this->u_iface); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(struct w_steam_iface *_this, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction_params params = + { + .linux_side = _this->u_iface, + .eDetailLevel = eDetailLevel, + .pfnFunc = pfnFunc, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(_this->u_iface, eDetailLevel, pfnFunc); + cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(struct w_steam_iface *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void *pArg) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .eDataType = eDataType, + .pArg = pArg, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(_this->u_iface, eValue, eScopeType, scopeObj, eDataType, pArg); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue( ¶ms ); + return params._ret; } ESteamNetworkingGetConfigValueResult __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(struct w_steam_iface *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType *pOutDataType, void *pResult, size_t *cbResult) { - ESteamNetworkingGetConfigValueResult _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .pOutDataType = pOutDataType, + .pResult = pResult, + .cbResult = cbResult, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(_this->u_iface, eValue, eScopeType, scopeObj, pOutDataType, pResult, cbResult); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(struct w_steam_iface *_this, ESteamNetworkingConfigValue eValue, const char **pOutName, ESteamNetworkingConfigDataType *pOutDataType, ESteamNetworkingConfigScope *pOutScope, ESteamNetworkingConfigValue *pOutNextValue) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .pOutName = pOutName, + .pOutDataType = pOutDataType, + .pOutScope = pOutScope, + .pOutNextValue = pOutNextValue, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(_this->u_iface, eValue, pOutName, pOutDataType, pOutScope, pOutNextValue); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo( ¶ms ); + return params._ret; } ESteamNetworkingConfigValue __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(struct w_steam_iface *_this) { - ESteamNetworkingConfigValue _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(_this->u_iface); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr, char *buf, size_t cbBuf, bool bWithPort) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString_params params = + { + .linux_side = _this->u_iface, + .addr = addr, + .buf = buf, + .cbBuf = cbBuf, + .bWithPort = bWithPort, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(_this->u_iface, addr, buf, cbBuf, bWithPort); + cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(struct w_steam_iface *_this, SteamNetworkingIPAddr *pAddr, const char *pszStr) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString_params params = + { + .linux_side = _this->u_iface, + .pAddr = pAddr, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(_this->u_iface, pAddr, pszStr); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(struct w_steam_iface *_this, const SteamNetworkingIdentity *identity, char *buf, size_t cbBuf) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString_params params = + { + .linux_side = _this->u_iface, + .identity = identity, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(_this->u_iface, identity, buf, cbBuf); + cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity, const char *pszStr) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(_this->u_iface, pIdentity, pszStr); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_destructor(struct w_steam_iface *_this) @@ -501,170 +724,286 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_destruc winSteamNetworkingMessage_t_152 * __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage(struct w_steam_iface *_this, int cbAllocateBuffer) { - winSteamNetworkingMessage_t_152 * _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage_params params = + { + .linux_side = _this->u_iface, + .cbAllocateBuffer = cbAllocateBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage(_this->u_iface, cbAllocateBuffer); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage( ¶ms ); + return params._ret; } ESteamNetworkingAvailability __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus(struct w_steam_iface *_this, SteamRelayNetworkStatus_t *pDetails) { - ESteamNetworkingAvailability _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus(_this->u_iface, pDetails); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus( ¶ms ); + return params._ret; } float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation(struct w_steam_iface *_this, SteamNetworkPingLocation_t *result) { - float _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation_params params = + { + .linux_side = _this->u_iface, + .result = result, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation(_this->u_iface, result); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations_params params = + { + .linux_side = _this->u_iface, + .location1 = location1, + .location2 = location2, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations(_this->u_iface, location1, location2); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *remoteLocation) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost_params params = + { + .linux_side = _this->u_iface, + .remoteLocation = remoteLocation, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost(_this->u_iface, remoteLocation); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location, char *pszBuf, int cchBufSize) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString_params params = + { + .linux_side = _this->u_iface, + .location = location, + .pszBuf = pszBuf, + .cchBufSize = cchBufSize, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString(_this->u_iface, location, pszBuf, cchBufSize); + cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString(struct w_steam_iface *_this, const char *pszString, SteamNetworkPingLocation_t *result) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString_params params = + { + .linux_side = _this->u_iface, + .pszString = pszString, + .result = result, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString(_this->u_iface, pszString, result); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate(struct w_steam_iface *_this, float flMaxAgeSeconds) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate_params params = + { + .linux_side = _this->u_iface, + .flMaxAgeSeconds = flMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate(_this->u_iface, flMaxAgeSeconds); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter(struct w_steam_iface *_this, SteamNetworkingPOPID popID, SteamNetworkingPOPID *pViaRelayPoP) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + .pViaRelayPoP = pViaRelayPoP, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter(_this->u_iface, popID, pViaRelayPoP); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP(struct w_steam_iface *_this, SteamNetworkingPOPID popID) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP(_this->u_iface, popID); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount(_this->u_iface); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList(struct w_steam_iface *_this, SteamNetworkingPOPID *list, int nListSz) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList_params params = + { + .linux_side = _this->u_iface, + .list = list, + .nListSz = nListSz, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList(_this->u_iface, list, nListSz); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList( ¶ms ); + return params._ret; } SteamNetworkingMicroseconds __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp(struct w_steam_iface *_this) { - SteamNetworkingMicroseconds _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp(_this->u_iface); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction(struct w_steam_iface *_this, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction_params params = + { + .linux_side = _this->u_iface, + .eDetailLevel = eDetailLevel, + .pfnFunc = pfnFunc, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction(_this->u_iface, eDetailLevel, pfnFunc); + cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue(struct w_steam_iface *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void *pArg) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .eDataType = eDataType, + .pArg = pArg, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue(_this->u_iface, eValue, eScopeType, scopeObj, eDataType, pArg); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue( ¶ms ); + return params._ret; } ESteamNetworkingGetConfigValueResult __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue(struct w_steam_iface *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType *pOutDataType, void *pResult, size_t *cbResult) { - ESteamNetworkingGetConfigValueResult _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .pOutDataType = pOutDataType, + .pResult = pResult, + .cbResult = cbResult, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue(_this->u_iface, eValue, eScopeType, scopeObj, pOutDataType, pResult, cbResult); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo(struct w_steam_iface *_this, ESteamNetworkingConfigValue eValue, const char **pOutName, ESteamNetworkingConfigDataType *pOutDataType, ESteamNetworkingConfigScope *pOutScope, ESteamNetworkingConfigValue *pOutNextValue) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .pOutName = pOutName, + .pOutDataType = pOutDataType, + .pOutScope = pOutScope, + .pOutNextValue = pOutNextValue, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo(_this->u_iface, eValue, pOutName, pOutDataType, pOutScope, pOutNextValue); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo( ¶ms ); + return params._ret; } ESteamNetworkingConfigValue __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue(struct w_steam_iface *_this) { - ESteamNetworkingConfigValue _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue(_this->u_iface); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr, char *buf, size_t cbBuf, bool bWithPort) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString_params params = + { + .linux_side = _this->u_iface, + .addr = addr, + .buf = buf, + .cbBuf = cbBuf, + .bWithPort = bWithPort, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString(_this->u_iface, addr, buf, cbBuf, bWithPort); + cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString(struct w_steam_iface *_this, SteamNetworkingIPAddr *pAddr, const char *pszStr) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString_params params = + { + .linux_side = _this->u_iface, + .pAddr = pAddr, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString(_this->u_iface, pAddr, pszStr); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString(struct w_steam_iface *_this, const SteamNetworkingIdentity *identity, char *buf, size_t cbBuf) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString_params params = + { + .linux_side = _this->u_iface, + .identity = identity, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString(_this->u_iface, identity, buf, cbBuf); + cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity, const char *pszStr) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString(_this->u_iface, pIdentity, pszStr); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_destructor(struct w_steam_iface *_this) @@ -744,194 +1083,323 @@ DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_destruc winSteamNetworkingMessage_t_158 * __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage(struct w_steam_iface *_this, int cbAllocateBuffer) { - winSteamNetworkingMessage_t_158 * _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage_params params = + { + .linux_side = _this->u_iface, + .cbAllocateBuffer = cbAllocateBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage(_this->u_iface, cbAllocateBuffer); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage( ¶ms ); + return params._ret; } ESteamNetworkingAvailability __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus(struct w_steam_iface *_this, SteamRelayNetworkStatus_t *pDetails) { - ESteamNetworkingAvailability _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus(_this->u_iface, pDetails); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus( ¶ms ); + return params._ret; } float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation(struct w_steam_iface *_this, SteamNetworkPingLocation_t *result) { - float _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation_params params = + { + .linux_side = _this->u_iface, + .result = result, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation(_this->u_iface, result); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations_params params = + { + .linux_side = _this->u_iface, + .location1 = location1, + .location2 = location2, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations(_this->u_iface, location1, location2); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *remoteLocation) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost_params params = + { + .linux_side = _this->u_iface, + .remoteLocation = remoteLocation, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost(_this->u_iface, remoteLocation); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location, char *pszBuf, int cchBufSize) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString_params params = + { + .linux_side = _this->u_iface, + .location = location, + .pszBuf = pszBuf, + .cchBufSize = cchBufSize, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString(_this->u_iface, location, pszBuf, cchBufSize); + cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString(struct w_steam_iface *_this, const char *pszString, SteamNetworkPingLocation_t *result) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString_params params = + { + .linux_side = _this->u_iface, + .pszString = pszString, + .result = result, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString(_this->u_iface, pszString, result); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate(struct w_steam_iface *_this, float flMaxAgeSeconds) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate_params params = + { + .linux_side = _this->u_iface, + .flMaxAgeSeconds = flMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate(_this->u_iface, flMaxAgeSeconds); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter(struct w_steam_iface *_this, SteamNetworkingPOPID popID, SteamNetworkingPOPID *pViaRelayPoP) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + .pViaRelayPoP = pViaRelayPoP, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter(_this->u_iface, popID, pViaRelayPoP); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP(struct w_steam_iface *_this, SteamNetworkingPOPID popID) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP(_this->u_iface, popID); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount(struct w_steam_iface *_this) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount(_this->u_iface); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount( ¶ms ); + return params._ret; } int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList(struct w_steam_iface *_this, SteamNetworkingPOPID *list, int nListSz) { - int _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList_params params = + { + .linux_side = _this->u_iface, + .list = list, + .nListSz = nListSz, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList(_this->u_iface, list, nListSz); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList( ¶ms ); + return params._ret; } SteamNetworkingMicroseconds __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp(struct w_steam_iface *_this) { - SteamNetworkingMicroseconds _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp(_this->u_iface); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction(struct w_steam_iface *_this, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction_params params = + { + .linux_side = _this->u_iface, + .eDetailLevel = eDetailLevel, + .pfnFunc = pfnFunc, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction(_this->u_iface, eDetailLevel, pfnFunc); + cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction( ¶ms ); } ESteamNetworkingFakeIPType __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType(struct w_steam_iface *_this, uint32 nIPv4) { - ESteamNetworkingFakeIPType _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType_params params = + { + .linux_side = _this->u_iface, + .nIPv4 = nIPv4, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType(_this->u_iface, nIPv4); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType( ¶ms ); + return params._ret; } EResult __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *fakeIP, SteamNetworkingIdentity *pOutRealIdentity) { - EResult _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP_params params = + { + .linux_side = _this->u_iface, + .fakeIP = fakeIP, + .pOutRealIdentity = pOutRealIdentity, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP(_this->u_iface, fakeIP, pOutRealIdentity); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP( ¶ms ); + return params._ret; } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue(struct w_steam_iface *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void *pArg) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .eDataType = eDataType, + .pArg = pArg, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue(_this->u_iface, eValue, eScopeType, scopeObj, eDataType, pArg); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue( ¶ms ); + return params._ret; } ESteamNetworkingGetConfigValueResult __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue(struct w_steam_iface *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType *pOutDataType, void *pResult, size_t *cbResult) { - ESteamNetworkingGetConfigValueResult _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .pOutDataType = pOutDataType, + .pResult = pResult, + .cbResult = cbResult, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue(_this->u_iface, eValue, eScopeType, scopeObj, pOutDataType, pResult, cbResult); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue( ¶ms ); + return params._ret; } const char * __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo(struct w_steam_iface *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigDataType *pOutDataType, ESteamNetworkingConfigScope *pOutScope) { - const char * _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .pOutDataType = pOutDataType, + .pOutScope = pOutScope, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo(_this->u_iface, eValue, pOutDataType, pOutScope); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo( ¶ms ); + return params._ret; } ESteamNetworkingConfigValue __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues(struct w_steam_iface *_this, ESteamNetworkingConfigValue eCurrent, bool bEnumerateDevVars) { - ESteamNetworkingConfigValue _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues_params params = + { + .linux_side = _this->u_iface, + .eCurrent = eCurrent, + .bEnumerateDevVars = bEnumerateDevVars, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues(_this->u_iface, eCurrent, bEnumerateDevVars); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr, char *buf, size_t cbBuf, bool bWithPort) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString_params params = + { + .linux_side = _this->u_iface, + .addr = addr, + .buf = buf, + .cbBuf = cbBuf, + .bWithPort = bWithPort, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString(_this->u_iface, addr, buf, cbBuf, bWithPort); + cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString(struct w_steam_iface *_this, SteamNetworkingIPAddr *pAddr, const char *pszStr) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString_params params = + { + .linux_side = _this->u_iface, + .pAddr = pAddr, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString(_this->u_iface, pAddr, pszStr); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString( ¶ms ); + return params._ret; } ESteamNetworkingFakeIPType __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr) { - ESteamNetworkingFakeIPType _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType_params params = + { + .linux_side = _this->u_iface, + .addr = addr, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType(_this->u_iface, addr); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString(struct w_steam_iface *_this, const SteamNetworkingIdentity *identity, char *buf, size_t cbBuf) { + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString_params params = + { + .linux_side = _this->u_iface, + .identity = identity, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString(_this->u_iface, identity, buf, cbBuf); + cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString( ¶ms ); } bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString(struct w_steam_iface *_this, SteamNetworkingIdentity *pIdentity, const char *pszStr) { - bool _ret; + struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - _ret = cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString(_this->u_iface, pIdentity, pszStr); - return _ret; + cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString( ¶ms ); + return params._ret; } void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_destructor(struct w_steam_iface *_this) diff --git a/lsteamclient/winISteamParentalSettings.c b/lsteamclient/winISteamParentalSettings.c index 2668abba..fe463f1d 100644 --- a/lsteamclient/winISteamParentalSettings.c +++ b/lsteamclient/winISteamParentalSettings.c @@ -24,50 +24,72 @@ DEFINE_THISCALL_WRAPPER(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFAC bool __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled(_this->u_iface); - return _ret; + cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled( ¶ms ); + return params._ret; } bool __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked(_this->u_iface); - return _ret; + cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked( ¶ms ); + return params._ret; } bool __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked(struct w_steam_iface *_this, AppId_t nAppID) { - bool _ret; + struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked(_this->u_iface, nAppID); - return _ret; + cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked( ¶ms ); + return params._ret; } bool __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList(struct w_steam_iface *_this, AppId_t nAppID) { - bool _ret; + struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList(_this->u_iface, nAppID); - return _ret; + cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList( ¶ms ); + return params._ret; } bool __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked(struct w_steam_iface *_this, EParentalFeature eFeature) { - bool _ret; + struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked_params params = + { + .linux_side = _this->u_iface, + .eFeature = eFeature, + }; TRACE("%p\n", _this); - _ret = cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked(_this->u_iface, eFeature); - return _ret; + cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked( ¶ms ); + return params._ret; } bool __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList(struct w_steam_iface *_this, EParentalFeature eFeature) { - bool _ret; + struct cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList_params params = + { + .linux_side = _this->u_iface, + .eFeature = eFeature, + }; TRACE("%p\n", _this); - _ret = cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList(_this->u_iface, eFeature); - return _ret; + cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList( ¶ms ); + return params._ret; } extern vtable_ptr winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_vtable; diff --git a/lsteamclient/winISteamParties.c b/lsteamclient/winISteamParties.c index 1f6c114b..e71e7100 100644 --- a/lsteamclient/winISteamParties.c +++ b/lsteamclient/winISteamParties.c @@ -30,94 +30,157 @@ DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconLocationData, uint32 __thiscall winISteamParties_SteamParties002_GetNumActiveBeacons(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamParties_SteamParties002_GetNumActiveBeacons_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamParties_SteamParties002_GetNumActiveBeacons(_this->u_iface); - return _ret; + cppISteamParties_SteamParties002_GetNumActiveBeacons( ¶ms ); + return params._ret; } PartyBeaconID_t __thiscall winISteamParties_SteamParties002_GetBeaconByIndex(struct w_steam_iface *_this, uint32 unIndex) { - PartyBeaconID_t _ret; + struct cppISteamParties_SteamParties002_GetBeaconByIndex_params params = + { + .linux_side = _this->u_iface, + .unIndex = unIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamParties_SteamParties002_GetBeaconByIndex(_this->u_iface, unIndex); - return _ret; + cppISteamParties_SteamParties002_GetBeaconByIndex( ¶ms ); + return params._ret; } bool __thiscall winISteamParties_SteamParties002_GetBeaconDetails(struct w_steam_iface *_this, PartyBeaconID_t ulBeaconID, CSteamID *pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_158 *pLocation, char *pchMetadata, int cchMetadata) { - bool _ret; + struct cppISteamParties_SteamParties002_GetBeaconDetails_params params = + { + .linux_side = _this->u_iface, + .ulBeaconID = ulBeaconID, + .pSteamIDBeaconOwner = pSteamIDBeaconOwner, + .pLocation = pLocation, + .pchMetadata = pchMetadata, + .cchMetadata = cchMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamParties_SteamParties002_GetBeaconDetails(_this->u_iface, ulBeaconID, pSteamIDBeaconOwner, pLocation, pchMetadata, cchMetadata); - return _ret; + cppISteamParties_SteamParties002_GetBeaconDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamParties_SteamParties002_JoinParty(struct w_steam_iface *_this, PartyBeaconID_t ulBeaconID) { - SteamAPICall_t _ret; + struct cppISteamParties_SteamParties002_JoinParty_params params = + { + .linux_side = _this->u_iface, + .ulBeaconID = ulBeaconID, + }; TRACE("%p\n", _this); - _ret = cppISteamParties_SteamParties002_JoinParty(_this->u_iface, ulBeaconID); - return _ret; + cppISteamParties_SteamParties002_JoinParty( ¶ms ); + return params._ret; } bool __thiscall winISteamParties_SteamParties002_GetNumAvailableBeaconLocations(struct w_steam_iface *_this, uint32 *puNumLocations) { - bool _ret; + struct cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations_params params = + { + .linux_side = _this->u_iface, + .puNumLocations = puNumLocations, + }; TRACE("%p\n", _this); - _ret = cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(_this->u_iface, puNumLocations); - return _ret; + cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations( ¶ms ); + return params._ret; } bool __thiscall winISteamParties_SteamParties002_GetAvailableBeaconLocations(struct w_steam_iface *_this, winSteamPartyBeaconLocation_t_158 *pLocationList, uint32 uMaxNumLocations) { - bool _ret; + struct cppISteamParties_SteamParties002_GetAvailableBeaconLocations_params params = + { + .linux_side = _this->u_iface, + .pLocationList = pLocationList, + .uMaxNumLocations = uMaxNumLocations, + }; TRACE("%p\n", _this); - _ret = cppISteamParties_SteamParties002_GetAvailableBeaconLocations(_this->u_iface, pLocationList, uMaxNumLocations); - return _ret; + cppISteamParties_SteamParties002_GetAvailableBeaconLocations( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamParties_SteamParties002_CreateBeacon(struct w_steam_iface *_this, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_158 *pBeaconLocation, const char *pchConnectString, const char *pchMetadata) { - SteamAPICall_t _ret; + struct cppISteamParties_SteamParties002_CreateBeacon_params params = + { + .linux_side = _this->u_iface, + .unOpenSlots = unOpenSlots, + .pBeaconLocation = pBeaconLocation, + .pchConnectString = pchConnectString, + .pchMetadata = pchMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamParties_SteamParties002_CreateBeacon(_this->u_iface, unOpenSlots, pBeaconLocation, pchConnectString, pchMetadata); - return _ret; + cppISteamParties_SteamParties002_CreateBeacon( ¶ms ); + return params._ret; } void __thiscall winISteamParties_SteamParties002_OnReservationCompleted(struct w_steam_iface *_this, PartyBeaconID_t ulBeacon, CSteamID steamIDUser) { + struct cppISteamParties_SteamParties002_OnReservationCompleted_params params = + { + .linux_side = _this->u_iface, + .ulBeacon = ulBeacon, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamParties_SteamParties002_OnReservationCompleted(_this->u_iface, ulBeacon, steamIDUser); + cppISteamParties_SteamParties002_OnReservationCompleted( ¶ms ); } void __thiscall winISteamParties_SteamParties002_CancelReservation(struct w_steam_iface *_this, PartyBeaconID_t ulBeacon, CSteamID steamIDUser) { + struct cppISteamParties_SteamParties002_CancelReservation_params params = + { + .linux_side = _this->u_iface, + .ulBeacon = ulBeacon, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamParties_SteamParties002_CancelReservation(_this->u_iface, ulBeacon, steamIDUser); + cppISteamParties_SteamParties002_CancelReservation( ¶ms ); } SteamAPICall_t __thiscall winISteamParties_SteamParties002_ChangeNumOpenSlots(struct w_steam_iface *_this, PartyBeaconID_t ulBeacon, uint32 unOpenSlots) { - SteamAPICall_t _ret; + struct cppISteamParties_SteamParties002_ChangeNumOpenSlots_params params = + { + .linux_side = _this->u_iface, + .ulBeacon = ulBeacon, + .unOpenSlots = unOpenSlots, + }; TRACE("%p\n", _this); - _ret = cppISteamParties_SteamParties002_ChangeNumOpenSlots(_this->u_iface, ulBeacon, unOpenSlots); - return _ret; + cppISteamParties_SteamParties002_ChangeNumOpenSlots( ¶ms ); + return params._ret; } bool __thiscall winISteamParties_SteamParties002_DestroyBeacon(struct w_steam_iface *_this, PartyBeaconID_t ulBeacon) { - bool _ret; + struct cppISteamParties_SteamParties002_DestroyBeacon_params params = + { + .linux_side = _this->u_iface, + .ulBeacon = ulBeacon, + }; TRACE("%p\n", _this); - _ret = cppISteamParties_SteamParties002_DestroyBeacon(_this->u_iface, ulBeacon); - return _ret; + cppISteamParties_SteamParties002_DestroyBeacon( ¶ms ); + return params._ret; } bool __thiscall winISteamParties_SteamParties002_GetBeaconLocationData(struct w_steam_iface *_this, winSteamPartyBeaconLocation_t_158 BeaconLocation, ESteamPartyBeaconLocationData eData, char *pchDataStringOut, int cchDataStringOut) { - bool _ret; + struct cppISteamParties_SteamParties002_GetBeaconLocationData_params params = + { + .linux_side = _this->u_iface, + .BeaconLocation = BeaconLocation, + .eData = eData, + .pchDataStringOut = pchDataStringOut, + .cchDataStringOut = cchDataStringOut, + }; TRACE("%p\n", _this); - _ret = cppISteamParties_SteamParties002_GetBeaconLocationData(_this->u_iface, BeaconLocation, eData, pchDataStringOut, cchDataStringOut); - return _ret; + cppISteamParties_SteamParties002_GetBeaconLocationData( ¶ms ); + return params._ret; } extern vtable_ptr winISteamParties_SteamParties002_vtable; diff --git a/lsteamclient/winISteamRemotePlay.c b/lsteamclient/winISteamRemotePlay.c index 324baa77..e07417b6 100644 --- a/lsteamclient/winISteamRemotePlay.c +++ b/lsteamclient/winISteamRemotePlay.c @@ -25,57 +25,88 @@ DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 uint32 __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount(_this->u_iface); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount( ¶ms ); + return params._ret; } RemotePlaySessionID_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID(struct w_steam_iface *_this, int iSessionIndex) { - RemotePlaySessionID_t _ret; + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID_params params = + { + .linux_side = _this->u_iface, + .iSessionIndex = iSessionIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID(_this->u_iface, iSessionIndex); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID(struct w_steam_iface *_this, CSteamID *_ret, RemotePlaySessionID_t unSessionID) { + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unSessionID = unSessionID, + }; TRACE("%p\n", _this); - *_ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID(_this->u_iface, unSessionID); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName(struct w_steam_iface *_this, RemotePlaySessionID_t unSessionID) { - const char * _ret; + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName_params params = + { + .linux_side = _this->u_iface, + .unSessionID = unSessionID, + }; TRACE("%p\n", _this); - _ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName(_this->u_iface, unSessionID); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName( ¶ms ); + return params._ret; } ESteamDeviceFormFactor __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor(struct w_steam_iface *_this, RemotePlaySessionID_t unSessionID) { - ESteamDeviceFormFactor _ret; + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor_params params = + { + .linux_side = _this->u_iface, + .unSessionID = unSessionID, + }; TRACE("%p\n", _this); - _ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor(_this->u_iface, unSessionID); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor( ¶ms ); + return params._ret; } bool __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution(struct w_steam_iface *_this, RemotePlaySessionID_t unSessionID, int *pnResolutionX, int *pnResolutionY) { - bool _ret; + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution_params params = + { + .linux_side = _this->u_iface, + .unSessionID = unSessionID, + .pnResolutionX = pnResolutionX, + .pnResolutionY = pnResolutionY, + }; TRACE("%p\n", _this); - _ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution(_this->u_iface, unSessionID, pnResolutionX, pnResolutionY); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution( ¶ms ); + return params._ret; } bool __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite(struct w_steam_iface *_this, CSteamID steamIDFriend) { - bool _ret; + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite(_this->u_iface, steamIDFriend); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite( ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_vtable; @@ -118,65 +149,100 @@ DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 uint32 __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount(_this->u_iface); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount( ¶ms ); + return params._ret; } RemotePlaySessionID_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID(struct w_steam_iface *_this, int iSessionIndex) { - RemotePlaySessionID_t _ret; + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID_params params = + { + .linux_side = _this->u_iface, + .iSessionIndex = iSessionIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID(_this->u_iface, iSessionIndex); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID(struct w_steam_iface *_this, CSteamID *_ret, RemotePlaySessionID_t unSessionID) { + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unSessionID = unSessionID, + }; TRACE("%p\n", _this); - *_ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID(_this->u_iface, unSessionID); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName(struct w_steam_iface *_this, RemotePlaySessionID_t unSessionID) { - const char * _ret; + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName_params params = + { + .linux_side = _this->u_iface, + .unSessionID = unSessionID, + }; TRACE("%p\n", _this); - _ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName(_this->u_iface, unSessionID); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName( ¶ms ); + return params._ret; } ESteamDeviceFormFactor __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor(struct w_steam_iface *_this, RemotePlaySessionID_t unSessionID) { - ESteamDeviceFormFactor _ret; + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor_params params = + { + .linux_side = _this->u_iface, + .unSessionID = unSessionID, + }; TRACE("%p\n", _this); - _ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor(_this->u_iface, unSessionID); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor( ¶ms ); + return params._ret; } bool __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution(struct w_steam_iface *_this, RemotePlaySessionID_t unSessionID, int *pnResolutionX, int *pnResolutionY) { - bool _ret; + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution_params params = + { + .linux_side = _this->u_iface, + .unSessionID = unSessionID, + .pnResolutionX = pnResolutionX, + .pnResolutionY = pnResolutionY, + }; TRACE("%p\n", _this); - _ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution(_this->u_iface, unSessionID, pnResolutionX, pnResolutionY); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution( ¶ms ); + return params._ret; } bool __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether(struct w_steam_iface *_this, bool bShowOverlay) { - bool _ret; + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether_params params = + { + .linux_side = _this->u_iface, + .bShowOverlay = bShowOverlay, + }; TRACE("%p\n", _this); - _ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether(_this->u_iface, bShowOverlay); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether( ¶ms ); + return params._ret; } bool __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite(struct w_steam_iface *_this, CSteamID steamIDFriend) { - bool _ret; + struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - _ret = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite(_this->u_iface, steamIDFriend); - return _ret; + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite( ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_vtable; diff --git a/lsteamclient/winISteamRemoteStorage.c b/lsteamclient/winISteamRemoteStorage.c index c7e2ae37..f682a0af 100644 --- a/lsteamclient/winISteamRemoteStorage.c +++ b/lsteamclient/winISteamRemoteStorage.c @@ -26,66 +26,103 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota(struct w_steam_iface *_this, int32 *pnTotalBytes, int32 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota( ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_vtable; @@ -128,58 +165,91 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota(struct w_steam_iface *_this, int32 *pnTotalBytes, int32 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota( ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_vtable; @@ -234,160 +304,249 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare(struct w_steam_iface *_this, const char *pchFile) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize( ¶ms ); + return params._ret; } int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - int64 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota(struct w_steam_iface *_this, int32 *pnTotalBytes, int32 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp( ¶ms ); + return params._ret; } void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp(_this->u_iface, bEnabled); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp( ¶ms ); } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload(struct w_steam_iface *_this, UGCHandle_t hContent) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload(_this->u_iface, hContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails(struct w_steam_iface *_this, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails(_this->u_iface, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead(struct w_steam_iface *_this, UGCHandle_t hContent, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead(_this->u_iface, hContent, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount( ¶ms ); + return params._ret; } UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle(struct w_steam_iface *_this, int32 iCachedContent) { - UGCHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle(_this->u_iface, iCachedContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle( ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_vtable; @@ -457,176 +616,274 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare(struct w_steam_iface *_this, const char *pchFile) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms(_this->u_iface, pchFile, eRemoteStoragePlatform); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize( ¶ms ); + return params._ret; } int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - int64 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp( ¶ms ); + return params._ret; } ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - ERemoteStoragePlatform _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota(struct w_steam_iface *_this, int32 *pnTotalBytes, int32 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp( ¶ms ); + return params._ret; } void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp(_this->u_iface, bEnabled); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp( ¶ms ); } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload(struct w_steam_iface *_this, UGCHandle_t hContent) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload(_this->u_iface, hContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails(struct w_steam_iface *_this, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails(_this->u_iface, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead(struct w_steam_iface *_this, UGCHandle_t hContent, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead(_this->u_iface, hContent, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount( ¶ms ); + return params._ret; } UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle(struct w_steam_iface *_this, int32 iCachedContent) { - UGCHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle(_this->u_iface, iCachedContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle( ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_vtable; @@ -707,252 +964,397 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare(struct w_steam_iface *_this, const char *pchFile) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms(_this->u_iface, pchFile, eRemoteStoragePlatform); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize( ¶ms ); + return params._ret; } int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - int64 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp( ¶ms ); + return params._ret; } ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - ERemoteStoragePlatform _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota(struct w_steam_iface *_this, int32 *pnTotalBytes, int32 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp( ¶ms ); + return params._ret; } void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp(_this->u_iface, bEnabled); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp( ¶ms ); } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload(struct w_steam_iface *_this, UGCHandle_t hContent) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload(_this->u_iface, hContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails(struct w_steam_iface *_this, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails(_this->u_iface, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead(struct w_steam_iface *_this, UGCHandle_t hContent, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead(_this->u_iface, hContent, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount( ¶ms ); + return params._ret; } UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle(struct w_steam_iface *_this, int32 iCachedContent) { - UGCHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle(_this->u_iface, iCachedContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile(_this->u_iface, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, SteamParamStringArray_t *pTags) { - SteamAPICall_t _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .pTags = pTags, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile(_this->u_iface, pchFile ? u_pchFile : NULL, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, pTags); - steamclient_free_path( u_pchFile ); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile( ¶ms ); + steamclient_free_path( params.pchFile ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile(struct w_steam_iface *_this, RemoteStorageUpdatePublishedFileRequest_t updatePublishedFileRequest) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile_params params = + { + .linux_side = _this->u_iface, + .updatePublishedFileRequest = updatePublishedFileRequest, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile(_this->u_iface, updatePublishedFileRequest); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile( ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_vtable; @@ -1058,386 +1460,617 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare(struct w_steam_iface *_this, const char *pchFile) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms(_this->u_iface, pchFile, eRemoteStoragePlatform); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize( ¶ms ); + return params._ret; } int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - int64 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp( ¶ms ); + return params._ret; } ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - ERemoteStoragePlatform _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota(struct w_steam_iface *_this, int32 *pnTotalBytes, int32 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp( ¶ms ); + return params._ret; } void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp(_this->u_iface, bEnabled); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp( ¶ms ); } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload(struct w_steam_iface *_this, UGCHandle_t hContent) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload(_this->u_iface, hContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress(struct w_steam_iface *_this, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress(_this->u_iface, hContent, pnBytesDownloaded, pnBytesExpected); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails(struct w_steam_iface *_this, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails(_this->u_iface, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead(struct w_steam_iface *_this, UGCHandle_t hContent, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead(_this->u_iface, hContent, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount( ¶ms ); + return params._ret; } UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle(struct w_steam_iface *_this, int32 iCachedContent) { - UGCHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle(_this->u_iface, iCachedContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) { - SteamAPICall_t _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile(_this->u_iface, pchFile ? u_pchFile : NULL, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); - steamclient_free_path( u_pchFile ); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile( ¶ms ); + steamclient_free_path( params.pchFile ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - PublishedFileUpdateHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) { - bool _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile(_this->u_iface, updateHandle, pchFile ? u_pchFile : NULL); - steamclient_free_path( u_pchFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile( ¶ms ); + steamclient_free_path( params.pchFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) { - bool _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile(_this->u_iface, updateHandle, pchPreviewFile ? u_pchPreviewFile : NULL); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle(_this->u_iface, updateHandle, pchTitle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription(_this->u_iface, updateHandle, pchDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility(_this->u_iface, updateHandle, eVisibility); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate(_this->u_iface, updateHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription(_this->u_iface, updateHandle, pchChangeDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote(_this->u_iface, unPublishedFileId, bVoteUp); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles(_this->u_iface, steamId, unStartIndex, pRequiredTags, pExcludedTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo(struct w_steam_iface *_this, const char *pchVideoURL, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) { - SteamAPICall_t _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .pchVideoURL = pchVideoURL, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo(_this->u_iface, pchVideoURL, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction(_this->u_iface, unPublishedFileId, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, EWorkshopFileAction eAction, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction(_this->u_iface, eAction, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles(_this->u_iface, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles( ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_vtable; @@ -1559,386 +2192,619 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare(struct w_steam_iface *_this, const char *pchFile) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms(_this->u_iface, pchFile, eRemoteStoragePlatform); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize( ¶ms ); + return params._ret; } int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - int64 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp( ¶ms ); + return params._ret; } ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - ERemoteStoragePlatform _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota(struct w_steam_iface *_this, int32 *pnTotalBytes, int32 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp( ¶ms ); + return params._ret; } void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp(_this->u_iface, bEnabled); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp( ¶ms ); } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload(struct w_steam_iface *_this, UGCHandle_t hContent) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload(_this->u_iface, hContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress(struct w_steam_iface *_this, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress(_this->u_iface, hContent, pnBytesDownloaded, pnBytesExpected); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails(struct w_steam_iface *_this, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails(_this->u_iface, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead(struct w_steam_iface *_this, UGCHandle_t hContent, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead(_this->u_iface, hContent, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount( ¶ms ); + return params._ret; } UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle(struct w_steam_iface *_this, int32 iCachedContent) { - UGCHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle(_this->u_iface, iCachedContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) { - SteamAPICall_t _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile(_this->u_iface, pchFile ? u_pchFile : NULL, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); - steamclient_free_path( u_pchFile ); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile( ¶ms ); + steamclient_free_path( params.pchFile ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - PublishedFileUpdateHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) { - bool _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile(_this->u_iface, updateHandle, pchFile ? u_pchFile : NULL); - steamclient_free_path( u_pchFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile( ¶ms ); + steamclient_free_path( params.pchFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) { - bool _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile(_this->u_iface, updateHandle, pchPreviewFile ? u_pchPreviewFile : NULL); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle(_this->u_iface, updateHandle, pchTitle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription(_this->u_iface, updateHandle, pchDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility(_this->u_iface, updateHandle, eVisibility); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate(_this->u_iface, updateHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription(_this->u_iface, updateHandle, pchChangeDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote(_this->u_iface, unPublishedFileId, bVoteUp); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles(_this->u_iface, steamId, unStartIndex, pRequiredTags, pExcludedTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo(struct w_steam_iface *_this, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) { - SteamAPICall_t _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo(_this->u_iface, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction(_this->u_iface, unPublishedFileId, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, EWorkshopFileAction eAction, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction(_this->u_iface, eAction, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles(_this->u_iface, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles( ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_vtable; @@ -2064,418 +2930,669 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare(struct w_steam_iface *_this, const char *pchFile) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms(_this->u_iface, pchFile, eRemoteStoragePlatform); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms( ¶ms ); + return params._ret; } UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { - UGCFileWriteStreamHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk(_this->u_iface, writeHandle, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize( ¶ms ); + return params._ret; } int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - int64 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp( ¶ms ); + return params._ret; } ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - ERemoteStoragePlatform _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota(struct w_steam_iface *_this, int32 *pnTotalBytes, int32 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp( ¶ms ); + return params._ret; } void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp(_this->u_iface, bEnabled); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp( ¶ms ); } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload(struct w_steam_iface *_this, UGCHandle_t hContent) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload(_this->u_iface, hContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress(struct w_steam_iface *_this, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress(_this->u_iface, hContent, pnBytesDownloaded, pnBytesExpected); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails(struct w_steam_iface *_this, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails(_this->u_iface, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead(struct w_steam_iface *_this, UGCHandle_t hContent, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead(_this->u_iface, hContent, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount( ¶ms ); + return params._ret; } UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle(struct w_steam_iface *_this, int32 iCachedContent) { - UGCHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle(_this->u_iface, iCachedContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) { - SteamAPICall_t _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile(_this->u_iface, pchFile ? u_pchFile : NULL, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); - steamclient_free_path( u_pchFile ); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile( ¶ms ); + steamclient_free_path( params.pchFile ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - PublishedFileUpdateHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) { - bool _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile(_this->u_iface, updateHandle, pchFile ? u_pchFile : NULL); - steamclient_free_path( u_pchFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile( ¶ms ); + steamclient_free_path( params.pchFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) { - bool _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile(_this->u_iface, updateHandle, pchPreviewFile ? u_pchPreviewFile : NULL); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle(_this->u_iface, updateHandle, pchTitle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription(_this->u_iface, updateHandle, pchDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility(_this->u_iface, updateHandle, eVisibility); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate(_this->u_iface, updateHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription(_this->u_iface, updateHandle, pchChangeDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote(_this->u_iface, unPublishedFileId, bVoteUp); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles(_this->u_iface, steamId, unStartIndex, pRequiredTags, pExcludedTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo(struct w_steam_iface *_this, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) { - SteamAPICall_t _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo(_this->u_iface, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction(_this->u_iface, unPublishedFileId, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, EWorkshopFileAction eAction, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction(_this->u_iface, eAction, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles(_this->u_iface, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles( ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_vtable; @@ -2605,418 +3722,670 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare(struct w_steam_iface *_this, const char *pchFile) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms(_this->u_iface, pchFile, eRemoteStoragePlatform); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms( ¶ms ); + return params._ret; } UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { - UGCFileWriteStreamHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk(_this->u_iface, writeHandle, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize( ¶ms ); + return params._ret; } int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - int64 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp( ¶ms ); + return params._ret; } ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - ERemoteStoragePlatform _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota(struct w_steam_iface *_this, int32 *pnTotalBytes, int32 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp( ¶ms ); + return params._ret; } void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp(_this->u_iface, bEnabled); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp( ¶ms ); } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload(struct w_steam_iface *_this, UGCHandle_t hContent) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload(_this->u_iface, hContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress(struct w_steam_iface *_this, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress(_this->u_iface, hContent, pnBytesDownloaded, pnBytesExpected); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails(struct w_steam_iface *_this, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails(_this->u_iface, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead(struct w_steam_iface *_this, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead(_this->u_iface, hContent, pvData, cubDataToRead, cOffset); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount( ¶ms ); + return params._ret; } UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle(struct w_steam_iface *_this, int32 iCachedContent) { - UGCHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle(_this->u_iface, iCachedContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) { - SteamAPICall_t _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile(_this->u_iface, pchFile ? u_pchFile : NULL, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); - steamclient_free_path( u_pchFile ); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile( ¶ms ); + steamclient_free_path( params.pchFile ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - PublishedFileUpdateHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) { - bool _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile(_this->u_iface, updateHandle, pchFile ? u_pchFile : NULL); - steamclient_free_path( u_pchFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile( ¶ms ); + steamclient_free_path( params.pchFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) { - bool _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile(_this->u_iface, updateHandle, pchPreviewFile ? u_pchPreviewFile : NULL); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle(_this->u_iface, updateHandle, pchTitle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription(_this->u_iface, updateHandle, pchDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility(_this->u_iface, updateHandle, eVisibility); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate(_this->u_iface, updateHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription(_this->u_iface, updateHandle, pchChangeDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote(_this->u_iface, unPublishedFileId, bVoteUp); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles(_this->u_iface, steamId, unStartIndex, pRequiredTags, pExcludedTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo(struct w_steam_iface *_this, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) { - SteamAPICall_t _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo(_this->u_iface, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction(_this->u_iface, unPublishedFileId, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, EWorkshopFileAction eAction, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction(_this->u_iface, eAction, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles(_this->u_iface, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles( ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_vtable; @@ -3147,428 +4516,687 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare(struct w_steam_iface *_this, const char *pchFile) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms(_this->u_iface, pchFile, eRemoteStoragePlatform); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms( ¶ms ); + return params._ret; } UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { - UGCFileWriteStreamHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk(_this->u_iface, writeHandle, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize( ¶ms ); + return params._ret; } int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - int64 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp( ¶ms ); + return params._ret; } ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - ERemoteStoragePlatform _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota(struct w_steam_iface *_this, int32 *pnTotalBytes, int32 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp( ¶ms ); + return params._ret; } void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp(_this->u_iface, bEnabled); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp( ¶ms ); } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload(struct w_steam_iface *_this, UGCHandle_t hContent, uint32 unPriority) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload(_this->u_iface, hContent, unPriority); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress(struct w_steam_iface *_this, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress(_this->u_iface, hContent, pnBytesDownloaded, pnBytesExpected); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails(struct w_steam_iface *_this, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails(_this->u_iface, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead(struct w_steam_iface *_this, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead(_this->u_iface, hContent, pvData, cubDataToRead, cOffset); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount( ¶ms ); + return params._ret; } UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle(struct w_steam_iface *_this, int32 iCachedContent) { - UGCHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle(_this->u_iface, iCachedContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) { - SteamAPICall_t _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile(_this->u_iface, pchFile ? u_pchFile : NULL, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); - steamclient_free_path( u_pchFile ); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile( ¶ms ); + steamclient_free_path( params.pchFile ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - PublishedFileUpdateHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) { - bool _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile(_this->u_iface, updateHandle, pchFile ? u_pchFile : NULL); - steamclient_free_path( u_pchFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile( ¶ms ); + steamclient_free_path( params.pchFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) { - bool _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile(_this->u_iface, updateHandle, pchPreviewFile ? u_pchPreviewFile : NULL); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle(_this->u_iface, updateHandle, pchTitle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription(_this->u_iface, updateHandle, pchDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility(_this->u_iface, updateHandle, eVisibility); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate(_this->u_iface, updateHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription(_this->u_iface, updateHandle, pchChangeDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote(_this->u_iface, unPublishedFileId, bVoteUp); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles(_this->u_iface, steamId, unStartIndex, pRequiredTags, pExcludedTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo(struct w_steam_iface *_this, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) { - SteamAPICall_t _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo(_this->u_iface, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction(_this->u_iface, unPublishedFileId, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, EWorkshopFileAction eAction, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction(_this->u_iface, eAction, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles(_this->u_iface, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation(struct w_steam_iface *_this, UGCHandle_t hContent, const char *pchLocation, uint32 unPriority) { - SteamAPICall_t _ret; - const char *u_pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pchLocation = pchLocation, + .unPriority = unPriority, + }; + params.pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation(_this->u_iface, hContent, pchLocation ? u_pchLocation : NULL, unPriority); - steamclient_free_path( u_pchLocation ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation( ¶ms ); + steamclient_free_path( params.pchLocation ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_vtable; @@ -3700,428 +5328,688 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare(struct w_steam_iface *_this, const char *pchFile) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms(_this->u_iface, pchFile, eRemoteStoragePlatform); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms( ¶ms ); + return params._ret; } UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { - UGCFileWriteStreamHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk(_this->u_iface, writeHandle, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize( ¶ms ); + return params._ret; } int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - int64 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp( ¶ms ); + return params._ret; } ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - ERemoteStoragePlatform _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota(struct w_steam_iface *_this, int32 *pnTotalBytes, int32 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp( ¶ms ); + return params._ret; } void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp(_this->u_iface, bEnabled); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp( ¶ms ); } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload(struct w_steam_iface *_this, UGCHandle_t hContent, uint32 unPriority) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload(_this->u_iface, hContent, unPriority); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress(struct w_steam_iface *_this, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress(_this->u_iface, hContent, pnBytesDownloaded, pnBytesExpected); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails(struct w_steam_iface *_this, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails(_this->u_iface, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead(struct w_steam_iface *_this, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead(_this->u_iface, hContent, pvData, cubDataToRead, cOffset); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount( ¶ms ); + return params._ret; } UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle(struct w_steam_iface *_this, int32 iCachedContent) { - UGCHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle(_this->u_iface, iCachedContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) { - SteamAPICall_t _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile(_this->u_iface, pchFile ? u_pchFile : NULL, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); - steamclient_free_path( u_pchFile ); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile( ¶ms ); + steamclient_free_path( params.pchFile ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - PublishedFileUpdateHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) { - bool _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile(_this->u_iface, updateHandle, pchFile ? u_pchFile : NULL); - steamclient_free_path( u_pchFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile( ¶ms ); + steamclient_free_path( params.pchFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) { - bool _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile(_this->u_iface, updateHandle, pchPreviewFile ? u_pchPreviewFile : NULL); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle(_this->u_iface, updateHandle, pchTitle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription(_this->u_iface, updateHandle, pchDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility(_this->u_iface, updateHandle, eVisibility); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate(_this->u_iface, updateHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .unMaxSecondsOld = unMaxSecondsOld, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails(_this->u_iface, unPublishedFileId, unMaxSecondsOld); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription(_this->u_iface, updateHandle, pchChangeDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote(_this->u_iface, unPublishedFileId, bVoteUp); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles(_this->u_iface, steamId, unStartIndex, pRequiredTags, pExcludedTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo(struct w_steam_iface *_this, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) { - SteamAPICall_t _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo(_this->u_iface, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction(_this->u_iface, unPublishedFileId, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, EWorkshopFileAction eAction, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction(_this->u_iface, eAction, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles(_this->u_iface, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation(struct w_steam_iface *_this, UGCHandle_t hContent, const char *pchLocation, uint32 unPriority) { - SteamAPICall_t _ret; - const char *u_pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pchLocation = pchLocation, + .unPriority = unPriority, + }; + params.pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation(_this->u_iface, hContent, pchLocation ? u_pchLocation : NULL, unPriority); - steamclient_free_path( u_pchLocation ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation( ¶ms ); + steamclient_free_path( params.pchLocation ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_vtable; @@ -4253,428 +6141,689 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare(struct w_steam_iface *_this, const char *pchFile) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms(_this->u_iface, pchFile, eRemoteStoragePlatform); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms( ¶ms ); + return params._ret; } UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { - UGCFileWriteStreamHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk(_this->u_iface, writeHandle, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize( ¶ms ); + return params._ret; } int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - int64 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp( ¶ms ); + return params._ret; } ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - ERemoteStoragePlatform _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota(struct w_steam_iface *_this, int32 *pnTotalBytes, int32 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp( ¶ms ); + return params._ret; } void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp(_this->u_iface, bEnabled); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp( ¶ms ); } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload(struct w_steam_iface *_this, UGCHandle_t hContent, uint32 unPriority) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload(_this->u_iface, hContent, unPriority); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress(struct w_steam_iface *_this, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress(_this->u_iface, hContent, pnBytesDownloaded, pnBytesExpected); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails(struct w_steam_iface *_this, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails(_this->u_iface, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead(struct w_steam_iface *_this, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead(_this->u_iface, hContent, pvData, cubDataToRead, cOffset, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount( ¶ms ); + return params._ret; } UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle(struct w_steam_iface *_this, int32 iCachedContent) { - UGCHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle(_this->u_iface, iCachedContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) { - SteamAPICall_t _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile(_this->u_iface, pchFile ? u_pchFile : NULL, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); - steamclient_free_path( u_pchFile ); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile( ¶ms ); + steamclient_free_path( params.pchFile ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - PublishedFileUpdateHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) { - bool _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile(_this->u_iface, updateHandle, pchFile ? u_pchFile : NULL); - steamclient_free_path( u_pchFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile( ¶ms ); + steamclient_free_path( params.pchFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) { - bool _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile(_this->u_iface, updateHandle, pchPreviewFile ? u_pchPreviewFile : NULL); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle(_this->u_iface, updateHandle, pchTitle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription(_this->u_iface, updateHandle, pchDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility(_this->u_iface, updateHandle, eVisibility); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate(_this->u_iface, updateHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .unMaxSecondsOld = unMaxSecondsOld, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails(_this->u_iface, unPublishedFileId, unMaxSecondsOld); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription(_this->u_iface, updateHandle, pchChangeDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote(_this->u_iface, unPublishedFileId, bVoteUp); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles(_this->u_iface, steamId, unStartIndex, pRequiredTags, pExcludedTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo(struct w_steam_iface *_this, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) { - SteamAPICall_t _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo(_this->u_iface, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction(_this->u_iface, unPublishedFileId, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, EWorkshopFileAction eAction, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction(_this->u_iface, eAction, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles(_this->u_iface, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation(struct w_steam_iface *_this, UGCHandle_t hContent, const char *pchLocation, uint32 unPriority) { - SteamAPICall_t _ret; - const char *u_pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pchLocation = pchLocation, + .unPriority = unPriority, + }; + params.pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation(_this->u_iface, hContent, pchLocation ? u_pchLocation : NULL, unPriority); - steamclient_free_path( u_pchLocation ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation( ¶ms ); + steamclient_free_path( params.pchLocation ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_vtable; @@ -4809,452 +6958,731 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync(struct w_steam_iface *_this, const char *pchFile, const void *pvData, uint32 cubData) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync(struct w_steam_iface *_this, const char *pchFile, uint32 nOffset, uint32 cubToRead) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .nOffset = nOffset, + .cubToRead = cubToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync(_this->u_iface, pchFile, nOffset, cubToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete(struct w_steam_iface *_this, SteamAPICall_t hReadCall, void *pvBuffer, uint32 cubToRead) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete_params params = + { + .linux_side = _this->u_iface, + .hReadCall = hReadCall, + .pvBuffer = pvBuffer, + .cubToRead = cubToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete(_this->u_iface, hReadCall, pvBuffer, cubToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare(struct w_steam_iface *_this, const char *pchFile) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms(_this->u_iface, pchFile, eRemoteStoragePlatform); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms( ¶ms ); + return params._ret; } UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { - UGCFileWriteStreamHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk(_this->u_iface, writeHandle, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize( ¶ms ); + return params._ret; } int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - int64 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp( ¶ms ); + return params._ret; } ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - ERemoteStoragePlatform _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota(struct w_steam_iface *_this, int32 *pnTotalBytes, int32 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp( ¶ms ); + return params._ret; } void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp(_this->u_iface, bEnabled); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp( ¶ms ); } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload(struct w_steam_iface *_this, UGCHandle_t hContent, uint32 unPriority) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload(_this->u_iface, hContent, unPriority); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress(struct w_steam_iface *_this, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress(_this->u_iface, hContent, pnBytesDownloaded, pnBytesExpected); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails(struct w_steam_iface *_this, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails(_this->u_iface, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead(struct w_steam_iface *_this, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead(_this->u_iface, hContent, pvData, cubDataToRead, cOffset, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount( ¶ms ); + return params._ret; } UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle(struct w_steam_iface *_this, int32 iCachedContent) { - UGCHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle(_this->u_iface, iCachedContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) { - SteamAPICall_t _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile(_this->u_iface, pchFile ? u_pchFile : NULL, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); - steamclient_free_path( u_pchFile ); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile( ¶ms ); + steamclient_free_path( params.pchFile ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - PublishedFileUpdateHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) { - bool _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile(_this->u_iface, updateHandle, pchFile ? u_pchFile : NULL); - steamclient_free_path( u_pchFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile( ¶ms ); + steamclient_free_path( params.pchFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) { - bool _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile(_this->u_iface, updateHandle, pchPreviewFile ? u_pchPreviewFile : NULL); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle(_this->u_iface, updateHandle, pchTitle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription(_this->u_iface, updateHandle, pchDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility(_this->u_iface, updateHandle, eVisibility); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate(_this->u_iface, updateHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .unMaxSecondsOld = unMaxSecondsOld, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails(_this->u_iface, unPublishedFileId, unMaxSecondsOld); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription(_this->u_iface, updateHandle, pchChangeDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote(_this->u_iface, unPublishedFileId, bVoteUp); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles(_this->u_iface, steamId, unStartIndex, pRequiredTags, pExcludedTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo(struct w_steam_iface *_this, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) { - SteamAPICall_t _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo(_this->u_iface, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction(_this->u_iface, unPublishedFileId, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, EWorkshopFileAction eAction, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction(_this->u_iface, eAction, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles(_this->u_iface, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation(struct w_steam_iface *_this, UGCHandle_t hContent, const char *pchLocation, uint32 unPriority) { - SteamAPICall_t _ret; - const char *u_pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pchLocation = pchLocation, + .unPriority = unPriority, + }; + params.pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation(_this->u_iface, hContent, pchLocation ? u_pchLocation : NULL, unPriority); - steamclient_free_path( u_pchLocation ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation( ¶ms ); + steamclient_free_path( params.pchLocation ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_vtable; @@ -5392,452 +7820,731 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync(struct w_steam_iface *_this, const char *pchFile, const void *pvData, uint32 cubData) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync(struct w_steam_iface *_this, const char *pchFile, uint32 nOffset, uint32 cubToRead) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .nOffset = nOffset, + .cubToRead = cubToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync(_this->u_iface, pchFile, nOffset, cubToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete(struct w_steam_iface *_this, SteamAPICall_t hReadCall, void *pvBuffer, uint32 cubToRead) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete_params params = + { + .linux_side = _this->u_iface, + .hReadCall = hReadCall, + .pvBuffer = pvBuffer, + .cubToRead = cubToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete(_this->u_iface, hReadCall, pvBuffer, cubToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare(struct w_steam_iface *_this, const char *pchFile) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms(_this->u_iface, pchFile, eRemoteStoragePlatform); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms( ¶ms ); + return params._ret; } UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { - UGCFileWriteStreamHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk(_this->u_iface, writeHandle, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize( ¶ms ); + return params._ret; } int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - int64 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp( ¶ms ); + return params._ret; } ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - ERemoteStoragePlatform _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota(struct w_steam_iface *_this, uint64 *pnTotalBytes, uint64 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp( ¶ms ); + return params._ret; } void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp(_this->u_iface, bEnabled); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp( ¶ms ); } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload(struct w_steam_iface *_this, UGCHandle_t hContent, uint32 unPriority) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload(_this->u_iface, hContent, unPriority); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress(struct w_steam_iface *_this, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress(_this->u_iface, hContent, pnBytesDownloaded, pnBytesExpected); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails(struct w_steam_iface *_this, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails(_this->u_iface, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead(struct w_steam_iface *_this, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead(_this->u_iface, hContent, pvData, cubDataToRead, cOffset, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount( ¶ms ); + return params._ret; } UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle(struct w_steam_iface *_this, int32 iCachedContent) { - UGCHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle(_this->u_iface, iCachedContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) { - SteamAPICall_t _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile(_this->u_iface, pchFile ? u_pchFile : NULL, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); - steamclient_free_path( u_pchFile ); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile( ¶ms ); + steamclient_free_path( params.pchFile ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - PublishedFileUpdateHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) { - bool _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile(_this->u_iface, updateHandle, pchFile ? u_pchFile : NULL); - steamclient_free_path( u_pchFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile( ¶ms ); + steamclient_free_path( params.pchFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) { - bool _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile(_this->u_iface, updateHandle, pchPreviewFile ? u_pchPreviewFile : NULL); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle(_this->u_iface, updateHandle, pchTitle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription(_this->u_iface, updateHandle, pchDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility(_this->u_iface, updateHandle, eVisibility); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate(_this->u_iface, updateHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .unMaxSecondsOld = unMaxSecondsOld, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails(_this->u_iface, unPublishedFileId, unMaxSecondsOld); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription(_this->u_iface, updateHandle, pchChangeDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote(_this->u_iface, unPublishedFileId, bVoteUp); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles(_this->u_iface, steamId, unStartIndex, pRequiredTags, pExcludedTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo(struct w_steam_iface *_this, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) { - SteamAPICall_t _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo(_this->u_iface, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction(_this->u_iface, unPublishedFileId, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, EWorkshopFileAction eAction, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction(_this->u_iface, eAction, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles(_this->u_iface, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation(struct w_steam_iface *_this, UGCHandle_t hContent, const char *pchLocation, uint32 unPriority) { - SteamAPICall_t _ret; - const char *u_pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pchLocation = pchLocation, + .unPriority = unPriority, + }; + params.pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation(_this->u_iface, hContent, pchLocation ? u_pchLocation : NULL, unPriority); - steamclient_free_path( u_pchLocation ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation( ¶ms ); + steamclient_free_path( params.pchLocation ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_vtable; @@ -5979,484 +8686,778 @@ DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERS bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32 cubDataToRead) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead(_this->u_iface, pchFile, pvData, cubDataToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync(struct w_steam_iface *_this, const char *pchFile, const void *pvData, uint32 cubData) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync(_this->u_iface, pchFile, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync(struct w_steam_iface *_this, const char *pchFile, uint32 nOffset, uint32 cubToRead) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .nOffset = nOffset, + .cubToRead = cubToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync(_this->u_iface, pchFile, nOffset, cubToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete(struct w_steam_iface *_this, SteamAPICall_t hReadCall, void *pvBuffer, uint32 cubToRead) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete_params params = + { + .linux_side = _this->u_iface, + .hReadCall = hReadCall, + .pvBuffer = pvBuffer, + .cubToRead = cubToRead, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete(_this->u_iface, hReadCall, pvBuffer, cubToRead); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare(struct w_steam_iface *_this, const char *pchFile) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms(_this->u_iface, pchFile, eRemoteStoragePlatform); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms( ¶ms ); + return params._ret; } UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { - UGCFileWriteStreamHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk(_this->u_iface, writeHandle, pvData, cubData); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel(struct w_steam_iface *_this, UGCFileWriteStreamHandle_t writeHandle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel(_this->u_iface, writeHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize( ¶ms ); + return params._ret; } int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - int64 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp( ¶ms ); + return params._ret; } ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - ERemoteStoragePlatform _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms(_this->u_iface, pchFile); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize(struct w_steam_iface *_this, int iFile, int32 *pnFileSizeInBytes) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize(_this->u_iface, iFile, pnFileSizeInBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(struct w_steam_iface *_this, uint64 *pnTotalBytes, uint64 *puAvailableBytes) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(_this->u_iface, pnTotalBytes, puAvailableBytes); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp( ¶ms ); + return params._ret; } void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp(_this->u_iface, bEnabled); + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp( ¶ms ); } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload(struct w_steam_iface *_this, UGCHandle_t hContent, uint32 unPriority) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload(_this->u_iface, hContent, unPriority); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress(struct w_steam_iface *_this, UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress(_this->u_iface, hContent, pnBytesDownloaded, pnBytesExpected); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails(struct w_steam_iface *_this, UGCHandle_t hContent, AppId_t *pnAppID, char **ppchName, int32 *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails(_this->u_iface, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead(struct w_steam_iface *_this, UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead(_this->u_iface, hContent, pvData, cubDataToRead, cOffset, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead( ¶ms ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount( ¶ms ); + return params._ret; } UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle(struct w_steam_iface *_this, int32 iCachedContent) { - UGCHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle(_this->u_iface, iCachedContent); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType) { - SteamAPICall_t _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile(_this->u_iface, pchFile ? u_pchFile : NULL, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); - steamclient_free_path( u_pchFile ); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile( ¶ms ); + steamclient_free_path( params.pchFile ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - PublishedFileUpdateHandle_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchFile) { - bool _ret; - const char *u_pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; + params.pchFile = steamclient_dos_to_unix_path( pchFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile(_this->u_iface, updateHandle, pchFile ? u_pchFile : NULL); - steamclient_free_path( u_pchFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile( ¶ms ); + steamclient_free_path( params.pchFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile) { - bool _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile(_this->u_iface, updateHandle, pchPreviewFile ? u_pchPreviewFile : NULL); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchTitle) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle(_this->u_iface, updateHandle, pchTitle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription(_this->u_iface, updateHandle, pchDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility(_this->u_iface, updateHandle, eVisibility); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate(_this->u_iface, updateHandle); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .unMaxSecondsOld = unMaxSecondsOld, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails(_this->u_iface, unPublishedFileId, unMaxSecondsOld); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles(_this->u_iface, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription(_this->u_iface, updateHandle, pchChangeDescription); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote(_this->u_iface, unPublishedFileId, bVoteUp); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails(_this->u_iface, unPublishedFileId); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles(_this->u_iface, steamId, unStartIndex, pRequiredTags, pExcludedTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo(struct w_steam_iface *_this, EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags) { - SteamAPICall_t _ret; - const char *u_pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; + params.pchPreviewFile = steamclient_dos_to_unix_path( pchPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo(_this->u_iface, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? u_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); - steamclient_free_path( u_pchPreviewFile ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo( ¶ms ); + steamclient_free_path( params.pchPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction(struct w_steam_iface *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction(_this->u_iface, unPublishedFileId, eAction); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, EWorkshopFileAction eAction, uint32 unStartIndex) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction(_this->u_iface, eAction, unStartIndex); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags) { - SteamAPICall_t _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles(_this->u_iface, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation(struct w_steam_iface *_this, UGCHandle_t hContent, const char *pchLocation, uint32 unPriority) { - SteamAPICall_t _ret; - const char *u_pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 ); + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pchLocation = pchLocation, + .unPriority = unPriority, + }; + params.pchLocation = steamclient_dos_to_unix_path( pchLocation, 0 ); TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation(_this->u_iface, hContent, pchLocation ? u_pchLocation : NULL, unPriority); - steamclient_free_path( u_pchLocation ); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation( ¶ms ); + steamclient_free_path( params.pchLocation ); + return params._ret; } int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount(struct w_steam_iface *_this) { - int32 _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount( ¶ms ); + return params._ret; } const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange(struct w_steam_iface *_this, int iFile, ERemoteStorageLocalFileChange *pEChangeType, ERemoteStorageFilePathType *pEFilePathType) { - const char * _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pEChangeType = pEChangeType, + .pEFilePathType = pEFilePathType, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange(_this->u_iface, iFile, pEChangeType, pEFilePathType); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch( ¶ms ); + return params._ret; } bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch(_this->u_iface); - return _ret; + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch( ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_vtable; diff --git a/lsteamclient/winISteamScreenshots.c b/lsteamclient/winISteamScreenshots.c index 8eb6ed26..1782ae96 100644 --- a/lsteamclient/winISteamScreenshots.c +++ b/lsteamclient/winISteamScreenshots.c @@ -24,50 +24,83 @@ DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION0 ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot(struct w_steam_iface *_this, void *pubRGB, uint32 cubRGB, int nWidth, int nHeight) { - ScreenshotHandle _ret; + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot_params params = + { + .linux_side = _this->u_iface, + .pubRGB = pubRGB, + .cubRGB = cubRGB, + .nWidth = nWidth, + .nHeight = nHeight, + }; TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot(_this->u_iface, pubRGB, cubRGB, nWidth, nHeight); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot( ¶ms ); + return params._ret; } ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary(struct w_steam_iface *_this, const char *pchFilename, const char *pchThumbnailFilename, int nWidth, int nHeight) { - ScreenshotHandle _ret; - const char *u_pchFilename = steamclient_dos_to_unix_path( pchFilename, 0 ); - const char *u_pchThumbnailFilename = steamclient_dos_to_unix_path( pchThumbnailFilename, 0 ); + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary_params params = + { + .linux_side = _this->u_iface, + .pchFilename = pchFilename, + .pchThumbnailFilename = pchThumbnailFilename, + .nWidth = nWidth, + .nHeight = nHeight, + }; + params.pchFilename = steamclient_dos_to_unix_path( pchFilename, 0 ); + params.pchThumbnailFilename = steamclient_dos_to_unix_path( pchThumbnailFilename, 0 ); TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary(_this->u_iface, pchFilename ? u_pchFilename : NULL, pchThumbnailFilename ? u_pchThumbnailFilename : NULL, nWidth, nHeight); - steamclient_free_path( u_pchFilename ); - steamclient_free_path( u_pchThumbnailFilename ); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary( ¶ms ); + steamclient_free_path( params.pchFilename ); + steamclient_free_path( params.pchThumbnailFilename ); + return params._ret; } void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot(struct w_steam_iface *_this) { + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot(_this->u_iface); + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot( ¶ms ); } void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots(struct w_steam_iface *_this, bool bHook) { + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots_params params = + { + .linux_side = _this->u_iface, + .bHook = bHook, + }; TRACE("%p\n", _this); - cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots(_this->u_iface, bHook); + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots( ¶ms ); } bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation(struct w_steam_iface *_this, ScreenshotHandle hScreenshot, const char *pchLocation) { - bool _ret; + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .pchLocation = pchLocation, + }; TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation(_this->u_iface, hScreenshot, pchLocation); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation( ¶ms ); + return params._ret; } bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser(struct w_steam_iface *_this, ScreenshotHandle hScreenshot, CSteamID steamID) { - bool _ret; + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser(_this->u_iface, hScreenshot, steamID); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser( ¶ms ); + return params._ret; } extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_vtable; @@ -108,58 +141,96 @@ DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION0 ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot(struct w_steam_iface *_this, void *pubRGB, uint32 cubRGB, int nWidth, int nHeight) { - ScreenshotHandle _ret; + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot_params params = + { + .linux_side = _this->u_iface, + .pubRGB = pubRGB, + .cubRGB = cubRGB, + .nWidth = nWidth, + .nHeight = nHeight, + }; TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot(_this->u_iface, pubRGB, cubRGB, nWidth, nHeight); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot( ¶ms ); + return params._ret; } ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary(struct w_steam_iface *_this, const char *pchFilename, const char *pchThumbnailFilename, int nWidth, int nHeight) { - ScreenshotHandle _ret; - const char *u_pchFilename = steamclient_dos_to_unix_path( pchFilename, 0 ); - const char *u_pchThumbnailFilename = steamclient_dos_to_unix_path( pchThumbnailFilename, 0 ); + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary_params params = + { + .linux_side = _this->u_iface, + .pchFilename = pchFilename, + .pchThumbnailFilename = pchThumbnailFilename, + .nWidth = nWidth, + .nHeight = nHeight, + }; + params.pchFilename = steamclient_dos_to_unix_path( pchFilename, 0 ); + params.pchThumbnailFilename = steamclient_dos_to_unix_path( pchThumbnailFilename, 0 ); TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary(_this->u_iface, pchFilename ? u_pchFilename : NULL, pchThumbnailFilename ? u_pchThumbnailFilename : NULL, nWidth, nHeight); - steamclient_free_path( u_pchFilename ); - steamclient_free_path( u_pchThumbnailFilename ); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary( ¶ms ); + steamclient_free_path( params.pchFilename ); + steamclient_free_path( params.pchThumbnailFilename ); + return params._ret; } void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot(struct w_steam_iface *_this) { + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot(_this->u_iface); + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot( ¶ms ); } void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots(struct w_steam_iface *_this, bool bHook) { + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots_params params = + { + .linux_side = _this->u_iface, + .bHook = bHook, + }; TRACE("%p\n", _this); - cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots(_this->u_iface, bHook); + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots( ¶ms ); } bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation(struct w_steam_iface *_this, ScreenshotHandle hScreenshot, const char *pchLocation) { - bool _ret; + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .pchLocation = pchLocation, + }; TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation(_this->u_iface, hScreenshot, pchLocation); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation( ¶ms ); + return params._ret; } bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser(struct w_steam_iface *_this, ScreenshotHandle hScreenshot, CSteamID steamID) { - bool _ret; + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser(_this->u_iface, hScreenshot, steamID); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser( ¶ms ); + return params._ret; } bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile(struct w_steam_iface *_this, ScreenshotHandle hScreenshot, PublishedFileId_t unPublishedFileID) { - bool _ret; + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .unPublishedFileID = unPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile(_this->u_iface, hScreenshot, unPublishedFileID); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile( ¶ms ); + return params._ret; } extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_vtable; @@ -203,78 +274,125 @@ DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION0 ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot(struct w_steam_iface *_this, void *pubRGB, uint32 cubRGB, int nWidth, int nHeight) { - ScreenshotHandle _ret; + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot_params params = + { + .linux_side = _this->u_iface, + .pubRGB = pubRGB, + .cubRGB = cubRGB, + .nWidth = nWidth, + .nHeight = nHeight, + }; TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot(_this->u_iface, pubRGB, cubRGB, nWidth, nHeight); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot( ¶ms ); + return params._ret; } ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary(struct w_steam_iface *_this, const char *pchFilename, const char *pchThumbnailFilename, int nWidth, int nHeight) { - ScreenshotHandle _ret; - const char *u_pchFilename = steamclient_dos_to_unix_path( pchFilename, 0 ); - const char *u_pchThumbnailFilename = steamclient_dos_to_unix_path( pchThumbnailFilename, 0 ); + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary_params params = + { + .linux_side = _this->u_iface, + .pchFilename = pchFilename, + .pchThumbnailFilename = pchThumbnailFilename, + .nWidth = nWidth, + .nHeight = nHeight, + }; + params.pchFilename = steamclient_dos_to_unix_path( pchFilename, 0 ); + params.pchThumbnailFilename = steamclient_dos_to_unix_path( pchThumbnailFilename, 0 ); TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary(_this->u_iface, pchFilename ? u_pchFilename : NULL, pchThumbnailFilename ? u_pchThumbnailFilename : NULL, nWidth, nHeight); - steamclient_free_path( u_pchFilename ); - steamclient_free_path( u_pchThumbnailFilename ); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary( ¶ms ); + steamclient_free_path( params.pchFilename ); + steamclient_free_path( params.pchThumbnailFilename ); + return params._ret; } void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot(struct w_steam_iface *_this) { + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot(_this->u_iface); + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot( ¶ms ); } void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots(struct w_steam_iface *_this, bool bHook) { + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots_params params = + { + .linux_side = _this->u_iface, + .bHook = bHook, + }; TRACE("%p\n", _this); - cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots(_this->u_iface, bHook); + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots( ¶ms ); } bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation(struct w_steam_iface *_this, ScreenshotHandle hScreenshot, const char *pchLocation) { - bool _ret; + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .pchLocation = pchLocation, + }; TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation(_this->u_iface, hScreenshot, pchLocation); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation( ¶ms ); + return params._ret; } bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser(struct w_steam_iface *_this, ScreenshotHandle hScreenshot, CSteamID steamID) { - bool _ret; + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser(_this->u_iface, hScreenshot, steamID); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser( ¶ms ); + return params._ret; } bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile(struct w_steam_iface *_this, ScreenshotHandle hScreenshot, PublishedFileId_t unPublishedFileID) { - bool _ret; + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .unPublishedFileID = unPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile(_this->u_iface, hScreenshot, unPublishedFileID); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile( ¶ms ); + return params._ret; } bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked(_this->u_iface); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked( ¶ms ); + return params._ret; } ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary(struct w_steam_iface *_this, EVRScreenshotType eType, const char *pchFilename, const char *pchVRFilename) { - ScreenshotHandle _ret; - const char *u_pchFilename = steamclient_dos_to_unix_path( pchFilename, 0 ); - const char *u_pchVRFilename = steamclient_dos_to_unix_path( pchVRFilename, 0 ); + struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + .pchFilename = pchFilename, + .pchVRFilename = pchVRFilename, + }; + params.pchFilename = steamclient_dos_to_unix_path( pchFilename, 0 ); + params.pchVRFilename = steamclient_dos_to_unix_path( pchVRFilename, 0 ); TRACE("%p\n", _this); - _ret = cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary(_this->u_iface, eType, pchFilename ? u_pchFilename : NULL, pchVRFilename ? u_pchVRFilename : NULL); - steamclient_free_path( u_pchFilename ); - steamclient_free_path( u_pchVRFilename ); - return _ret; + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary( ¶ms ); + steamclient_free_path( params.pchFilename ); + steamclient_free_path( params.pchVRFilename ); + return params._ret; } extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_vtable; diff --git a/lsteamclient/winISteamUGC.c b/lsteamclient/winISteamUGC.c index 4039de0b..32f5ef83 100644 --- a/lsteamclient/winISteamUGC.c +++ b/lsteamclient/winISteamUGC.c @@ -32,114 +32,190 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDet UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_128 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION001_vtable; @@ -212,255 +288,419 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdate UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_130 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool *pbNeedsUpdate, bool *pbIsDownloading, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .pbNeedsUpdate = pbNeedsUpdate, + .pbIsDownloading = pbIsDownloading, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo(_this->u_iface, nPublishedFileID, pbNeedsUpdate, pbIsDownloading, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION002_vtable; @@ -550,255 +790,420 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdate UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_132 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, bool *pbLegacyItem) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .pbLegacyItem = pbLegacyItem, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, pbLegacyItem); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool *pbNeedsUpdate, bool *pbIsDownloading, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .pbNeedsUpdate = pbNeedsUpdate, + .pbIsDownloading = pbIsDownloading, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo(_this->u_iface, nPublishedFileID, pbNeedsUpdate, pbIsDownloading, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION003_vtable; @@ -890,271 +1295,443 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem, UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_132x *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION004_vtable; @@ -1261,376 +1838,625 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem, UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_133b *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL(_this->u_iface, handle, index, pchURL, cchURLSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata(_this->u_iface, handle, index, pchMetadata, cchMetadatasize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren(_this->u_iface, handle, index, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 *pStatValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic(_this->u_iface, handle, index, eStatType, pStatValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, bool *pbIsImage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pbIsImage = pbIsImage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview(_this->u_iface, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pbIsImage); - steamclient_unix_path_to_dos_path(_ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnMetadata) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata(_this->u_iface, handle, bReturnMetadata); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnChildren) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren(_this->u_iface, handle, bReturnChildren); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews(_this->u_iface, handle, bReturnAdditionalPreviews); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchMetaData) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata(_this->u_iface, handle, pchMetaData); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION005_vtable; @@ -1754,408 +2580,676 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem, UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_133x *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL(_this->u_iface, handle, index, pchURL, cchURLSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata(_this->u_iface, handle, index, pchMetadata, cchMetadatasize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren(_this->u_iface, handle, index, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 *pStatValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic(_this->u_iface, handle, index, eStatType, pStatValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, bool *pbIsImage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pbIsImage = pbIsImage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview(_this->u_iface, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pbIsImage); - steamclient_unix_path_to_dos_path(_ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnMetadata) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata(_this->u_iface, handle, bReturnMetadata); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnChildren) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren(_this->u_iface, handle, bReturnChildren); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews(_this->u_iface, handle, bReturnAdditionalPreviews); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchMetaData) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata(_this->u_iface, handle, pchMetaData); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote(_this->u_iface, nPublishedFileID, bVoteUp); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION006_vtable; @@ -2291,472 +3385,787 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownlo UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_136 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL(_this->u_iface, handle, index, pchURL, cchURLSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata(_this->u_iface, handle, index, pchMetadata, cchMetadatasize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren(_this->u_iface, handle, index, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 *pStatValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic(_this->u_iface, handle, index, eStatType, pStatValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, bool *pbIsImage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pbIsImage = pbIsImage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview(_this->u_iface, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pbIsImage); - steamclient_unix_path_to_dos_path(_ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1 ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag(_this->u_iface, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags(_this->u_iface, handle, bReturnKeyValueTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnMetadata) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata(_this->u_iface, handle, bReturnMetadata); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnChildren) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren(_this->u_iface, handle, bReturnChildren); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews(_this->u_iface, handle, bReturnAdditionalPreviews); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pKey, const char *pValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag(_this->u_iface, handle, pKey, pValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchMetaData) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata(_this->u_iface, handle, pchMetaData); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags(_this->u_iface, handle, pchKey); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag(_this->u_iface, handle, pchKey, pchValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote(_this->u_iface, nPublishedFileID, bVoteUp); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer(struct w_steam_iface *_this, DepotId_t unWorkshopDepotID, const char *pszFolder) { - bool _ret; - const char *u_pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; + params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer(_this->u_iface, unWorkshopDepotID, pszFolder ? u_pszFolder : NULL); - steamclient_free_path( u_pszFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer( ¶ms ); + steamclient_free_path( params.pszFolder ); + return params._ret; } void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads(struct w_steam_iface *_this, bool bSuspend) { + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads(_this->u_iface, bSuspend); + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads( ¶ms ); } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION007_vtable; @@ -2905,516 +4314,861 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownlo UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_137 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL(_this->u_iface, handle, index, pchURL, cchURLSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata(_this->u_iface, handle, index, pchMetadata, cchMetadatasize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren(_this->u_iface, handle, index, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 *pStatValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic(_this->u_iface, handle, index, eStatType, pStatValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview(_this->u_iface, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(_ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1 ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag(_this->u_iface, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags(_this->u_iface, handle, bReturnKeyValueTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnMetadata) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata(_this->u_iface, handle, bReturnMetadata); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnChildren) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren(_this->u_iface, handle, bReturnChildren); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews(_this->u_iface, handle, bReturnAdditionalPreviews); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pKey, const char *pValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag(_this->u_iface, handle, pKey, pValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchMetaData) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata(_this->u_iface, handle, pchMetaData); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags(_this->u_iface, handle, pchKey); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag(_this->u_iface, handle, pchKey, pchValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL, type); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo(_this->u_iface, handle, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile(_this->u_iface, handle, index, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo(_this->u_iface, handle, index, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote(_this->u_iface, nPublishedFileID, bVoteUp); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer(struct w_steam_iface *_this, DepotId_t unWorkshopDepotID, const char *pszFolder) { - bool _ret; - const char *u_pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; + params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer(_this->u_iface, unWorkshopDepotID, pszFolder ? u_pszFolder : NULL); - steamclient_free_path( u_pszFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer( ¶ms ); + steamclient_free_path( params.pszFolder ); + return params._ret; } void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads(struct w_steam_iface *_this, bool bSuspend) { + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads(_this->u_iface, bSuspend); + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads( ¶ms ); } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION008_vtable; @@ -3572,548 +5326,911 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeT UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_139 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL(_this->u_iface, handle, index, pchURL, cchURLSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata(_this->u_iface, handle, index, pchMetadata, cchMetadatasize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren(_this->u_iface, handle, index, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic(_this->u_iface, handle, index, eStatType, pStatValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview(_this->u_iface, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(_ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1 ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag(_this->u_iface, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs(_this->u_iface, handle, bReturnOnlyIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags(_this->u_iface, handle, bReturnKeyValueTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnMetadata) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata(_this->u_iface, handle, bReturnMetadata); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnChildren) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren(_this->u_iface, handle, bReturnChildren); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews(_this->u_iface, handle, bReturnAdditionalPreviews); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pKey, const char *pValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag(_this->u_iface, handle, pKey, pValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchMetaData) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata(_this->u_iface, handle, pchMetaData); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags(_this->u_iface, handle, pchKey); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag(_this->u_iface, handle, pchKey, pchValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL, type); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo(_this->u_iface, handle, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile(_this->u_iface, handle, index, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo(_this->u_iface, handle, index, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote(_this->u_iface, nPublishedFileID, bVoteUp); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer(struct w_steam_iface *_this, DepotId_t unWorkshopDepotID, const char *pszFolder) { - bool _ret; - const char *u_pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; + params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer(_this->u_iface, unWorkshopDepotID, pszFolder ? u_pszFolder : NULL); - steamclient_free_path( u_pszFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer( ¶ms ); + steamclient_free_path( params.pszFolder ); + return params._ret; } void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads(struct w_steam_iface *_this, bool bSuspend) { + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads(_this->u_iface, bSuspend); + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads( ¶ms ); } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION009_vtable; @@ -4282,604 +6399,1000 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem, 1 UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_142 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL(_this->u_iface, handle, index, pchURL, cchURLSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata(_this->u_iface, handle, index, pchMetadata, cchMetadatasize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren(_this->u_iface, handle, index, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic(_this->u_iface, handle, index, eStatType, pStatValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview(_this->u_iface, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(_ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1 ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag(_this->u_iface, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs(_this->u_iface, handle, bReturnOnlyIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags(_this->u_iface, handle, bReturnKeyValueTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnMetadata) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata(_this->u_iface, handle, bReturnMetadata); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnChildren) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren(_this->u_iface, handle, bReturnChildren); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews(_this->u_iface, handle, bReturnAdditionalPreviews); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pKey, const char *pValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag(_this->u_iface, handle, pKey, pValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchMetaData) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata(_this->u_iface, handle, pchMetaData); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags(_this->u_iface, handle, pchKey); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag(_this->u_iface, handle, pchKey, pchValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL, type); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo(_this->u_iface, handle, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile(_this->u_iface, handle, index, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo(_this->u_iface, handle, index, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote(_this->u_iface, nPublishedFileID, bVoteUp); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer(struct w_steam_iface *_this, DepotId_t unWorkshopDepotID, const char *pszFolder) { - bool _ret; - const char *u_pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; + params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer(_this->u_iface, unWorkshopDepotID, pszFolder ? u_pszFolder : NULL); - steamclient_free_path( u_pszFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer( ¶ms ); + steamclient_free_path( params.pszFolder ); + return params._ret; } void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads(struct w_steam_iface *_this, bool bSuspend) { + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads(_this->u_iface, bSuspend); + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads( ¶ms ); } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION010_vtable; @@ -5057,620 +7570,1029 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem, 1 UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_144 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL(_this->u_iface, handle, index, pchURL, cchURLSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata(_this->u_iface, handle, index, pchMetadata, cchMetadatasize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren(_this->u_iface, handle, index, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic(_this->u_iface, handle, index, eStatType, pStatValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview(_this->u_iface, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(_ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1 ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag(_this->u_iface, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs(_this->u_iface, handle, bReturnOnlyIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags(_this->u_iface, handle, bReturnKeyValueTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnMetadata) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata(_this->u_iface, handle, bReturnMetadata); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnChildren) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren(_this->u_iface, handle, bReturnChildren); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews(_this->u_iface, handle, bReturnAdditionalPreviews); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pKey, const char *pValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag(_this->u_iface, handle, pKey, pValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchMetaData) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata(_this->u_iface, handle, pchMetaData); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload(struct w_steam_iface *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload(_this->u_iface, handle, bAllowLegacyUpload); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags(_this->u_iface, handle, pchKey); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag(_this->u_iface, handle, pchKey, pchValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL, type); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo(_this->u_iface, handle, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile(_this->u_iface, handle, index, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo(_this->u_iface, handle, index, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote(_this->u_iface, nPublishedFileID, bVoteUp); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer(struct w_steam_iface *_this, DepotId_t unWorkshopDepotID, const char *pszFolder) { - bool _ret; - const char *u_pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; + params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer(_this->u_iface, unWorkshopDepotID, pszFolder ? u_pszFolder : NULL); - steamclient_free_path( u_pszFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer( ¶ms ); + steamclient_free_path( params.pszFolder ); + return params._ret; } void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads(struct w_steam_iface *_this, bool bSuspend) { + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads(_this->u_iface, bSuspend); + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads( ¶ms ); } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION012_vtable; @@ -5852,636 +8774,1057 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem, 1 UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_146 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL(_this->u_iface, handle, index, pchURL, cchURLSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata(_this->u_iface, handle, index, pchMetadata, cchMetadatasize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren(_this->u_iface, handle, index, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic(_this->u_iface, handle, index, eStatType, pStatValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview(_this->u_iface, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(_ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1 ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag(_this->u_iface, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, const char *pchKey, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2(_this->u_iface, handle, index, pchKey, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs(_this->u_iface, handle, bReturnOnlyIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags(_this->u_iface, handle, bReturnKeyValueTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnMetadata) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata(_this->u_iface, handle, bReturnMetadata); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnChildren) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren(_this->u_iface, handle, bReturnChildren); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews(_this->u_iface, handle, bReturnAdditionalPreviews); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pKey, const char *pValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag(_this->u_iface, handle, pKey, pValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchMetaData) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata(_this->u_iface, handle, pchMetaData); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload(struct w_steam_iface *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload(_this->u_iface, handle, bAllowLegacyUpload); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags(_this->u_iface, handle, pchKey); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag(_this->u_iface, handle, pchKey, pchValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL, type); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo(_this->u_iface, handle, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile(_this->u_iface, handle, index, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo(_this->u_iface, handle, index, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote(_this->u_iface, nPublishedFileID, bVoteUp); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer(struct w_steam_iface *_this, DepotId_t unWorkshopDepotID, const char *pszFolder) { - bool _ret; - const char *u_pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; + params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer(_this->u_iface, unWorkshopDepotID, pszFolder ? u_pszFolder : NULL); - steamclient_free_path( u_pszFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer( ¶ms ); + steamclient_free_path( params.pszFolder ); + return params._ret; } void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads(struct w_steam_iface *_this, bool bSuspend) { + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads(_this->u_iface, bSuspend); + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads( ¶ms ); } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION013_vtable; @@ -6666,644 +10009,1070 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem, 1 UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_150 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL(_this->u_iface, handle, index, pchURL, cchURLSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata(_this->u_iface, handle, index, pchMetadata, cchMetadatasize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren(_this->u_iface, handle, index, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic(_this->u_iface, handle, index, eStatType, pStatValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview(_this->u_iface, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(_ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1 ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag(_this->u_iface, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, const char *pchKey, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2(_this->u_iface, handle, index, pchKey, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup(struct w_steam_iface *_this, UGCQueryHandle_t handle, const SteamParamStringArray_t *pTagGroups) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagGroups = pTagGroups, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup(_this->u_iface, handle, pTagGroups); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs(_this->u_iface, handle, bReturnOnlyIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags(_this->u_iface, handle, bReturnKeyValueTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnMetadata) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata(_this->u_iface, handle, bReturnMetadata); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnChildren) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren(_this->u_iface, handle, bReturnChildren); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews(_this->u_iface, handle, bReturnAdditionalPreviews); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pKey, const char *pValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag(_this->u_iface, handle, pKey, pValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchMetaData) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata(_this->u_iface, handle, pchMetaData); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload(struct w_steam_iface *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload(_this->u_iface, handle, bAllowLegacyUpload); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags(_this->u_iface, handle, pchKey); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag(_this->u_iface, handle, pchKey, pchValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL, type); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo(_this->u_iface, handle, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile(_this->u_iface, handle, index, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo(_this->u_iface, handle, index, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote(_this->u_iface, nPublishedFileID, bVoteUp); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer(struct w_steam_iface *_this, DepotId_t unWorkshopDepotID, const char *pszFolder) { - bool _ret; - const char *u_pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; + params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer(_this->u_iface, unWorkshopDepotID, pszFolder ? u_pszFolder : NULL); - steamclient_free_path( u_pszFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer( ¶ms ); + steamclient_free_path( params.pszFolder ); + return params._ret; } void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads(struct w_steam_iface *_this, bool bSuspend) { + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads(_this->u_iface, bSuspend); + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads( ¶ms ); } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION014_vtable; @@ -7494,684 +11263,1137 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEU UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_152 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag(_this->u_iface, handle, index, indexTag, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName(_this->u_iface, handle, index, indexTag, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL(_this->u_iface, handle, index, pchURL, cchURLSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata(_this->u_iface, handle, index, pchMetadata, cchMetadatasize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren(_this->u_iface, handle, index, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic(_this->u_iface, handle, index, eStatType, pStatValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview(_this->u_iface, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(_ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1 ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag(_this->u_iface, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, const char *pchKey, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2(_this->u_iface, handle, index, pchKey, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup(struct w_steam_iface *_this, UGCQueryHandle_t handle, const SteamParamStringArray_t *pTagGroups) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagGroups = pTagGroups, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup(_this->u_iface, handle, pTagGroups); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs(_this->u_iface, handle, bReturnOnlyIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags(_this->u_iface, handle, bReturnKeyValueTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnMetadata) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata(_this->u_iface, handle, bReturnMetadata); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnChildren) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren(_this->u_iface, handle, bReturnChildren); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews(_this->u_iface, handle, bReturnAdditionalPreviews); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pKey, const char *pValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag(_this->u_iface, handle, pKey, pValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchMetaData) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata(_this->u_iface, handle, pchMetaData); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload(struct w_steam_iface *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload(_this->u_iface, handle, bAllowLegacyUpload); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags(_this->u_iface, handle, pchKey); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag(_this->u_iface, handle, pchKey, pchValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL, type); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo(_this->u_iface, handle, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile(_this->u_iface, handle, index, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo(_this->u_iface, handle, index, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote(_this->u_iface, nPublishedFileID, bVoteUp); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer(struct w_steam_iface *_this, DepotId_t unWorkshopDepotID, const char *pszFolder) { - bool _ret; - const char *u_pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; + params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer(_this->u_iface, unWorkshopDepotID, pszFolder ? u_pszFolder : NULL); - steamclient_free_path( u_pszFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer( ¶ms ); + steamclient_free_path( params.pszFolder ); + return params._ret; } void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads(struct w_steam_iface *_this, bool bSuspend) { + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads(_this->u_iface, bSuspend); + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads( ¶ms ); } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION015_vtable; @@ -8369,700 +12591,1165 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEU UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_155 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag(_this->u_iface, handle, index, indexTag, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName(_this->u_iface, handle, index, indexTag, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL(_this->u_iface, handle, index, pchURL, cchURLSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata(_this->u_iface, handle, index, pchMetadata, cchMetadatasize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren(_this->u_iface, handle, index, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic(_this->u_iface, handle, index, eStatType, pStatValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview(_this->u_iface, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(_ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1 ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag(_this->u_iface, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, const char *pchKey, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2(_this->u_iface, handle, index, pchKey, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup(struct w_steam_iface *_this, UGCQueryHandle_t handle, const SteamParamStringArray_t *pTagGroups) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagGroups = pTagGroups, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup(_this->u_iface, handle, pTagGroups); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs(_this->u_iface, handle, bReturnOnlyIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags(_this->u_iface, handle, bReturnKeyValueTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnMetadata) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata(_this->u_iface, handle, bReturnMetadata); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnChildren) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren(_this->u_iface, handle, bReturnChildren); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews(_this->u_iface, handle, bReturnAdditionalPreviews); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange(struct w_steam_iface *_this, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .rtStart = rtStart, + .rtEnd = rtEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange(_this->u_iface, handle, rtStart, rtEnd); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange(struct w_steam_iface *_this, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .rtStart = rtStart, + .rtEnd = rtEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange(_this->u_iface, handle, rtStart, rtEnd); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pKey, const char *pValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag(_this->u_iface, handle, pKey, pValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchMetaData) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata(_this->u_iface, handle, pchMetaData); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload(struct w_steam_iface *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload(_this->u_iface, handle, bAllowLegacyUpload); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags(_this->u_iface, handle, pchKey); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag(_this->u_iface, handle, pchKey, pchValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL, type); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo(_this->u_iface, handle, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile(_this->u_iface, handle, index, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo(_this->u_iface, handle, index, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote(_this->u_iface, nPublishedFileID, bVoteUp); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer(struct w_steam_iface *_this, DepotId_t unWorkshopDepotID, const char *pszFolder) { - bool _ret; - const char *u_pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; + params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer(_this->u_iface, unWorkshopDepotID, pszFolder ? u_pszFolder : NULL); - steamclient_free_path( u_pszFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer( ¶ms ); + steamclient_free_path( params.pszFolder ); + return params._ret; } void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads(struct w_steam_iface *_this, bool bSuspend) { + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads(_this->u_iface, bSuspend); + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads( ¶ms ); } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION016_vtable; @@ -9265,724 +13952,1206 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEU UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_157 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag(_this->u_iface, handle, index, indexTag, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName(_this->u_iface, handle, index, indexTag, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL(_this->u_iface, handle, index, pchURL, cchURLSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata(_this->u_iface, handle, index, pchMetadata, cchMetadatasize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren(_this->u_iface, handle, index, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic(_this->u_iface, handle, index, eStatType, pStatValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview(_this->u_iface, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(_ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1 ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag(_this->u_iface, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, const char *pchKey, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2(_this->u_iface, handle, index, pchKey, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EUGCContentDescriptorID *pvecDescriptors, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecDescriptors = pvecDescriptors, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors(_this->u_iface, handle, index, pvecDescriptors, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup(struct w_steam_iface *_this, UGCQueryHandle_t handle, const SteamParamStringArray_t *pTagGroups) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagGroups = pTagGroups, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup(_this->u_iface, handle, pTagGroups); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs(_this->u_iface, handle, bReturnOnlyIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags(_this->u_iface, handle, bReturnKeyValueTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnMetadata) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata(_this->u_iface, handle, bReturnMetadata); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnChildren) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren(_this->u_iface, handle, bReturnChildren); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews(_this->u_iface, handle, bReturnAdditionalPreviews); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange(struct w_steam_iface *_this, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .rtStart = rtStart, + .rtEnd = rtEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange(_this->u_iface, handle, rtStart, rtEnd); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange(struct w_steam_iface *_this, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .rtStart = rtStart, + .rtEnd = rtEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange(_this->u_iface, handle, rtStart, rtEnd); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pKey, const char *pValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag(_this->u_iface, handle, pKey, pValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchMetaData) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata(_this->u_iface, handle, pchMetaData); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags(_this->u_iface, updateHandle, pTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload(struct w_steam_iface *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload(_this->u_iface, handle, bAllowLegacyUpload); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags(_this->u_iface, handle, pchKey); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag(_this->u_iface, handle, pchKey, pchValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL, type); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo(_this->u_iface, handle, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile(_this->u_iface, handle, index, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo(_this->u_iface, handle, index, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor(struct w_steam_iface *_this, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .descid = descid, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor(_this->u_iface, handle, descid); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor(struct w_steam_iface *_this, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .descid = descid, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor(_this->u_iface, handle, descid); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote(_this->u_iface, nPublishedFileID, bVoteUp); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer(struct w_steam_iface *_this, DepotId_t unWorkshopDepotID, const char *pszFolder) { - bool _ret; - const char *u_pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; + params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer(_this->u_iface, unWorkshopDepotID, pszFolder ? u_pszFolder : NULL); - steamclient_free_path( u_pszFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer( ¶ms ); + steamclient_free_path( params.pszFolder ); + return params._ret; } void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads(struct w_steam_iface *_this, bool bSuspend) { + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads(_this->u_iface, bSuspend); + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads( ¶ms ); } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION017_vtable; @@ -10189,732 +15358,1220 @@ DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserConten UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest(struct w_steam_iface *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest(_this->u_iface, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2(_this->u_iface, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2( ¶ms ); + return params._ret; } UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - UGCQueryHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_158 *pDetails) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult(_this->u_iface, handle, index, pDetails); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag(_this->u_iface, handle, index, indexTag, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName(_this->u_iface, handle, index, indexTag, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL(_this->u_iface, handle, index, pchURL, cchURLSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata(_this->u_iface, handle, index, pchMetadata, cchMetadatasize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren(_this->u_iface, handle, index, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic(_this->u_iface, handle, index, eStatType, pStatValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview(_this->u_iface, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(_ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1 ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag(_this->u_iface, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, const char *pchKey, char *pchValue, uint32 cchValueSize) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2(_this->u_iface, handle, index, pchKey, pchValue, cchValueSize); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 index, EUGCContentDescriptorID *pvecDescriptors, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecDescriptors = pvecDescriptors, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors(_this->u_iface, handle, index, pvecDescriptors, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest(struct w_steam_iface *_this, UGCQueryHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup(struct w_steam_iface *_this, UGCQueryHandle_t handle, const SteamParamStringArray_t *pTagGroups) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagGroups = pTagGroups, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup(_this->u_iface, handle, pTagGroups); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pTagName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag(_this->u_iface, handle, pTagName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs(_this->u_iface, handle, bReturnOnlyIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags(_this->u_iface, handle, bReturnKeyValueTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription(_this->u_iface, handle, bReturnLongDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnMetadata) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata(_this->u_iface, handle, bReturnMetadata); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnChildren) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren(_this->u_iface, handle, bReturnChildren); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews(_this->u_iface, handle, bReturnAdditionalPreviews); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly(_this->u_iface, handle, bReturnTotalOnly); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse(_this->u_iface, handle, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pMatchCloudFileName) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter(_this->u_iface, handle, pMatchCloudFileName); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag(_this->u_iface, handle, bMatchAnyTag); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pSearchText) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText(_this->u_iface, handle, pSearchText); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays(struct w_steam_iface *_this, UGCQueryHandle_t handle, uint32 unDays) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays(_this->u_iface, handle, unDays); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange(struct w_steam_iface *_this, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .rtStart = rtStart, + .rtEnd = rtEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange(_this->u_iface, handle, rtStart, rtEnd); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange(struct w_steam_iface *_this, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .rtStart = rtStart, + .rtEnd = rtEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange(_this->u_iface, handle, rtStart, rtEnd); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag(struct w_steam_iface *_this, UGCQueryHandle_t handle, const char *pKey, const char *pValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag(_this->u_iface, handle, pKey, pValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails(_this->u_iface, nPublishedFileID, unMaxAgeSeconds); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem(struct w_steam_iface *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem(_this->u_iface, nConsumerAppId, eFileType); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem( ¶ms ); + return params._ret; } UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate(struct w_steam_iface *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) { - UGCUpdateHandle_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate(_this->u_iface, nConsumerAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchTitle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle(_this->u_iface, handle, pchTitle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchDescription) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription(_this->u_iface, handle, pchDescription); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchLanguage) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage(_this->u_iface, handle, pchLanguage); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchMetaData) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata(_this->u_iface, handle, pchMetaData); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility(struct w_steam_iface *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility(_this->u_iface, handle, eVisibility); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags(struct w_steam_iface *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags, bool bAllowAdminTags) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + .bAllowAdminTags = bAllowAdminTags, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags(_this->u_iface, updateHandle, pTags, bAllowAdminTags); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszContentFolder) { - bool _ret; - const char *u_pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + params.pszContentFolder = steamclient_dos_to_unix_path( pszContentFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent(_this->u_iface, handle, pszContentFolder ? u_pszContentFolder : NULL); - steamclient_free_path( u_pszContentFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent( ¶ms ); + steamclient_free_path( params.pszContentFolder ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload(struct w_steam_iface *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload(_this->u_iface, handle, bAllowLegacyUpload); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags(_this->u_iface, handle); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags(_this->u_iface, handle, pchKey); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag(_this->u_iface, handle, pchKey, pchValue); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile(_this->u_iface, handle, pszPreviewFile ? u_pszPreviewFile : NULL, type); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo(_this->u_iface, handle, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile) { - bool _ret; - const char *u_pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; + params.pszPreviewFile = steamclient_dos_to_unix_path( pszPreviewFile, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile(_this->u_iface, handle, index, pszPreviewFile ? u_pszPreviewFile : NULL); - steamclient_free_path( u_pszPreviewFile ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile( ¶ms ); + steamclient_free_path( params.pszPreviewFile ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo(_this->u_iface, handle, index, pszVideoID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint32 index) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview(_this->u_iface, handle, index); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor(struct w_steam_iface *_this, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .descid = descid, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor(_this->u_iface, handle, descid); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor(struct w_steam_iface *_this, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .descid = descid, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor(_this->u_iface, handle, descid); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate(struct w_steam_iface *_this, UGCUpdateHandle_t handle, const char *pchChangeNote) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate(_this->u_iface, handle, pchChangeNote); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate( ¶ms ); + return params._ret; } EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress(struct w_steam_iface *_this, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal) { - EItemUpdateStatus _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress(_this->u_iface, handle, punBytesProcessed, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote(_this->u_iface, nPublishedFileID, bVoteUp); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites(struct w_steam_iface *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites(_this->u_iface, nAppId, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems(_this->u_iface, pvecPublishedFileID, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo(_this->u_iface, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(_ret, pchFolder, pchFolder, cchFolderSize, 0); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchFolder, pchFolder, cchFolderSize, 0 ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo(_this->u_iface, nPublishedFileID, punBytesDownloaded, punBytesTotal); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem(_this->u_iface, nPublishedFileID, bHighPriority); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer(struct w_steam_iface *_this, DepotId_t unWorkshopDepotID, const char *pszFolder) { - bool _ret; - const char *u_pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; + params.pszFolder = steamclient_dos_to_unix_path( pszFolder, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer(_this->u_iface, unWorkshopDepotID, pszFolder ? u_pszFolder : NULL); - steamclient_free_path( u_pszFolder ); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer( ¶ms ); + steamclient_free_path( params.pszFolder ); + return params._ret; } void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads(struct w_steam_iface *_this, bool bSuspend) { + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads(_this->u_iface, bSuspend); + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads( ¶ms ); } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking(struct w_steam_iface *_this, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking(_this->u_iface, pvecPublishedFileID, unNumPublishedFileIDs); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency(struct w_steam_iface *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency(_this->u_iface, nParentPublishedFileID, nChildPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency(_this->u_iface, nPublishedFileID, nAppID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem(struct w_steam_iface *_this, PublishedFileId_t nPublishedFileID) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem(_this->u_iface, nPublishedFileID); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem( ¶ms ); + return params._ret; } bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus(_this->u_iface); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences(struct w_steam_iface *_this, EUGCContentDescriptorID *pvecDescriptors, uint32 cMaxEntries) { - uint32 _ret; + struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences_params params = + { + .linux_side = _this->u_iface, + .pvecDescriptors = pvecDescriptors, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - _ret = cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences(_this->u_iface, pvecDescriptors, cMaxEntries); - return _ret; + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION018_vtable; diff --git a/lsteamclient/winISteamUnifiedMessages.c b/lsteamclient/winISteamUnifiedMessages.c index cc192691..38d611bd 100644 --- a/lsteamclient/winISteamUnifiedMessages.c +++ b/lsteamclient/winISteamUnifiedMessages.c @@ -23,42 +23,72 @@ DEFINE_THISCALL_WRAPPER(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_ ClientUnifiedMessageHandle __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod(struct w_steam_iface *_this, const char *pchServiceMethod, const void *pRequestBuffer, uint32 unRequestBufferSize, uint64 unContext) { - ClientUnifiedMessageHandle _ret; + struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod_params params = + { + .linux_side = _this->u_iface, + .pchServiceMethod = pchServiceMethod, + .pRequestBuffer = pRequestBuffer, + .unRequestBufferSize = unRequestBufferSize, + .unContext = unContext, + }; TRACE("%p\n", _this); - _ret = cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod(_this->u_iface, pchServiceMethod, pRequestBuffer, unRequestBufferSize, unContext); - return _ret; + cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod( ¶ms ); + return params._ret; } bool __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo(struct w_steam_iface *_this, ClientUnifiedMessageHandle hHandle, uint32 *punResponseSize, EResult *peResult) { - bool _ret; + struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo_params params = + { + .linux_side = _this->u_iface, + .hHandle = hHandle, + .punResponseSize = punResponseSize, + .peResult = peResult, + }; TRACE("%p\n", _this); - _ret = cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo(_this->u_iface, hHandle, punResponseSize, peResult); - return _ret; + cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData(struct w_steam_iface *_this, ClientUnifiedMessageHandle hHandle, void *pResponseBuffer, uint32 unResponseBufferSize, bool bAutoRelease) { - bool _ret; + struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData_params params = + { + .linux_side = _this->u_iface, + .hHandle = hHandle, + .pResponseBuffer = pResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + .bAutoRelease = bAutoRelease, + }; TRACE("%p\n", _this); - _ret = cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData(_this->u_iface, hHandle, pResponseBuffer, unResponseBufferSize, bAutoRelease); - return _ret; + cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData( ¶ms ); + return params._ret; } bool __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod(struct w_steam_iface *_this, ClientUnifiedMessageHandle hHandle) { - bool _ret; + struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod_params params = + { + .linux_side = _this->u_iface, + .hHandle = hHandle, + }; TRACE("%p\n", _this); - _ret = cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod(_this->u_iface, hHandle); - return _ret; + cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod( ¶ms ); + return params._ret; } bool __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification(struct w_steam_iface *_this, const char *pchServiceNotification, const void *pNotificationBuffer, uint32 unNotificationBufferSize) { - bool _ret; + struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification_params params = + { + .linux_side = _this->u_iface, + .pchServiceNotification = pchServiceNotification, + .pNotificationBuffer = pNotificationBuffer, + .unNotificationBufferSize = unNotificationBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification(_this->u_iface, pchServiceNotification, pNotificationBuffer, unNotificationBufferSize); - return _ret; + cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_vtable; diff --git a/lsteamclient/winISteamUser.c b/lsteamclient/winISteamUser.c index 1e012b8a..209556cc 100644 --- a/lsteamclient/winISteamUser.c +++ b/lsteamclient/winISteamUser.c @@ -44,189 +44,318 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_RequestLegacyCDKey, 8) HSteamUser __thiscall winISteamUser_SteamUser004_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser004_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser004_GetHSteamUser( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser004_LogOn(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser004_LogOn_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_LogOn(_this->u_iface, steamID); + cppISteamUser_SteamUser004_LogOn( ¶ms ); } void __thiscall winISteamUser_SteamUser004_LogOff(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser004_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_LogOff(_this->u_iface); + cppISteamUser_SteamUser004_LogOff( ¶ms ); } bool __thiscall winISteamUser_SteamUser004_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser004_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser004_BLoggedOn( ¶ms ); + return params._ret; } ELogonState __thiscall winISteamUser_SteamUser004_GetLogonState(struct w_steam_iface *_this) { - ELogonState _ret; + struct cppISteamUser_SteamUser004_GetLogonState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_GetLogonState(_this->u_iface); - return _ret; + cppISteamUser_SteamUser004_GetLogonState( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser004_BConnected(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser004_BConnected_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_BConnected(_this->u_iface); - return _ret; + cppISteamUser_SteamUser004_BConnected( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser004_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser004_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser004_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser004_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser004_IsVACBanned(struct w_steam_iface *_this, int nGameID) { - bool _ret; + struct cppISteamUser_SteamUser004_IsVACBanned_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_IsVACBanned(_this->u_iface, nGameID); - return _ret; + cppISteamUser_SteamUser004_IsVACBanned( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser004_RequireShowVACBannedMessage(struct w_steam_iface *_this, int nGameID) { - bool _ret; + struct cppISteamUser_SteamUser004_RequireShowVACBannedMessage_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_RequireShowVACBannedMessage(_this->u_iface, nGameID); - return _ret; + cppISteamUser_SteamUser004_RequireShowVACBannedMessage( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser004_AcknowledgeVACBanning(struct w_steam_iface *_this, int nGameID) { + struct cppISteamUser_SteamUser004_AcknowledgeVACBanning_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_AcknowledgeVACBanning(_this->u_iface, nGameID); + cppISteamUser_SteamUser004_AcknowledgeVACBanning( ¶ms ); } int __thiscall winISteamUser_SteamUser004_NClientGameIDAdd(struct w_steam_iface *_this, int nGameID) { - int _ret; + struct cppISteamUser_SteamUser004_NClientGameIDAdd_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_NClientGameIDAdd(_this->u_iface, nGameID); - return _ret; + cppISteamUser_SteamUser004_NClientGameIDAdd( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser004_RemoveClientGame(struct w_steam_iface *_this, int nClientGameID) { + struct cppISteamUser_SteamUser004_RemoveClientGame_params params = + { + .linux_side = _this->u_iface, + .nClientGameID = nClientGameID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_RemoveClientGame(_this->u_iface, nClientGameID); + cppISteamUser_SteamUser004_RemoveClientGame( ¶ms ); } void __thiscall winISteamUser_SteamUser004_SetClientGameServer(struct w_steam_iface *_this, int nClientGameID, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser004_SetClientGameServer_params params = + { + .linux_side = _this->u_iface, + .nClientGameID = nClientGameID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_SetClientGameServer(_this->u_iface, nClientGameID, unIPServer, usPortServer); + cppISteamUser_SteamUser004_SetClientGameServer( ¶ms ); } void __thiscall winISteamUser_SteamUser004_SetSteam2Ticket(struct w_steam_iface *_this, uint8 *pubTicket, int cubTicket) { + struct cppISteamUser_SteamUser004_SetSteam2Ticket_params params = + { + .linux_side = _this->u_iface, + .pubTicket = pubTicket, + .cubTicket = cubTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_SetSteam2Ticket(_this->u_iface, pubTicket, cubTicket); + cppISteamUser_SteamUser004_SetSteam2Ticket( ¶ms ); } void __thiscall winISteamUser_SteamUser004_AddServerNetAddress(struct w_steam_iface *_this, uint32 unIP, uint16 unPort) { + struct cppISteamUser_SteamUser004_AddServerNetAddress_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .unPort = unPort, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_AddServerNetAddress(_this->u_iface, unIP, unPort); + cppISteamUser_SteamUser004_AddServerNetAddress( ¶ms ); } bool __thiscall winISteamUser_SteamUser004_SetEmail(struct w_steam_iface *_this, const char *pchEmail) { - bool _ret; + struct cppISteamUser_SteamUser004_SetEmail_params params = + { + .linux_side = _this->u_iface, + .pchEmail = pchEmail, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_SetEmail(_this->u_iface, pchEmail); - return _ret; + cppISteamUser_SteamUser004_SetEmail( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser004_GetSteamGameConnectToken(struct w_steam_iface *_this, void *pBlob, int cbMaxBlob) { - int _ret; + struct cppISteamUser_SteamUser004_GetSteamGameConnectToken_params params = + { + .linux_side = _this->u_iface, + .pBlob = pBlob, + .cbMaxBlob = cbMaxBlob, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_GetSteamGameConnectToken(_this->u_iface, pBlob, cbMaxBlob); - return _ret; + cppISteamUser_SteamUser004_GetSteamGameConnectToken( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser004_SetRegistryString(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUser_SteamUser004_SetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_SetRegistryString(_this->u_iface, eRegistrySubTree, pchKey, pchValue); - return _ret; + cppISteamUser_SteamUser004_SetRegistryString( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser004_GetRegistryString(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, char *pchValue, int cbValue) { - bool _ret; + struct cppISteamUser_SteamUser004_GetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + .cbValue = cbValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_GetRegistryString(_this->u_iface, eRegistrySubTree, pchKey, pchValue, cbValue); - return _ret; + cppISteamUser_SteamUser004_GetRegistryString( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser004_SetRegistryInt(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, int iValue) { - bool _ret; + struct cppISteamUser_SteamUser004_SetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .iValue = iValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_SetRegistryInt(_this->u_iface, eRegistrySubTree, pchKey, iValue); - return _ret; + cppISteamUser_SteamUser004_SetRegistryInt( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser004_GetRegistryInt(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, int *piValue) { - bool _ret; + struct cppISteamUser_SteamUser004_GetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .piValue = piValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_GetRegistryInt(_this->u_iface, eRegistrySubTree, pchKey, piValue); - return _ret; + cppISteamUser_SteamUser004_GetRegistryInt( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser004_InitiateGameConnection(struct w_steam_iface *_this, void *pBlob, int cbMaxBlob, CSteamID steamID, int nGameAppID, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser004_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pBlob = pBlob, + .cbMaxBlob = cbMaxBlob, + .steamID = steamID, + .nGameAppID = nGameAppID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_InitiateGameConnection(_this->u_iface, pBlob, cbMaxBlob, steamID, nGameAppID, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser004_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser004_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser004_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser004_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination(_this->u_iface); + cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination( ¶ms ); } bool __thiscall winISteamUser_SteamUser004_IsPrimaryChatDestination(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser004_IsPrimaryChatDestination_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser004_IsPrimaryChatDestination(_this->u_iface); - return _ret; + cppISteamUser_SteamUser004_IsPrimaryChatDestination( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser004_RequestLegacyCDKey(struct w_steam_iface *_this, uint32 iAppID) { + struct cppISteamUser_SteamUser004_RequestLegacyCDKey_params params = + { + .linux_side = _this->u_iface, + .iAppID = iAppID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_RequestLegacyCDKey(_this->u_iface, iAppID); + cppISteamUser_SteamUser004_RequestLegacyCDKey( ¶ms ); } extern vtable_ptr winISteamUser_SteamUser004_vtable; @@ -319,287 +448,489 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetAccountCreationTime, 8) HSteamUser __thiscall winISteamUser_SteamUser005_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser005_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser005_GetHSteamUser( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser005_LogOn(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser005_LogOn_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_LogOn(_this->u_iface, steamID); + cppISteamUser_SteamUser005_LogOn( ¶ms ); } void __thiscall winISteamUser_SteamUser005_LogOff(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser005_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_LogOff(_this->u_iface); + cppISteamUser_SteamUser005_LogOff( ¶ms ); } bool __thiscall winISteamUser_SteamUser005_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser005_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser005_BLoggedOn( ¶ms ); + return params._ret; } ELogonState __thiscall winISteamUser_SteamUser005_GetLogonState(struct w_steam_iface *_this) { - ELogonState _ret; + struct cppISteamUser_SteamUser005_GetLogonState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_GetLogonState(_this->u_iface); - return _ret; + cppISteamUser_SteamUser005_GetLogonState( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_BConnected(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser005_BConnected_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_BConnected(_this->u_iface); - return _ret; + cppISteamUser_SteamUser005_BConnected( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser005_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser005_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser005_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser005_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_IsVACBanned(struct w_steam_iface *_this, int nGameID) { - bool _ret; + struct cppISteamUser_SteamUser005_IsVACBanned_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_IsVACBanned(_this->u_iface, nGameID); - return _ret; + cppISteamUser_SteamUser005_IsVACBanned( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_RequireShowVACBannedMessage(struct w_steam_iface *_this, int nAppID) { - bool _ret; + struct cppISteamUser_SteamUser005_RequireShowVACBannedMessage_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_RequireShowVACBannedMessage(_this->u_iface, nAppID); - return _ret; + cppISteamUser_SteamUser005_RequireShowVACBannedMessage( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser005_AcknowledgeVACBanning(struct w_steam_iface *_this, int nAppID) { + struct cppISteamUser_SteamUser005_AcknowledgeVACBanning_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_AcknowledgeVACBanning(_this->u_iface, nAppID); + cppISteamUser_SteamUser005_AcknowledgeVACBanning( ¶ms ); } void __thiscall winISteamUser_SteamUser005_SetSteam2Ticket(struct w_steam_iface *_this, uint8 *pubTicket, int cubTicket) { + struct cppISteamUser_SteamUser005_SetSteam2Ticket_params params = + { + .linux_side = _this->u_iface, + .pubTicket = pubTicket, + .cubTicket = cubTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_SetSteam2Ticket(_this->u_iface, pubTicket, cubTicket); + cppISteamUser_SteamUser005_SetSteam2Ticket( ¶ms ); } void __thiscall winISteamUser_SteamUser005_AddServerNetAddress(struct w_steam_iface *_this, uint32 unIP, uint16 unPort) { + struct cppISteamUser_SteamUser005_AddServerNetAddress_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .unPort = unPort, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_AddServerNetAddress(_this->u_iface, unIP, unPort); + cppISteamUser_SteamUser005_AddServerNetAddress( ¶ms ); } bool __thiscall winISteamUser_SteamUser005_SetEmail(struct w_steam_iface *_this, const char *pchEmail) { - bool _ret; + struct cppISteamUser_SteamUser005_SetEmail_params params = + { + .linux_side = _this->u_iface, + .pchEmail = pchEmail, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_SetEmail(_this->u_iface, pchEmail); - return _ret; + cppISteamUser_SteamUser005_SetEmail( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_SetRegistryString(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUser_SteamUser005_SetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_SetRegistryString(_this->u_iface, eRegistrySubTree, pchKey, pchValue); - return _ret; + cppISteamUser_SteamUser005_SetRegistryString( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_GetRegistryString(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, char *pchValue, int cbValue) { - bool _ret; + struct cppISteamUser_SteamUser005_GetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + .cbValue = cbValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_GetRegistryString(_this->u_iface, eRegistrySubTree, pchKey, pchValue, cbValue); - return _ret; + cppISteamUser_SteamUser005_GetRegistryString( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_SetRegistryInt(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, int iValue) { - bool _ret; + struct cppISteamUser_SteamUser005_SetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .iValue = iValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_SetRegistryInt(_this->u_iface, eRegistrySubTree, pchKey, iValue); - return _ret; + cppISteamUser_SteamUser005_SetRegistryInt( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_GetRegistryInt(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, int *piValue) { - bool _ret; + struct cppISteamUser_SteamUser005_GetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .piValue = piValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_GetRegistryInt(_this->u_iface, eRegistrySubTree, pchKey, piValue); - return _ret; + cppISteamUser_SteamUser005_GetRegistryInt( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser005_InitiateGameConnection(struct w_steam_iface *_this, void *pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser005_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pBlob = pBlob, + .cbMaxBlob = cbMaxBlob, + .steamID = steamID, + .gameID = gameID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_InitiateGameConnection(_this->u_iface, pBlob, cbMaxBlob, steamID, gameID, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser005_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser005_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser005_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser005_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination(_this->u_iface); + cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination( ¶ms ); } bool __thiscall winISteamUser_SteamUser005_IsPrimaryChatDestination(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser005_IsPrimaryChatDestination_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_IsPrimaryChatDestination(_this->u_iface); - return _ret; + cppISteamUser_SteamUser005_IsPrimaryChatDestination( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser005_RequestLegacyCDKey(struct w_steam_iface *_this, uint32 nAppID) { + struct cppISteamUser_SteamUser005_RequestLegacyCDKey_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_RequestLegacyCDKey(_this->u_iface, nAppID); + cppISteamUser_SteamUser005_RequestLegacyCDKey( ¶ms ); } bool __thiscall winISteamUser_SteamUser005_SendGuestPassByEmail(struct w_steam_iface *_this, const char *pchEmailAccount, GID_t gidGuestPassID, bool bResending) { - bool _ret; + struct cppISteamUser_SteamUser005_SendGuestPassByEmail_params params = + { + .linux_side = _this->u_iface, + .pchEmailAccount = pchEmailAccount, + .gidGuestPassID = gidGuestPassID, + .bResending = bResending, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_SendGuestPassByEmail(_this->u_iface, pchEmailAccount, gidGuestPassID, bResending); - return _ret; + cppISteamUser_SteamUser005_SendGuestPassByEmail( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_SendGuestPassByAccountID(struct w_steam_iface *_this, uint32 uAccountID, GID_t gidGuestPassID, bool bResending) { - bool _ret; + struct cppISteamUser_SteamUser005_SendGuestPassByAccountID_params params = + { + .linux_side = _this->u_iface, + .uAccountID = uAccountID, + .gidGuestPassID = gidGuestPassID, + .bResending = bResending, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_SendGuestPassByAccountID(_this->u_iface, uAccountID, gidGuestPassID, bResending); - return _ret; + cppISteamUser_SteamUser005_SendGuestPassByAccountID( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_AckGuestPass(struct w_steam_iface *_this, const char *pchGuestPassCode) { - bool _ret; + struct cppISteamUser_SteamUser005_AckGuestPass_params params = + { + .linux_side = _this->u_iface, + .pchGuestPassCode = pchGuestPassCode, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_AckGuestPass(_this->u_iface, pchGuestPassCode); - return _ret; + cppISteamUser_SteamUser005_AckGuestPass( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_RedeemGuestPass(struct w_steam_iface *_this, const char *pchGuestPassCode) { - bool _ret; + struct cppISteamUser_SteamUser005_RedeemGuestPass_params params = + { + .linux_side = _this->u_iface, + .pchGuestPassCode = pchGuestPassCode, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_RedeemGuestPass(_this->u_iface, pchGuestPassCode); - return _ret; + cppISteamUser_SteamUser005_RedeemGuestPass( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUser_SteamUser005_GetGuestPassToGiveCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUser_SteamUser005_GetGuestPassToGiveCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_GetGuestPassToGiveCount(_this->u_iface); - return _ret; + cppISteamUser_SteamUser005_GetGuestPassToGiveCount( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUser_SteamUser005_GetGuestPassToRedeemCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUser_SteamUser005_GetGuestPassToRedeemCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_GetGuestPassToRedeemCount(_this->u_iface); - return _ret; + cppISteamUser_SteamUser005_GetGuestPassToRedeemCount( ¶ms ); + return params._ret; } RTime32 __thiscall winISteamUser_SteamUser005_GetGuestPassLastUpdateTime(struct w_steam_iface *_this) { - RTime32 _ret; + struct cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime(_this->u_iface); - return _ret; + cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_GetGuestPassToGiveInfo(struct w_steam_iface *_this, uint32 nPassIndex, GID_t *pgidGuestPassID, PackageId_t *pnPackageID, RTime32 *pRTime32Created, RTime32 *pRTime32Expiration, RTime32 *pRTime32Sent, RTime32 *pRTime32Redeemed, char *pchRecipientAddress, int cRecipientAddressSize) { - bool _ret; + struct cppISteamUser_SteamUser005_GetGuestPassToGiveInfo_params params = + { + .linux_side = _this->u_iface, + .nPassIndex = nPassIndex, + .pgidGuestPassID = pgidGuestPassID, + .pnPackageID = pnPackageID, + .pRTime32Created = pRTime32Created, + .pRTime32Expiration = pRTime32Expiration, + .pRTime32Sent = pRTime32Sent, + .pRTime32Redeemed = pRTime32Redeemed, + .pchRecipientAddress = pchRecipientAddress, + .cRecipientAddressSize = cRecipientAddressSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_GetGuestPassToGiveInfo(_this->u_iface, nPassIndex, pgidGuestPassID, pnPackageID, pRTime32Created, pRTime32Expiration, pRTime32Sent, pRTime32Redeemed, pchRecipientAddress, cRecipientAddressSize); - return _ret; + cppISteamUser_SteamUser005_GetGuestPassToGiveInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_GetGuestPassToRedeemInfo(struct w_steam_iface *_this, uint32 nPassIndex, GID_t *pgidGuestPassID, PackageId_t *pnPackageID, RTime32 *pRTime32Created, RTime32 *pRTime32Expiration, RTime32 *pRTime32Sent, RTime32 *pRTime32Redeemed) { - bool _ret; + struct cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo_params params = + { + .linux_side = _this->u_iface, + .nPassIndex = nPassIndex, + .pgidGuestPassID = pgidGuestPassID, + .pnPackageID = pnPackageID, + .pRTime32Created = pRTime32Created, + .pRTime32Expiration = pRTime32Expiration, + .pRTime32Sent = pRTime32Sent, + .pRTime32Redeemed = pRTime32Redeemed, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo(_this->u_iface, nPassIndex, pgidGuestPassID, pnPackageID, pRTime32Created, pRTime32Expiration, pRTime32Sent, pRTime32Redeemed); - return _ret; + cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress(struct w_steam_iface *_this, uint32 nPassIndex, char *pchSenderAddress, int cSenderAddressSize) { - bool _ret; + struct cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress_params params = + { + .linux_side = _this->u_iface, + .nPassIndex = nPassIndex, + .pchSenderAddress = pchSenderAddress, + .cSenderAddressSize = cSenderAddressSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress(_this->u_iface, nPassIndex, pchSenderAddress, cSenderAddressSize); - return _ret; + cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser005_GetGuestPassToRedeemSenderName(struct w_steam_iface *_this, uint32 nPassIndex, char *pchSenderName, int cSenderNameSize) { - bool _ret; + struct cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName_params params = + { + .linux_side = _this->u_iface, + .nPassIndex = nPassIndex, + .pchSenderName = pchSenderName, + .cSenderNameSize = cSenderNameSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName(_this->u_iface, nPassIndex, pchSenderName, cSenderNameSize); - return _ret; + cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser005_AcknowledgeMessageByGID(struct w_steam_iface *_this, const char *pchMessageGID) { + struct cppISteamUser_SteamUser005_AcknowledgeMessageByGID_params params = + { + .linux_side = _this->u_iface, + .pchMessageGID = pchMessageGID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_AcknowledgeMessageByGID(_this->u_iface, pchMessageGID); + cppISteamUser_SteamUser005_AcknowledgeMessageByGID( ¶ms ); } bool __thiscall winISteamUser_SteamUser005_SetLanguage(struct w_steam_iface *_this, const char *pchLanguage) { - bool _ret; + struct cppISteamUser_SteamUser005_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser005_SetLanguage(_this->u_iface, pchLanguage); - return _ret; + cppISteamUser_SteamUser005_SetLanguage( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser005_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser005_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser005_TrackAppUsageEvent( ¶ms ); } void __thiscall winISteamUser_SteamUser005_SetAccountName(struct w_steam_iface *_this, const char *pchAccountName) { + struct cppISteamUser_SteamUser005_SetAccountName_params params = + { + .linux_side = _this->u_iface, + .pchAccountName = pchAccountName, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_SetAccountName(_this->u_iface, pchAccountName); + cppISteamUser_SteamUser005_SetAccountName( ¶ms ); } void __thiscall winISteamUser_SteamUser005_SetPassword(struct w_steam_iface *_this, const char *pchPassword) { + struct cppISteamUser_SteamUser005_SetPassword_params params = + { + .linux_side = _this->u_iface, + .pchPassword = pchPassword, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_SetPassword(_this->u_iface, pchPassword); + cppISteamUser_SteamUser005_SetPassword( ¶ms ); } void __thiscall winISteamUser_SteamUser005_SetAccountCreationTime(struct w_steam_iface *_this, RTime32 rt) { + struct cppISteamUser_SteamUser005_SetAccountCreationTime_params params = + { + .linux_side = _this->u_iface, + .rt = rt, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_SetAccountCreationTime(_this->u_iface, rt); + cppISteamUser_SteamUser005_SetAccountCreationTime( ¶ms ); } extern vtable_ptr winISteamUser_SteamUser005_vtable; @@ -678,89 +1009,157 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_TrackAppUsageEvent, 20) HSteamUser __thiscall winISteamUser_SteamUser006_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser006_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser006_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser006_GetHSteamUser( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser006_LogOn(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser006_LogOn_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser006_LogOn(_this->u_iface, steamID); + cppISteamUser_SteamUser006_LogOn( ¶ms ); } void __thiscall winISteamUser_SteamUser006_LogOff(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser006_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser006_LogOff(_this->u_iface); + cppISteamUser_SteamUser006_LogOff( ¶ms ); } bool __thiscall winISteamUser_SteamUser006_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser006_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser006_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser006_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser006_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser006_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser006_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser006_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser006_SetRegistryString(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUser_SteamUser006_SetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser006_SetRegistryString(_this->u_iface, eRegistrySubTree, pchKey, pchValue); - return _ret; + cppISteamUser_SteamUser006_SetRegistryString( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser006_GetRegistryString(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, char *pchValue, int cbValue) { - bool _ret; + struct cppISteamUser_SteamUser006_GetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + .cbValue = cbValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser006_GetRegistryString(_this->u_iface, eRegistrySubTree, pchKey, pchValue, cbValue); - return _ret; + cppISteamUser_SteamUser006_GetRegistryString( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser006_SetRegistryInt(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, int iValue) { - bool _ret; + struct cppISteamUser_SteamUser006_SetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .iValue = iValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser006_SetRegistryInt(_this->u_iface, eRegistrySubTree, pchKey, iValue); - return _ret; + cppISteamUser_SteamUser006_SetRegistryInt( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser006_GetRegistryInt(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, int *piValue) { - bool _ret; + struct cppISteamUser_SteamUser006_GetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .piValue = piValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser006_GetRegistryInt(_this->u_iface, eRegistrySubTree, pchKey, piValue); - return _ret; + cppISteamUser_SteamUser006_GetRegistryInt( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser006_InitiateGameConnection(struct w_steam_iface *_this, void *pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser006_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pBlob = pBlob, + .cbMaxBlob = cbMaxBlob, + .steamID = steamID, + .gameID = gameID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser006_InitiateGameConnection(_this->u_iface, pBlob, cbMaxBlob, steamID, gameID, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser006_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser006_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser006_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser006_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser006_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser006_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser006_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser006_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser006_TrackAppUsageEvent( ¶ms ); } extern vtable_ptr winISteamUser_SteamUser006_vtable; @@ -813,95 +1212,169 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_RefreshSteam2Login, 4) HSteamUser __thiscall winISteamUser_SteamUser007_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser007_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser007_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser007_GetHSteamUser( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser007_LogOn(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser007_LogOn_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser007_LogOn(_this->u_iface, steamID); + cppISteamUser_SteamUser007_LogOn( ¶ms ); } void __thiscall winISteamUser_SteamUser007_LogOff(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser007_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser007_LogOff(_this->u_iface); + cppISteamUser_SteamUser007_LogOff( ¶ms ); } bool __thiscall winISteamUser_SteamUser007_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser007_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser007_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser007_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser007_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser007_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser007_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser007_GetSteamID( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser007_SetRegistryString(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, const char *pchValue) { - bool _ret; + struct cppISteamUser_SteamUser007_SetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser007_SetRegistryString(_this->u_iface, eRegistrySubTree, pchKey, pchValue); - return _ret; + cppISteamUser_SteamUser007_SetRegistryString( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser007_GetRegistryString(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, char *pchValue, int cbValue) { - bool _ret; + struct cppISteamUser_SteamUser007_GetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + .cbValue = cbValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser007_GetRegistryString(_this->u_iface, eRegistrySubTree, pchKey, pchValue, cbValue); - return _ret; + cppISteamUser_SteamUser007_GetRegistryString( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser007_SetRegistryInt(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, int iValue) { - bool _ret; + struct cppISteamUser_SteamUser007_SetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .iValue = iValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser007_SetRegistryInt(_this->u_iface, eRegistrySubTree, pchKey, iValue); - return _ret; + cppISteamUser_SteamUser007_SetRegistryInt( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser007_GetRegistryInt(struct w_steam_iface *_this, EConfigSubTree eRegistrySubTree, const char *pchKey, int *piValue) { - bool _ret; + struct cppISteamUser_SteamUser007_GetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .piValue = piValue, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser007_GetRegistryInt(_this->u_iface, eRegistrySubTree, pchKey, piValue); - return _ret; + cppISteamUser_SteamUser007_GetRegistryInt( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser007_InitiateGameConnection(struct w_steam_iface *_this, void *pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure, void *pvSteam2GetEncryptionKey, int cbSteam2GetEncryptionKey) { - int _ret; + struct cppISteamUser_SteamUser007_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pBlob = pBlob, + .cbMaxBlob = cbMaxBlob, + .steamID = steamID, + .gameID = gameID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + .pvSteam2GetEncryptionKey = pvSteam2GetEncryptionKey, + .cbSteam2GetEncryptionKey = cbSteam2GetEncryptionKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser007_InitiateGameConnection(_this->u_iface, pBlob, cbMaxBlob, steamID, gameID, unIPServer, usPortServer, bSecure, pvSteam2GetEncryptionKey, cbSteam2GetEncryptionKey); - return _ret; + cppISteamUser_SteamUser007_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser007_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser007_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser007_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser007_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser007_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser007_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser007_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser007_TrackAppUsageEvent( ¶ms ); } void __thiscall winISteamUser_SteamUser007_RefreshSteam2Login(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser007_RefreshSteam2Login_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser007_RefreshSteam2Login(_this->u_iface); + cppISteamUser_SteamUser007_RefreshSteam2Login( ¶ms ); } extern vtable_ptr winISteamUser_SteamUser007_vtable; @@ -949,51 +1422,91 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_RefreshSteam2Login, 4) HSteamUser __thiscall winISteamUser_SteamUser008_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser008_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser008_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser008_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser008_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser008_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser008_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser008_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser008_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser008_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser008_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser008_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser008_InitiateGameConnection(struct w_steam_iface *_this, void *pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure, void *pvSteam2GetEncryptionKey, int cbSteam2GetEncryptionKey) { - int _ret; + struct cppISteamUser_SteamUser008_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pBlob = pBlob, + .cbMaxBlob = cbMaxBlob, + .steamID = steamID, + .gameID = gameID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + .pvSteam2GetEncryptionKey = pvSteam2GetEncryptionKey, + .cbSteam2GetEncryptionKey = cbSteam2GetEncryptionKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser008_InitiateGameConnection(_this->u_iface, pBlob, cbMaxBlob, steamID, gameID, unIPServer, usPortServer, bSecure, pvSteam2GetEncryptionKey, cbSteam2GetEncryptionKey); - return _ret; + cppISteamUser_SteamUser008_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser008_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser008_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser008_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser008_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser008_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser008_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser008_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser008_TrackAppUsageEvent( ¶ms ); } void __thiscall winISteamUser_SteamUser008_RefreshSteam2Login(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser008_RefreshSteam2Login_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser008_RefreshSteam2Login(_this->u_iface); + cppISteamUser_SteamUser008_RefreshSteam2Login( ¶ms ); } extern vtable_ptr winISteamUser_SteamUser008_vtable; @@ -1035,51 +1548,89 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_RefreshSteam2Login, 4) HSteamUser __thiscall winISteamUser_SteamUser009_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser009_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser009_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser009_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser009_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser009_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser009_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser009_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser009_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser009_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser009_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser009_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser009_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser009_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .gameID = gameID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser009_InitiateGameConnection(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, gameID, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser009_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser009_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser009_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser009_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser009_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser009_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser009_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser009_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser009_TrackAppUsageEvent( ¶ms ); } void __thiscall winISteamUser_SteamUser009_RefreshSteam2Login(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser009_RefreshSteam2Login_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser009_RefreshSteam2Login(_this->u_iface); + cppISteamUser_SteamUser009_RefreshSteam2Login( ¶ms ); } extern vtable_ptr winISteamUser_SteamUser009_vtable; @@ -1120,45 +1671,78 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser010_TrackAppUsageEvent, 20) HSteamUser __thiscall winISteamUser_SteamUser010_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser010_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser010_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser010_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser010_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser010_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser010_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser010_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser010_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser010_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser010_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser010_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser010_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser010_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser010_InitiateGameConnection(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser010_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser010_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser010_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser010_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser010_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser010_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser010_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser010_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser010_TrackAppUsageEvent( ¶ms ); } extern vtable_ptr winISteamUser_SteamUser010_vtable; @@ -1203,82 +1787,142 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_DecompressVoice, 24) HSteamUser __thiscall winISteamUser_SteamUser011_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser011_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser011_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser011_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser011_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser011_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser011_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser011_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser011_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser011_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser011_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser011_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser011_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser011_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser011_InitiateGameConnection(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser011_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser011_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser011_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser011_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser011_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser011_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser011_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser011_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser011_TrackAppUsageEvent( ¶ms ); } bool __thiscall winISteamUser_SteamUser011_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int cubBuffer) { - bool _ret; + struct cppISteamUser_SteamUser011_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser011_GetUserDataFolder(_this->u_iface, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(_ret, pchBuffer, pchBuffer, cubBuffer, 0); - return _ret; + cppISteamUser_SteamUser011_GetUserDataFolder( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchBuffer, pchBuffer, cubBuffer, 0 ); + return params._ret; } void __thiscall winISteamUser_SteamUser011_StartVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser011_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser011_StartVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser011_StartVoiceRecording( ¶ms ); } void __thiscall winISteamUser_SteamUser011_StopVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser011_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser011_StopVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser011_StopVoiceRecording( ¶ms ); } EVoiceResult __thiscall winISteamUser_SteamUser011_GetCompressedVoice(struct w_steam_iface *_this, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser011_GetCompressedVoice_params params = + { + .linux_side = _this->u_iface, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser011_GetCompressedVoice(_this->u_iface, pDestBuffer, cbDestBufferSize, nBytesWritten); - return _ret; + cppISteamUser_SteamUser011_GetCompressedVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser011_DecompressVoice(struct w_steam_iface *_this, void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser011_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser011_DecompressVoice(_this->u_iface, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten); - return _ret; + cppISteamUser_SteamUser011_DecompressVoice( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUser_SteamUser011_vtable; @@ -1333,118 +1977,205 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_UserHasLicenseForApp, 16) HSteamUser __thiscall winISteamUser_SteamUser012_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser012_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser012_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser012_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser012_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser012_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser012_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser012_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser012_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser012_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser012_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser012_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser012_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser012_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser012_InitiateGameConnection(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser012_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser012_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser012_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser012_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser012_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser012_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser012_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser012_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser012_TrackAppUsageEvent( ¶ms ); } bool __thiscall winISteamUser_SteamUser012_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int cubBuffer) { - bool _ret; + struct cppISteamUser_SteamUser012_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser012_GetUserDataFolder(_this->u_iface, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(_ret, pchBuffer, pchBuffer, cubBuffer, 0); - return _ret; + cppISteamUser_SteamUser012_GetUserDataFolder( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchBuffer, pchBuffer, cubBuffer, 0 ); + return params._ret; } void __thiscall winISteamUser_SteamUser012_StartVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser012_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser012_StartVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser012_StartVoiceRecording( ¶ms ); } void __thiscall winISteamUser_SteamUser012_StopVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser012_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser012_StopVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser012_StopVoiceRecording( ¶ms ); } EVoiceResult __thiscall winISteamUser_SteamUser012_GetCompressedVoice(struct w_steam_iface *_this, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser012_GetCompressedVoice_params params = + { + .linux_side = _this->u_iface, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser012_GetCompressedVoice(_this->u_iface, pDestBuffer, cbDestBufferSize, nBytesWritten); - return _ret; + cppISteamUser_SteamUser012_GetCompressedVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser012_DecompressVoice(struct w_steam_iface *_this, void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser012_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser012_DecompressVoice(_this->u_iface, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten); - return _ret; + cppISteamUser_SteamUser012_DecompressVoice( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamUser_SteamUser012_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamUser_SteamUser012_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser012_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser012_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamUser_SteamUser012_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamUser_SteamUser012_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser012_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamUser_SteamUser012_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser012_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser012_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser012_EndAuthSession(_this->u_iface, steamID); + cppISteamUser_SteamUser012_EndAuthSession( ¶ms ); } void __thiscall winISteamUser_SteamUser012_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamUser_SteamUser012_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser012_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamUser_SteamUser012_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser012_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamUser_SteamUser012_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser012_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamUser_SteamUser012_UserHasLicenseForApp( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUser_SteamUser012_vtable; @@ -1505,126 +2236,223 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_UserHasLicenseForApp, 16) HSteamUser __thiscall winISteamUser_SteamUser013_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser013_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser013_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser013_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser013_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser013_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser013_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser013_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser013_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser013_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser013_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser013_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser013_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser013_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser013_InitiateGameConnection(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser013_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser013_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser013_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser013_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser013_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser013_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser013_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser013_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser013_TrackAppUsageEvent( ¶ms ); } bool __thiscall winISteamUser_SteamUser013_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int cubBuffer) { - bool _ret; + struct cppISteamUser_SteamUser013_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser013_GetUserDataFolder(_this->u_iface, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(_ret, pchBuffer, pchBuffer, cubBuffer, 0); - return _ret; + cppISteamUser_SteamUser013_GetUserDataFolder( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchBuffer, pchBuffer, cubBuffer, 0 ); + return params._ret; } void __thiscall winISteamUser_SteamUser013_StartVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser013_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser013_StartVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser013_StartVoiceRecording( ¶ms ); } void __thiscall winISteamUser_SteamUser013_StopVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser013_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser013_StopVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser013_StopVoiceRecording( ¶ms ); } EVoiceResult __thiscall winISteamUser_SteamUser013_GetAvailableVoice(struct w_steam_iface *_this, uint32 *pcbCompressed, uint32 *pcbUncompressed) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser013_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed = pcbUncompressed, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser013_GetAvailableVoice(_this->u_iface, pcbCompressed, pcbUncompressed); - return _ret; + cppISteamUser_SteamUser013_GetAvailableVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser013_GetVoice(struct w_steam_iface *_this, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed, void *pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 *nUncompressBytesWritten) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser013_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed = bWantUncompressed, + .pUncompressedDestBuffer = pUncompressedDestBuffer, + .cbUncompressedDestBufferSize = cbUncompressedDestBufferSize, + .nUncompressBytesWritten = nUncompressBytesWritten, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser013_GetVoice(_this->u_iface, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, nUncompressBytesWritten); - return _ret; + cppISteamUser_SteamUser013_GetVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser013_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser013_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser013_DecompressVoice(_this->u_iface, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten); - return _ret; + cppISteamUser_SteamUser013_DecompressVoice( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamUser_SteamUser013_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamUser_SteamUser013_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser013_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser013_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamUser_SteamUser013_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamUser_SteamUser013_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser013_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamUser_SteamUser013_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser013_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser013_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser013_EndAuthSession(_this->u_iface, steamID); + cppISteamUser_SteamUser013_EndAuthSession( ¶ms ); } void __thiscall winISteamUser_SteamUser013_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamUser_SteamUser013_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser013_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamUser_SteamUser013_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser013_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamUser_SteamUser013_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser013_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamUser_SteamUser013_UserHasLicenseForApp( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUser_SteamUser013_vtable; @@ -1690,156 +2518,274 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetEncryptedAppTicket, 16) HSteamUser __thiscall winISteamUser_SteamUser014_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser014_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser014_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser014_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser014_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser014_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser014_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser014_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser014_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser014_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser014_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser014_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser014_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser014_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser014_InitiateGameConnection(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser014_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser014_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser014_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser014_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser014_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser014_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser014_TrackAppUsageEvent( ¶ms ); } bool __thiscall winISteamUser_SteamUser014_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int cubBuffer) { - bool _ret; + struct cppISteamUser_SteamUser014_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser014_GetUserDataFolder(_this->u_iface, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(_ret, pchBuffer, pchBuffer, cubBuffer, 0); - return _ret; + cppISteamUser_SteamUser014_GetUserDataFolder( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchBuffer, pchBuffer, cubBuffer, 0 ); + return params._ret; } void __thiscall winISteamUser_SteamUser014_StartVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser014_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_StartVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser014_StartVoiceRecording( ¶ms ); } void __thiscall winISteamUser_SteamUser014_StopVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser014_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_StopVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser014_StopVoiceRecording( ¶ms ); } EVoiceResult __thiscall winISteamUser_SteamUser014_GetAvailableVoice(struct w_steam_iface *_this, uint32 *pcbCompressed, uint32 *pcbUncompressed) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser014_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed = pcbUncompressed, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser014_GetAvailableVoice(_this->u_iface, pcbCompressed, pcbUncompressed); - return _ret; + cppISteamUser_SteamUser014_GetAvailableVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser014_GetVoice(struct w_steam_iface *_this, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed, void *pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 *nUncompressBytesWritten) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser014_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed = bWantUncompressed, + .pUncompressedDestBuffer = pUncompressedDestBuffer, + .cbUncompressedDestBufferSize = cbUncompressedDestBufferSize, + .nUncompressBytesWritten = nUncompressBytesWritten, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser014_GetVoice(_this->u_iface, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, nUncompressBytesWritten); - return _ret; + cppISteamUser_SteamUser014_GetVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser014_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser014_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser014_DecompressVoice(_this->u_iface, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten); - return _ret; + cppISteamUser_SteamUser014_DecompressVoice( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamUser_SteamUser014_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamUser_SteamUser014_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser014_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser014_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamUser_SteamUser014_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamUser_SteamUser014_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser014_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamUser_SteamUser014_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser014_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser014_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_EndAuthSession(_this->u_iface, steamID); + cppISteamUser_SteamUser014_EndAuthSession( ¶ms ); } void __thiscall winISteamUser_SteamUser014_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamUser_SteamUser014_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamUser_SteamUser014_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser014_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamUser_SteamUser014_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser014_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamUser_SteamUser014_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser014_BIsBehindNAT(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser014_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser014_BIsBehindNAT(_this->u_iface); - return _ret; + cppISteamUser_SteamUser014_BIsBehindNAT( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser014_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser014_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_AdvertiseGame(_this->u_iface, steamIDGameServer, unIPServer, usPortServer); + cppISteamUser_SteamUser014_AdvertiseGame( ¶ms ); } SteamAPICall_t __thiscall winISteamUser_SteamUser014_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int cbDataToInclude) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser014_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser014_RequestEncryptedAppTicket(_this->u_iface, pDataToInclude, cbDataToInclude); - return _ret; + cppISteamUser_SteamUser014_RequestEncryptedAppTicket( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser014_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - bool _ret; + struct cppISteamUser_SteamUser014_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser014_GetEncryptedAppTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser014_GetEncryptedAppTicket( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUser_SteamUser014_vtable; @@ -1910,164 +2856,286 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetEncryptedAppTicket, 16) HSteamUser __thiscall winISteamUser_SteamUser015_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser015_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser015_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser015_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser015_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser015_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser015_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser015_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser015_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser015_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser015_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser015_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_InitiateGameConnection(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser015_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser015_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser015_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser015_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser015_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser015_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser015_TrackAppUsageEvent( ¶ms ); } bool __thiscall winISteamUser_SteamUser015_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int cubBuffer) { - bool _ret; + struct cppISteamUser_SteamUser015_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_GetUserDataFolder(_this->u_iface, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(_ret, pchBuffer, pchBuffer, cubBuffer, 0); - return _ret; + cppISteamUser_SteamUser015_GetUserDataFolder( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchBuffer, pchBuffer, cubBuffer, 0 ); + return params._ret; } void __thiscall winISteamUser_SteamUser015_StartVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser015_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_StartVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser015_StartVoiceRecording( ¶ms ); } void __thiscall winISteamUser_SteamUser015_StopVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser015_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_StopVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser015_StopVoiceRecording( ¶ms ); } EVoiceResult __thiscall winISteamUser_SteamUser015_GetAvailableVoice(struct w_steam_iface *_this, uint32 *pcbCompressed, uint32 *pcbUncompressed) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser015_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed = pcbUncompressed, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_GetAvailableVoice(_this->u_iface, pcbCompressed, pcbUncompressed); - return _ret; + cppISteamUser_SteamUser015_GetAvailableVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser015_GetVoice(struct w_steam_iface *_this, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed, void *pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 *nUncompressBytesWritten) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser015_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed = bWantUncompressed, + .pUncompressedDestBuffer = pUncompressedDestBuffer, + .cbUncompressedDestBufferSize = cbUncompressedDestBufferSize, + .nUncompressBytesWritten = nUncompressBytesWritten, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_GetVoice(_this->u_iface, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, nUncompressBytesWritten); - return _ret; + cppISteamUser_SteamUser015_GetVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser015_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser015_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_DecompressVoice(_this->u_iface, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser015_DecompressVoice( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUser_SteamUser015_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUser_SteamUser015_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_GetVoiceOptimalSampleRate(_this->u_iface); - return _ret; + cppISteamUser_SteamUser015_GetVoiceOptimalSampleRate( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamUser_SteamUser015_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamUser_SteamUser015_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser015_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamUser_SteamUser015_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamUser_SteamUser015_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamUser_SteamUser015_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser015_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser015_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_EndAuthSession(_this->u_iface, steamID); + cppISteamUser_SteamUser015_EndAuthSession( ¶ms ); } void __thiscall winISteamUser_SteamUser015_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamUser_SteamUser015_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamUser_SteamUser015_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser015_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamUser_SteamUser015_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamUser_SteamUser015_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser015_BIsBehindNAT(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser015_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_BIsBehindNAT(_this->u_iface); - return _ret; + cppISteamUser_SteamUser015_BIsBehindNAT( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser015_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser015_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_AdvertiseGame(_this->u_iface, steamIDGameServer, unIPServer, usPortServer); + cppISteamUser_SteamUser015_AdvertiseGame( ¶ms ); } SteamAPICall_t __thiscall winISteamUser_SteamUser015_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int cbDataToInclude) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser015_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_RequestEncryptedAppTicket(_this->u_iface, pDataToInclude, cbDataToInclude); - return _ret; + cppISteamUser_SteamUser015_RequestEncryptedAppTicket( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser015_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - bool _ret; + struct cppISteamUser_SteamUser015_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser015_GetEncryptedAppTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser015_GetEncryptedAppTicket( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUser_SteamUser015_vtable; @@ -2139,164 +3207,288 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetEncryptedAppTicket, 16) HSteamUser __thiscall winISteamUser_SteamUser016_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser016_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser016_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser016_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser016_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser016_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser016_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser016_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser016_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser016_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser016_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser016_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_InitiateGameConnection(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser016_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser016_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser016_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser016_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser016_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser016_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser016_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser016_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser016_TrackAppUsageEvent( ¶ms ); } bool __thiscall winISteamUser_SteamUser016_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int cubBuffer) { - bool _ret; + struct cppISteamUser_SteamUser016_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_GetUserDataFolder(_this->u_iface, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(_ret, pchBuffer, pchBuffer, cubBuffer, 0); - return _ret; + cppISteamUser_SteamUser016_GetUserDataFolder( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchBuffer, pchBuffer, cubBuffer, 0 ); + return params._ret; } void __thiscall winISteamUser_SteamUser016_StartVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser016_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser016_StartVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser016_StartVoiceRecording( ¶ms ); } void __thiscall winISteamUser_SteamUser016_StopVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser016_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser016_StopVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser016_StopVoiceRecording( ¶ms ); } EVoiceResult __thiscall winISteamUser_SteamUser016_GetAvailableVoice(struct w_steam_iface *_this, uint32 *pcbCompressed, uint32 *pcbUncompressed, uint32 nUncompressedVoiceDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser016_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed = pcbUncompressed, + .nUncompressedVoiceDesiredSampleRate = nUncompressedVoiceDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_GetAvailableVoice(_this->u_iface, pcbCompressed, pcbUncompressed, nUncompressedVoiceDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser016_GetAvailableVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser016_GetVoice(struct w_steam_iface *_this, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed, void *pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 *nUncompressBytesWritten, uint32 nUncompressedVoiceDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser016_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed = bWantUncompressed, + .pUncompressedDestBuffer = pUncompressedDestBuffer, + .cbUncompressedDestBufferSize = cbUncompressedDestBufferSize, + .nUncompressBytesWritten = nUncompressBytesWritten, + .nUncompressedVoiceDesiredSampleRate = nUncompressedVoiceDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_GetVoice(_this->u_iface, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser016_GetVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser016_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser016_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_DecompressVoice(_this->u_iface, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser016_DecompressVoice( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUser_SteamUser016_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate(_this->u_iface); - return _ret; + cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamUser_SteamUser016_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamUser_SteamUser016_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser016_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamUser_SteamUser016_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamUser_SteamUser016_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamUser_SteamUser016_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser016_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser016_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser016_EndAuthSession(_this->u_iface, steamID); + cppISteamUser_SteamUser016_EndAuthSession( ¶ms ); } void __thiscall winISteamUser_SteamUser016_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamUser_SteamUser016_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser016_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamUser_SteamUser016_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser016_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamUser_SteamUser016_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamUser_SteamUser016_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser016_BIsBehindNAT(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser016_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_BIsBehindNAT(_this->u_iface); - return _ret; + cppISteamUser_SteamUser016_BIsBehindNAT( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser016_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser016_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser016_AdvertiseGame(_this->u_iface, steamIDGameServer, unIPServer, usPortServer); + cppISteamUser_SteamUser016_AdvertiseGame( ¶ms ); } SteamAPICall_t __thiscall winISteamUser_SteamUser016_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int cbDataToInclude) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser016_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_RequestEncryptedAppTicket(_this->u_iface, pDataToInclude, cbDataToInclude); - return _ret; + cppISteamUser_SteamUser016_RequestEncryptedAppTicket( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser016_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - bool _ret; + struct cppISteamUser_SteamUser016_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser016_GetEncryptedAppTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser016_GetEncryptedAppTicket( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUser_SteamUser016_vtable; @@ -2370,180 +3562,312 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetPlayerSteamLevel, 4) HSteamUser __thiscall winISteamUser_SteamUser017_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser017_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser017_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser017_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser017_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser017_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser017_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser017_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser017_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser017_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser017_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser017_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_InitiateGameConnection(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser017_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser017_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser017_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser017_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser017_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser017_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser017_TrackAppUsageEvent( ¶ms ); } bool __thiscall winISteamUser_SteamUser017_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int cubBuffer) { - bool _ret; + struct cppISteamUser_SteamUser017_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_GetUserDataFolder(_this->u_iface, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(_ret, pchBuffer, pchBuffer, cubBuffer, 0); - return _ret; + cppISteamUser_SteamUser017_GetUserDataFolder( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchBuffer, pchBuffer, cubBuffer, 0 ); + return params._ret; } void __thiscall winISteamUser_SteamUser017_StartVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser017_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_StartVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser017_StartVoiceRecording( ¶ms ); } void __thiscall winISteamUser_SteamUser017_StopVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser017_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_StopVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser017_StopVoiceRecording( ¶ms ); } EVoiceResult __thiscall winISteamUser_SteamUser017_GetAvailableVoice(struct w_steam_iface *_this, uint32 *pcbCompressed, uint32 *pcbUncompressed, uint32 nUncompressedVoiceDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser017_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed = pcbUncompressed, + .nUncompressedVoiceDesiredSampleRate = nUncompressedVoiceDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_GetAvailableVoice(_this->u_iface, pcbCompressed, pcbUncompressed, nUncompressedVoiceDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser017_GetAvailableVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser017_GetVoice(struct w_steam_iface *_this, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed, void *pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 *nUncompressBytesWritten, uint32 nUncompressedVoiceDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser017_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed = bWantUncompressed, + .pUncompressedDestBuffer = pUncompressedDestBuffer, + .cbUncompressedDestBufferSize = cbUncompressedDestBufferSize, + .nUncompressBytesWritten = nUncompressBytesWritten, + .nUncompressedVoiceDesiredSampleRate = nUncompressedVoiceDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_GetVoice(_this->u_iface, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser017_GetVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser017_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser017_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_DecompressVoice(_this->u_iface, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser017_DecompressVoice( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUser_SteamUser017_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUser_SteamUser017_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_GetVoiceOptimalSampleRate(_this->u_iface); - return _ret; + cppISteamUser_SteamUser017_GetVoiceOptimalSampleRate( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamUser_SteamUser017_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamUser_SteamUser017_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser017_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamUser_SteamUser017_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamUser_SteamUser017_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamUser_SteamUser017_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser017_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser017_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_EndAuthSession(_this->u_iface, steamID); + cppISteamUser_SteamUser017_EndAuthSession( ¶ms ); } void __thiscall winISteamUser_SteamUser017_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamUser_SteamUser017_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamUser_SteamUser017_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser017_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamUser_SteamUser017_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamUser_SteamUser017_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser017_BIsBehindNAT(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser017_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_BIsBehindNAT(_this->u_iface); - return _ret; + cppISteamUser_SteamUser017_BIsBehindNAT( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser017_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser017_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_AdvertiseGame(_this->u_iface, steamIDGameServer, unIPServer, usPortServer); + cppISteamUser_SteamUser017_AdvertiseGame( ¶ms ); } SteamAPICall_t __thiscall winISteamUser_SteamUser017_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int cbDataToInclude) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser017_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_RequestEncryptedAppTicket(_this->u_iface, pDataToInclude, cbDataToInclude); - return _ret; + cppISteamUser_SteamUser017_RequestEncryptedAppTicket( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser017_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - bool _ret; + struct cppISteamUser_SteamUser017_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_GetEncryptedAppTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser017_GetEncryptedAppTicket( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser017_GetGameBadgeLevel(struct w_steam_iface *_this, int nSeries, bool bFoil) { - int _ret; + struct cppISteamUser_SteamUser017_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_GetGameBadgeLevel(_this->u_iface, nSeries, bFoil); - return _ret; + cppISteamUser_SteamUser017_GetGameBadgeLevel( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser017_GetPlayerSteamLevel(struct w_steam_iface *_this) { - int _ret; + struct cppISteamUser_SteamUser017_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser017_GetPlayerSteamLevel(_this->u_iface); - return _ret; + cppISteamUser_SteamUser017_GetPlayerSteamLevel( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUser_SteamUser017_vtable; @@ -2620,188 +3944,324 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_RequestStoreAuthURL, 8) HSteamUser __thiscall winISteamUser_SteamUser018_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser018_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser018_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser018_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser018_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser018_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser018_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser018_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser018_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser018_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser018_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser018_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_InitiateGameConnection(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser018_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser018_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser018_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser018_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser018_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser018_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser018_TrackAppUsageEvent( ¶ms ); } bool __thiscall winISteamUser_SteamUser018_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int cubBuffer) { - bool _ret; + struct cppISteamUser_SteamUser018_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_GetUserDataFolder(_this->u_iface, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(_ret, pchBuffer, pchBuffer, cubBuffer, 0); - return _ret; + cppISteamUser_SteamUser018_GetUserDataFolder( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchBuffer, pchBuffer, cubBuffer, 0 ); + return params._ret; } void __thiscall winISteamUser_SteamUser018_StartVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser018_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_StartVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser018_StartVoiceRecording( ¶ms ); } void __thiscall winISteamUser_SteamUser018_StopVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser018_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_StopVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser018_StopVoiceRecording( ¶ms ); } EVoiceResult __thiscall winISteamUser_SteamUser018_GetAvailableVoice(struct w_steam_iface *_this, uint32 *pcbCompressed, uint32 *pcbUncompressed, uint32 nUncompressedVoiceDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser018_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed = pcbUncompressed, + .nUncompressedVoiceDesiredSampleRate = nUncompressedVoiceDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_GetAvailableVoice(_this->u_iface, pcbCompressed, pcbUncompressed, nUncompressedVoiceDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser018_GetAvailableVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser018_GetVoice(struct w_steam_iface *_this, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed, void *pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 *nUncompressBytesWritten, uint32 nUncompressedVoiceDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser018_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed = bWantUncompressed, + .pUncompressedDestBuffer = pUncompressedDestBuffer, + .cbUncompressedDestBufferSize = cbUncompressedDestBufferSize, + .nUncompressBytesWritten = nUncompressBytesWritten, + .nUncompressedVoiceDesiredSampleRate = nUncompressedVoiceDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_GetVoice(_this->u_iface, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser018_GetVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser018_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser018_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_DecompressVoice(_this->u_iface, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser018_DecompressVoice( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUser_SteamUser018_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUser_SteamUser018_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_GetVoiceOptimalSampleRate(_this->u_iface); - return _ret; + cppISteamUser_SteamUser018_GetVoiceOptimalSampleRate( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamUser_SteamUser018_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamUser_SteamUser018_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser018_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamUser_SteamUser018_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamUser_SteamUser018_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamUser_SteamUser018_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser018_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser018_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_EndAuthSession(_this->u_iface, steamID); + cppISteamUser_SteamUser018_EndAuthSession( ¶ms ); } void __thiscall winISteamUser_SteamUser018_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamUser_SteamUser018_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamUser_SteamUser018_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser018_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamUser_SteamUser018_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamUser_SteamUser018_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser018_BIsBehindNAT(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser018_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_BIsBehindNAT(_this->u_iface); - return _ret; + cppISteamUser_SteamUser018_BIsBehindNAT( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser018_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser018_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_AdvertiseGame(_this->u_iface, steamIDGameServer, unIPServer, usPortServer); + cppISteamUser_SteamUser018_AdvertiseGame( ¶ms ); } SteamAPICall_t __thiscall winISteamUser_SteamUser018_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int cbDataToInclude) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser018_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_RequestEncryptedAppTicket(_this->u_iface, pDataToInclude, cbDataToInclude); - return _ret; + cppISteamUser_SteamUser018_RequestEncryptedAppTicket( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser018_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - bool _ret; + struct cppISteamUser_SteamUser018_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_GetEncryptedAppTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser018_GetEncryptedAppTicket( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser018_GetGameBadgeLevel(struct w_steam_iface *_this, int nSeries, bool bFoil) { - int _ret; + struct cppISteamUser_SteamUser018_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_GetGameBadgeLevel(_this->u_iface, nSeries, bFoil); - return _ret; + cppISteamUser_SteamUser018_GetGameBadgeLevel( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser018_GetPlayerSteamLevel(struct w_steam_iface *_this) { - int _ret; + struct cppISteamUser_SteamUser018_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_GetPlayerSteamLevel(_this->u_iface); - return _ret; + cppISteamUser_SteamUser018_GetPlayerSteamLevel( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser018_RequestStoreAuthURL(struct w_steam_iface *_this, const char *pchRedirectURL) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser018_RequestStoreAuthURL_params params = + { + .linux_side = _this->u_iface, + .pchRedirectURL = pchRedirectURL, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser018_RequestStoreAuthURL(_this->u_iface, pchRedirectURL); - return _ret; + cppISteamUser_SteamUser018_RequestStoreAuthURL( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUser_SteamUser018_vtable; @@ -2883,220 +4343,368 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BIsPhoneRequiringVerification HSteamUser __thiscall winISteamUser_SteamUser019_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser019_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser019_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser019_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser019_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser019_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser019_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser019_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser019_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser019_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser019_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser019_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_InitiateGameConnection(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser019_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser019_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser019_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser019_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser019_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser019_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser019_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser019_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser019_TrackAppUsageEvent( ¶ms ); } bool __thiscall winISteamUser_SteamUser019_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int cubBuffer) { - bool _ret; + struct cppISteamUser_SteamUser019_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_GetUserDataFolder(_this->u_iface, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(_ret, pchBuffer, pchBuffer, cubBuffer, 0); - return _ret; + cppISteamUser_SteamUser019_GetUserDataFolder( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchBuffer, pchBuffer, cubBuffer, 0 ); + return params._ret; } void __thiscall winISteamUser_SteamUser019_StartVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser019_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser019_StartVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser019_StartVoiceRecording( ¶ms ); } void __thiscall winISteamUser_SteamUser019_StopVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser019_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser019_StopVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser019_StopVoiceRecording( ¶ms ); } EVoiceResult __thiscall winISteamUser_SteamUser019_GetAvailableVoice(struct w_steam_iface *_this, uint32 *pcbCompressed, uint32 *pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser019_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed_Deprecated = pcbUncompressed_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_GetAvailableVoice(_this->u_iface, pcbCompressed, pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); - return _ret; + cppISteamUser_SteamUser019_GetAvailableVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser019_GetVoice(struct w_steam_iface *_this, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 *nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser019_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed_Deprecated = bWantUncompressed_Deprecated, + .pUncompressedDestBuffer_Deprecated = pUncompressedDestBuffer_Deprecated, + .cbUncompressedDestBufferSize_Deprecated = cbUncompressedDestBufferSize_Deprecated, + .nUncompressBytesWritten_Deprecated = nUncompressBytesWritten_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_GetVoice(_this->u_iface, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); - return _ret; + cppISteamUser_SteamUser019_GetVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser019_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser019_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_DecompressVoice(_this->u_iface, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser019_DecompressVoice( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUser_SteamUser019_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUser_SteamUser019_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_GetVoiceOptimalSampleRate(_this->u_iface); - return _ret; + cppISteamUser_SteamUser019_GetVoiceOptimalSampleRate( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamUser_SteamUser019_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamUser_SteamUser019_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser019_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamUser_SteamUser019_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamUser_SteamUser019_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamUser_SteamUser019_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser019_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser019_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser019_EndAuthSession(_this->u_iface, steamID); + cppISteamUser_SteamUser019_EndAuthSession( ¶ms ); } void __thiscall winISteamUser_SteamUser019_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamUser_SteamUser019_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser019_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamUser_SteamUser019_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser019_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamUser_SteamUser019_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamUser_SteamUser019_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser019_BIsBehindNAT(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser019_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_BIsBehindNAT(_this->u_iface); - return _ret; + cppISteamUser_SteamUser019_BIsBehindNAT( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser019_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser019_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser019_AdvertiseGame(_this->u_iface, steamIDGameServer, unIPServer, usPortServer); + cppISteamUser_SteamUser019_AdvertiseGame( ¶ms ); } SteamAPICall_t __thiscall winISteamUser_SteamUser019_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int cbDataToInclude) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser019_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_RequestEncryptedAppTicket(_this->u_iface, pDataToInclude, cbDataToInclude); - return _ret; + cppISteamUser_SteamUser019_RequestEncryptedAppTicket( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser019_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - bool _ret; + struct cppISteamUser_SteamUser019_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_GetEncryptedAppTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser019_GetEncryptedAppTicket( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser019_GetGameBadgeLevel(struct w_steam_iface *_this, int nSeries, bool bFoil) { - int _ret; + struct cppISteamUser_SteamUser019_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_GetGameBadgeLevel(_this->u_iface, nSeries, bFoil); - return _ret; + cppISteamUser_SteamUser019_GetGameBadgeLevel( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser019_GetPlayerSteamLevel(struct w_steam_iface *_this) { - int _ret; + struct cppISteamUser_SteamUser019_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_GetPlayerSteamLevel(_this->u_iface); - return _ret; + cppISteamUser_SteamUser019_GetPlayerSteamLevel( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser019_RequestStoreAuthURL(struct w_steam_iface *_this, const char *pchRedirectURL) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser019_RequestStoreAuthURL_params params = + { + .linux_side = _this->u_iface, + .pchRedirectURL = pchRedirectURL, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_RequestStoreAuthURL(_this->u_iface, pchRedirectURL); - return _ret; + cppISteamUser_SteamUser019_RequestStoreAuthURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser019_BIsPhoneVerified(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser019_BIsPhoneVerified_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_BIsPhoneVerified(_this->u_iface); - return _ret; + cppISteamUser_SteamUser019_BIsPhoneVerified( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser019_BIsTwoFactorEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser019_BIsTwoFactorEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_BIsTwoFactorEnabled(_this->u_iface); - return _ret; + cppISteamUser_SteamUser019_BIsTwoFactorEnabled( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser019_BIsPhoneIdentifying(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser019_BIsPhoneIdentifying_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_BIsPhoneIdentifying(_this->u_iface); - return _ret; + cppISteamUser_SteamUser019_BIsPhoneIdentifying( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser019_BIsPhoneRequiringVerification(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser019_BIsPhoneRequiringVerification_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser019_BIsPhoneRequiringVerification(_this->u_iface); - return _ret; + cppISteamUser_SteamUser019_BIsPhoneRequiringVerification( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUser_SteamUser019_vtable; @@ -3184,236 +4792,390 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetDurationControl, 4) HSteamUser __thiscall winISteamUser_SteamUser020_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser020_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser020_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser020_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser020_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser020_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser020_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser020_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser020_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser020_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser020_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser020_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_InitiateGameConnection(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser020_InitiateGameConnection( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser020_TerminateGameConnection(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser020_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser020_TerminateGameConnection(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser020_TerminateGameConnection( ¶ms ); } void __thiscall winISteamUser_SteamUser020_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser020_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser020_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser020_TrackAppUsageEvent( ¶ms ); } bool __thiscall winISteamUser_SteamUser020_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int cubBuffer) { - bool _ret; + struct cppISteamUser_SteamUser020_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_GetUserDataFolder(_this->u_iface, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(_ret, pchBuffer, pchBuffer, cubBuffer, 0); - return _ret; + cppISteamUser_SteamUser020_GetUserDataFolder( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchBuffer, pchBuffer, cubBuffer, 0 ); + return params._ret; } void __thiscall winISteamUser_SteamUser020_StartVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser020_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser020_StartVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser020_StartVoiceRecording( ¶ms ); } void __thiscall winISteamUser_SteamUser020_StopVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser020_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser020_StopVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser020_StopVoiceRecording( ¶ms ); } EVoiceResult __thiscall winISteamUser_SteamUser020_GetAvailableVoice(struct w_steam_iface *_this, uint32 *pcbCompressed, uint32 *pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser020_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed_Deprecated = pcbUncompressed_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_GetAvailableVoice(_this->u_iface, pcbCompressed, pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); - return _ret; + cppISteamUser_SteamUser020_GetAvailableVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser020_GetVoice(struct w_steam_iface *_this, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 *nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser020_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed_Deprecated = bWantUncompressed_Deprecated, + .pUncompressedDestBuffer_Deprecated = pUncompressedDestBuffer_Deprecated, + .cbUncompressedDestBufferSize_Deprecated = cbUncompressedDestBufferSize_Deprecated, + .nUncompressBytesWritten_Deprecated = nUncompressBytesWritten_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_GetVoice(_this->u_iface, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); - return _ret; + cppISteamUser_SteamUser020_GetVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser020_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser020_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_DecompressVoice(_this->u_iface, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser020_DecompressVoice( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUser_SteamUser020_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUser_SteamUser020_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_GetVoiceOptimalSampleRate(_this->u_iface); - return _ret; + cppISteamUser_SteamUser020_GetVoiceOptimalSampleRate( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamUser_SteamUser020_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamUser_SteamUser020_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser020_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamUser_SteamUser020_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamUser_SteamUser020_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamUser_SteamUser020_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser020_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser020_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser020_EndAuthSession(_this->u_iface, steamID); + cppISteamUser_SteamUser020_EndAuthSession( ¶ms ); } void __thiscall winISteamUser_SteamUser020_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamUser_SteamUser020_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser020_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamUser_SteamUser020_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser020_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamUser_SteamUser020_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamUser_SteamUser020_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser020_BIsBehindNAT(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser020_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_BIsBehindNAT(_this->u_iface); - return _ret; + cppISteamUser_SteamUser020_BIsBehindNAT( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser020_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser020_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser020_AdvertiseGame(_this->u_iface, steamIDGameServer, unIPServer, usPortServer); + cppISteamUser_SteamUser020_AdvertiseGame( ¶ms ); } SteamAPICall_t __thiscall winISteamUser_SteamUser020_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int cbDataToInclude) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser020_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_RequestEncryptedAppTicket(_this->u_iface, pDataToInclude, cbDataToInclude); - return _ret; + cppISteamUser_SteamUser020_RequestEncryptedAppTicket( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser020_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - bool _ret; + struct cppISteamUser_SteamUser020_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_GetEncryptedAppTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser020_GetEncryptedAppTicket( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser020_GetGameBadgeLevel(struct w_steam_iface *_this, int nSeries, bool bFoil) { - int _ret; + struct cppISteamUser_SteamUser020_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_GetGameBadgeLevel(_this->u_iface, nSeries, bFoil); - return _ret; + cppISteamUser_SteamUser020_GetGameBadgeLevel( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser020_GetPlayerSteamLevel(struct w_steam_iface *_this) { - int _ret; + struct cppISteamUser_SteamUser020_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_GetPlayerSteamLevel(_this->u_iface); - return _ret; + cppISteamUser_SteamUser020_GetPlayerSteamLevel( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser020_RequestStoreAuthURL(struct w_steam_iface *_this, const char *pchRedirectURL) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser020_RequestStoreAuthURL_params params = + { + .linux_side = _this->u_iface, + .pchRedirectURL = pchRedirectURL, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_RequestStoreAuthURL(_this->u_iface, pchRedirectURL); - return _ret; + cppISteamUser_SteamUser020_RequestStoreAuthURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser020_BIsPhoneVerified(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser020_BIsPhoneVerified_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_BIsPhoneVerified(_this->u_iface); - return _ret; + cppISteamUser_SteamUser020_BIsPhoneVerified( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser020_BIsTwoFactorEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser020_BIsTwoFactorEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_BIsTwoFactorEnabled(_this->u_iface); - return _ret; + cppISteamUser_SteamUser020_BIsTwoFactorEnabled( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser020_BIsPhoneIdentifying(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser020_BIsPhoneIdentifying_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_BIsPhoneIdentifying(_this->u_iface); - return _ret; + cppISteamUser_SteamUser020_BIsPhoneIdentifying( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser020_BIsPhoneRequiringVerification(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser020_BIsPhoneRequiringVerification_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_BIsPhoneRequiringVerification(_this->u_iface); - return _ret; + cppISteamUser_SteamUser020_BIsPhoneRequiringVerification( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser020_GetMarketEligibility(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser020_GetMarketEligibility_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_GetMarketEligibility(_this->u_iface); - return _ret; + cppISteamUser_SteamUser020_GetMarketEligibility( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser020_GetDurationControl(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser020_GetDurationControl_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser020_GetDurationControl(_this->u_iface); - return _ret; + cppISteamUser_SteamUser020_GetDurationControl( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUser_SteamUser020_vtable; @@ -3504,244 +5266,402 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BSetDurationControlOnlineStat HSteamUser __thiscall winISteamUser_SteamUser021_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser021_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser021_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser021_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser021_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser021_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser021_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser021_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser021_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser021_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED( ¶ms ); } void __thiscall winISteamUser_SteamUser021_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser021_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser021_TrackAppUsageEvent( ¶ms ); } bool __thiscall winISteamUser_SteamUser021_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int cubBuffer) { - bool _ret; + struct cppISteamUser_SteamUser021_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_GetUserDataFolder(_this->u_iface, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(_ret, pchBuffer, pchBuffer, cubBuffer, 0); - return _ret; + cppISteamUser_SteamUser021_GetUserDataFolder( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchBuffer, pchBuffer, cubBuffer, 0 ); + return params._ret; } void __thiscall winISteamUser_SteamUser021_StartVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser021_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_StartVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser021_StartVoiceRecording( ¶ms ); } void __thiscall winISteamUser_SteamUser021_StopVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser021_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_StopVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser021_StopVoiceRecording( ¶ms ); } EVoiceResult __thiscall winISteamUser_SteamUser021_GetAvailableVoice(struct w_steam_iface *_this, uint32 *pcbCompressed, uint32 *pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser021_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed_Deprecated = pcbUncompressed_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_GetAvailableVoice(_this->u_iface, pcbCompressed, pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); - return _ret; + cppISteamUser_SteamUser021_GetAvailableVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser021_GetVoice(struct w_steam_iface *_this, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 *nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser021_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed_Deprecated = bWantUncompressed_Deprecated, + .pUncompressedDestBuffer_Deprecated = pUncompressedDestBuffer_Deprecated, + .cbUncompressedDestBufferSize_Deprecated = cbUncompressedDestBufferSize_Deprecated, + .nUncompressBytesWritten_Deprecated = nUncompressBytesWritten_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_GetVoice(_this->u_iface, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); - return _ret; + cppISteamUser_SteamUser021_GetVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser021_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser021_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_DecompressVoice(_this->u_iface, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser021_DecompressVoice( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUser_SteamUser021_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUser_SteamUser021_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_GetVoiceOptimalSampleRate(_this->u_iface); - return _ret; + cppISteamUser_SteamUser021_GetVoiceOptimalSampleRate( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamUser_SteamUser021_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - HAuthTicket _ret; + struct cppISteamUser_SteamUser021_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser021_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamUser_SteamUser021_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamUser_SteamUser021_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamUser_SteamUser021_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser021_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser021_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_EndAuthSession(_this->u_iface, steamID); + cppISteamUser_SteamUser021_EndAuthSession( ¶ms ); } void __thiscall winISteamUser_SteamUser021_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamUser_SteamUser021_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamUser_SteamUser021_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser021_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamUser_SteamUser021_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamUser_SteamUser021_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser021_BIsBehindNAT(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser021_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_BIsBehindNAT(_this->u_iface); - return _ret; + cppISteamUser_SteamUser021_BIsBehindNAT( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser021_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser021_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_AdvertiseGame(_this->u_iface, steamIDGameServer, unIPServer, usPortServer); + cppISteamUser_SteamUser021_AdvertiseGame( ¶ms ); } SteamAPICall_t __thiscall winISteamUser_SteamUser021_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int cbDataToInclude) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser021_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_RequestEncryptedAppTicket(_this->u_iface, pDataToInclude, cbDataToInclude); - return _ret; + cppISteamUser_SteamUser021_RequestEncryptedAppTicket( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser021_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - bool _ret; + struct cppISteamUser_SteamUser021_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_GetEncryptedAppTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser021_GetEncryptedAppTicket( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser021_GetGameBadgeLevel(struct w_steam_iface *_this, int nSeries, bool bFoil) { - int _ret; + struct cppISteamUser_SteamUser021_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_GetGameBadgeLevel(_this->u_iface, nSeries, bFoil); - return _ret; + cppISteamUser_SteamUser021_GetGameBadgeLevel( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser021_GetPlayerSteamLevel(struct w_steam_iface *_this) { - int _ret; + struct cppISteamUser_SteamUser021_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_GetPlayerSteamLevel(_this->u_iface); - return _ret; + cppISteamUser_SteamUser021_GetPlayerSteamLevel( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser021_RequestStoreAuthURL(struct w_steam_iface *_this, const char *pchRedirectURL) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser021_RequestStoreAuthURL_params params = + { + .linux_side = _this->u_iface, + .pchRedirectURL = pchRedirectURL, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_RequestStoreAuthURL(_this->u_iface, pchRedirectURL); - return _ret; + cppISteamUser_SteamUser021_RequestStoreAuthURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser021_BIsPhoneVerified(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser021_BIsPhoneVerified_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_BIsPhoneVerified(_this->u_iface); - return _ret; + cppISteamUser_SteamUser021_BIsPhoneVerified( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser021_BIsTwoFactorEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser021_BIsTwoFactorEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_BIsTwoFactorEnabled(_this->u_iface); - return _ret; + cppISteamUser_SteamUser021_BIsTwoFactorEnabled( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser021_BIsPhoneIdentifying(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser021_BIsPhoneIdentifying_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_BIsPhoneIdentifying(_this->u_iface); - return _ret; + cppISteamUser_SteamUser021_BIsPhoneIdentifying( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser021_BIsPhoneRequiringVerification(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser021_BIsPhoneRequiringVerification_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_BIsPhoneRequiringVerification(_this->u_iface); - return _ret; + cppISteamUser_SteamUser021_BIsPhoneRequiringVerification( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser021_GetMarketEligibility(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser021_GetMarketEligibility_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_GetMarketEligibility(_this->u_iface); - return _ret; + cppISteamUser_SteamUser021_GetMarketEligibility( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser021_GetDurationControl(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser021_GetDurationControl_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_GetDurationControl(_this->u_iface); - return _ret; + cppISteamUser_SteamUser021_GetDurationControl( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser021_BSetDurationControlOnlineState(struct w_steam_iface *_this, EDurationControlOnlineState eNewState) { - bool _ret; + struct cppISteamUser_SteamUser021_BSetDurationControlOnlineState_params params = + { + .linux_side = _this->u_iface, + .eNewState = eNewState, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser021_BSetDurationControlOnlineState(_this->u_iface, eNewState); - return _ret; + cppISteamUser_SteamUser021_BSetDurationControlOnlineState( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUser_SteamUser021_vtable; @@ -3833,244 +5753,403 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BSetDurationControlOnlineStat HSteamUser __thiscall winISteamUser_SteamUser022_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser022_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser022_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser022_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser022_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser022_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser022_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser022_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser022_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser022_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED( ¶ms ); } void __thiscall winISteamUser_SteamUser022_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser022_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser022_TrackAppUsageEvent( ¶ms ); } bool __thiscall winISteamUser_SteamUser022_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int cubBuffer) { - bool _ret; + struct cppISteamUser_SteamUser022_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_GetUserDataFolder(_this->u_iface, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(_ret, pchBuffer, pchBuffer, cubBuffer, 0); - return _ret; + cppISteamUser_SteamUser022_GetUserDataFolder( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchBuffer, pchBuffer, cubBuffer, 0 ); + return params._ret; } void __thiscall winISteamUser_SteamUser022_StartVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser022_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_StartVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser022_StartVoiceRecording( ¶ms ); } void __thiscall winISteamUser_SteamUser022_StopVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser022_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_StopVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser022_StopVoiceRecording( ¶ms ); } EVoiceResult __thiscall winISteamUser_SteamUser022_GetAvailableVoice(struct w_steam_iface *_this, uint32 *pcbCompressed, uint32 *pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser022_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed_Deprecated = pcbUncompressed_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_GetAvailableVoice(_this->u_iface, pcbCompressed, pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); - return _ret; + cppISteamUser_SteamUser022_GetAvailableVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser022_GetVoice(struct w_steam_iface *_this, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 *nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser022_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed_Deprecated = bWantUncompressed_Deprecated, + .pUncompressedDestBuffer_Deprecated = pUncompressedDestBuffer_Deprecated, + .cbUncompressedDestBufferSize_Deprecated = cbUncompressedDestBufferSize_Deprecated, + .nUncompressBytesWritten_Deprecated = nUncompressBytesWritten_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_GetVoice(_this->u_iface, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); - return _ret; + cppISteamUser_SteamUser022_GetVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser022_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser022_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_DecompressVoice(_this->u_iface, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser022_DecompressVoice( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUser_SteamUser022_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate(_this->u_iface); - return _ret; + cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamUser_SteamUser022_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket, const SteamNetworkingIdentity *pSteamNetworkingIdentity) { - HAuthTicket _ret; + struct cppISteamUser_SteamUser022_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + .pSteamNetworkingIdentity = pSteamNetworkingIdentity, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket, pSteamNetworkingIdentity); - return _ret; + cppISteamUser_SteamUser022_GetAuthSessionTicket( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamUser_SteamUser022_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamUser_SteamUser022_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamUser_SteamUser022_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser022_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser022_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_EndAuthSession(_this->u_iface, steamID); + cppISteamUser_SteamUser022_EndAuthSession( ¶ms ); } void __thiscall winISteamUser_SteamUser022_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamUser_SteamUser022_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamUser_SteamUser022_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser022_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamUser_SteamUser022_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamUser_SteamUser022_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser022_BIsBehindNAT(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser022_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_BIsBehindNAT(_this->u_iface); - return _ret; + cppISteamUser_SteamUser022_BIsBehindNAT( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser022_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser022_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_AdvertiseGame(_this->u_iface, steamIDGameServer, unIPServer, usPortServer); + cppISteamUser_SteamUser022_AdvertiseGame( ¶ms ); } SteamAPICall_t __thiscall winISteamUser_SteamUser022_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int cbDataToInclude) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser022_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_RequestEncryptedAppTicket(_this->u_iface, pDataToInclude, cbDataToInclude); - return _ret; + cppISteamUser_SteamUser022_RequestEncryptedAppTicket( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser022_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - bool _ret; + struct cppISteamUser_SteamUser022_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_GetEncryptedAppTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser022_GetEncryptedAppTicket( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser022_GetGameBadgeLevel(struct w_steam_iface *_this, int nSeries, bool bFoil) { - int _ret; + struct cppISteamUser_SteamUser022_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_GetGameBadgeLevel(_this->u_iface, nSeries, bFoil); - return _ret; + cppISteamUser_SteamUser022_GetGameBadgeLevel( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser022_GetPlayerSteamLevel(struct w_steam_iface *_this) { - int _ret; + struct cppISteamUser_SteamUser022_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_GetPlayerSteamLevel(_this->u_iface); - return _ret; + cppISteamUser_SteamUser022_GetPlayerSteamLevel( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser022_RequestStoreAuthURL(struct w_steam_iface *_this, const char *pchRedirectURL) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser022_RequestStoreAuthURL_params params = + { + .linux_side = _this->u_iface, + .pchRedirectURL = pchRedirectURL, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_RequestStoreAuthURL(_this->u_iface, pchRedirectURL); - return _ret; + cppISteamUser_SteamUser022_RequestStoreAuthURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser022_BIsPhoneVerified(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser022_BIsPhoneVerified_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_BIsPhoneVerified(_this->u_iface); - return _ret; + cppISteamUser_SteamUser022_BIsPhoneVerified( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser022_BIsTwoFactorEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser022_BIsTwoFactorEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_BIsTwoFactorEnabled(_this->u_iface); - return _ret; + cppISteamUser_SteamUser022_BIsTwoFactorEnabled( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser022_BIsPhoneIdentifying(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser022_BIsPhoneIdentifying_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_BIsPhoneIdentifying(_this->u_iface); - return _ret; + cppISteamUser_SteamUser022_BIsPhoneIdentifying( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser022_BIsPhoneRequiringVerification(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser022_BIsPhoneRequiringVerification_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_BIsPhoneRequiringVerification(_this->u_iface); - return _ret; + cppISteamUser_SteamUser022_BIsPhoneRequiringVerification( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser022_GetMarketEligibility(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser022_GetMarketEligibility_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_GetMarketEligibility(_this->u_iface); - return _ret; + cppISteamUser_SteamUser022_GetMarketEligibility( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser022_GetDurationControl(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser022_GetDurationControl_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_GetDurationControl(_this->u_iface); - return _ret; + cppISteamUser_SteamUser022_GetDurationControl( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser022_BSetDurationControlOnlineState(struct w_steam_iface *_this, EDurationControlOnlineState eNewState) { - bool _ret; + struct cppISteamUser_SteamUser022_BSetDurationControlOnlineState_params params = + { + .linux_side = _this->u_iface, + .eNewState = eNewState, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser022_BSetDurationControlOnlineState(_this->u_iface, eNewState); - return _ret; + cppISteamUser_SteamUser022_BSetDurationControlOnlineState( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUser_SteamUser022_vtable; @@ -4163,252 +6242,415 @@ DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BSetDurationControlOnlineStat HSteamUser __thiscall winISteamUser_SteamUser023_GetHSteamUser(struct w_steam_iface *_this) { - HSteamUser _ret; + struct cppISteamUser_SteamUser023_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_GetHSteamUser(_this->u_iface); - return _ret; + cppISteamUser_SteamUser023_GetHSteamUser( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser023_BLoggedOn(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser023_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_BLoggedOn(_this->u_iface); - return _ret; + cppISteamUser_SteamUser023_BLoggedOn( ¶ms ); + return params._ret; } CSteamID * __thiscall winISteamUser_SteamUser023_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct cppISteamUser_SteamUser023_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppISteamUser_SteamUser023_GetSteamID(_this->u_iface); - return _ret; + cppISteamUser_SteamUser023_GetSteamID( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED(struct w_steam_iface *_this, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) { - int _ret; + struct cppISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED(_this->u_iface, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); - return _ret; + cppISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED(struct w_steam_iface *_this, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED(_this->u_iface, unIPServer, usPortServer); + cppISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED( ¶ms ); } void __thiscall winISteamUser_SteamUser023_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo) { + struct cppISteamUser_SteamUser023_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_TrackAppUsageEvent(_this->u_iface, gameID, eAppUsageEvent, pchExtraInfo); + cppISteamUser_SteamUser023_TrackAppUsageEvent( ¶ms ); } bool __thiscall winISteamUser_SteamUser023_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int cubBuffer) { - bool _ret; + struct cppISteamUser_SteamUser023_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_GetUserDataFolder(_this->u_iface, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(_ret, pchBuffer, pchBuffer, cubBuffer, 0); - return _ret; + cppISteamUser_SteamUser023_GetUserDataFolder( ¶ms ); + steamclient_unix_path_to_dos_path( params._ret, pchBuffer, pchBuffer, cubBuffer, 0 ); + return params._ret; } void __thiscall winISteamUser_SteamUser023_StartVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser023_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_StartVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser023_StartVoiceRecording( ¶ms ); } void __thiscall winISteamUser_SteamUser023_StopVoiceRecording(struct w_steam_iface *_this) { + struct cppISteamUser_SteamUser023_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_StopVoiceRecording(_this->u_iface); + cppISteamUser_SteamUser023_StopVoiceRecording( ¶ms ); } EVoiceResult __thiscall winISteamUser_SteamUser023_GetAvailableVoice(struct w_steam_iface *_this, uint32 *pcbCompressed, uint32 *pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser023_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed_Deprecated = pcbUncompressed_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_GetAvailableVoice(_this->u_iface, pcbCompressed, pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); - return _ret; + cppISteamUser_SteamUser023_GetAvailableVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser023_GetVoice(struct w_steam_iface *_this, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 *nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser023_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed_Deprecated = bWantUncompressed_Deprecated, + .pUncompressedDestBuffer_Deprecated = pUncompressedDestBuffer_Deprecated, + .cbUncompressedDestBufferSize_Deprecated = cbUncompressedDestBufferSize_Deprecated, + .nUncompressBytesWritten_Deprecated = nUncompressBytesWritten_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_GetVoice(_this->u_iface, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); - return _ret; + cppISteamUser_SteamUser023_GetVoice( ¶ms ); + return params._ret; } EVoiceResult __thiscall winISteamUser_SteamUser023_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate) { - EVoiceResult _ret; + struct cppISteamUser_SteamUser023_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_DecompressVoice(_this->u_iface, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); - return _ret; + cppISteamUser_SteamUser023_DecompressVoice( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUser_SteamUser023_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUser_SteamUser023_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_GetVoiceOptimalSampleRate(_this->u_iface); - return _ret; + cppISteamUser_SteamUser023_GetVoiceOptimalSampleRate( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamUser_SteamUser023_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket, const SteamNetworkingIdentity *pSteamNetworkingIdentity) { - HAuthTicket _ret; + struct cppISteamUser_SteamUser023_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + .pSteamNetworkingIdentity = pSteamNetworkingIdentity, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_GetAuthSessionTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket, pSteamNetworkingIdentity); - return _ret; + cppISteamUser_SteamUser023_GetAuthSessionTicket( ¶ms ); + return params._ret; } HAuthTicket __thiscall winISteamUser_SteamUser023_GetAuthTicketForWebApi(struct w_steam_iface *_this, const char *pchIdentity) { - HAuthTicket _ret; + struct cppISteamUser_SteamUser023_GetAuthTicketForWebApi_params params = + { + .linux_side = _this->u_iface, + .pchIdentity = pchIdentity, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_GetAuthTicketForWebApi(_this->u_iface, pchIdentity); - return _ret; + cppISteamUser_SteamUser023_GetAuthTicketForWebApi( ¶ms ); + return params._ret; } EBeginAuthSessionResult __thiscall winISteamUser_SteamUser023_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - EBeginAuthSessionResult _ret; + struct cppISteamUser_SteamUser023_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_BeginAuthSession(_this->u_iface, pAuthTicket, cbAuthTicket, steamID); - return _ret; + cppISteamUser_SteamUser023_BeginAuthSession( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser023_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct cppISteamUser_SteamUser023_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_EndAuthSession(_this->u_iface, steamID); + cppISteamUser_SteamUser023_EndAuthSession( ¶ms ); } void __thiscall winISteamUser_SteamUser023_CancelAuthTicket(struct w_steam_iface *_this, HAuthTicket hAuthTicket) { + struct cppISteamUser_SteamUser023_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_CancelAuthTicket(_this->u_iface, hAuthTicket); + cppISteamUser_SteamUser023_CancelAuthTicket( ¶ms ); } EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser023_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, AppId_t appID) { - EUserHasLicenseForAppResult _ret; + struct cppISteamUser_SteamUser023_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_UserHasLicenseForApp(_this->u_iface, steamID, appID); - return _ret; + cppISteamUser_SteamUser023_UserHasLicenseForApp( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser023_BIsBehindNAT(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser023_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_BIsBehindNAT(_this->u_iface); - return _ret; + cppISteamUser_SteamUser023_BIsBehindNAT( ¶ms ); + return params._ret; } void __thiscall winISteamUser_SteamUser023_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) { + struct cppISteamUser_SteamUser023_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_AdvertiseGame(_this->u_iface, steamIDGameServer, unIPServer, usPortServer); + cppISteamUser_SteamUser023_AdvertiseGame( ¶ms ); } SteamAPICall_t __thiscall winISteamUser_SteamUser023_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int cbDataToInclude) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser023_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_RequestEncryptedAppTicket(_this->u_iface, pDataToInclude, cbDataToInclude); - return _ret; + cppISteamUser_SteamUser023_RequestEncryptedAppTicket( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser023_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int cbMaxTicket, uint32 *pcbTicket) { - bool _ret; + struct cppISteamUser_SteamUser023_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_GetEncryptedAppTicket(_this->u_iface, pTicket, cbMaxTicket, pcbTicket); - return _ret; + cppISteamUser_SteamUser023_GetEncryptedAppTicket( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser023_GetGameBadgeLevel(struct w_steam_iface *_this, int nSeries, bool bFoil) { - int _ret; + struct cppISteamUser_SteamUser023_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_GetGameBadgeLevel(_this->u_iface, nSeries, bFoil); - return _ret; + cppISteamUser_SteamUser023_GetGameBadgeLevel( ¶ms ); + return params._ret; } int __thiscall winISteamUser_SteamUser023_GetPlayerSteamLevel(struct w_steam_iface *_this) { - int _ret; + struct cppISteamUser_SteamUser023_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_GetPlayerSteamLevel(_this->u_iface); - return _ret; + cppISteamUser_SteamUser023_GetPlayerSteamLevel( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser023_RequestStoreAuthURL(struct w_steam_iface *_this, const char *pchRedirectURL) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser023_RequestStoreAuthURL_params params = + { + .linux_side = _this->u_iface, + .pchRedirectURL = pchRedirectURL, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_RequestStoreAuthURL(_this->u_iface, pchRedirectURL); - return _ret; + cppISteamUser_SteamUser023_RequestStoreAuthURL( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser023_BIsPhoneVerified(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser023_BIsPhoneVerified_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_BIsPhoneVerified(_this->u_iface); - return _ret; + cppISteamUser_SteamUser023_BIsPhoneVerified( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser023_BIsTwoFactorEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser023_BIsTwoFactorEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_BIsTwoFactorEnabled(_this->u_iface); - return _ret; + cppISteamUser_SteamUser023_BIsTwoFactorEnabled( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser023_BIsPhoneIdentifying(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser023_BIsPhoneIdentifying_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_BIsPhoneIdentifying(_this->u_iface); - return _ret; + cppISteamUser_SteamUser023_BIsPhoneIdentifying( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser023_BIsPhoneRequiringVerification(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUser_SteamUser023_BIsPhoneRequiringVerification_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_BIsPhoneRequiringVerification(_this->u_iface); - return _ret; + cppISteamUser_SteamUser023_BIsPhoneRequiringVerification( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser023_GetMarketEligibility(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser023_GetMarketEligibility_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_GetMarketEligibility(_this->u_iface); - return _ret; + cppISteamUser_SteamUser023_GetMarketEligibility( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUser_SteamUser023_GetDurationControl(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUser_SteamUser023_GetDurationControl_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_GetDurationControl(_this->u_iface); - return _ret; + cppISteamUser_SteamUser023_GetDurationControl( ¶ms ); + return params._ret; } bool __thiscall winISteamUser_SteamUser023_BSetDurationControlOnlineState(struct w_steam_iface *_this, EDurationControlOnlineState eNewState) { - bool _ret; + struct cppISteamUser_SteamUser023_BSetDurationControlOnlineState_params params = + { + .linux_side = _this->u_iface, + .eNewState = eNewState, + }; TRACE("%p\n", _this); - _ret = cppISteamUser_SteamUser023_BSetDurationControlOnlineState(_this->u_iface, eNewState); - return _ret; + cppISteamUser_SteamUser023_BSetDurationControlOnlineState( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUser_SteamUser023_vtable; diff --git a/lsteamclient/winISteamUserStats.c b/lsteamclient/winISteamUserStats.c index c03c9154..339a0292 100644 --- a/lsteamclient/winISteamUserStats.c +++ b/lsteamclient/winISteamUserStats.c @@ -40,178 +40,292 @@ DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_G uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats(struct w_steam_iface *_this, CGameID nGameID) { - uint32 _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats(_this->u_iface, nGameID); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName(struct w_steam_iface *_this, CGameID nGameID, uint32 iStat) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .iStat = iStat, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName(_this->u_iface, nGameID, iStat); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName( ¶ms ); + return params._ret; } ESteamUserStatType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { - ESteamUserStatType _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType(_this->u_iface, nGameID, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements(struct w_steam_iface *_this, CGameID nGameID) { - uint32 _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements(_this->u_iface, nGameID); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName(struct w_steam_iface *_this, CGameID nGameID, uint32 iAchievement) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .iAchievement = iAchievement, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName(_this->u_iface, nGameID, iAchievement); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements(struct w_steam_iface *_this, CGameID nGameID) { - uint32 _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements(_this->u_iface, nGameID); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName(struct w_steam_iface *_this, CGameID nGameID, uint32 iAchievement) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .iAchievement = iAchievement, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName(_this->u_iface, nGameID, iAchievement); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats(struct w_steam_iface *_this, CGameID nGameID) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats(_this->u_iface, nGameID); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat(_this->u_iface, nGameID, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2(_this->u_iface, nGameID, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int32 nData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat(_this->u_iface, nGameID, pchName, nData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float fData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2(_this->u_iface, nGameID, pchName, fData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float flCountThisSession, double dSessionLength) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat(_this->u_iface, nGameID, pchName, flCountThisSession, dSessionLength); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement(_this->u_iface, nGameID, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement(_this->u_iface, nGameID, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement(_this->u_iface, nGameID, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement(_this->u_iface, nGameID, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats(struct w_steam_iface *_this, CGameID nGameID) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats(_this->u_iface, nGameID); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement(_this->u_iface, nGameID, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement(_this->u_iface, nGameID, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon(_this->u_iface, nGameID, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, const char *pchKey) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute(_this->u_iface, nGameID, pchName, pchKey); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_vtable; @@ -279,146 +393,242 @@ DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_I uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats(struct w_steam_iface *_this, CGameID nGameID) { - uint32 _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats(_this->u_iface, nGameID); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName(struct w_steam_iface *_this, CGameID nGameID, uint32 iStat) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .iStat = iStat, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName(_this->u_iface, nGameID, iStat); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName( ¶ms ); + return params._ret; } ESteamUserStatType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { - ESteamUserStatType _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType(_this->u_iface, nGameID, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements(struct w_steam_iface *_this, CGameID nGameID) { - uint32 _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements(_this->u_iface, nGameID); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName(struct w_steam_iface *_this, CGameID nGameID, uint32 iAchievement) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .iAchievement = iAchievement, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName(_this->u_iface, nGameID, iAchievement); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats(struct w_steam_iface *_this, CGameID nGameID) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats(_this->u_iface, nGameID); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat(_this->u_iface, nGameID, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2(_this->u_iface, nGameID, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int32 nData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat(_this->u_iface, nGameID, pchName, nData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float fData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2(_this->u_iface, nGameID, pchName, fData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float flCountThisSession, double dSessionLength) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat(_this->u_iface, nGameID, pchName, flCountThisSession, dSessionLength); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement(_this->u_iface, nGameID, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement(_this->u_iface, nGameID, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement(_this->u_iface, nGameID, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats(struct w_steam_iface *_this, CGameID nGameID) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats(_this->u_iface, nGameID); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon(_this->u_iface, nGameID, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, const char *pchKey) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute(_this->u_iface, nGameID, pchName, pchKey); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress(_this->u_iface, nGameID, pchName, nCurProgress, nMaxProgress); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_vtable; @@ -477,106 +687,166 @@ DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_I bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat(struct w_steam_iface *_this, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat(struct w_steam_iface *_this, const char *pchName, int32 nData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat(_this->u_iface, pchName, nData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2(_this->u_iface, pchName, fData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat(_this->u_iface, pchName, flCountThisSession, dSessionLength); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement(_this->u_iface, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute(_this->u_iface, pchName, pchKey); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress(_this->u_iface, pchName, nCurProgress, nMaxProgress); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_vtable; @@ -634,138 +904,220 @@ DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_G bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat(struct w_steam_iface *_this, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat(struct w_steam_iface *_this, const char *pchName, int32 nData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat(_this->u_iface, pchName, nData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2(_this->u_iface, pchName, fData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat(_this->u_iface, pchName, flCountThisSession, dSessionLength); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement(_this->u_iface, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute(_this->u_iface, pchName, pchKey); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress(_this->u_iface, pchName, nCurProgress, nMaxProgress); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats(_this->u_iface, steamIDUser); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement(_this->u_iface, steamIDUser, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_vtable; @@ -837,218 +1189,352 @@ DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_U bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat(struct w_steam_iface *_this, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat(struct w_steam_iface *_this, const char *pchName, int32 nData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat(_this->u_iface, pchName, nData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2(_this->u_iface, pchName, fData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat(_this->u_iface, pchName, flCountThisSession, dSessionLength); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement(_this->u_iface, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute(_this->u_iface, pchName, pchKey); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress(_this->u_iface, pchName, nCurProgress, nMaxProgress); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats(_this->u_iface, steamIDUser); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement(_this->u_iface, steamIDUser, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats(struct w_steam_iface *_this, bool bAchievementsToo) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats(_this->u_iface, bAchievementsToo); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard(_this->u_iface, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard(_this->u_iface, pchLeaderboardName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount( ¶ms ); + return params._ret; } ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardSortMethod _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod( ¶ms ); + return params._ret; } ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardDisplayType _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries(_this->u_iface, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry(_this->u_iface, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, int32 nScore, int32 *pScoreDetails, int cScoreDetailsCount) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore(_this->u_iface, hSteamLeaderboard, nScore, pScoreDetails, cScoreDetailsCount); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_vtable; @@ -1131,226 +1617,364 @@ DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_G bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat(struct w_steam_iface *_this, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat(struct w_steam_iface *_this, const char *pchName, int32 nData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat(_this->u_iface, pchName, nData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2(_this->u_iface, pchName, fData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat(_this->u_iface, pchName, flCountThisSession, dSessionLength); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement(_this->u_iface, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute(_this->u_iface, pchName, pchKey); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress(_this->u_iface, pchName, nCurProgress, nMaxProgress); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats(_this->u_iface, steamIDUser); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement(_this->u_iface, steamIDUser, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats(struct w_steam_iface *_this, bool bAchievementsToo) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats(_this->u_iface, bAchievementsToo); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard(_this->u_iface, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard(_this->u_iface, pchLeaderboardName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount( ¶ms ); + return params._ret; } ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardSortMethod _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod( ¶ms ); + return params._ret; } ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardDisplayType _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries(_this->u_iface, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry(_this->u_iface, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore(_this->u_iface, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_vtable; @@ -1436,242 +2060,393 @@ DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_G bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat(struct w_steam_iface *_this, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat(struct w_steam_iface *_this, const char *pchName, int32 nData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat(_this->u_iface, pchName, nData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2(_this->u_iface, pchName, fData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat(_this->u_iface, pchName, flCountThisSession, dSessionLength); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement(_this->u_iface, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime(_this->u_iface, pchName, pbAchieved, punUnlockTime); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute(_this->u_iface, pchName, pchKey); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress(_this->u_iface, pchName, nCurProgress, nMaxProgress); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats(_this->u_iface, steamIDUser); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement(_this->u_iface, steamIDUser, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime(_this->u_iface, steamIDUser, pchName, pbAchieved, punUnlockTime); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats(struct w_steam_iface *_this, bool bAchievementsToo) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats(_this->u_iface, bAchievementsToo); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard(_this->u_iface, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard(_this->u_iface, pchLeaderboardName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount( ¶ms ); + return params._ret; } ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardSortMethod _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod( ¶ms ); + return params._ret; } ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardDisplayType _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries(_this->u_iface, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry(_this->u_iface, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore(_this->u_iface, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_vtable; @@ -1760,250 +2535,406 @@ DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_G bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat(struct w_steam_iface *_this, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat(struct w_steam_iface *_this, const char *pchName, int32 nData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat(_this->u_iface, pchName, nData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2(_this->u_iface, pchName, fData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat(_this->u_iface, pchName, flCountThisSession, dSessionLength); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement(_this->u_iface, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime(_this->u_iface, pchName, pbAchieved, punUnlockTime); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute(_this->u_iface, pchName, pchKey); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress(_this->u_iface, pchName, nCurProgress, nMaxProgress); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats(_this->u_iface, steamIDUser); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement(_this->u_iface, steamIDUser, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime(_this->u_iface, steamIDUser, pchName, pbAchieved, punUnlockTime); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats(struct w_steam_iface *_this, bool bAchievementsToo) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats(_this->u_iface, bAchievementsToo); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard(_this->u_iface, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard(_this->u_iface, pchLeaderboardName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount( ¶ms ); + return params._ret; } ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardSortMethod _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod( ¶ms ); + return params._ret; } ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardDisplayType _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries(_this->u_iface, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_111x *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry(_this->u_iface, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore(_this->u_iface, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .hUGC = hUGC, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC(_this->u_iface, hSteamLeaderboard, hUGC); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_vtable; @@ -2094,258 +3025,420 @@ DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_G bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat(struct w_steam_iface *_this, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat(struct w_steam_iface *_this, const char *pchName, int32 nData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat(_this->u_iface, pchName, nData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2(_this->u_iface, pchName, fData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat(_this->u_iface, pchName, flCountThisSession, dSessionLength); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement(_this->u_iface, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime(_this->u_iface, pchName, pbAchieved, punUnlockTime); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute(_this->u_iface, pchName, pchKey); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress(_this->u_iface, pchName, nCurProgress, nMaxProgress); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats(_this->u_iface, steamIDUser); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement(_this->u_iface, steamIDUser, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime(_this->u_iface, steamIDUser, pchName, pbAchieved, punUnlockTime); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats(struct w_steam_iface *_this, bool bAchievementsToo) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats(_this->u_iface, bAchievementsToo); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard(_this->u_iface, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard(_this->u_iface, pchLeaderboardName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount( ¶ms ); + return params._ret; } ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardSortMethod _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod( ¶ms ); + return params._ret; } ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardDisplayType _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries(_this->u_iface, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, CSteamID *prgUsers, int cUsers) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .prgUsers = prgUsers, + .cUsers = cUsers, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers(_this->u_iface, hSteamLeaderboard, prgUsers, cUsers); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_113 *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry(_this->u_iface, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore(_this->u_iface, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .hUGC = hUGC, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC(_this->u_iface, hSteamLeaderboard, hUGC); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_vtable; @@ -2446,330 +3539,541 @@ DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_G bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat(struct w_steam_iface *_this, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat(struct w_steam_iface *_this, const char *pchName, int32 nData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat(_this->u_iface, pchName, nData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2(_this->u_iface, pchName, fData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat(_this->u_iface, pchName, flCountThisSession, dSessionLength); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement(_this->u_iface, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime(_this->u_iface, pchName, pbAchieved, punUnlockTime); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute(_this->u_iface, pchName, pchKey); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress(_this->u_iface, pchName, nCurProgress, nMaxProgress); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats(_this->u_iface, steamIDUser); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement(_this->u_iface, steamIDUser, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime(_this->u_iface, steamIDUser, pchName, pbAchieved, punUnlockTime); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats(struct w_steam_iface *_this, bool bAchievementsToo) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats(_this->u_iface, bAchievementsToo); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard(_this->u_iface, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard(_this->u_iface, pchLeaderboardName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount( ¶ms ); + return params._ret; } ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardSortMethod _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod( ¶ms ); + return params._ret; } ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardDisplayType _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries(_this->u_iface, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, CSteamID *prgUsers, int cUsers) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .prgUsers = prgUsers, + .cUsers = cUsers, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers(_this->u_iface, hSteamLeaderboard, prgUsers, cUsers); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_119 *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry(_this->u_iface, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore(_this->u_iface, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .hUGC = hUGC, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC(_this->u_iface, hSteamLeaderboard, hUGC); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo(struct w_steam_iface *_this, char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .unNameBufLen = unNameBufLen, + .pflPercent = pflPercent, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo(_this->u_iface, pchName, unNameBufLen, pflPercent, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo(struct w_steam_iface *_this, int iIteratorPrevious, char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo_params params = + { + .linux_side = _this->u_iface, + .iIteratorPrevious = iIteratorPrevious, + .pchName = pchName, + .unNameBufLen = unNameBufLen, + .pflPercent = pflPercent, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo(_this->u_iface, iIteratorPrevious, pchName, unNameBufLen, pflPercent, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent(struct w_steam_iface *_this, const char *pchName, float *pflPercent) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pflPercent = pflPercent, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent(_this->u_iface, pchName, pflPercent); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats(struct w_steam_iface *_this, int nHistoryDays) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats_params params = + { + .linux_side = _this->u_iface, + .nHistoryDays = nHistoryDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats(_this->u_iface, nHistoryDays); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat(struct w_steam_iface *_this, const char *pchStatName, int64 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat(_this->u_iface, pchStatName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2(struct w_steam_iface *_this, const char *pchStatName, double *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2(_this->u_iface, pchStatName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2( ¶ms ); + return params._ret; } int32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory(struct w_steam_iface *_this, const char *pchStatName, int64 *pData, uint32 cubData) { - int32 _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory(_this->u_iface, pchStatName, pData, cubData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory( ¶ms ); + return params._ret; } int32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2(struct w_steam_iface *_this, const char *pchStatName, double *pData, uint32 cubData) { - int32 _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2(_this->u_iface, pchStatName, pData, cubData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_vtable; @@ -2881,346 +4185,564 @@ DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_G bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat(struct w_steam_iface *_this, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat(struct w_steam_iface *_this, const char *pchName, int32 nData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat(_this->u_iface, pchName, nData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2(_this->u_iface, pchName, fData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat(_this->u_iface, pchName, flCountThisSession, dSessionLength); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement(_this->u_iface, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime(_this->u_iface, pchName, pbAchieved, punUnlockTime); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute(_this->u_iface, pchName, pchKey); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress(_this->u_iface, pchName, nCurProgress, nMaxProgress); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName(struct w_steam_iface *_this, uint32 iAchievement) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName_params params = + { + .linux_side = _this->u_iface, + .iAchievement = iAchievement, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName(_this->u_iface, iAchievement); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats(_this->u_iface, steamIDUser); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement(_this->u_iface, steamIDUser, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime(_this->u_iface, steamIDUser, pchName, pbAchieved, punUnlockTime); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats(struct w_steam_iface *_this, bool bAchievementsToo) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats(_this->u_iface, bAchievementsToo); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard(_this->u_iface, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard(_this->u_iface, pchLeaderboardName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount( ¶ms ); + return params._ret; } ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardSortMethod _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod( ¶ms ); + return params._ret; } ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardDisplayType _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries(_this->u_iface, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, CSteamID *prgUsers, int cUsers) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .prgUsers = prgUsers, + .cUsers = cUsers, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers(_this->u_iface, hSteamLeaderboard, prgUsers, cUsers); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_148a *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(_this->u_iface, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore(_this->u_iface, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .hUGC = hUGC, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC(_this->u_iface, hSteamLeaderboard, hUGC); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo(struct w_steam_iface *_this, char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .unNameBufLen = unNameBufLen, + .pflPercent = pflPercent, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo(_this->u_iface, pchName, unNameBufLen, pflPercent, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo(struct w_steam_iface *_this, int iIteratorPrevious, char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo_params params = + { + .linux_side = _this->u_iface, + .iIteratorPrevious = iIteratorPrevious, + .pchName = pchName, + .unNameBufLen = unNameBufLen, + .pflPercent = pflPercent, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo(_this->u_iface, iIteratorPrevious, pchName, unNameBufLen, pflPercent, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent(struct w_steam_iface *_this, const char *pchName, float *pflPercent) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pflPercent = pflPercent, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent(_this->u_iface, pchName, pflPercent); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats(struct w_steam_iface *_this, int nHistoryDays) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats_params params = + { + .linux_side = _this->u_iface, + .nHistoryDays = nHistoryDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats(_this->u_iface, nHistoryDays); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat(struct w_steam_iface *_this, const char *pchStatName, int64 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat(_this->u_iface, pchStatName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2(struct w_steam_iface *_this, const char *pchStatName, double *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2(_this->u_iface, pchStatName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2( ¶ms ); + return params._ret; } int32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory(struct w_steam_iface *_this, const char *pchStatName, int64 *pData, uint32 cubData) { - int32 _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory(_this->u_iface, pchStatName, pData, cubData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory( ¶ms ); + return params._ret; } int32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2(struct w_steam_iface *_this, const char *pchStatName, double *pData, uint32 cubData) { - int32 _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2(_this->u_iface, pchStatName, pData, cubData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_vtable; @@ -3336,362 +4858,592 @@ DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_G bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat(struct w_steam_iface *_this, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2(_this->u_iface, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat(struct w_steam_iface *_this, const char *pchName, int32 nData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat(_this->u_iface, pchName, nData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2(_this->u_iface, pchName, fData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat(_this->u_iface, pchName, flCountThisSession, dSessionLength); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement(_this->u_iface, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime(_this->u_iface, pchName, pbAchieved, punUnlockTime); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon(_this->u_iface, pchName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute(_this->u_iface, pchName, pchKey); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress(_this->u_iface, pchName, nCurProgress, nMaxProgress); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName(struct w_steam_iface *_this, uint32 iAchievement) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName_params params = + { + .linux_side = _this->u_iface, + .iAchievement = iAchievement, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName(_this->u_iface, iAchievement); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats(_this->u_iface, steamIDUser); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2(_this->u_iface, steamIDUser, pchName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement(_this->u_iface, steamIDUser, pchName, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime(_this->u_iface, steamIDUser, pchName, pbAchieved, punUnlockTime); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats(struct w_steam_iface *_this, bool bAchievementsToo) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats(_this->u_iface, bAchievementsToo); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard(_this->u_iface, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard(_this->u_iface, pchLeaderboardName); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard( ¶ms ); + return params._ret; } const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - const char * _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount( ¶ms ); + return params._ret; } ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardSortMethod _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod( ¶ms ); + return params._ret; } ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard) { - ELeaderboardDisplayType _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType(_this->u_iface, hSteamLeaderboard); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries(_this->u_iface, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, CSteamID *prgUsers, int cUsers) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .prgUsers = prgUsers, + .cUsers = cUsers, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers(_this->u_iface, hSteamLeaderboard, prgUsers, cUsers); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_158 *pLeaderboardEntry, int32 *pDetails, int cDetailsMax) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(_this->u_iface, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore(_this->u_iface, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC(struct w_steam_iface *_this, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .hUGC = hUGC, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC(_this->u_iface, hSteamLeaderboard, hUGC); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages(struct w_steam_iface *_this) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages(_this->u_iface); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo(struct w_steam_iface *_this, char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .unNameBufLen = unNameBufLen, + .pflPercent = pflPercent, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo(_this->u_iface, pchName, unNameBufLen, pflPercent, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo( ¶ms ); + return params._ret; } int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo(struct w_steam_iface *_this, int iIteratorPrevious, char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved) { - int _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo_params params = + { + .linux_side = _this->u_iface, + .iIteratorPrevious = iIteratorPrevious, + .pchName = pchName, + .unNameBufLen = unNameBufLen, + .pflPercent = pflPercent, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo(_this->u_iface, iIteratorPrevious, pchName, unNameBufLen, pflPercent, pbAchieved); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent(struct w_steam_iface *_this, const char *pchName, float *pflPercent) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pflPercent = pflPercent, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent(_this->u_iface, pchName, pflPercent); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats(struct w_steam_iface *_this, int nHistoryDays) { - SteamAPICall_t _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats_params params = + { + .linux_side = _this->u_iface, + .nHistoryDays = nHistoryDays, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats(_this->u_iface, nHistoryDays); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat(struct w_steam_iface *_this, const char *pchStatName, int64 *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat(_this->u_iface, pchStatName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2(struct w_steam_iface *_this, const char *pchStatName, double *pData) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2(_this->u_iface, pchStatName, pData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2( ¶ms ); + return params._ret; } int32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory(struct w_steam_iface *_this, const char *pchStatName, int64 *pData, uint32 cubData) { - int32 _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory(_this->u_iface, pchStatName, pData, cubData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory( ¶ms ); + return params._ret; } int32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2(struct w_steam_iface *_this, const char *pchStatName, double *pData, uint32 cubData) { - int32 _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + .cubData = cubData, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2(_this->u_iface, pchStatName, pData, cubData); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits(struct w_steam_iface *_this, const char *pchName, int32 *pnMinProgress, int32 *pnMaxProgress) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pnMinProgress = pnMinProgress, + .pnMaxProgress = pnMaxProgress, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits(_this->u_iface, pchName, pnMinProgress, pnMaxProgress); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits( ¶ms ); + return params._ret; } bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2(struct w_steam_iface *_this, const char *pchName, float *pfMinProgress, float *pfMaxProgress) { - bool _ret; + struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pfMinProgress = pfMinProgress, + .pfMaxProgress = pfMaxProgress, + }; TRACE("%p\n", _this); - _ret = cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2(_this->u_iface, pchName, pfMinProgress, pfMaxProgress); - return _ret; + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_vtable; diff --git a/lsteamclient/winISteamUtils.c b/lsteamclient/winISteamUtils.c index fe5ee646..2c28d396 100644 --- a/lsteamclient/winISteamUtils.c +++ b/lsteamclient/winISteamUtils.c @@ -32,124 +32,181 @@ DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetAPICallResult, 28) uint32 __thiscall winISteamUtils_SteamUtils002_GetSecondsSinceAppActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils002_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive( ¶ms ); + return params._ret; } EUniverse __thiscall winISteamUtils_SteamUtils002_GetConnectedUniverse(struct w_steam_iface *_this) { - EUniverse _ret; + struct cppISteamUtils_SteamUtils002_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils002_GetConnectedUniverse(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils002_GetConnectedUniverse( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils002_GetServerRealTime(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils002_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils002_GetServerRealTime(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils002_GetServerRealTime( ¶ms ); + return params._ret; } const char * __thiscall winISteamUtils_SteamUtils002_GetIPCountry(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamUtils_SteamUtils002_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils002_GetIPCountry(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils002_GetIPCountry( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils002_GetImageSize(struct w_steam_iface *_this, int iImage, uint32 *pnWidth, uint32 *pnHeight) { - bool _ret; + struct cppISteamUtils_SteamUtils002_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils002_GetImageSize(_this->u_iface, iImage, pnWidth, pnHeight); - return _ret; + cppISteamUtils_SteamUtils002_GetImageSize( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils002_GetImageRGBA(struct w_steam_iface *_this, int iImage, uint8 *pubDest, int nDestBufferSize) { - bool _ret; + struct cppISteamUtils_SteamUtils002_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils002_GetImageRGBA(_this->u_iface, iImage, pubDest, nDestBufferSize); - return _ret; + cppISteamUtils_SteamUtils002_GetImageRGBA( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils002_GetCSERIPPort(struct w_steam_iface *_this, uint32 *unIP, uint16 *usPort) { - bool _ret; + struct cppISteamUtils_SteamUtils002_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils002_GetCSERIPPort(_this->u_iface, unIP, usPort); - return _ret; + cppISteamUtils_SteamUtils002_GetCSERIPPort( ¶ms ); + return params._ret; } uint8 __thiscall winISteamUtils_SteamUtils002_GetCurrentBatteryPower(struct w_steam_iface *_this) { - uint8 _ret; + struct cppISteamUtils_SteamUtils002_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils002_GetCurrentBatteryPower(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils002_GetCurrentBatteryPower( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils002_GetAppID(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils002_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils002_GetAppID(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils002_GetAppID( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils002_SetOverlayNotificationPosition(struct w_steam_iface *_this, ENotificationPosition eNotificationPosition) { + struct cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition(_this->u_iface, eNotificationPosition); + cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils002_IsAPICallCompleted(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, bool *pbFailed) { - bool _ret; + struct cppISteamUtils_SteamUtils002_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils002_IsAPICallCompleted(_this->u_iface, hSteamAPICall, pbFailed); - return _ret; + cppISteamUtils_SteamUtils002_IsAPICallCompleted( ¶ms ); + return params._ret; } ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils002_GetAPICallFailureReason(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall) { - ESteamAPICallFailure _ret; + struct cppISteamUtils_SteamUtils002_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils002_GetAPICallFailureReason(_this->u_iface, hSteamAPICall); - return _ret; + cppISteamUtils_SteamUtils002_GetAPICallFailureReason( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils002_GetAPICallResult(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) { - bool _ret; - int u_callback_len = cubCallback, w_callback_len = cubCallback; - void *u_callback, *w_callback = pCallback; - TRACE("%p\n", _this); - if (!(u_callback = alloc_callback_wtou(iCallbackExpected, w_callback, &u_callback_len))) return FALSE; - cubCallback = u_callback_len; - pCallback = u_callback; - - _ret = cppISteamUtils_SteamUtils002_GetAPICallResult(_this->u_iface, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); - if (_ret && u_callback != w_callback) + struct cppISteamUtils_SteamUtils002_GetAPICallResult_params params = { - convert_callback_utow(iCallbackExpected, u_callback, u_callback_len, w_callback, w_callback_len); - HeapFree(GetProcessHeap(), 0, u_callback); + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; + int w_callback_len = cubCallback; + void *w_callback = pCallback; + TRACE("%p\n", _this); + if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE; + cppISteamUtils_SteamUtils002_GetAPICallResult( ¶ms ); + if (params._ret && params.pCallback != w_callback) + { + convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len); + HeapFree(GetProcessHeap(), 0, params.pCallback); } - return _ret; + return params._ret; } extern vtable_ptr winISteamUtils_SteamUtils002_vtable; @@ -209,152 +266,224 @@ DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_IsOverlayEnabled, 4) uint32 __thiscall winISteamUtils_SteamUtils004_GetSecondsSinceAppActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils004_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive( ¶ms ); + return params._ret; } EUniverse __thiscall winISteamUtils_SteamUtils004_GetConnectedUniverse(struct w_steam_iface *_this) { - EUniverse _ret; + struct cppISteamUtils_SteamUtils004_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_GetConnectedUniverse(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils004_GetConnectedUniverse( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils004_GetServerRealTime(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils004_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_GetServerRealTime(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils004_GetServerRealTime( ¶ms ); + return params._ret; } const char * __thiscall winISteamUtils_SteamUtils004_GetIPCountry(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamUtils_SteamUtils004_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_GetIPCountry(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils004_GetIPCountry( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils004_GetImageSize(struct w_steam_iface *_this, int iImage, uint32 *pnWidth, uint32 *pnHeight) { - bool _ret; + struct cppISteamUtils_SteamUtils004_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_GetImageSize(_this->u_iface, iImage, pnWidth, pnHeight); - return _ret; + cppISteamUtils_SteamUtils004_GetImageSize( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils004_GetImageRGBA(struct w_steam_iface *_this, int iImage, uint8 *pubDest, int nDestBufferSize) { - bool _ret; + struct cppISteamUtils_SteamUtils004_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_GetImageRGBA(_this->u_iface, iImage, pubDest, nDestBufferSize); - return _ret; + cppISteamUtils_SteamUtils004_GetImageRGBA( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils004_GetCSERIPPort(struct w_steam_iface *_this, uint32 *unIP, uint16 *usPort) { - bool _ret; + struct cppISteamUtils_SteamUtils004_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_GetCSERIPPort(_this->u_iface, unIP, usPort); - return _ret; + cppISteamUtils_SteamUtils004_GetCSERIPPort( ¶ms ); + return params._ret; } uint8 __thiscall winISteamUtils_SteamUtils004_GetCurrentBatteryPower(struct w_steam_iface *_this) { - uint8 _ret; + struct cppISteamUtils_SteamUtils004_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_GetCurrentBatteryPower(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils004_GetCurrentBatteryPower( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils004_GetAppID(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils004_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_GetAppID(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils004_GetAppID( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils004_SetOverlayNotificationPosition(struct w_steam_iface *_this, ENotificationPosition eNotificationPosition) { + struct cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition(_this->u_iface, eNotificationPosition); + cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils004_IsAPICallCompleted(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, bool *pbFailed) { - bool _ret; + struct cppISteamUtils_SteamUtils004_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_IsAPICallCompleted(_this->u_iface, hSteamAPICall, pbFailed); - return _ret; + cppISteamUtils_SteamUtils004_IsAPICallCompleted( ¶ms ); + return params._ret; } ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils004_GetAPICallFailureReason(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall) { - ESteamAPICallFailure _ret; + struct cppISteamUtils_SteamUtils004_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_GetAPICallFailureReason(_this->u_iface, hSteamAPICall); - return _ret; + cppISteamUtils_SteamUtils004_GetAPICallFailureReason( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils004_GetAPICallResult(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) { - bool _ret; - int u_callback_len = cubCallback, w_callback_len = cubCallback; - void *u_callback, *w_callback = pCallback; - TRACE("%p\n", _this); - if (!(u_callback = alloc_callback_wtou(iCallbackExpected, w_callback, &u_callback_len))) return FALSE; - cubCallback = u_callback_len; - pCallback = u_callback; - - _ret = cppISteamUtils_SteamUtils004_GetAPICallResult(_this->u_iface, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); - if (_ret && u_callback != w_callback) + struct cppISteamUtils_SteamUtils004_GetAPICallResult_params params = { - convert_callback_utow(iCallbackExpected, u_callback, u_callback_len, w_callback, w_callback_len); - HeapFree(GetProcessHeap(), 0, u_callback); + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; + int w_callback_len = cubCallback; + void *w_callback = pCallback; + TRACE("%p\n", _this); + if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE; + cppISteamUtils_SteamUtils004_GetAPICallResult( ¶ms ); + if (params._ret && params.pCallback != w_callback) + { + convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len); + HeapFree(GetProcessHeap(), 0, params.pCallback); } - return _ret; + return params._ret; } void __thiscall winISteamUtils_SteamUtils004_RunFrame(struct w_steam_iface *_this) { + struct cppISteamUtils_SteamUtils004_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils004_RunFrame(_this->u_iface); + cppISteamUtils_SteamUtils004_RunFrame( ¶ms ); } uint32 __thiscall winISteamUtils_SteamUtils004_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils004_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils004_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils004_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamUtils_SteamUtils004_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils004_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamUtils_SteamUtils004_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils004_IsOverlayEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils004_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils004_IsOverlayEnabled(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils004_IsOverlayEnabled( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUtils_SteamUtils004_vtable; @@ -423,194 +552,288 @@ DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetEnteredGamepadTextInput, uint32 __thiscall winISteamUtils_SteamUtils005_GetSecondsSinceAppActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils005_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive( ¶ms ); + return params._ret; } EUniverse __thiscall winISteamUtils_SteamUtils005_GetConnectedUniverse(struct w_steam_iface *_this) { - EUniverse _ret; + struct cppISteamUtils_SteamUtils005_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetConnectedUniverse(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils005_GetConnectedUniverse( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils005_GetServerRealTime(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils005_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetServerRealTime(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils005_GetServerRealTime( ¶ms ); + return params._ret; } const char * __thiscall winISteamUtils_SteamUtils005_GetIPCountry(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamUtils_SteamUtils005_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetIPCountry(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils005_GetIPCountry( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils005_GetImageSize(struct w_steam_iface *_this, int iImage, uint32 *pnWidth, uint32 *pnHeight) { - bool _ret; + struct cppISteamUtils_SteamUtils005_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetImageSize(_this->u_iface, iImage, pnWidth, pnHeight); - return _ret; + cppISteamUtils_SteamUtils005_GetImageSize( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils005_GetImageRGBA(struct w_steam_iface *_this, int iImage, uint8 *pubDest, int nDestBufferSize) { - bool _ret; + struct cppISteamUtils_SteamUtils005_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetImageRGBA(_this->u_iface, iImage, pubDest, nDestBufferSize); - return _ret; + cppISteamUtils_SteamUtils005_GetImageRGBA( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils005_GetCSERIPPort(struct w_steam_iface *_this, uint32 *unIP, uint16 *usPort) { - bool _ret; + struct cppISteamUtils_SteamUtils005_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetCSERIPPort(_this->u_iface, unIP, usPort); - return _ret; + cppISteamUtils_SteamUtils005_GetCSERIPPort( ¶ms ); + return params._ret; } uint8 __thiscall winISteamUtils_SteamUtils005_GetCurrentBatteryPower(struct w_steam_iface *_this) { - uint8 _ret; + struct cppISteamUtils_SteamUtils005_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetCurrentBatteryPower(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils005_GetCurrentBatteryPower( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils005_GetAppID(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils005_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetAppID(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils005_GetAppID( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils005_SetOverlayNotificationPosition(struct w_steam_iface *_this, ENotificationPosition eNotificationPosition) { + struct cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition(_this->u_iface, eNotificationPosition); + cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils005_IsAPICallCompleted(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, bool *pbFailed) { - bool _ret; + struct cppISteamUtils_SteamUtils005_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_IsAPICallCompleted(_this->u_iface, hSteamAPICall, pbFailed); - return _ret; + cppISteamUtils_SteamUtils005_IsAPICallCompleted( ¶ms ); + return params._ret; } ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils005_GetAPICallFailureReason(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall) { - ESteamAPICallFailure _ret; + struct cppISteamUtils_SteamUtils005_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetAPICallFailureReason(_this->u_iface, hSteamAPICall); - return _ret; + cppISteamUtils_SteamUtils005_GetAPICallFailureReason( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils005_GetAPICallResult(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) { - bool _ret; - int u_callback_len = cubCallback, w_callback_len = cubCallback; - void *u_callback, *w_callback = pCallback; - TRACE("%p\n", _this); - if (!(u_callback = alloc_callback_wtou(iCallbackExpected, w_callback, &u_callback_len))) return FALSE; - cubCallback = u_callback_len; - pCallback = u_callback; - - _ret = cppISteamUtils_SteamUtils005_GetAPICallResult(_this->u_iface, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); - if (_ret && u_callback != w_callback) + struct cppISteamUtils_SteamUtils005_GetAPICallResult_params params = { - convert_callback_utow(iCallbackExpected, u_callback, u_callback_len, w_callback, w_callback_len); - HeapFree(GetProcessHeap(), 0, u_callback); + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; + int w_callback_len = cubCallback; + void *w_callback = pCallback; + TRACE("%p\n", _this); + if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE; + cppISteamUtils_SteamUtils005_GetAPICallResult( ¶ms ); + if (params._ret && params.pCallback != w_callback) + { + convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len); + HeapFree(GetProcessHeap(), 0, params.pCallback); } - return _ret; + return params._ret; } void __thiscall winISteamUtils_SteamUtils005_RunFrame(struct w_steam_iface *_this) { + struct cppISteamUtils_SteamUtils005_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils005_RunFrame(_this->u_iface); + cppISteamUtils_SteamUtils005_RunFrame( ¶ms ); } uint32 __thiscall winISteamUtils_SteamUtils005_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils005_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils005_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils005_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamUtils_SteamUtils005_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils005_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamUtils_SteamUtils005_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils005_IsOverlayEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils005_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_IsOverlayEnabled(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils005_IsOverlayEnabled( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils005_BOverlayNeedsPresent(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils005_BOverlayNeedsPresent_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_BOverlayNeedsPresent(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils005_BOverlayNeedsPresent( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUtils_SteamUtils005_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName) { - SteamAPICall_t _ret; - const char *u_szFileName = steamclient_dos_to_unix_path( szFileName, 0 ); + struct cppISteamUtils_SteamUtils005_CheckFileSignature_params params = + { + .linux_side = _this->u_iface, + .szFileName = szFileName, + }; + params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_CheckFileSignature(_this->u_iface, szFileName ? u_szFileName : NULL); - steamclient_free_path( u_szFileName ); - return _ret; + cppISteamUtils_SteamUtils005_CheckFileSignature( ¶ms ); + steamclient_free_path( params.szFileName ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils005_ShowGamepadTextInput(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax) { - bool _ret; + struct cppISteamUtils_SteamUtils005_ShowGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_ShowGamepadTextInput(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax); - return _ret; + cppISteamUtils_SteamUtils005_ShowGamepadTextInput( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils005_GetEnteredGamepadTextLength(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils005_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32 cchText) { - bool _ret; + struct cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput(_this->u_iface, pchText, cchText); - return _ret; + cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUtils_SteamUtils005_vtable; @@ -686,210 +909,310 @@ DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_IsSteamRunningInVR, 4) uint32 __thiscall winISteamUtils_SteamUtils006_GetSecondsSinceAppActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils006_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive( ¶ms ); + return params._ret; } EUniverse __thiscall winISteamUtils_SteamUtils006_GetConnectedUniverse(struct w_steam_iface *_this) { - EUniverse _ret; + struct cppISteamUtils_SteamUtils006_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetConnectedUniverse(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils006_GetConnectedUniverse( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils006_GetServerRealTime(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils006_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetServerRealTime(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils006_GetServerRealTime( ¶ms ); + return params._ret; } const char * __thiscall winISteamUtils_SteamUtils006_GetIPCountry(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamUtils_SteamUtils006_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetIPCountry(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils006_GetIPCountry( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils006_GetImageSize(struct w_steam_iface *_this, int iImage, uint32 *pnWidth, uint32 *pnHeight) { - bool _ret; + struct cppISteamUtils_SteamUtils006_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetImageSize(_this->u_iface, iImage, pnWidth, pnHeight); - return _ret; + cppISteamUtils_SteamUtils006_GetImageSize( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils006_GetImageRGBA(struct w_steam_iface *_this, int iImage, uint8 *pubDest, int nDestBufferSize) { - bool _ret; + struct cppISteamUtils_SteamUtils006_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetImageRGBA(_this->u_iface, iImage, pubDest, nDestBufferSize); - return _ret; + cppISteamUtils_SteamUtils006_GetImageRGBA( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils006_GetCSERIPPort(struct w_steam_iface *_this, uint32 *unIP, uint16 *usPort) { - bool _ret; + struct cppISteamUtils_SteamUtils006_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetCSERIPPort(_this->u_iface, unIP, usPort); - return _ret; + cppISteamUtils_SteamUtils006_GetCSERIPPort( ¶ms ); + return params._ret; } uint8 __thiscall winISteamUtils_SteamUtils006_GetCurrentBatteryPower(struct w_steam_iface *_this) { - uint8 _ret; + struct cppISteamUtils_SteamUtils006_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetCurrentBatteryPower(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils006_GetCurrentBatteryPower( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils006_GetAppID(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils006_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetAppID(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils006_GetAppID( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils006_SetOverlayNotificationPosition(struct w_steam_iface *_this, ENotificationPosition eNotificationPosition) { + struct cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition(_this->u_iface, eNotificationPosition); + cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils006_IsAPICallCompleted(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, bool *pbFailed) { - bool _ret; + struct cppISteamUtils_SteamUtils006_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_IsAPICallCompleted(_this->u_iface, hSteamAPICall, pbFailed); - return _ret; + cppISteamUtils_SteamUtils006_IsAPICallCompleted( ¶ms ); + return params._ret; } ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils006_GetAPICallFailureReason(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall) { - ESteamAPICallFailure _ret; + struct cppISteamUtils_SteamUtils006_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetAPICallFailureReason(_this->u_iface, hSteamAPICall); - return _ret; + cppISteamUtils_SteamUtils006_GetAPICallFailureReason( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils006_GetAPICallResult(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) { - bool _ret; - int u_callback_len = cubCallback, w_callback_len = cubCallback; - void *u_callback, *w_callback = pCallback; - TRACE("%p\n", _this); - if (!(u_callback = alloc_callback_wtou(iCallbackExpected, w_callback, &u_callback_len))) return FALSE; - cubCallback = u_callback_len; - pCallback = u_callback; - - _ret = cppISteamUtils_SteamUtils006_GetAPICallResult(_this->u_iface, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); - if (_ret && u_callback != w_callback) + struct cppISteamUtils_SteamUtils006_GetAPICallResult_params params = { - convert_callback_utow(iCallbackExpected, u_callback, u_callback_len, w_callback, w_callback_len); - HeapFree(GetProcessHeap(), 0, u_callback); + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; + int w_callback_len = cubCallback; + void *w_callback = pCallback; + TRACE("%p\n", _this); + if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE; + cppISteamUtils_SteamUtils006_GetAPICallResult( ¶ms ); + if (params._ret && params.pCallback != w_callback) + { + convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len); + HeapFree(GetProcessHeap(), 0, params.pCallback); } - return _ret; + return params._ret; } void __thiscall winISteamUtils_SteamUtils006_RunFrame(struct w_steam_iface *_this) { + struct cppISteamUtils_SteamUtils006_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils006_RunFrame(_this->u_iface); + cppISteamUtils_SteamUtils006_RunFrame( ¶ms ); } uint32 __thiscall winISteamUtils_SteamUtils006_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils006_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils006_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils006_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamUtils_SteamUtils006_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils006_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamUtils_SteamUtils006_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils006_IsOverlayEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils006_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_IsOverlayEnabled(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils006_IsOverlayEnabled( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils006_BOverlayNeedsPresent(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils006_BOverlayNeedsPresent_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_BOverlayNeedsPresent(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils006_BOverlayNeedsPresent( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUtils_SteamUtils006_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName) { - SteamAPICall_t _ret; - const char *u_szFileName = steamclient_dos_to_unix_path( szFileName, 0 ); + struct cppISteamUtils_SteamUtils006_CheckFileSignature_params params = + { + .linux_side = _this->u_iface, + .szFileName = szFileName, + }; + params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_CheckFileSignature(_this->u_iface, szFileName ? u_szFileName : NULL); - steamclient_free_path( u_szFileName ); - return _ret; + cppISteamUtils_SteamUtils006_CheckFileSignature( ¶ms ); + steamclient_free_path( params.szFileName ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils006_ShowGamepadTextInput(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax) { - bool _ret; + struct cppISteamUtils_SteamUtils006_ShowGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_ShowGamepadTextInput(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax); - return _ret; + cppISteamUtils_SteamUtils006_ShowGamepadTextInput( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils006_GetEnteredGamepadTextLength(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils006_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32 cchText) { - bool _ret; + struct cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput(_this->u_iface, pchText, cchText); - return _ret; + cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput( ¶ms ); + return params._ret; } const char * __thiscall winISteamUtils_SteamUtils006_GetSteamUILanguage(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamUtils_SteamUtils006_GetSteamUILanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_GetSteamUILanguage(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils006_GetSteamUILanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils006_IsSteamRunningInVR(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils006_IsSteamRunningInVR_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils006_IsSteamRunningInVR(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils006_IsSteamRunningInVR( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUtils_SteamUtils006_vtable; @@ -968,216 +1291,323 @@ DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_SetOverlayNotificationInset uint32 __thiscall winISteamUtils_SteamUtils007_GetSecondsSinceAppActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils007_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive( ¶ms ); + return params._ret; } EUniverse __thiscall winISteamUtils_SteamUtils007_GetConnectedUniverse(struct w_steam_iface *_this) { - EUniverse _ret; + struct cppISteamUtils_SteamUtils007_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetConnectedUniverse(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils007_GetConnectedUniverse( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils007_GetServerRealTime(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils007_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetServerRealTime(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils007_GetServerRealTime( ¶ms ); + return params._ret; } const char * __thiscall winISteamUtils_SteamUtils007_GetIPCountry(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamUtils_SteamUtils007_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetIPCountry(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils007_GetIPCountry( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils007_GetImageSize(struct w_steam_iface *_this, int iImage, uint32 *pnWidth, uint32 *pnHeight) { - bool _ret; + struct cppISteamUtils_SteamUtils007_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetImageSize(_this->u_iface, iImage, pnWidth, pnHeight); - return _ret; + cppISteamUtils_SteamUtils007_GetImageSize( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils007_GetImageRGBA(struct w_steam_iface *_this, int iImage, uint8 *pubDest, int nDestBufferSize) { - bool _ret; + struct cppISteamUtils_SteamUtils007_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetImageRGBA(_this->u_iface, iImage, pubDest, nDestBufferSize); - return _ret; + cppISteamUtils_SteamUtils007_GetImageRGBA( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils007_GetCSERIPPort(struct w_steam_iface *_this, uint32 *unIP, uint16 *usPort) { - bool _ret; + struct cppISteamUtils_SteamUtils007_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetCSERIPPort(_this->u_iface, unIP, usPort); - return _ret; + cppISteamUtils_SteamUtils007_GetCSERIPPort( ¶ms ); + return params._ret; } uint8 __thiscall winISteamUtils_SteamUtils007_GetCurrentBatteryPower(struct w_steam_iface *_this) { - uint8 _ret; + struct cppISteamUtils_SteamUtils007_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetCurrentBatteryPower(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils007_GetCurrentBatteryPower( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils007_GetAppID(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils007_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetAppID(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils007_GetAppID( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils007_SetOverlayNotificationPosition(struct w_steam_iface *_this, ENotificationPosition eNotificationPosition) { + struct cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition(_this->u_iface, eNotificationPosition); + cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils007_IsAPICallCompleted(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, bool *pbFailed) { - bool _ret; + struct cppISteamUtils_SteamUtils007_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_IsAPICallCompleted(_this->u_iface, hSteamAPICall, pbFailed); - return _ret; + cppISteamUtils_SteamUtils007_IsAPICallCompleted( ¶ms ); + return params._ret; } ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils007_GetAPICallFailureReason(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall) { - ESteamAPICallFailure _ret; + struct cppISteamUtils_SteamUtils007_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetAPICallFailureReason(_this->u_iface, hSteamAPICall); - return _ret; + cppISteamUtils_SteamUtils007_GetAPICallFailureReason( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils007_GetAPICallResult(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) { - bool _ret; - int u_callback_len = cubCallback, w_callback_len = cubCallback; - void *u_callback, *w_callback = pCallback; - TRACE("%p\n", _this); - if (!(u_callback = alloc_callback_wtou(iCallbackExpected, w_callback, &u_callback_len))) return FALSE; - cubCallback = u_callback_len; - pCallback = u_callback; - - _ret = cppISteamUtils_SteamUtils007_GetAPICallResult(_this->u_iface, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); - if (_ret && u_callback != w_callback) + struct cppISteamUtils_SteamUtils007_GetAPICallResult_params params = { - convert_callback_utow(iCallbackExpected, u_callback, u_callback_len, w_callback, w_callback_len); - HeapFree(GetProcessHeap(), 0, u_callback); + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; + int w_callback_len = cubCallback; + void *w_callback = pCallback; + TRACE("%p\n", _this); + if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE; + cppISteamUtils_SteamUtils007_GetAPICallResult( ¶ms ); + if (params._ret && params.pCallback != w_callback) + { + convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len); + HeapFree(GetProcessHeap(), 0, params.pCallback); } - return _ret; + return params._ret; } void __thiscall winISteamUtils_SteamUtils007_RunFrame(struct w_steam_iface *_this) { + struct cppISteamUtils_SteamUtils007_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils007_RunFrame(_this->u_iface); + cppISteamUtils_SteamUtils007_RunFrame( ¶ms ); } uint32 __thiscall winISteamUtils_SteamUtils007_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils007_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils007_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils007_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamUtils_SteamUtils007_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils007_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamUtils_SteamUtils007_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils007_IsOverlayEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils007_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_IsOverlayEnabled(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils007_IsOverlayEnabled( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils007_BOverlayNeedsPresent(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils007_BOverlayNeedsPresent_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_BOverlayNeedsPresent(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils007_BOverlayNeedsPresent( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUtils_SteamUtils007_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName) { - SteamAPICall_t _ret; - const char *u_szFileName = steamclient_dos_to_unix_path( szFileName, 0 ); + struct cppISteamUtils_SteamUtils007_CheckFileSignature_params params = + { + .linux_side = _this->u_iface, + .szFileName = szFileName, + }; + params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_CheckFileSignature(_this->u_iface, szFileName ? u_szFileName : NULL); - steamclient_free_path( u_szFileName ); - return _ret; + cppISteamUtils_SteamUtils007_CheckFileSignature( ¶ms ); + steamclient_free_path( params.szFileName ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils007_ShowGamepadTextInput(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax, const char *pchExistingText) { - bool _ret; + struct cppISteamUtils_SteamUtils007_ShowGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_ShowGamepadTextInput(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); - return _ret; + cppISteamUtils_SteamUtils007_ShowGamepadTextInput( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils007_GetEnteredGamepadTextLength(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils007_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32 cchText) { - bool _ret; + struct cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput(_this->u_iface, pchText, cchText); - return _ret; + cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput( ¶ms ); + return params._ret; } const char * __thiscall winISteamUtils_SteamUtils007_GetSteamUILanguage(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamUtils_SteamUtils007_GetSteamUILanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_GetSteamUILanguage(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils007_GetSteamUILanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils007_IsSteamRunningInVR(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils007_IsSteamRunningInVR_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils007_IsSteamRunningInVR(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils007_IsSteamRunningInVR( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils007_SetOverlayNotificationInset(struct w_steam_iface *_this, int nHorizontalInset, int nVerticalInset) { + struct cppISteamUtils_SteamUtils007_SetOverlayNotificationInset_params params = + { + .linux_side = _this->u_iface, + .nHorizontalInset = nHorizontalInset, + .nVerticalInset = nVerticalInset, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils007_SetOverlayNotificationInset(_this->u_iface, nHorizontalInset, nVerticalInset); + cppISteamUtils_SteamUtils007_SetOverlayNotificationInset( ¶ms ); } extern vtable_ptr winISteamUtils_SteamUtils007_vtable; @@ -1259,230 +1689,344 @@ DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_StartVRDashboard, 4) uint32 __thiscall winISteamUtils_SteamUtils008_GetSecondsSinceAppActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils008_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive( ¶ms ); + return params._ret; } EUniverse __thiscall winISteamUtils_SteamUtils008_GetConnectedUniverse(struct w_steam_iface *_this) { - EUniverse _ret; + struct cppISteamUtils_SteamUtils008_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetConnectedUniverse(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_GetConnectedUniverse( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils008_GetServerRealTime(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils008_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetServerRealTime(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_GetServerRealTime( ¶ms ); + return params._ret; } const char * __thiscall winISteamUtils_SteamUtils008_GetIPCountry(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamUtils_SteamUtils008_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetIPCountry(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_GetIPCountry( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils008_GetImageSize(struct w_steam_iface *_this, int iImage, uint32 *pnWidth, uint32 *pnHeight) { - bool _ret; + struct cppISteamUtils_SteamUtils008_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetImageSize(_this->u_iface, iImage, pnWidth, pnHeight); - return _ret; + cppISteamUtils_SteamUtils008_GetImageSize( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils008_GetImageRGBA(struct w_steam_iface *_this, int iImage, uint8 *pubDest, int nDestBufferSize) { - bool _ret; + struct cppISteamUtils_SteamUtils008_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetImageRGBA(_this->u_iface, iImage, pubDest, nDestBufferSize); - return _ret; + cppISteamUtils_SteamUtils008_GetImageRGBA( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils008_GetCSERIPPort(struct w_steam_iface *_this, uint32 *unIP, uint16 *usPort) { - bool _ret; + struct cppISteamUtils_SteamUtils008_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetCSERIPPort(_this->u_iface, unIP, usPort); - return _ret; + cppISteamUtils_SteamUtils008_GetCSERIPPort( ¶ms ); + return params._ret; } uint8 __thiscall winISteamUtils_SteamUtils008_GetCurrentBatteryPower(struct w_steam_iface *_this) { - uint8 _ret; + struct cppISteamUtils_SteamUtils008_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetCurrentBatteryPower(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_GetCurrentBatteryPower( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils008_GetAppID(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils008_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetAppID(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_GetAppID( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils008_SetOverlayNotificationPosition(struct w_steam_iface *_this, ENotificationPosition eNotificationPosition) { + struct cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition(_this->u_iface, eNotificationPosition); + cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils008_IsAPICallCompleted(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, bool *pbFailed) { - bool _ret; + struct cppISteamUtils_SteamUtils008_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_IsAPICallCompleted(_this->u_iface, hSteamAPICall, pbFailed); - return _ret; + cppISteamUtils_SteamUtils008_IsAPICallCompleted( ¶ms ); + return params._ret; } ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils008_GetAPICallFailureReason(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall) { - ESteamAPICallFailure _ret; + struct cppISteamUtils_SteamUtils008_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetAPICallFailureReason(_this->u_iface, hSteamAPICall); - return _ret; + cppISteamUtils_SteamUtils008_GetAPICallFailureReason( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils008_GetAPICallResult(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) { - bool _ret; - int u_callback_len = cubCallback, w_callback_len = cubCallback; - void *u_callback, *w_callback = pCallback; - TRACE("%p\n", _this); - if (!(u_callback = alloc_callback_wtou(iCallbackExpected, w_callback, &u_callback_len))) return FALSE; - cubCallback = u_callback_len; - pCallback = u_callback; - - _ret = cppISteamUtils_SteamUtils008_GetAPICallResult(_this->u_iface, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); - if (_ret && u_callback != w_callback) + struct cppISteamUtils_SteamUtils008_GetAPICallResult_params params = { - convert_callback_utow(iCallbackExpected, u_callback, u_callback_len, w_callback, w_callback_len); - HeapFree(GetProcessHeap(), 0, u_callback); + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; + int w_callback_len = cubCallback; + void *w_callback = pCallback; + TRACE("%p\n", _this); + if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE; + cppISteamUtils_SteamUtils008_GetAPICallResult( ¶ms ); + if (params._ret && params.pCallback != w_callback) + { + convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len); + HeapFree(GetProcessHeap(), 0, params.pCallback); } - return _ret; + return params._ret; } void __thiscall winISteamUtils_SteamUtils008_RunFrame(struct w_steam_iface *_this) { + struct cppISteamUtils_SteamUtils008_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils008_RunFrame(_this->u_iface); + cppISteamUtils_SteamUtils008_RunFrame( ¶ms ); } uint32 __thiscall winISteamUtils_SteamUtils008_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils008_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils008_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamUtils_SteamUtils008_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils008_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamUtils_SteamUtils008_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils008_IsOverlayEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils008_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_IsOverlayEnabled(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_IsOverlayEnabled( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils008_BOverlayNeedsPresent(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils008_BOverlayNeedsPresent_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_BOverlayNeedsPresent(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_BOverlayNeedsPresent( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUtils_SteamUtils008_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName) { - SteamAPICall_t _ret; - const char *u_szFileName = steamclient_dos_to_unix_path( szFileName, 0 ); + struct cppISteamUtils_SteamUtils008_CheckFileSignature_params params = + { + .linux_side = _this->u_iface, + .szFileName = szFileName, + }; + params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_CheckFileSignature(_this->u_iface, szFileName ? u_szFileName : NULL); - steamclient_free_path( u_szFileName ); - return _ret; + cppISteamUtils_SteamUtils008_CheckFileSignature( ¶ms ); + steamclient_free_path( params.szFileName ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils008_ShowGamepadTextInput(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax, const char *pchExistingText) { - bool _ret; + struct cppISteamUtils_SteamUtils008_ShowGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_ShowGamepadTextInput(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); - return _ret; + cppISteamUtils_SteamUtils008_ShowGamepadTextInput( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils008_GetEnteredGamepadTextLength(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils008_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32 cchText) { - bool _ret; + struct cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput(_this->u_iface, pchText, cchText); - return _ret; + cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput( ¶ms ); + return params._ret; } const char * __thiscall winISteamUtils_SteamUtils008_GetSteamUILanguage(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamUtils_SteamUtils008_GetSteamUILanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_GetSteamUILanguage(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_GetSteamUILanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils008_IsSteamRunningInVR(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils008_IsSteamRunningInVR_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_IsSteamRunningInVR(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_IsSteamRunningInVR( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils008_SetOverlayNotificationInset(struct w_steam_iface *_this, int nHorizontalInset, int nVerticalInset) { + struct cppISteamUtils_SteamUtils008_SetOverlayNotificationInset_params params = + { + .linux_side = _this->u_iface, + .nHorizontalInset = nHorizontalInset, + .nVerticalInset = nVerticalInset, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils008_SetOverlayNotificationInset(_this->u_iface, nHorizontalInset, nVerticalInset); + cppISteamUtils_SteamUtils008_SetOverlayNotificationInset( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils008_IsSteamInBigPictureMode(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils008_StartVRDashboard(struct w_steam_iface *_this) { + struct cppISteamUtils_SteamUtils008_StartVRDashboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils008_StartVRDashboard(_this->u_iface); + cppISteamUtils_SteamUtils008_StartVRDashboard( ¶ms ); } extern vtable_ptr winISteamUtils_SteamUtils008_vtable; @@ -1572,276 +2116,415 @@ DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetIPv6ConnectivityState, 8 uint32 __thiscall winISteamUtils_SteamUtils009_GetSecondsSinceAppActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils009_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive( ¶ms ); + return params._ret; } EUniverse __thiscall winISteamUtils_SteamUtils009_GetConnectedUniverse(struct w_steam_iface *_this) { - EUniverse _ret; + struct cppISteamUtils_SteamUtils009_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetConnectedUniverse(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_GetConnectedUniverse( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils009_GetServerRealTime(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils009_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetServerRealTime(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_GetServerRealTime( ¶ms ); + return params._ret; } const char * __thiscall winISteamUtils_SteamUtils009_GetIPCountry(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamUtils_SteamUtils009_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetIPCountry(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_GetIPCountry( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils009_GetImageSize(struct w_steam_iface *_this, int iImage, uint32 *pnWidth, uint32 *pnHeight) { - bool _ret; + struct cppISteamUtils_SteamUtils009_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetImageSize(_this->u_iface, iImage, pnWidth, pnHeight); - return _ret; + cppISteamUtils_SteamUtils009_GetImageSize( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils009_GetImageRGBA(struct w_steam_iface *_this, int iImage, uint8 *pubDest, int nDestBufferSize) { - bool _ret; + struct cppISteamUtils_SteamUtils009_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetImageRGBA(_this->u_iface, iImage, pubDest, nDestBufferSize); - return _ret; + cppISteamUtils_SteamUtils009_GetImageRGBA( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils009_GetCSERIPPort(struct w_steam_iface *_this, uint32 *unIP, uint16 *usPort) { - bool _ret; + struct cppISteamUtils_SteamUtils009_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetCSERIPPort(_this->u_iface, unIP, usPort); - return _ret; + cppISteamUtils_SteamUtils009_GetCSERIPPort( ¶ms ); + return params._ret; } uint8 __thiscall winISteamUtils_SteamUtils009_GetCurrentBatteryPower(struct w_steam_iface *_this) { - uint8 _ret; + struct cppISteamUtils_SteamUtils009_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetCurrentBatteryPower(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_GetCurrentBatteryPower( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils009_GetAppID(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils009_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetAppID(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_GetAppID( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils009_SetOverlayNotificationPosition(struct w_steam_iface *_this, ENotificationPosition eNotificationPosition) { + struct cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition(_this->u_iface, eNotificationPosition); + cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils009_IsAPICallCompleted(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, bool *pbFailed) { - bool _ret; + struct cppISteamUtils_SteamUtils009_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_IsAPICallCompleted(_this->u_iface, hSteamAPICall, pbFailed); - return _ret; + cppISteamUtils_SteamUtils009_IsAPICallCompleted( ¶ms ); + return params._ret; } ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils009_GetAPICallFailureReason(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall) { - ESteamAPICallFailure _ret; + struct cppISteamUtils_SteamUtils009_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetAPICallFailureReason(_this->u_iface, hSteamAPICall); - return _ret; + cppISteamUtils_SteamUtils009_GetAPICallFailureReason( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils009_GetAPICallResult(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) { - bool _ret; - int u_callback_len = cubCallback, w_callback_len = cubCallback; - void *u_callback, *w_callback = pCallback; - TRACE("%p\n", _this); - if (!(u_callback = alloc_callback_wtou(iCallbackExpected, w_callback, &u_callback_len))) return FALSE; - cubCallback = u_callback_len; - pCallback = u_callback; - - _ret = cppISteamUtils_SteamUtils009_GetAPICallResult(_this->u_iface, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); - if (_ret && u_callback != w_callback) + struct cppISteamUtils_SteamUtils009_GetAPICallResult_params params = { - convert_callback_utow(iCallbackExpected, u_callback, u_callback_len, w_callback, w_callback_len); - HeapFree(GetProcessHeap(), 0, u_callback); + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; + int w_callback_len = cubCallback; + void *w_callback = pCallback; + TRACE("%p\n", _this); + if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE; + cppISteamUtils_SteamUtils009_GetAPICallResult( ¶ms ); + if (params._ret && params.pCallback != w_callback) + { + convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len); + HeapFree(GetProcessHeap(), 0, params.pCallback); } - return _ret; + return params._ret; } void __thiscall winISteamUtils_SteamUtils009_RunFrame(struct w_steam_iface *_this) { + struct cppISteamUtils_SteamUtils009_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils009_RunFrame(_this->u_iface); + cppISteamUtils_SteamUtils009_RunFrame( ¶ms ); } uint32 __thiscall winISteamUtils_SteamUtils009_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils009_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils009_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamUtils_SteamUtils009_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils009_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamUtils_SteamUtils009_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils009_IsOverlayEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils009_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_IsOverlayEnabled(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_IsOverlayEnabled( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils009_BOverlayNeedsPresent(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils009_BOverlayNeedsPresent_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_BOverlayNeedsPresent(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_BOverlayNeedsPresent( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUtils_SteamUtils009_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName) { - SteamAPICall_t _ret; - const char *u_szFileName = steamclient_dos_to_unix_path( szFileName, 0 ); + struct cppISteamUtils_SteamUtils009_CheckFileSignature_params params = + { + .linux_side = _this->u_iface, + .szFileName = szFileName, + }; + params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_CheckFileSignature(_this->u_iface, szFileName ? u_szFileName : NULL); - steamclient_free_path( u_szFileName ); - return _ret; + cppISteamUtils_SteamUtils009_CheckFileSignature( ¶ms ); + steamclient_free_path( params.szFileName ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils009_ShowGamepadTextInput(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax, const char *pchExistingText) { - bool _ret; + struct cppISteamUtils_SteamUtils009_ShowGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_ShowGamepadTextInput(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); - return _ret; + cppISteamUtils_SteamUtils009_ShowGamepadTextInput( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils009_GetEnteredGamepadTextLength(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils009_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32 cchText) { - bool _ret; + struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput(_this->u_iface, pchText, cchText); - return _ret; + cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput( ¶ms ); + return params._ret; } const char * __thiscall winISteamUtils_SteamUtils009_GetSteamUILanguage(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamUtils_SteamUtils009_GetSteamUILanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetSteamUILanguage(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_GetSteamUILanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils009_IsSteamRunningInVR(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils009_IsSteamRunningInVR_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_IsSteamRunningInVR(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_IsSteamRunningInVR( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils009_SetOverlayNotificationInset(struct w_steam_iface *_this, int nHorizontalInset, int nVerticalInset) { + struct cppISteamUtils_SteamUtils009_SetOverlayNotificationInset_params params = + { + .linux_side = _this->u_iface, + .nHorizontalInset = nHorizontalInset, + .nVerticalInset = nVerticalInset, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils009_SetOverlayNotificationInset(_this->u_iface, nHorizontalInset, nVerticalInset); + cppISteamUtils_SteamUtils009_SetOverlayNotificationInset( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils009_IsSteamInBigPictureMode(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils009_StartVRDashboard(struct w_steam_iface *_this) { + struct cppISteamUtils_SteamUtils009_StartVRDashboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils009_StartVRDashboard(_this->u_iface); + cppISteamUtils_SteamUtils009_StartVRDashboard( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled(_this->u_iface, bEnabled); + cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils009_IsSteamChinaLauncher(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils009_IsSteamChinaLauncher_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_IsSteamChinaLauncher(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_IsSteamChinaLauncher( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils009_InitFilterText(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils009_InitFilterText_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_InitFilterText(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils009_InitFilterText( ¶ms ); + return params._ret; } int __thiscall winISteamUtils_SteamUtils009_FilterText(struct w_steam_iface *_this, char *pchOutFilteredText, uint32 nByteSizeOutFilteredText, const char *pchInputMessage, bool bLegalOnly) { - int _ret; + struct cppISteamUtils_SteamUtils009_FilterText_params params = + { + .linux_side = _this->u_iface, + .pchOutFilteredText = pchOutFilteredText, + .nByteSizeOutFilteredText = nByteSizeOutFilteredText, + .pchInputMessage = pchInputMessage, + .bLegalOnly = bLegalOnly, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_FilterText(_this->u_iface, pchOutFilteredText, nByteSizeOutFilteredText, pchInputMessage, bLegalOnly); - return _ret; + cppISteamUtils_SteamUtils009_FilterText( ¶ms ); + return params._ret; } ESteamIPv6ConnectivityState __thiscall winISteamUtils_SteamUtils009_GetIPv6ConnectivityState(struct w_steam_iface *_this, ESteamIPv6ConnectivityProtocol eProtocol) { - ESteamIPv6ConnectivityState _ret; + struct cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState_params params = + { + .linux_side = _this->u_iface, + .eProtocol = eProtocol, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState(_this->u_iface, eProtocol); - return _ret; + cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUtils_SteamUtils009_vtable; @@ -1941,306 +2624,466 @@ DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_DismissFloatingGamepadTextI uint32 __thiscall winISteamUtils_SteamUtils010_GetSecondsSinceAppActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils010_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive( ¶ms ); + return params._ret; } EUniverse __thiscall winISteamUtils_SteamUtils010_GetConnectedUniverse(struct w_steam_iface *_this) { - EUniverse _ret; + struct cppISteamUtils_SteamUtils010_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetConnectedUniverse(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_GetConnectedUniverse( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils010_GetServerRealTime(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils010_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetServerRealTime(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_GetServerRealTime( ¶ms ); + return params._ret; } const char * __thiscall winISteamUtils_SteamUtils010_GetIPCountry(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamUtils_SteamUtils010_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetIPCountry(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_GetIPCountry( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils010_GetImageSize(struct w_steam_iface *_this, int iImage, uint32 *pnWidth, uint32 *pnHeight) { - bool _ret; + struct cppISteamUtils_SteamUtils010_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetImageSize(_this->u_iface, iImage, pnWidth, pnHeight); - return _ret; + cppISteamUtils_SteamUtils010_GetImageSize( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils010_GetImageRGBA(struct w_steam_iface *_this, int iImage, uint8 *pubDest, int nDestBufferSize) { - bool _ret; + struct cppISteamUtils_SteamUtils010_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetImageRGBA(_this->u_iface, iImage, pubDest, nDestBufferSize); - return _ret; + cppISteamUtils_SteamUtils010_GetImageRGBA( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils010_GetCSERIPPort(struct w_steam_iface *_this, uint32 *unIP, uint16 *usPort) { - bool _ret; + struct cppISteamUtils_SteamUtils010_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetCSERIPPort(_this->u_iface, unIP, usPort); - return _ret; + cppISteamUtils_SteamUtils010_GetCSERIPPort( ¶ms ); + return params._ret; } uint8 __thiscall winISteamUtils_SteamUtils010_GetCurrentBatteryPower(struct w_steam_iface *_this) { - uint8 _ret; + struct cppISteamUtils_SteamUtils010_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetCurrentBatteryPower(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_GetCurrentBatteryPower( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils010_GetAppID(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils010_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetAppID(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_GetAppID( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils010_SetOverlayNotificationPosition(struct w_steam_iface *_this, ENotificationPosition eNotificationPosition) { + struct cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition(_this->u_iface, eNotificationPosition); + cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils010_IsAPICallCompleted(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, bool *pbFailed) { - bool _ret; + struct cppISteamUtils_SteamUtils010_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_IsAPICallCompleted(_this->u_iface, hSteamAPICall, pbFailed); - return _ret; + cppISteamUtils_SteamUtils010_IsAPICallCompleted( ¶ms ); + return params._ret; } ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils010_GetAPICallFailureReason(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall) { - ESteamAPICallFailure _ret; + struct cppISteamUtils_SteamUtils010_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetAPICallFailureReason(_this->u_iface, hSteamAPICall); - return _ret; + cppISteamUtils_SteamUtils010_GetAPICallFailureReason( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils010_GetAPICallResult(struct w_steam_iface *_this, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed) { - bool _ret; - int u_callback_len = cubCallback, w_callback_len = cubCallback; - void *u_callback, *w_callback = pCallback; - TRACE("%p\n", _this); - if (!(u_callback = alloc_callback_wtou(iCallbackExpected, w_callback, &u_callback_len))) return FALSE; - cubCallback = u_callback_len; - pCallback = u_callback; - - _ret = cppISteamUtils_SteamUtils010_GetAPICallResult(_this->u_iface, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); - if (_ret && u_callback != w_callback) + struct cppISteamUtils_SteamUtils010_GetAPICallResult_params params = { - convert_callback_utow(iCallbackExpected, u_callback, u_callback_len, w_callback, w_callback_len); - HeapFree(GetProcessHeap(), 0, u_callback); + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; + int w_callback_len = cubCallback; + void *w_callback = pCallback; + TRACE("%p\n", _this); + if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE; + cppISteamUtils_SteamUtils010_GetAPICallResult( ¶ms ); + if (params._ret && params.pCallback != w_callback) + { + convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len); + HeapFree(GetProcessHeap(), 0, params.pCallback); } - return _ret; + return params._ret; } void __thiscall winISteamUtils_SteamUtils010_RunFrame(struct w_steam_iface *_this) { + struct cppISteamUtils_SteamUtils010_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_RunFrame(_this->u_iface); + cppISteamUtils_SteamUtils010_RunFrame( ¶ms ); } uint32 __thiscall winISteamUtils_SteamUtils010_GetIPCCallCount(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils010_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetIPCCallCount(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_GetIPCCallCount( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils010_SetWarningMessageHook(struct w_steam_iface *_this, SteamAPIWarningMessageHook_t pFunction) { + struct cppISteamUtils_SteamUtils010_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_SetWarningMessageHook(_this->u_iface, pFunction); + cppISteamUtils_SteamUtils010_SetWarningMessageHook( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils010_IsOverlayEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils010_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_IsOverlayEnabled(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_IsOverlayEnabled( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils010_BOverlayNeedsPresent(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils010_BOverlayNeedsPresent_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_BOverlayNeedsPresent(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_BOverlayNeedsPresent( ¶ms ); + return params._ret; } SteamAPICall_t __thiscall winISteamUtils_SteamUtils010_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName) { - SteamAPICall_t _ret; - const char *u_szFileName = steamclient_dos_to_unix_path( szFileName, 0 ); + struct cppISteamUtils_SteamUtils010_CheckFileSignature_params params = + { + .linux_side = _this->u_iface, + .szFileName = szFileName, + }; + params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 ); TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_CheckFileSignature(_this->u_iface, szFileName ? u_szFileName : NULL); - steamclient_free_path( u_szFileName ); - return _ret; + cppISteamUtils_SteamUtils010_CheckFileSignature( ¶ms ); + steamclient_free_path( params.szFileName ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils010_ShowGamepadTextInput(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax, const char *pchExistingText) { - bool _ret; + struct cppISteamUtils_SteamUtils010_ShowGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_ShowGamepadTextInput(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); - return _ret; + cppISteamUtils_SteamUtils010_ShowGamepadTextInput( ¶ms ); + return params._ret; } uint32 __thiscall winISteamUtils_SteamUtils010_GetEnteredGamepadTextLength(struct w_steam_iface *_this) { - uint32 _ret; + struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils010_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32 cchText) { - bool _ret; + struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput(_this->u_iface, pchText, cchText); - return _ret; + cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput( ¶ms ); + return params._ret; } const char * __thiscall winISteamUtils_SteamUtils010_GetSteamUILanguage(struct w_steam_iface *_this) { - const char * _ret; + struct cppISteamUtils_SteamUtils010_GetSteamUILanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetSteamUILanguage(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_GetSteamUILanguage( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils010_IsSteamRunningInVR(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils010_IsSteamRunningInVR_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_IsSteamRunningInVR(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_IsSteamRunningInVR( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils010_SetOverlayNotificationInset(struct w_steam_iface *_this, int nHorizontalInset, int nVerticalInset) { + struct cppISteamUtils_SteamUtils010_SetOverlayNotificationInset_params params = + { + .linux_side = _this->u_iface, + .nHorizontalInset = nHorizontalInset, + .nVerticalInset = nVerticalInset, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_SetOverlayNotificationInset(_this->u_iface, nHorizontalInset, nVerticalInset); + cppISteamUtils_SteamUtils010_SetOverlayNotificationInset( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils010_IsSteamInBigPictureMode(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils010_StartVRDashboard(struct w_steam_iface *_this) { + struct cppISteamUtils_SteamUtils010_StartVRDashboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_StartVRDashboard(_this->u_iface); + cppISteamUtils_SteamUtils010_StartVRDashboard( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled(struct w_steam_iface *_this, bool bEnabled) { + struct cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled(_this->u_iface, bEnabled); + cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils010_IsSteamChinaLauncher(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils010_IsSteamChinaLauncher_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_IsSteamChinaLauncher(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_IsSteamChinaLauncher( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils010_InitFilterText(struct w_steam_iface *_this, uint32 unFilterOptions) { - bool _ret; + struct cppISteamUtils_SteamUtils010_InitFilterText_params params = + { + .linux_side = _this->u_iface, + .unFilterOptions = unFilterOptions, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_InitFilterText(_this->u_iface, unFilterOptions); - return _ret; + cppISteamUtils_SteamUtils010_InitFilterText( ¶ms ); + return params._ret; } int __thiscall winISteamUtils_SteamUtils010_FilterText(struct w_steam_iface *_this, ETextFilteringContext eContext, CSteamID sourceSteamID, const char *pchInputMessage, char *pchOutFilteredText, uint32 nByteSizeOutFilteredText) { - int _ret; + struct cppISteamUtils_SteamUtils010_FilterText_params params = + { + .linux_side = _this->u_iface, + .eContext = eContext, + .sourceSteamID = sourceSteamID, + .pchInputMessage = pchInputMessage, + .pchOutFilteredText = pchOutFilteredText, + .nByteSizeOutFilteredText = nByteSizeOutFilteredText, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_FilterText(_this->u_iface, eContext, sourceSteamID, pchInputMessage, pchOutFilteredText, nByteSizeOutFilteredText); - return _ret; + cppISteamUtils_SteamUtils010_FilterText( ¶ms ); + return params._ret; } ESteamIPv6ConnectivityState __thiscall winISteamUtils_SteamUtils010_GetIPv6ConnectivityState(struct w_steam_iface *_this, ESteamIPv6ConnectivityProtocol eProtocol) { - ESteamIPv6ConnectivityState _ret; + struct cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState_params params = + { + .linux_side = _this->u_iface, + .eProtocol = eProtocol, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState(_this->u_iface, eProtocol); - return _ret; + cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck( ¶ms ); + return params._ret; } bool __thiscall winISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(struct w_steam_iface *_this, EFloatingGamepadTextInputMode eKeyboardMode, int nTextFieldXPosition, int nTextFieldYPosition, int nTextFieldWidth, int nTextFieldHeight) { - bool _ret; + struct cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eKeyboardMode = eKeyboardMode, + .nTextFieldXPosition = nTextFieldXPosition, + .nTextFieldYPosition = nTextFieldYPosition, + .nTextFieldWidth = nTextFieldWidth, + .nTextFieldHeight = nTextFieldHeight, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(_this->u_iface, eKeyboardMode, nTextFieldXPosition, nTextFieldYPosition, nTextFieldWidth, nTextFieldHeight); - return _ret; + cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput( ¶ms ); + return params._ret; } void __thiscall winISteamUtils_SteamUtils010_SetGameLauncherMode(struct w_steam_iface *_this, bool bLauncherMode) { + struct cppISteamUtils_SteamUtils010_SetGameLauncherMode_params params = + { + .linux_side = _this->u_iface, + .bLauncherMode = bLauncherMode, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_SetGameLauncherMode(_this->u_iface, bLauncherMode); + cppISteamUtils_SteamUtils010_SetGameLauncherMode( ¶ms ); } bool __thiscall winISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput(struct w_steam_iface *_this) { - bool _ret; + struct cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput(_this->u_iface); - return _ret; + cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput( ¶ms ); + return params._ret; } extern vtable_ptr winISteamUtils_SteamUtils010_vtable; diff --git a/lsteamclient/winISteamVideo.c b/lsteamclient/winISteamVideo.c index c2f6b268..13c92329 100644 --- a/lsteamclient/winISteamVideo.c +++ b/lsteamclient/winISteamVideo.c @@ -20,16 +20,25 @@ DEFINE_THISCALL_WRAPPER(winISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting, void __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL(struct w_steam_iface *_this, AppId_t unVideoAppID) { + struct cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL_params params = + { + .linux_side = _this->u_iface, + .unVideoAppID = unVideoAppID, + }; TRACE("%p\n", _this); - cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL(_this->u_iface, unVideoAppID); + cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL( ¶ms ); } bool __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting(struct w_steam_iface *_this, int *pnNumViewers) { - bool _ret; + struct cppISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting_params params = + { + .linux_side = _this->u_iface, + .pnNumViewers = pnNumViewers, + }; TRACE("%p\n", _this); - _ret = cppISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting(_this->u_iface, pnNumViewers); - return _ret; + cppISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting( ¶ms ); + return params._ret; } extern vtable_ptr winISteamVideo_STEAMVIDEO_INTERFACE_V001_vtable; @@ -63,30 +72,50 @@ DEFINE_THISCALL_WRAPPER(winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringFor void __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(struct w_steam_iface *_this, AppId_t unVideoAppID) { + struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL_params params = + { + .linux_side = _this->u_iface, + .unVideoAppID = unVideoAppID, + }; TRACE("%p\n", _this); - cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(_this->u_iface, unVideoAppID); + cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL( ¶ms ); } bool __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting(struct w_steam_iface *_this, int *pnNumViewers) { - bool _ret; + struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting_params params = + { + .linux_side = _this->u_iface, + .pnNumViewers = pnNumViewers, + }; TRACE("%p\n", _this); - _ret = cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting(_this->u_iface, pnNumViewers); - return _ret; + cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting( ¶ms ); + return params._ret; } void __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings(struct w_steam_iface *_this, AppId_t unVideoAppID) { + struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings_params params = + { + .linux_side = _this->u_iface, + .unVideoAppID = unVideoAppID, + }; TRACE("%p\n", _this); - cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings(_this->u_iface, unVideoAppID); + cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings( ¶ms ); } bool __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp(struct w_steam_iface *_this, AppId_t unVideoAppID, char *pchBuffer, int32 *pnBufferSize) { - bool _ret; + struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp_params params = + { + .linux_side = _this->u_iface, + .unVideoAppID = unVideoAppID, + .pchBuffer = pchBuffer, + .pnBufferSize = pnBufferSize, + }; TRACE("%p\n", _this); - _ret = cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp(_this->u_iface, unVideoAppID, pchBuffer, pnBufferSize); - return _ret; + cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp( ¶ms ); + return params._ret; } extern vtable_ptr winISteamVideo_STEAMVIDEO_INTERFACE_V002_vtable;